RtlpTestMemoryRandomUp
UINT8 __stdcall RtlpTestMemoryRandomUp(PVOID VirtualAddress, UINT64 GlfsrState, UINT64 *GlfsrXorLookup){
__int64 v3;
UINT64 **v4;
v4 = (UINT64 **)VirtualAddress;
if( VirtualAddress >= (char *)VirtualAddress + 4096 )
return 1;
while( *v4 == GlfsrXorLookup )
{
++v4;
GlfsrXorLookup = (UINT64 *)(((unsigned __int64)GlfsrXorLookup >> 4) ^ *(_QWORD *)(v3
+ 8i64
* ((unsigned __int8)GlfsrXorLookup & 0xF)));
if( v4 >= (UINT64 **)((char *)VirtualAddress + 4096) )
return 1;
}
return 0;
}Referenced by:
RtlpGenericRandomPatternWorker