RtlCompareMemoryUlong

_SIZE_T __stdcall RtlCompareMemoryUlong(VOID *Source, _SIZE_T Length, UINT64 Pattern){
  bool v4; 
  __int64 v5; 
  __int64 v6; 

  v5 = *(_QWORD *)&Length >> 2;
  v4 = v5 == 0;
  if( v5 )
  {
    v6 = v5;
    do
    {
      if( !v6 )
        break;
      v4 = *(_DWORD *)Source == (_DWORD)Pattern;
      Source = (char *)Source + 4;
      --v6;
    }
    while( v4 );
    if( !v4 )
      LODWORD(v5) = v5 - (v6 + 1);
  }
  return 4 * v5;
}

Referenced by:

IopTrackLink
MiDeleteSystemPageTable
MiDoGangAssignment
MiEvictPageTableLock
MiFreedUnusedPfnPagesWorker
MiHashIsCommon
MiSwitchToPfns
MmQueryVirtualMemory
RtlScrubMemory
RtlpAllocateHeap
RtlpCoalesceFreeBlocks
RtlpCreateSplitBlock