RtlpFillMemoryRandomUp
VOID __stdcall RtlpFillMemoryRandomUp(PVOID VirtualAddress, UINT64 GlfsrState, UINT64 *GlfsrXorLookup){
__int64 v3;
unsigned __int64 v4;
UINT64 **v5;
v4 = 0i64;
v5 = (UINT64 **)VirtualAddress;
if( ((char *)VirtualAddress + 4096 >= VirtualAddress ? 0x200 : 0) != 0 )
{
do
{
*v5++ = GlfsrXorLookup;
++v4;
GlfsrXorLookup = (UINT64 *)(((unsigned __int64)GlfsrXorLookup >> 4) ^ *(_QWORD *)(v3
+ 8i64
* ((unsigned __int8)GlfsrXorLookup & 0xF)));
}
while( v4 < ((char *)VirtualAddress + 4096 >= VirtualAddress ? 0x200 : 0) );
}
}Referenced by:
RtlpGenericRandomPatternWorker