Function at 0x45d530
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 0x45d7a0
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 0x45d5c6
test ecx, ecx
je 0x45d5c6
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 0x45d7c2
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 0x45d607
test ecx, ecx
je 0x45d607
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 0x45d7e6
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 0x45d648
test ecx, ecx
je 0x45d648
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 0x45d80a
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 0x45d689
test ecx, ecx
je 0x45d689
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 0x45d82e
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 0x45d6ca
test ecx, ecx
je 0x45d6ca
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 0x45d852
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 0x45d70b
test ecx, ecx
je 0x45d70b
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 0x45d876
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 0x45d74c
test ecx, ecx
je 0x45d74c
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 0x45d89a
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 0x45d78d
test ecx, ecx
je 0x45d78d
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.00553cca
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 0x45d59f
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 0x45d5e4
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 0x45d625
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 0x45d666
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 0x45d6a7
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 0x45d6e8
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 0x45d729
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 0x45d76a