Screen ( Function Rest Founded )

Code -> "Internal Dll"
Code:
#include "Memory.h"
#include <Windows.h>
#include <stdio.h>
#include <fcntl.h> // for the console stuff
#include <io.h> //
#include <TlHelp32.h> // for the module operations
typedef void(__cdecl * _FuncA)();
_FuncA FuncA;
typedef void(__cdecl * _FuncB)(char * string);
_FuncB FuncB;
HANDLE CreateConsole();
DWORD WINAPI MainThread(LPVOID param)
{
DWORD base = (DWORD)GetModuleHandle(NULL);
FuncA = (_FuncA)(base + 0x310C2);
FuncA();
AllocConsole();
FILE* fp;
freopen_s(&fp, "CONOUT$", "w", stdout);
//Set up
while (true)
{
Sleep(500);
FuncA();
printf("H %x \n" , base);
}
FreeLibraryAndExitThread((HMODULE)param, 0);
return 0;
}
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpReserved)
{
switch (dwReason)
{
case DLL_PROCESS_ATTACH:
CreateThread(0, 0, MainThread, hModule, 0, 0);
break;
default:
break;
}
return TRUE;
}






