Function at 0x409320
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
call sub.kernel32.dll_CreateTimerQueue
test eax, eax
je 0x4096cd
mov esi, eax
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
test eax, eax
je 0x4096cd
push 0
call sub.kernel32.dll_GetModuleHandleA
test eax, eax
je 0x4096cd
add eax, dword [eax + 0x3c]
je 0x4096cd
xorps xmm0, xmm0
mov dword [ebp - 0x2c], esi
movups xmmword [ebp - 0x50], xmm0
call fcn.00456890
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x28]
push 0x10
push eax
push ecx
call fcn.004569b0
add esp, 0xc
test eax, eax
jne 0x4096d5
lea eax, [ebp - 0x18]
push 0xc
push 0x57aaee
push 0x16
push 0x57aad8
push eax
call fcn.004088a0
add esp, 0x14
mov ebx, dword [ebp - 0x14]
push ebx
call sub.kernel32.dll_LoadLibraryA
mov edi, eax
lea eax, [ebp - 0x24]
push 0xc
push 0x57ab1c
push 0x22
push 0x57aafa
push eax
call fcn.004088a0
add esp, 0x14
mov esi, dword [ebp - 0x20]
push esi
push edi
call sub.kernel32.dll_GetProcAddress
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4093f0
push 1
push eax
push esi
call fcn.0040cd20
add esp, 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x409403
push 1
push eax
push ebx
call fcn.0040cd20
add esp, 0xc
push 0xc
push 0x57ab3e
push 0x16
push 0x57ab28
lea eax, [ebp - 0x18]
push eax
call fcn.004088a0
add esp, 0x14
mov ebx, dword [ebp - 0x14]
push ebx
call sub.kernel32.dll_GetModuleHandleA
mov edi, eax
push 0xc
push 0x57ab65
push 0x1b
push 0x57ab4a
lea eax, [ebp - 0x24]
push eax
call fcn.004088a0
add esp, 0x14
mov esi, dword [ebp - 0x20]
push esi
push edi
call sub.kernel32.dll_GetProcAddress
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x409462
push 1
push eax
push esi
call fcn.0040cd20
add esp, 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x409475
push 1
push eax
push ebx
call fcn.0040cd20
add esp, 0xc
push 0xc
push 0x57ab8a
push 0x19
push 0x57ab71
lea eax, [ebp - 0x18]
push eax
call fcn.004088a0
add esp, 0x14
mov ebx, dword [ebp - 0x14]
push ebx
call sub.kernel32.dll_LoadLibraryA
mov edi, eax
push 0xc
push 0x57abb8
push 0x22
push 0x57ab96
lea eax, [ebp - 0x24]
push eax
call fcn.004088a0
add esp, 0x14
mov esi, dword [ebp - 0x20]
push esi
push edi
call sub.kernel32.dll_GetProcAddress
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4094d4
push 1
push eax
push esi
call fcn.0040cd20
add esp, 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4094e7
push 1
push eax
push ebx
call fcn.0040cd20
add esp, 0xc
push 0xc
push 0x57abe1
push 0x1d
push 0x57abc4
lea eax, [ebp - 0x18]
push eax
call fcn.004088a0
add esp, 0x14
mov ebx, dword [ebp - 0x14]
push ebx
call sub.kernel32.dll_LoadLibraryA
mov edi, eax
push 0xc
push 0x57ac0c
push 0x1f
push 0x57abed
lea eax, [ebp - 0x24]
push eax
call fcn.004088a0
add esp, 0x14
mov esi, dword [ebp - 0x20]
push esi
push edi
call sub.kernel32.dll_GetProcAddress
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x409546
push 1
push eax
push esi
call fcn.0040cd20
add esp, 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x409559
push 1
push eax
push ebx
call fcn.0040cd20
add esp, 0xc
push 0xc
push 0x57ac35
push 0x1d
push 0x57ac18
lea eax, [ebp - 0x18]
push eax
call fcn.004088a0
add esp, 0x14
mov ebx, dword [ebp - 0x14]
push ebx
call sub.kernel32.dll_LoadLibraryA
mov edi, eax
push 0xc
push 0x57ac65
push 0x24
push 0x57ac41
lea eax, [ebp - 0x24]
push eax
call fcn.004088a0
add esp, 0x14
mov esi, dword [ebp - 0x20]
push esi
push edi
call sub.kernel32.dll_GetProcAddress
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4095b8
push 1
push eax
push esi
call fcn.0040cd20
add esp, 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4095cb
push 1
push eax
push ebx
call fcn.0040cd20
add esp, 0xc
push 0xc
push 0x57ac8e
push 0x1d
push 0x57ac71
lea eax, [ebp - 0x18]
push eax
call fcn.004088a0
add esp, 0x14
mov edi, dword [ebp - 0x14]
push edi
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
push 0xc
push 0x57acb3
push 0x19
push 0x57ac9a
lea eax, [ebp - 0x24]
push eax
call fcn.004088a0
add esp, 0x14
mov esi, dword [ebp - 0x20]
push esi
push ebx
call sub.kernel32.dll_GetProcAddress
mov ebx, eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x409629
push 1
push eax
push esi
call fcn.0040cd20
add esp, 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40963c
push 1
push eax
push edi
call fcn.0040cd20
add esp, 0xc
movd xmm0, dword [ebp - 0x34]
movd xmm1, dword [ebp - 0x38]
movd xmm3, dword [ebp - 0x3c]
movd xmm2, dword [ebp - 0x40]
punpckldq xmm2, xmm3
punpckldq xmm1, xmm0
pxor xmm3, xmm3
punpcklqdq xmm2, xmm1
pcmpeqd xmm3, xmm2
movmskps eax, xmm3
test eax, eax
jne 0x409695
cmp dword [ebp - 0x30], 0
je 0x409695
test ebx, ebx
je 0x409695
push 0
push 0
push 1
push 0
call sub.kernel32.dll_CreateEventW
test eax, eax
je 0x409695
mov edi, eax
push dword [ebp + 8]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
je 0x4096b3
mov eax, dword [ebp - 0x28]
dec dword [eax]
jne 0x4096cd
dec dword [eax + 4]
jne 0x4096cd
push 8
push 0x158
push eax
call fcn.0040cd20
add esp, 0xc
jmp 0x4096cd
push edi
call sub.kernel32.dll_SetEvent
push dword [ebp - 0x2c]
call sub.kernel32.dll_DeleteTimerQueue
lea eax, [ebp - 0x28]
push eax
call fcn.0040b8d0
add esp, 4
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x57aa00
push 0x10
push str.Rng::fill_failedC:Userswin10_x64.cargo_registry_srcindex.crates.io_1cd66030c949c28d_rand_0.8.5_src_rng.rs
call fcn.004dab10
nop
nop
nop
nop
nop