Function at 0x46cac0
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
push edi
test dl, dl
je 0x46cacf
add esp, 0xfffffff0
call fcn.00403fc8
mov ebx, edx
mov edi, eax
push 0x46cdb4
call sub.kernel32.dll_LoadLibraryA
mov esi, eax
mov dword [edi + 0x1c], esi
test esi, esi
jne 0x46cafc
mov ecx, 0x46cdc8
mov dl, 1
mov eax, dword [0x407f80]
call fcn.0040d238
call fcn.00404430
push 0x46cde0
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x24], eax
push 0x46cdf4
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x28], eax
push 0x46ce08
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x2c], eax
push 0x46ce18
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x30], eax
push 0x46ce28
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x34], eax
push 0x46ce38
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x38], eax
push 0x46ce58
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x3c], eax
push 0x46ce68
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x40], eax
push 0x46ce74
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x44], eax
push 0x46ce88
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x48], eax
push 0x46ce94
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x4c], eax
push 0x46cea0
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x50], eax
push 0x46ceac
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x54], eax
push 0x46cec4
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x58], eax
push 0x46ced0
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x5c], eax
push 0x46cee0
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x60], eax
push 0x46cee8
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x64], eax
push 0x46cef8
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x68], eax
push 0x46cf00
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x6c], eax
push 0x46cf18
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x70], eax
push 0x46cf24
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x74], eax
push 0x46cf30
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x78], eax
push 0x46cf3c
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x7c], eax
push 0x46cf4c
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x80], eax
push 0x46cf58
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x84], eax
push 0x46cf60
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x88], eax
cmp dword [edi + 0x24], 0
je 0x46cd7c
cmp dword [edi + 0x28], 0
je 0x46cd7c
cmp dword [edi + 0x2c], 0
je 0x46cd7c
cmp dword [edi + 0x30], 0
je 0x46cd7c
cmp dword [edi + 0x34], 0
je 0x46cd7c
cmp dword [edi + 0x38], 0
je 0x46cd7c
cmp dword [edi + 0x40], 0
je 0x46cd7c
cmp dword [edi + 0x44], 0
je 0x46cd7c
cmp dword [edi + 0x48], 0
je 0x46cd7c
cmp dword [edi + 0x58], 0
je 0x46cd7c
cmp dword [edi + 0x5c], 0
je 0x46cd7c
cmp dword [edi + 0x60], 0
je 0x46cd7c
cmp dword [edi + 0x64], 0
je 0x46cd7c
cmp dword [edi + 0x4c], 0
je 0x46cd7c
cmp dword [edi + 0x50], 0
je 0x46cd7c
cmp dword [edi + 0x54], 0
je 0x46cd7c
cmp dword [edi + 0x3c], 0
je 0x46cd7c
cmp dword [edi + 0x70], 0
je 0x46cd7c
cmp dword [edi + 0x74], 0
je 0x46cd7c
cmp dword [edi + 0x78], 0
je 0x46cd7c
cmp dword [edi + 0x7c], 0
je 0x46cd7c
cmp dword [edi + 0x80], 0
je 0x46cd7c
cmp dword [edi + 0x84], 0
je 0x46cd7c
cmp dword [edi + 0x88], 0
je 0x46cd7c
cmp dword [edi + 0x68], 0
je 0x46cd7c
cmp dword [edi + 0x6c], 0
jne 0x46cd92
mov ecx, 0x46cf74
mov dl, 1
mov eax, dword [0x407f80]
call fcn.0040d238
call fcn.00404430
call dword [edi + 0x24]
mov dword [edi + 0x20], eax
mov eax, edi
test bl, bl
je 0x46cdad
call fcn.00404020
pop dword fs:[0]
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
ret