Function at 0x1004c888
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x860
mov ebx, ecx
lea esi, [ebp - 0x86c]
push 0x810
push 0
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
mov ecx, 0x400
xor edx, edx
test dl, 1
jne 0x1004c909
lea edi, [esi + ecx]
push ecx
push esi
call sub.ADVAPI32.dll_SystemFunction036
xor ecx, ecx
mov dl, 1
test al, al
mov esi, edi
jne 0x1004c8b3
call sym.std::sys::windows::os::errno::h3e71773faacf0ac9
xor edx, edx
lea ecx, [ebp - 0x44]
lea esi, [ebp - 0x3c]
mov byte [ecx], 0
mov dword [esi], ecx
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x5c]
inc edx
mov dword [esi + 4], sym.__LT_std..io..error..Error_u20_as_u20_core..fmt..Display_GT_::fmt::hf94c3164284d5fa3
mov dword [ecx], 0x101b7f6c
mov dword [ecx + 4], edx
and dword [ecx + 0x10], 0
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], edx
mov edx, 0x101b7f74
call dbg.panic_fmt
and dword [ebp - 0x68], 0
and dword [ebp - 0x6c], 0
and dword [ebp - 0x60], 0
and dword [ebp - 0x64], 0
mov edi, 0x95d90059
mov esi, 0xfffffc00
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x20], 0x1367df5a
mov dword [ebp - 0x14], 0xc3163e4b
mov dword [ebp - 0x1c], 0xf421ad8
mov dword [ebp - 0x2c], 0xd92a4a78
mov dword [ebp - 0x18], 0xa51a3c49
mov dword [ebp - 0x28], 0xc4efea1b
mov dword [ebp - 0x24], 0x30609119
test esi, esi
je 0x1004ca5a
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
add edi, dword [ebp + esi - 0x468]
mov eax, dword [ebp - 0x1c]
add ebx, dword [ebp + esi - 0x464]
add ecx, dword [ebp + esi - 0x46c]
lea edx, [ebx + edi]
shl edi, 0xb
xor edi, ecx
mov ecx, ebx
shr ecx, 2
add eax, edi
xor ecx, edx
mov edx, dword [ebp - 0x2c]
add eax, dword [ebp + esi - 0x460]
mov dword [ebp - 0x10], ecx
add edx, ecx
add ebx, eax
add edx, dword [ebp + esi - 0x45c]
lea ecx, [edx + eax]
shl eax, 8
xor ebx, eax
mov eax, edx
shr eax, 0x10
mov dword [ebp - 0x14], ebx
xor eax, ecx
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
add ecx, dword [ebp + esi - 0x454]
add eax, ebx
add eax, dword [ebp + esi - 0x458]
add ecx, dword [ebp - 0x1c]
add edx, eax
lea ebx, [ecx + eax]
shl eax, 0xa
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x24]
xor edx, eax
mov dword [ebp - 0x2c], edx
add ebx, dword [ebp + esi - 0x450]
add ebx, edx
lea eax, [ebx + ecx]
shr ecx, 4
xor ecx, dword [ebp - 0x18]
add edi, ecx
mov dword [ebp - 0x18], ecx
lea ecx, [edi + ebx]
shl ebx, 8
xor ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], ebx
add eax, ebx
mov dword [ebp - 0x10], eax
add eax, edi
shr edi, 9
mov dword [ebp - 0x20], eax
mov dword [ebp + esi - 0x6c], eax
mov eax, dword [ebp - 0x10]
xor edi, ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], edi
mov dword [ebp + esi - 0x68], eax
mov eax, dword [ebp - 0x1c]
add ecx, edi
mov dword [ebp + esi - 0x64], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp + esi - 0x60], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp + esi - 0x5c], edx
mov dword [ebp + esi - 0x58], eax
mov dword [ebp + esi - 0x54], ebx
mov dword [ebp + esi - 0x50], edi
mov edi, dword [ebp - 0x10]
add esi, 0x20
jmp 0x1004c957
mov eax, 0xfffffc00
test eax, eax
je 0x1004cb6a
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
add edi, dword [ebp + eax - 0x68]
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
add edx, dword [ebp + eax - 0x6c]
mov eax, dword [ebp - 0x14]
add eax, dword [ebp + ecx - 0x64]
mov ebx, eax
lea ecx, [eax + edi]
shl edi, 0xb
shr ebx, 2
xor edi, edx
mov edx, dword [ebp - 0x2c]
xor ebx, ecx
mov ecx, dword [ebp - 0x10]
add esi, edi
mov dword [ebp - 0x30], ebx
add edx, ebx
add esi, dword [ebp + ecx - 0x60]
mov ecx, dword [ebp - 0x10]
add edx, dword [ebp + ecx - 0x5c]
add eax, esi
mov ecx, edx
lea ebx, [edx + esi]
shl esi, 8
shr ecx, 0x10
xor eax, esi
mov esi, dword [ebp - 0x10]
xor ecx, ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp + esi - 0x54]
mov esi, dword [ebp - 0x18]
add esi, eax
add ecx, dword [ebp - 0x1c]
add esi, dword [ebp + ebx - 0x58]
lea ebx, [ecx + esi]
add edx, esi
shl esi, 0xa
xor edx, esi
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x2c], edx
add ebx, dword [ebp + esi - 0x50]
add ebx, edx
lea esi, [ebx + ecx]
shr ecx, 4
xor ecx, dword [ebp - 0x14]
add edi, ecx
mov dword [ebp - 0x18], ecx
lea ecx, [edi + ebx]
shl ebx, 8
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x30]
xor ebx, esi
mov dword [ebp - 0x28], ebx
add ecx, ebx
lea esi, [ecx + edi]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x10]
shr edi, 9
mov dword [ebp - 0x20], esi
xor edi, dword [ebp - 0x14]
mov dword [ebp + ecx - 0x6c], esi
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x30]
add eax, edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x14], eax
mov dword [ebp + ecx - 0x68], esi
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
mov dword [ebp + ecx - 0x64], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax - 0x60], esi
mov dword [ebp + eax - 0x5c], edx
mov edx, dword [ebp - 0x18]
mov dword [ebp + eax - 0x58], edx
mov dword [ebp + eax - 0x54], ebx
mov dword [ebp + eax - 0x50], edi
mov edi, dword [ebp - 0x30]
add eax, 0x20
jmp 0x1004ca5f
mov ebx, dword [ebp - 0x34]
lea edi, [ebp - 0x86c]
mov ecx, edi
lea esi, [ebx + 4]
call sym.rand::prng::isaac::IsaacRng::isaac::hbffaf8aa4c484d5c
push 0x810
push edi
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
and dword [ebx], 0
add esp, 0x860
pop esi
pop edi
pop ebx
pop ebp
ret