added example on how to use windows headers :)

2.0
_xeroxz 4 years ago
parent 7cef008c4b
commit 2e83608811

@ -1,13 +1,9 @@
#pragma once #pragma once
#define WINUSERAPI
#include <Windows.h>
#define ObfuscateRoutine __declspec(code_seg(".theo"), noinline) #define ObfuscateRoutine __declspec(code_seg(".theo"), noinline)
#define MutateRoutine __declspec(code_seg(".theo1"), noinline) #define MutateRoutine __declspec(code_seg(".theo1"), noinline)
extern "C" int MessageBoxA(
unsigned hWnd,
char* lpText,
char* lpCaption,
unsigned uType
);
void UsermodeNoObfuscation(); void UsermodeNoObfuscation();
void UsermodeMutateDemo(); void UsermodeMutateDemo();

@ -141,6 +141,7 @@ int main(int argc, char** argv)
GetProcAddress(LoadLibrary(file_name), symbol_name)))) GetProcAddress(LoadLibrary(file_name), symbol_name))))
break; break;
} }
return result; return result;
}; };

Loading…
Cancel
Save