IS_PTE_NOT_DEMAND_ZERO

BOOL __fastcall IS_PTE_NOT_DEMAND_ZERO(INT16 a1){
  if( (a1 & 1) != 0 )
    return 1;
  if( qword_140C4DC80 && (a1 & 0x10) == 0 )
    a1 &= ~(_WORD)qword_140C4DC80;
  return(a1 & 0x400) != 0 || (a1 & 0x800) != 0 || (a1 & 4) != 0;
}

Referenced by:

MiActOnPte
MiAllocatePerSessionProtos
MiBuildForkPte
MiConvertPrivateToProto
MiConvertStandbyToProto
MiDeletePteRun
MiGetClusterPage
MiPfPrepareReadList
MiPfPrepareSequentialReadList
MiPfPutPagesInTransition
MiPrefetchJumpVad
MiResolvePrivateZeroFault
MiSetProtectionOnSection
MmHardFaultBytesRequired