Function at 0x45d590
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x61094c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, edx
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebx + 0x18]
push edi
push dword [eax + 4]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebx + 0x1c]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebx + 0x20]
push esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x34], ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x45d800
mov ecx, dword [ebp - 0xc]
mov dl, 1
xor eax, eax
mov dword [ebp - 0x14], edi
cmp dl, 1
mov byte [ebp - 8], dl
cmove eax, edi
mov edi, dword [ebp - 0x18]
mov dword [edi], eax
movzx eax, dl
sub eax, 0
jne 0x45d626
test ecx, ecx
je 0x45d626
mov eax, dword [ecx]
push 1
mov eax, dword [eax]
call eax
mov edi, dword [ebp - 0x1c]
push dword [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, eax
test edx, edx
je 0x45d822
mov ecx, dword [ebp - 0xc]
mov byte [ebp - 8], 1
xor eax, eax
mov dword [ebp - 0x14], edx
cmp byte [ebp - 8], 1
cmove eax, edx
mov dword [edi], eax
movzx eax, byte [ebp - 8]
sub eax, 0
jne 0x45d667
test ecx, ecx
je 0x45d667
mov eax, dword [ecx]
push 1
mov eax, dword [eax]
call eax
mov edi, dword [ebp - 0x20]
push dword [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, eax
test edx, edx
je 0x45d846
mov ecx, dword [ebp - 0xc]
mov byte [ebp - 8], 1
xor eax, eax
mov dword [ebp - 0x14], edx
cmp byte [ebp - 8], 1
cmove eax, edx
mov dword [edi], eax
movzx eax, byte [ebp - 8]
sub eax, 0
jne 0x45d6a8
test ecx, ecx
je 0x45d6a8
mov eax, dword [ecx]
push 1
mov eax, dword [eax]
call eax
mov edi, dword [ebp - 0x24]
push dword [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, eax
test edx, edx
je 0x45d86a
mov ecx, dword [ebp - 0xc]
mov byte [ebp - 8], 1
xor eax, eax
mov dword [ebp - 0x14], edx
cmp byte [ebp - 8], 1
cmove eax, edx
mov dword [edi], eax
movzx eax, byte [ebp - 8]
sub eax, 0
jne 0x45d6e9
test ecx, ecx
je 0x45d6e9
mov eax, dword [ecx]
push 1
mov eax, dword [eax]
call eax
mov edi, dword [ebp - 0x28]
push dword [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, eax
test edx, edx
je 0x45d88e
mov ecx, dword [ebp - 0xc]
mov byte [ebp - 8], 1
xor eax, eax
mov dword [ebp - 0x14], edx
cmp byte [ebp - 8], 1
cmove eax, edx
mov dword [edi], eax
movzx eax, byte [ebp - 8]
sub eax, 0
jne 0x45d72a
test ecx, ecx
je 0x45d72a
mov eax, dword [ecx]
push 1
mov eax, dword [eax]
call eax
mov edi, dword [ebp - 0x2c]
push dword [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, eax
test edx, edx
je 0x45d8b2
mov ecx, dword [ebp - 0xc]
mov byte [ebp - 8], 1
xor eax, eax
mov dword [ebp - 0x14], edx
cmp byte [ebp - 8], 1
cmove eax, edx
mov dword [edi], eax
movzx eax, byte [ebp - 8]
sub eax, 0
jne 0x45d76b
test ecx, ecx
je 0x45d76b
mov eax, dword [ecx]
push 1
mov eax, dword [eax]
call eax
mov edi, dword [ebp - 0x30]
push dword [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, eax
test edx, edx
je 0x45d8d6
mov ecx, dword [ebp - 0xc]
mov byte [ebp - 8], 1
xor eax, eax
mov dword [ebp - 0x14], edx
cmp byte [ebp - 8], 1
cmove eax, edx
mov dword [edi], eax
movzx eax, byte [ebp - 8]
sub eax, 0
jne 0x45d7ac
test ecx, ecx
je 0x45d7ac
mov eax, dword [ecx]
push 1
mov eax, dword [eax]
call eax
mov edi, dword [ebp - 0x34]
push dword [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, eax
test edx, edx
je 0x45d8fa
mov ecx, dword [ebp - 0xc]
mov byte [ebp - 8], 1
xor eax, eax
mov dword [ebp - 0x14], edx
cmp byte [ebp - 8], 1
cmove eax, edx
mov dword [edi], eax
movzx eax, byte [ebp - 8]
sub eax, 0
jne 0x45d7ed
test ecx, ecx
je 0x45d7ed
mov eax, dword [ecx]
push 1
mov eax, dword [eax]
call eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00553d2a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor dl, dl
mov dword [ebp - 0xc], 0
xor ecx, ecx
mov dword [ebp - 0x10], 0x6206c0
mov edi, eax
mov dword [ebp - 0xc], ecx
jmp 0x45d5ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
mov dword [ebp - 0xc], 0
mov edx, eax
mov byte [ebp - 8], 0
mov dword [ebp - 0x10], 0x6206c0
mov dword [ebp - 0xc], ecx
jmp 0x45d644
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
mov dword [ebp - 0xc], 0
mov edx, eax
mov byte [ebp - 8], 0
mov dword [ebp - 0x10], 0x6206c0
mov dword [ebp - 0xc], ecx
jmp 0x45d685
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
mov dword [ebp - 0xc], 0
mov edx, eax
mov byte [ebp - 8], 0
mov dword [ebp - 0x10], 0x6206c0
mov dword [ebp - 0xc], ecx
jmp 0x45d6c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
mov dword [ebp - 0xc], 0
mov edx, eax
mov byte [ebp - 8], 0
mov dword [ebp - 0x10], 0x6206c0
mov dword [ebp - 0xc], ecx
jmp 0x45d707
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
mov dword [ebp - 0xc], 0
mov edx, eax
mov byte [ebp - 8], 0
mov dword [ebp - 0x10], 0x6206c0
mov dword [ebp - 0xc], ecx
jmp 0x45d748
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
mov dword [ebp - 0xc], 0
mov edx, eax
mov byte [ebp - 8], 0
mov dword [ebp - 0x10], 0x6206c0
mov dword [ebp - 0xc], ecx
jmp 0x45d789
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
mov dword [ebp - 0xc], 0
mov edx, eax
mov byte [ebp - 8], 0
mov dword [ebp - 0x10], 0x6206c0
mov dword [ebp - 0xc], ecx
jmp 0x45d7ca