UINT64 __stdcall RtlRandomEx(UINT64 *Seed){ UINT64 result; result = ExGenRandom(1i64); LODWORD(result) = result & 0x7FFFFFFF; *(_DWORD *)Seed = result; return result; }