MiTransientPageListWriter

__int64 __fastcall MiTransientPageListWriter(unsigned __int64 a1, unsigned __int64 a2){
  KIRQL v4; 
  _QWORD *v5; 
  unsigned int v6; 
  unsigned __int64 v7; 
  v4 = ExAcquireSpinLockShared(&dword_140C4E2A0);
  v5 = (_QWORD *)qword_140C4E2A8;
  v6 = 0;
  v7 = v4;
  while( v5 )
  {
    if( a1 > v5[7] )
    {
      v5 = (_QWORD *)v5[1];
    }
    else
    {
      if( a1 >= v5[7] )
        break;
      v5 = (_QWORD *)*v5;
    }
  }
  if( v5 && (!v5[4] || a2 < v5[5] || a2 > v5[6]) )
    v5 = 0i64;
  ExReleaseSpinLockSharedFromDpcLevel(&dword_140C4E2A0);
  __writecr8(v7);
  LOBYTE(v6) = v5 != 0i64;
  return v6;
}

Referenced by:

MiSystemFault