Function at 0x46ac90
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
push edi
test dl, dl
je 0x46ac9f
add esp, 0xfffffff0
call fcn.00404218
mov ebx, edx
mov edi, eax
push 0x46b1ac
call sub.kernel32.dll_LoadLibraryA
mov esi, eax
mov dword [edi + 0x1c], esi
test esi, esi
jne 0x46accc
mov ecx, 0x46b1c0
mov dl, 1
mov eax, dword [0x4081d0]
call fcn.0040d4c8
call fcn.00404680
push 0x46b1d8
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x24], eax
push 0x46b1ec
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x28], eax
push 0x46b200
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x2c], eax
push 0x46b210
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x30], eax
push 0x46b220
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x34], eax
push 0x46b230
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x38], eax
push 0x46b250
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x3c], eax
push 0x46b260
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x40], eax
push 0x46b26c
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x44], eax
push 0x46b280
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x48], eax
push 0x46b28c
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x4c], eax
push 0x46b298
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x50], eax
push 0x46b2a4
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x54], eax
push 0x46b2bc
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x58], eax
push 0x46b2c8
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x5c], eax
push 0x46b2d8
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x60], eax
push 0x46b2e0
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x64], eax
push 0x46b2f0
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x68], eax
push 0x46b2f8
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x6c], eax
push 0x46b304
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x70], eax
push 0x46b31c
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x74], eax
push 0x46b328
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x78], eax
push 0x46b334
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x7c], eax
push 0x46b340
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x80], eax
push 0x46b34c
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x84], eax
push 0x46b35c
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x88], eax
push 0x46b368
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x8c], eax
push 0x46b37c
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x90], eax
push 0x46b38c
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x94], eax
push 0x46b39c
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x98], eax
push 0x46b3b8
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x9c], eax
push 0x46b3d8
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0xa0], eax
push 0x46b3ec
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0xa8], eax
push 0x46b3fc
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0xa4], eax
push 0x46b40c
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0xac], eax
push 0x46b420
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0xb0], eax
push 0x46b43c
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0xb4], eax
push 0x46b444
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0xb8], eax
push 0x46b450
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0xc0], eax
push 0x46b45c
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0xc4], eax
push 0x46b464
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0xc8], eax
push 0x46b470
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov esi, eax
mov dword [edi + 0xbc], esi
cmp dword [edi + 0xbc], 0
je 0x46afe1
push 0x46ab84
call esi
cmp dword [edi + 0x24], 0
je 0x46b175
cmp dword [edi + 0x28], 0
je 0x46b175
cmp dword [edi + 0x2c], 0
je 0x46b175
cmp dword [edi + 0x30], 0
je 0x46b175
cmp dword [edi + 0x34], 0
je 0x46b175
cmp dword [edi + 0x38], 0
je 0x46b175
cmp dword [edi + 0x40], 0
je 0x46b175
cmp dword [edi + 0x44], 0
je 0x46b175
cmp dword [edi + 0x48], 0
je 0x46b175
cmp dword [edi + 0x58], 0
je 0x46b175
cmp dword [edi + 0x5c], 0
je 0x46b175
cmp dword [edi + 0x60], 0
je 0x46b175
cmp dword [edi + 0x64], 0
je 0x46b175
cmp dword [edi + 0x4c], 0
je 0x46b175
cmp dword [edi + 0x50], 0
je 0x46b175
cmp dword [edi + 0x54], 0
je 0x46b175
cmp dword [edi + 0x3c], 0
je 0x46b175
cmp dword [edi + 0x74], 0
je 0x46b175
cmp dword [edi + 0x78], 0
je 0x46b175
cmp dword [edi + 0x7c], 0
je 0x46b175
cmp dword [edi + 0x80], 0
je 0x46b175
cmp dword [edi + 0x84], 0
je 0x46b175
cmp dword [edi + 0x88], 0
je 0x46b175
cmp dword [edi + 0xb4], 0
je 0x46b175
cmp dword [edi + 0xb8], 0
je 0x46b175
cmp dword [edi + 0x68], 0
je 0x46b175
cmp dword [edi + 0x6c], 0
je 0x46b175
cmp dword [edi + 0x90], 0
je 0x46b175
cmp dword [edi + 0x94], 0
je 0x46b175
cmp dword [edi + 0x98], 0
je 0x46b175
cmp dword [edi + 0x9c], 0
je 0x46b175
cmp dword [edi + 0xa0], 0
je 0x46b175
cmp dword [edi + 0xa8], 0
je 0x46b175
cmp dword [edi + 0xa4], 0
je 0x46b175
cmp dword [edi + 0xac], 0
je 0x46b175
cmp dword [edi + 0xb0], 0
je 0x46b175
cmp dword [edi + 0x70], 0
je 0x46b175
cmp dword [edi + 0xc0], 0
je 0x46b175
cmp dword [edi + 0xc4], 0
je 0x46b175
cmp dword [edi + 0xc8], 0
je 0x46b175
cmp dword [edi + 0x8c], 0
jne 0x46b18b
mov ecx, 0x46b494
mov dl, 1
mov eax, dword [0x4081d0]
call fcn.0040d4c8
call fcn.00404680
call dword [edi + 0x24]
mov dword [edi + 0x20], eax
mov eax, edi
test bl, bl
je 0x46b1a6
call fcn.00404270
pop dword fs:[0]
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
ret