CmpAcceptBoot
INT64 __fastcall CmpAcceptBoot(INT16 a1){
unsigned int v2;
unsigned __int16 v4;
KvfCommitFeatureStates();
v2 = 0;
if( !PsIsCurrentThreadInServerSilo() )
{
if( _InterlockedExchange(&CmBootAcceptFirstTime, 0) )
{
v4 = a1 - 4096;
if( v4 )
{
KeCommitSmtState();
if( CmpLKGEnabled )
v2 = CmpSaveBootControlSet(v4);
off_140C00AF8[0]();
CmpUpdatePhaseAccessBit();
}
else
{
return(unsigned int)-1073741811;
}
}
else
{
return(unsigned int)-1073741790;
}
}
return v2;
}Referenced by:
NtInitializeRegistry