@ -1,6 +1,9 @@
#pragma once
#define WINUSERAPI
#define _KERNEL32_
#define _ACRTIMP
#include <Windows.h>
#include <stdio.h>
#define ObfuscateRoutine __declspec(code_seg(".theo"), noinline)
#define MutateRoutine __declspec(code_seg(".theo1"), noinline)
@ -3,6 +3,13 @@
ObfuscateRoutine
extern "C" int ModuleEntry()
{
AllocConsole();
freopen("conin$", "r", stdin);
freopen("conout$", "w", stdout);
freopen("conout$", "w", stderr);
printf("hello world\n");
getchar();
MessageBoxA(0, "Demo", "Hello From Obfuscated Routine!", 0);
UsermodeMutateDemo();
UsermodeNoObfuscation();