Closed ironxu closed 4 years ago
This is a basic C bug caused by not initializing NtTP
(other than the initial = 0
assignment).
Add to UndocumentedInit()
:
if(!NtTP)
{
NtTP = (NTTERMINATEPROCESS)SSDT::GetFunctionAddress("NtTerminateProcess");
if(!NtTP)
return false;
}