MCPcopy Create free account
hub / github.com/NoMercy-ac/NoMercy / GetModuleOwnerName

Method GetModuleOwnerName

Source/Client/NM_Engine/Functions.cpp:534–547  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

532}
533
534std::string CFunctions::GetModuleOwnerName(LPVOID pModuleBase)
535{
536 char cFileName[2048] = { 0 };
537 if (!g_winapiApiTable->GetMappedFileNameA(NtCurrentProcess, pModuleBase, cFileName, 2048))
538 return std::string("");
539
540 std::string szFileName = cFileName;
541 auto szRealName = CProcessFunctions::DosDevicePath2LogicalPath(cFileName);
542 if (szRealName.empty())
543 return std::string("");
544
545 auto szLowerName = g_nmApp->FunctionsInstance()->szLower(szRealName);
546 return szLowerName;
547}
548
549bool CFunctions::IsSafeModeEnabled()
550{

Callers 7

SoftBPCheckRoutineFunction · 0.80
OnClientInitMethod · 0.80
ClientMainRoutineFunction · 0.80
GetSectionHashFunction · 0.80
InitSectionHashMethod · 0.80
OnThreadCreatedMethod · 0.80

Calls 2

szLowerMethod · 0.80
FunctionsInstanceMethod · 0.80

Tested by

no test coverage detected