ViInitSystemPhase1

VOID __stdcall ViInitSystemPhase1(){
  if( ViVerifierEnabled )
  {
    VfPoolInitPhase1();
    VfSettingsMiscellaneousChecksInitPhase1();
    VfPendingInitPhase1();
  }
  PsSetCreateProcessNotifyRoutine(ViCreateProcessCallback, 0);
  ViFaultsProcessNotifyRoutineSet = 1;
  if( ViImageExecutionOptions == 1 )
    _InterlockedOr((volatile signed __int32 *)&KUSER_SHARED_DATA.ImageFileExecutionOptions, ViImageExecutionOptions);
}

Referenced by:

VerifierInitSystem