Function at 0x100499ce
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1058
call fcn.100ecf80
mov ebx, ecx
lea esi, [ebp - 0x854]
push 0x810
push 0
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
mov ecx, 0x400
xor edx, edx
test dl, 1
jne 0x10049a56
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 0x100499fd
call sym.std::sys::pal::windows::os::errno::hd12594d156576ece
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 - 0x1064]
inc edx
mov dword [esi + 4], sym.__LT_std..io..error..Error_u20_as_u20_core..fmt..Display_GT_::fmt::h6d18a9ded336adc0
mov dword [ecx], 0x101b42b8
mov dword [ecx + 4], edx
and dword [ecx + 0x10], 0
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], edx
mov edx, 0x101b42c0
call dbg.panic_fmt
xorps xmm0, xmm0
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
movsd qword [ebp - 0x4c], xmm0
movsd qword [ebp - 0x54], xmm0
test esi, esi
je 0x10049ba6
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
add edi, dword [ebp + esi - 0x450]
add eax, dword [ebp + esi - 0x44c]
add ecx, dword [ebp + esi - 0x454]
lea edx, [eax + edi]
shl edi, 0xb
mov ebx, eax
xor edi, ecx
mov ecx, eax
mov eax, dword [ebp - 0x1c]
shr ecx, 2
xor ecx, edx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x10], ecx
add eax, edi
add eax, dword [ebp + esi - 0x448]
add edx, ecx
add edx, dword [ebp + esi - 0x444]
add ebx, eax
lea ecx, [edx + eax]
shl eax, 8
xor ebx, eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], ebx
mov ebx, edx
shr ebx, 0x10
xor ebx, ecx
mov ecx, dword [ebp - 0x28]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], ebx
add ecx, dword [ebp + esi - 0x43c]
add eax, dword [ebp + esi - 0x440]
add ecx, ebx
lea ebx, [ecx + eax]
add edx, 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 - 0x438]
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 - 0x54], eax
mov eax, dword [ebp - 0x10]
xor edi, ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], edi
mov dword [ebp + esi - 0x50], eax
mov eax, dword [ebp - 0x1c]
add ecx, edi
mov dword [ebp + esi - 0x4c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp + esi - 0x48], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp + esi - 0x44], edx
mov dword [ebp + esi - 0x40], eax
mov dword [ebp + esi - 0x3c], ebx
mov dword [ebp + esi - 0x38], edi
mov edi, dword [ebp - 0x10]
add esi, 0x20
jmp 0x10049aa1
mov eax, 0xfffffc00
test eax, eax
je 0x10049cb6
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
add edi, dword [ebp + eax - 0x50]
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
add edx, dword [ebp + eax - 0x54]
mov eax, dword [ebp - 0x14]
add eax, dword [ebp + ecx - 0x4c]
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 - 0x48]
mov ecx, dword [ebp - 0x10]
add edx, dword [ebp + ecx - 0x44]
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 - 0x3c]
mov esi, dword [ebp - 0x18]
add esi, eax
add ecx, dword [ebp - 0x1c]
add esi, dword [ebp + ebx - 0x40]
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 - 0x38]
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 - 0x54], 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 - 0x50], esi
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
mov dword [ebp + ecx - 0x4c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax - 0x48], esi
mov dword [ebp + eax - 0x44], edx
mov edx, dword [ebp - 0x18]
mov dword [ebp + eax - 0x40], edx
mov dword [ebp + eax - 0x3c], ebx
mov dword [ebp + eax - 0x38], edi
mov edi, dword [ebp - 0x30]
add eax, 0x20
jmp 0x10049bab
lea edi, [ebp - 0x854]
mov ecx, edi
call sym.rand::prng::isaac::IsaacRng::isaac::h292b8e4ba6f51166
mov esi, 0x810
lea ebx, [ebp - 0x1064]
push esi
push edi
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov edi, dword [ebp - 0x34]
lea eax, [edi + 4]
push esi
push ebx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
and dword [edi], 0
add esp, 0x1058
pop esi
pop edi
pop ebx
pop ebp
ret