MiCheckFatalAccessViolation

NTSTATUS __stdcall MiCheckFatalAccessViolation(PVOID BugCheckParameter2){
  __int64 v1; 
  char v2; 
  __int64 v3; 
  NTSTATUS result; 
  ULONG_PTR v5; 
  result = (_DWORD)BugCheckParameter2 - 0x10000;
  if( (char *)BugCheckParameter2 - 0x10000 <= (char *)0x7FFFFFFDFFFFi64 && !v1 && (v2 & 2) != 0 )
  {
    if( (*(_DWORD *)(v3 + 2172) & 0x1000) != 0 )
      KeBugCheckEx(0x1Au, 0x4477ui64, (ULONG_PTR)BugCheckParameter2, 0i64, 0i64);
    result = MiIsStoreProcess(v3);
    if( result )
      KeBugCheckEx(0x1Au, 0x4478ui64, v5, 0i64, 0i64);
  }
  return result;
}

Referenced by:

MiUserFault
MiZeroFault