_RtlCreateThreard _rtl_create_thread = (_RtlCreateThreard)GetProcAddress(GetModuleHandle("ntdll.dll"), "RtlCreateUserThread");
HANDLE RtlCreateUserThread(
HANDLE hProcess,
LPVOID lpBaseAddress,
LPVOID lpSpace
)
{
HANDLE hRemoteThread = NULL;
if (!_rtl_create_thread)
{
return NULL;
}
_rtl_create_thread(hProcess, NULL, 0, 0, 0, 0, lpBaseAddress, lpSpace, &hRemoteThread, NULL);
return hRemoteThread;
}