function NewNtCreateUserProcess(a,b:PHANDLE;c,d:ACCESS_MASK;e,f:PVOID;g,h:ulong;i,j,k:pointer): NTSTATUS; stdcall; type TNewZwCreateUserProcess =function (a,b:PHANDLE;c,d:ACCESS_MASK;e,f:PVOID;g,h:ulong;i,j,k:pointer): NTSTATUS; stdcall; var ProcessInfo: _PROCESS_BASIC_INFORMATION; BaseAddr:pointer; zpid:cardinal; begin unhook;
BaseAddr:=GetProcAddress(GetModuleHandle(Pansichar('ntdll.dll')),Pansichar('NtCreateUserProcess')); Result :=TNewZwCreateUserProcess(BaseAddr)(a,b,c,d,e,f,g,h,i,j,k);