Function at 0x461520
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, 0x40
mov eax, dword [0x5ec3c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov eax, edx
mov dword [ebp - 0x1c], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebx + 0xc]
push dword [eax + 4]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebx + 0x18]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebx + 0x1c]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebx + 0x20]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebx + 0x24]
push edi
mov dword [ebp - 0x3c], ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x46183b
mov ecx, dword [ebp - 0xc]
mov dl, 1
xor eax, eax
mov dword [ebp - 0x14], esi
cmp dl, 1
mov byte [ebp - 8], dl
cmove eax, esi
mov esi, dword [ebp - 0x1c]
mov dword [esi], eax
movzx eax, dl
sub eax, 0
jne 0x4615ca
test ecx, ecx
je 0x4615ca
mov eax, dword [ecx]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x5845b0]
mov ecx, dword [ebp - 0xc]
call esi
mov esi, dword [ebp - 0x20]
push dword [esi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
test ecx, ecx
je 0x46185d
mov edx, dword [ebp - 0xc]
mov byte [ebp - 8], 1
xor eax, eax
mov dword [ebp - 0x14], ecx
cmp byte [ebp - 8], 1
cmove eax, ecx
mov dword [esi], eax
movzx eax, byte [ebp - 8]
sub eax, 0
jne 0x461616
test edx, edx
je 0x461616
mov eax, dword [edx]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x5845b0]
mov ecx, dword [ebp - 0xc]
call esi
mov esi, dword [ebp - 0x24]
push dword [esi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
test ecx, ecx
je 0x461881
mov edi, dword [ebp - 0xc]
mov dl, 1
xor eax, eax
mov dword [ebp - 0x14], ecx
cmp dl, 1
mov byte [ebp - 8], dl
cmove eax, ecx
mov dword [esi], eax
movzx eax, dl
sub eax, 0
jne 0x461660
test edi, edi
je 0x461660
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x5845b0]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x28]
push dword [esi + 4]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
test ecx, ecx
je 0x4618a3
mov edi, dword [ebp - 0xc]
mov dl, 1
xor eax, eax
mov dword [ebp - 0x14], ecx
cmp dl, 1
mov byte [ebp - 8], dl
cmove eax, ecx
mov dword [esi], eax
movzx eax, dl
sub eax, 0
jne 0x4616ac
test edi, edi
je 0x4616ac
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x5845b0]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x2c]
push dword [esi + 4]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
test ecx, ecx
je 0x4618c5
mov edi, dword [ebp - 0xc]
mov dl, 1
xor eax, eax
mov dword [ebp - 0x14], ecx
cmp dl, 1
mov byte [ebp - 8], dl
cmove eax, ecx
mov dword [esi], eax
movzx eax, dl
sub eax, 0
jne 0x4616f8
test edi, edi
je 0x4616f8
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x5845b0]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x30]
push dword [esi + 4]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
test ecx, ecx
je 0x4618e7
mov edi, dword [ebp - 0xc]
mov dl, 1
xor eax, eax
mov dword [ebp - 0x14], ecx
cmp dl, 1
mov byte [ebp - 8], dl
cmove eax, ecx
mov dword [esi], eax
movzx eax, dl
sub eax, 0
jne 0x461744
test edi, edi
je 0x461744
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x5845b0]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x34]
push dword [esi + 4]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
test ecx, ecx
je 0x461909
mov edi, dword [ebp - 0xc]
mov dl, 1
xor eax, eax
mov dword [ebp - 0x14], ecx
cmp dl, 1
mov byte [ebp - 8], dl
cmove eax, ecx
mov dword [esi], eax
movzx eax, dl
sub eax, 0
jne 0x461790
test edi, edi
je 0x461790
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x5845b0]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x38]
push dword [esi + 4]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
test ecx, ecx
je 0x46192b
mov edi, dword [ebp - 0xc]
mov dl, 1
xor eax, eax
mov dword [ebp - 0x14], ecx
cmp dl, 1
mov byte [ebp - 8], dl
cmove eax, ecx
mov dword [esi], eax
movzx eax, dl
sub eax, 0
jne 0x4617dc
test edi, edi
je 0x4617dc
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x5845b0]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x3c]
push dword [esi + 4]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
test ecx, ecx
je 0x46194d
mov edi, dword [ebp - 0xc]
mov dl, 1
xor eax, eax
mov dword [ebp - 0x14], ecx
cmp dl, 1
mov byte [ebp - 8], dl
cmove eax, ecx
mov dword [esi], eax
movzx eax, dl
sub eax, 0
jne 0x461828
test edi, edi
je 0x461828
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x5845b0]
mov ecx, edi
call esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0050a47b
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], 0x5ffab0
mov esi, eax
mov dword [ebp - 0xc], ecx
jmp 0x461598
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
mov dword [ebp - 0xc], 0
mov ecx, eax
mov byte [ebp - 8], 0
mov dword [ebp - 0x10], 0x5ffab0
mov dword [ebp - 0xc], edx
jmp 0x4615e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor dl, dl
mov dword [ebp - 0xc], 0
xor edi, edi
mov dword [ebp - 0x10], 0x5ffab0
mov ecx, eax
mov dword [ebp - 0xc], edi
jmp 0x461632
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor dl, dl
mov dword [ebp - 0xc], 0
xor edi, edi
mov dword [ebp - 0x10], 0x5ffab0
mov ecx, eax
mov dword [ebp - 0xc], edi
jmp 0x46167e
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor dl, dl
mov dword [ebp - 0xc], 0
xor edi, edi
mov dword [ebp - 0x10], 0x5ffab0
mov ecx, eax
mov dword [ebp - 0xc], edi
jmp 0x4616ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor dl, dl
mov dword [ebp - 0xc], 0
xor edi, edi
mov dword [ebp - 0x10], 0x5ffab0
mov ecx, eax
mov dword [ebp - 0xc], edi
jmp 0x461716
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor dl, dl
mov dword [ebp - 0xc], 0
xor edi, edi
mov dword [ebp - 0x10], 0x5ffab0
mov ecx, eax
mov dword [ebp - 0xc], edi
jmp 0x461762
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor dl, dl
mov dword [ebp - 0xc], 0
xor edi, edi
mov dword [ebp - 0x10], 0x5ffab0
mov ecx, eax
mov dword [ebp - 0xc], edi
jmp 0x4617ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor dl, dl
mov dword [ebp - 0xc], 0
xor edi, edi
mov dword [ebp - 0x10], 0x5ffab0
mov ecx, eax
mov dword [ebp - 0xc], edi
jmp 0x4617fa