Function at 0x40c750
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 0x40cafd
mov esi, eax
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
test eax, eax
je 0x40cafd
push 0
call sub.kernel32.dll_GetModuleHandleA
test eax, eax
je 0x40cafd
add eax, dword [eax + 0x3c]
je 0x40cafd
xorps xmm0, xmm0
mov dword [ebp - 0x2c], esi
movups xmmword [ebp - 0x50], xmm0
call fcn.00459020
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x28]
push 0x10
push eax
push ecx
call fcn.00459140
add esp, 0xc
test eax, eax
jne 0x40cb05
lea eax, [ebp - 0x18]
push 0xc
push 0x536a7a
push 0x16
push 0x536a64
push eax
call fcn.0040afd0
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 0x536aa8
push 0x22
push 0x536a86
push eax
call fcn.0040afd0
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 0x40c820
push 1
push eax
push esi
call fcn.0040d1e0
add esp, 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40c833
push 1
push eax
push ebx
call fcn.0040d1e0
add esp, 0xc
push 0xc
push 0x536aca
push 0x16
push 0x536ab4
lea eax, [ebp - 0x18]
push eax
call fcn.0040afd0
add esp, 0x14
mov ebx, dword [ebp - 0x14]
push ebx
call sub.kernel32.dll_GetModuleHandleA
mov edi, eax
push 0xc
push 0x536af1
push 0x1b
push 0x536ad6
lea eax, [ebp - 0x24]
push eax
call fcn.0040afd0
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 0x40c892
push 1
push eax
push esi
call fcn.0040d1e0
add esp, 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40c8a5
push 1
push eax
push ebx
call fcn.0040d1e0
add esp, 0xc
push 0xc
push 0x536b16
push 0x19
push 0x536afd
lea eax, [ebp - 0x18]
push eax
call fcn.0040afd0
add esp, 0x14
mov ebx, dword [ebp - 0x14]
push ebx
call sub.kernel32.dll_LoadLibraryA
mov edi, eax
push 0xc
push 0x536b44
push 0x22
push 0x536b22
lea eax, [ebp - 0x24]
push eax
call fcn.0040afd0
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 0x40c904
push 1
push eax
push esi
call fcn.0040d1e0
add esp, 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40c917
push 1
push eax
push ebx
call fcn.0040d1e0
add esp, 0xc
push 0xc
push 0x536b6d
push 0x1d
push 0x536b50
lea eax, [ebp - 0x18]
push eax
call fcn.0040afd0
add esp, 0x14
mov ebx, dword [ebp - 0x14]
push ebx
call sub.kernel32.dll_LoadLibraryA
mov edi, eax
push 0xc
push 0x536b98
push 0x1f
push 0x536b79
lea eax, [ebp - 0x24]
push eax
call fcn.0040afd0
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 0x40c976
push 1
push eax
push esi
call fcn.0040d1e0
add esp, 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40c989
push 1
push eax
push ebx
call fcn.0040d1e0
add esp, 0xc
push 0xc
push 0x536bc1
push 0x1d
push 0x536ba4
lea eax, [ebp - 0x18]
push eax
call fcn.0040afd0
add esp, 0x14
mov ebx, dword [ebp - 0x14]
push ebx
call sub.kernel32.dll_LoadLibraryA
mov edi, eax
push 0xc
push 0x536bf1
push 0x24
push 0x536bcd
lea eax, [ebp - 0x24]
push eax
call fcn.0040afd0
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 0x40c9e8
push 1
push eax
push esi
call fcn.0040d1e0
add esp, 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40c9fb
push 1
push eax
push ebx
call fcn.0040d1e0
add esp, 0xc
push 0xc
push 0x536c1a
push 0x1d
push 0x536bfd
lea eax, [ebp - 0x18]
push eax
call fcn.0040afd0
add esp, 0x14
mov edi, dword [ebp - 0x14]
push edi
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
push 0xc
push 0x536c3f
push 0x19
push 0x536c26
lea eax, [ebp - 0x24]
push eax
call fcn.0040afd0
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 0x40ca59
push 1
push eax
push esi
call fcn.0040d1e0
add esp, 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40ca6c
push 1
push eax
push edi
call fcn.0040d1e0
add esp, 0xc
movd xmm0, dword [ebp - 0x34]
movd xmm1, dword [ebp - 0x38]
movd xmm3, dword [ebp - 0x40]
movd xmm2, dword [ebp - 0x3c]
punpckldq xmm2, xmm3
punpckldq xmm1, xmm0
pxor xmm3, xmm3
punpcklqdq xmm2, xmm1
pcmpeqd xmm3, xmm2
movmskps eax, xmm3
test eax, eax
jne 0x40cac5
cmp dword [ebp - 0x30], 0
je 0x40cac5
test ebx, ebx
je 0x40cac5
push 0
push 0
push 1
push 0
call sub.kernel32.dll_CreateEventW
test eax, eax
je 0x40cac5
mov edi, eax
push dword [ebp + 8]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
je 0x40cae3
mov eax, dword [ebp - 0x28]
dec dword [eax]
jne 0x40cafd
dec dword [eax + 4]
jne 0x40cafd
push 8
push 0x158
push eax
call fcn.0040d1e0
add esp, 0xc
jmp 0x40cafd
push edi
call sub.kernel32.dll_SetEvent
push dword [ebp - 0x2c]
call sub.kernel32.dll_DeleteTimerQueue
lea eax, [ebp - 0x28]
push eax
call fcn.0040bbd0
add esp, 4
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x53675c
push 0x10
push str.Rng::fill_failedC:UsersAdministrator.cargo_registry_srcindex.crates.io_1cd66030c949c28d_rand_0.8.5_src_rng.rs
call fcn.004dc340
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ebp + 8]
cmp byte [eax], 3
jne 0x40cb63
mov esi, dword [eax + 4]
mov ebx, dword [esi + 4]
mov edi, dword [esi]
mov eax, dword [ebx]
test eax, eax
je 0x40cb42
push edi
call eax
add esp, 4
mov eax, dword [ebx + 4]
test eax, eax
je 0x40cb56
push dword [ebx + 8]
push eax
push edi
call fcn.0040d1e0
add esp, 0xc
push 4
push 0xc
push esi
call fcn.0040d1e0
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret