PsNotifyCoreDriversInitialized
NTSTATUS __stdcall PsNotifyCoreDriversInitialized(){
_ETHREAD *CurrentThread;
INT64 v1;
INT64 v2;
ULONG_PTR v4;
UINT64 ReturnLength;
__int64 SystemInformation;
SystemInformation = 0i64;
LODWORD(ReturnLength) = 0;
CurrentThread = (_ETHREAD *)KeGetCurrentThread();
--CurrentThread->Tcb.KernelApcDisable;
ExAcquirePushLockExclusiveEx(&PsAltSystemCallRegistrationLock, 0i64);
if( !qword_140CFB7A0 )
{
LODWORD(SystemInformation) = 8;
if( SeCodeIntegrityQueryInformation(&SystemInformation, 8ui64, &ReturnLength) < 0
|| (SystemInformation & 0xA200000000i64) == 0 )
{
qword_140CFB7A0 = 1i64;
}
}
ExReleasePushLockEx((ULONG_PTR)&PsAltSystemCallRegistrationLock, 0);
KeLeaveCriticalRegionThread(KeGetCurrentThread());
PspPicoRegistrationDisabled = 1;
*(&stru_140C00F40 + 224) = off_140C00A68;
*(&stru_140C00F40 + 225) = 8i64;
KeInitAmd64SpecificState();
PspPicoProviderRanges = 0i64;
memset((char *)&stru_140C00F40 + 1744, 0i64, 0x140u);
*(_OWORD *)&PspKernelRanges = 0i64;
return VslConnectSwInterrupt(0, 0, v1, v2, v4);
}Referenced by:
IopInitializeBootDrivers