IoUpdateBugCheckProgressEnvVariable

INT64 __stdcall IoUpdateBugCheckProgressEnvVariable(){
  INT64 result; 
  KeFrozenProcessorCount();
  if( (unsigned int)(KeNumberProcessors_0 - result) <= 1 && !BugCheckProgressEFICalled )
  {
    BugCheckProgressEFICalled = 1;
    result = ((__int64(__fastcall *)(const wchar_t *, __int64 *, __int64, __int64, int))IopReportBugCheckProgress)(
               L"BugCheckProgress",
               BUGCHECK_EFI_GUID,
               CrashdmpDumpBlock + 1404,
               4i64,
               1);
    BugCheckProgressEFICalled = 0;
  }
  return result;
}

Referenced by:

IoSaveBugCheckProgress
IoSetBugCheckProgressAndFlag
IoSetBugCheckProgressFlag
IoWriteCrashDump