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

Method GetStartAddress

Source/Client/NM_Engine/ThreadHelper.cpp:246–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244}
245
246DWORD CThread::GetStartAddress()
247{
248 auto dwThreadStartAddress = 0UL;
249 auto ntStatus = g_winapiApiTable->NtQueryInformationThread(m_hThread, ThreadQuerySetWin32StartAddress, &dwThreadStartAddress, sizeof(dwThreadStartAddress), NULL);
250 if (!NT_SUCCESS(ntStatus))
251 {
252 DEBUG_LOG(LL_ERR, xorstr("NtQueryInformationThread fail! Thread: %p Status: %p").crypt_get(), m_hThread, ntStatus);
253 }
254 return dwThreadStartAddress;
255}
256
257int CThread::GetPriority()
258{

Callers 15

InitWindowCheckMethod · 0.80
InitAntiMacroMethod · 0.80
InitAntiSoftBPMethod · 0.80
InitSocketConnectionMethod · 0.80
ScanForMMappedModulesMethod · 0.80
OnClientInitMethod · 0.80
InitializeWatchdogMethod · 0.80
InitWMIWatcherMethod · 0.80
InitChecksumScanMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected