MiIsAddressGlobal

INT64 __fastcall MiIsAddressGlobal(UINT64 a1){
  if( a1 < 0xFFFF800000000000ui64 )
    return HIBYTE(word_140C4DD48);
  if( *((_BYTE *)&antNameB + ((a1 >> 39) & 0x1FF) - 256) != 1
    && (a1 < (unsigned __int64)MmGetPteBase() || a1 > (unsigned __int64)MmGetPteLimit()) )
  {
    if( a1 < qword_140C4F878 || a1 > qword_140C4E0A8 )
      return(unsigned __int8)word_140C4DD48;
    return HIBYTE(word_140C4DD48);
  }
  return 0i64;
}

Referenced by:

MiMakePageAvoidRead
MiResolveTransitionFault
MmCheckCachedPageStates