MCPcopy Create free account
hub / github.com/LiteLoaderQQNT/QQNTFileVerifyPatch / DLLNotification

Function DLLNotification

HijackMethod_x86/dllmain.cpp:306–315  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304}
305
306void CALLBACK DLLNotification(ULONG Reason, PLDR_DLL_NOTIFICATION_DATA NotificationData, PVOID Context) {
307 if (Reason == LDR_DLL_NOTIFICATION_REASON_LOADED) {
308
309 wprintf(L"[LdrDllNotification] %s\n", NotificationData->Loaded.FullDllName->Buffer);
310 if (wcsstr(NotificationData->Loaded.FullDllName->Buffer, L"QQNT.dll") != NULL) {
311 Exploit();
312 }
313 }
314 return;
315}
316
317
318BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpReserved)

Callers

nothing calls this directly

Calls 1

ExploitFunction · 0.70

Tested by

no test coverage detected