Function at 0x1000a5c0
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 0x1000a96d
mov esi, eax
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
test eax, eax
je 0x1000a96d
push 0
call sub.kernel32.dll_GetModuleHandleA
test eax, eax
je 0x1000a96d
add eax, dword [eax + 0x3c]
je 0x1000a96d
xorps xmm0, xmm0
mov dword [ebp - 0x2c], esi
movups xmmword [ebp - 0x50], xmm0
call fcn.10058ec0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x28]
push 0x10
push eax
push ecx
call fcn.10058fe0
add esp, 0xc
test eax, eax
jne 0x1000a975
lea eax, [ebp - 0x18]
push 0xc
push 0x1016ebf6
push 0x16
push 0x1016ebe0
push eax
call fcn.1000aeb0
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 0x1016ec24
push 0x22
push 0x1016ec02
push eax
call fcn.1000aeb0
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 0x1000a690
push 1
push eax
push esi
call fcn.1000d080
add esp, 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1000a6a3
push 1
push eax
push ebx
call fcn.1000d080
add esp, 0xc
push 0xc
push 0x1016ec46
push 0x16
push 0x1016ec30
lea eax, [ebp - 0x18]
push eax
call fcn.1000aeb0
add esp, 0x14
mov ebx, dword [ebp - 0x14]
push ebx
call sub.kernel32.dll_GetModuleHandleA
mov edi, eax
push 0xc
push 0x1016ec6d
push 0x1b
push 0x1016ec52
lea eax, [ebp - 0x24]
push eax
call fcn.1000aeb0
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 0x1000a702
push 1
push eax
push esi
call fcn.1000d080
add esp, 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1000a715
push 1
push eax
push ebx
call fcn.1000d080
add esp, 0xc
push 0xc
push 0x1016ec92
push 0x19
push 0x1016ec79
lea eax, [ebp - 0x18]
push eax
call fcn.1000aeb0
add esp, 0x14
mov ebx, dword [ebp - 0x14]
push ebx
call sub.kernel32.dll_LoadLibraryA
mov edi, eax
push 0xc
push 0x1016ecc0
push 0x22
push 0x1016ec9e
lea eax, [ebp - 0x24]
push eax
call fcn.1000aeb0
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 0x1000a774
push 1
push eax
push esi
call fcn.1000d080
add esp, 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1000a787
push 1
push eax
push ebx
call fcn.1000d080
add esp, 0xc
push 0xc
push 0x1016ece9
push 0x1d
push 0x1016eccc
lea eax, [ebp - 0x18]
push eax
call fcn.1000aeb0
add esp, 0x14
mov ebx, dword [ebp - 0x14]
push ebx
call sub.kernel32.dll_LoadLibraryA
mov edi, eax
push 0xc
push 0x1016ed14
push 0x1f
push 0x1016ecf5
lea eax, [ebp - 0x24]
push eax
call fcn.1000aeb0
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 0x1000a7e6
push 1
push eax
push esi
call fcn.1000d080
add esp, 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1000a7f9
push 1
push eax
push ebx
call fcn.1000d080
add esp, 0xc
push 0xc
push 0x1016ed3d
push 0x1d
push 0x1016ed20
lea eax, [ebp - 0x18]
push eax
call fcn.1000aeb0
add esp, 0x14
mov ebx, dword [ebp - 0x14]
push ebx
call sub.kernel32.dll_LoadLibraryA
mov edi, eax
push 0xc
push 0x1016ed6d
push 0x24
push 0x1016ed49
lea eax, [ebp - 0x24]
push eax
call fcn.1000aeb0
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 0x1000a858
push 1
push eax
push esi
call fcn.1000d080
add esp, 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1000a86b
push 1
push eax
push ebx
call fcn.1000d080
add esp, 0xc
push 0xc
push 0x1016ed96
push 0x1d
push 0x1016ed79
lea eax, [ebp - 0x18]
push eax
call fcn.1000aeb0
add esp, 0x14
mov edi, dword [ebp - 0x14]
push edi
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
push 0xc
push 0x1016edbb
push 0x19
push 0x1016eda2
lea eax, [ebp - 0x24]
push eax
call fcn.1000aeb0
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 0x1000a8c9
push 1
push eax
push esi
call fcn.1000d080
add esp, 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1000a8dc
push 1
push eax
push edi
call fcn.1000d080
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 0x1000a935
cmp dword [ebp - 0x30], 0
je 0x1000a935
test ebx, ebx
je 0x1000a935
push 0
push 0
push 1
push 0
call sub.kernel32.dll_CreateEventW
test eax, eax
je 0x1000a935
mov edi, eax
push dword [ebp + 8]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
je 0x1000a953
mov eax, dword [ebp - 0x28]
dec dword [eax]
jne 0x1000a96d
dec dword [eax + 4]
jne 0x1000a96d
push 8
push 0x158
push eax
call fcn.1000d080
add esp, 0xc
jmp 0x1000a96d
push edi
call sub.kernel32.dll_SetEvent
push dword [ebp - 0x2c]
call sub.kernel32.dll_DeleteTimerQueue
lea eax, [ebp - 0x28]
push eax
call fcn.1000b6c0
add esp, 4
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x1016f02c
push 0x10
push str.Rng::fill_failedC:UsersAdministrator.cargo_registry_srcindex.crates.io_1cd66030c949c28d_rand_0.8.5_src_rng.rs
call fcn.100dc1e0
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
push esi
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [eax], edx
mov dword [eax + 4], esi
sub esi, edx
mov edx, dword [ebp + 0x18]
mov dword [eax + 8], ecx
shr esi, 4
mov dword [eax + 0xc], edx
sub edx, ecx
mov dword [eax + 0x10], 0
shr edx, 4
cmp esi, edx
cmovb edx, esi
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], esi
pop esi
pop ebp
ret