MiCheckFatalAccessViolation

NTSTATUS __stdcall MiCheckFatalAccessViolation(PVOID BugCheckParameter2){
  __int64 v1; 
  char v2; 
  _EPROCESS *v3; 
  NTSTATUS result; 
  void *v5; 

  result = (_DWORD)BugCheckParameter2 - 0x10000;
  if( (char *)BugCheckParameter2 - 0x10000 <= (char *)0x7FFFFFFDFFFFi64 && !v1 && (v2 & 2) != 0 )
  {
    if( (v3->Flags3 & 0x1000) != 0 )
      KeBugCheckEx(0x1Au, (PVOID)0x4477, BugCheckParameter2, 0i64, 0i64);
    result = MiIsStoreProcess(v3);
    if( result )
      KeBugCheckEx(0x1Au, (PVOID)0x4478, v5, 0i64, 0i64);
  }
  return result;
}

Referenced by:

MiUserFault
MiZeroFault