Function at 0x46f0ac
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
push edi
test dl, dl
je 0x46f0bb
add esp, 0xfffffff0
call fcn.004041f0
mov ebx, edx
mov edi, eax
push 0x46f35c
call sub.kernel32.dll_LoadLibraryA
mov esi, eax
mov dword [edi + 4], esi
test esi, esi
jne 0x46f0e8
mov ecx, 0x46f370
mov dl, 1
mov eax, dword [0x4082e0]
call fcn.0040d4d4
call fcn.00404658
push 0x46f388
mov eax, dword [edi + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 8], eax
push 0x46f39c
mov eax, dword [edi + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0xc], eax
push 0x46f3a4
mov eax, dword [edi + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x10], eax
push 0x46f3ac
mov eax, dword [edi + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x14], eax
push 0x46f3bc
mov eax, dword [edi + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x18], eax
push 0x46f3c8
mov eax, dword [edi + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x1c], eax
push 0x46f3d4
mov eax, dword [edi + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x20], eax
push 0x46f3e4
mov eax, dword [edi + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x24], eax
push 0x46f3ec
mov eax, dword [edi + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x28], eax
push 0x46f3fc
mov eax, dword [edi + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x2c], eax
push 0x46f408
mov eax, dword [edi + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x30], eax
push 0x46f420
mov eax, dword [edi + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x34], eax
push 0x46f42c
mov eax, dword [edi + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x38], eax
push 0x46f438
mov eax, dword [edi + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x3c], eax
push 0x46f444
mov eax, dword [edi + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x40], eax
push 0x46f45c
mov eax, dword [edi + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x44], eax
push 0x46f46c
mov eax, dword [edi + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x48], eax
push 0x46f47c
mov eax, dword [edi + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x4c], eax
push 0x46f48c
mov eax, dword [edi + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x50], eax
push 0x46f498
mov eax, dword [edi + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x54], eax
push 0x46f4a8
mov eax, dword [edi + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x58], eax
push 0x46f4b8
mov eax, dword [edi + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x5c], eax
push 0x46f4c8
mov eax, dword [edi + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x60], eax
push 0x46f4d8
mov eax, dword [edi + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x64], eax
push 0x46f4e8
mov eax, dword [edi + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x68], eax
cmp dword [edi + 8], 0
je 0x46f329
cmp dword [edi + 0xc], 0
je 0x46f329
cmp dword [edi + 0x10], 0
je 0x46f329
cmp dword [edi + 0x14], 0
je 0x46f329
cmp dword [edi + 0x18], 0
je 0x46f329
cmp dword [edi + 0x1c], 0
je 0x46f329
cmp dword [edi + 0x20], 0
je 0x46f329
cmp dword [edi + 0x24], 0
je 0x46f329
cmp dword [edi + 0x28], 0
je 0x46f329
cmp dword [edi + 0x2c], 0
je 0x46f329
cmp dword [edi + 0x30], 0
je 0x46f329
cmp dword [edi + 0x34], 0
je 0x46f329
cmp dword [edi + 0x38], 0
je 0x46f329
cmp dword [edi + 0x3c], 0
je 0x46f329
cmp dword [edi + 0x40], 0
je 0x46f329
cmp dword [edi + 0x48], 0
je 0x46f329
cmp dword [edi + 0x4c], 0
je 0x46f329
cmp dword [edi + 0x50], 0
je 0x46f329
cmp dword [edi + 0x54], 0
je 0x46f329
cmp dword [edi + 0x58], 0
je 0x46f329
cmp dword [edi + 0x5c], 0
je 0x46f329
cmp dword [edi + 0x60], 0
je 0x46f329
cmp dword [edi + 0x64], 0
je 0x46f329
cmp dword [edi + 0x68], 0
jne 0x46f33f
mov ecx, 0x46f4f8
mov dl, 1
mov eax, dword [0x4082e0]
call fcn.0040d4d4
call fcn.00404658
mov eax, edi
test bl, bl
je 0x46f354
call fcn.00404248
pop dword fs:[0]
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
ret