This commit is contained in:
zeffy
2017-06-04 12:31:08 -07:00
parent 4cd80518e7
commit f32ca65c54
71 changed files with 1946 additions and 360 deletions

19
wufuc/dllmain.c Normal file
View File

@@ -0,0 +1,19 @@
#include <Windows.h>
#include "core.h"
BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) {
switch (ul_reason_for_call) {
case DLL_PROCESS_ATTACH:
{
DisableThreadLibraryCalls(hModule);
HANDLE hThread = CreateThread(NULL, 0, NewThreadProc, NULL, 0, NULL);
CloseHandle(hThread);
break;
}
case DLL_PROCESS_DETACH:
break;
default:
break;
}
return TRUE;
}