RtlBootStatusDisableFlushing

CHAR __fastcall RtlBootStatusDisableFlushing(INT64 *a1, struct EX_RUNDOWN_REF *a2, INT64 a3){
  CHAR result; 
  struct _IO_STATUS_BLOCK IoStatusBlock; 
  IoStatusBlock = 0i64;
  if( BootStatDisableFlush != (_BYTE)a1 )
  {
    BootStatDisableFlush = (char)a1;
    if( !(_BYTE)a1 )
    {
      if( BootStatFileHandleAcquired )
      {
        if( BootStatFileHandle )
          return ZwFlushBuffersFile(BootStatFileHandle, &IoStatusBlock);
      }
    }
  }
  return result;
}

Referenced by:

PopRecordLongPowerButtonPressDetected
PopTransitionSystemPowerStateEx