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

Function DLLNotification

HijackMethod/dllmain.cpp:403–411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

401}
402
403void CALLBACK DLLNotification(ULONG Reason, PLDR_DLL_NOTIFICATION_DATA NotificationData, PVOID Context) {
404 if (Reason == LDR_DLL_NOTIFICATION_REASON_LOADED) {
405 wprintf(L"[LdrDllNotification] %s\n", NotificationData->Loaded.FullDllName->Buffer);
406 if (wcsstr(NotificationData->Loaded.FullDllName->Buffer, L"QQNT.dll")!=NULL) {
407 Exploit();
408 }
409 }
410 return;
411}
412
413BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpReserved)
414{

Callers

nothing calls this directly

Calls 1

ExploitFunction · 0.70

Tested by

no test coverage detected