Function at 0x46b92c
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
push edi
test dl, dl
je 0x46b93b
add esp, 0xfffffff0
call fcn.00404198
mov ebx, edx
mov edi, eax
push 0x46bdc0
call sub.kernel32.dll_LoadLibraryA
mov esi, eax
mov dword [edi + 0x1c], esi
test esi, esi
jne 0x46b968
mov ecx, 0x46bdd4
mov dl, 1
mov eax, dword [0x40816c]
call fcn.0040d2c8
call fcn.00404600
push 0x46bdec
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x24], eax
push 0x46be00
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x28], eax
push 0x46be14
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x2c], eax
push 0x46be24
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x30], eax
push 0x46be34
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x34], eax
push 0x46be44
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x38], eax
push 0x46be64
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x3c], eax
push 0x46be74
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x40], eax
push 0x46be80
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x44], eax
push 0x46be94
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x48], eax
push 0x46bea0
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x4c], eax
push 0x46beac
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x50], eax
push 0x46beb8
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x54], eax
push 0x46bed0
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x58], eax
push 0x46bedc
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x5c], eax
push 0x46beec
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x60], eax
push 0x46bef4
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x64], eax
push 0x46bf04
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x68], eax
push 0x46bf0c
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x6c], eax
push 0x46bf18
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x70], eax
push 0x46bf30
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x74], eax
push 0x46bf3c
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x78], eax
push 0x46bf48
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x7c], eax
push 0x46bf54
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x80], eax
push 0x46bf60
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x84], eax
push 0x46bf70
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x88], eax
push 0x46bf7c
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x8c], eax
push 0x46bf8c
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x90], eax
push 0x46bf9c
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x94], eax
push 0x46bfb8
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x98], eax
push 0x46bfd8
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x9c], eax
push 0x46bfec
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0xa4], eax
push 0x46bffc
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0xa0], eax
push 0x46c00c
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0xa8], eax
push 0x46c020
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0xac], eax
push 0x46c03c
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0xb0], eax
push 0x46c044
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0xb4], eax
push 0x46c050
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov esi, eax
mov dword [edi + 0xb8], esi
cmp dword [edi + 0xb8], 0
je 0x46bc2d
push 0x46b820
call esi
cmp dword [edi + 0x24], 0
je 0x46bd89
cmp dword [edi + 0x28], 0
je 0x46bd89
cmp dword [edi + 0x2c], 0
je 0x46bd89
cmp dword [edi + 0x30], 0
je 0x46bd89
cmp dword [edi + 0x34], 0
je 0x46bd89
cmp dword [edi + 0x38], 0
je 0x46bd89
cmp dword [edi + 0x40], 0
je 0x46bd89
cmp dword [edi + 0x44], 0
je 0x46bd89
cmp dword [edi + 0x48], 0
je 0x46bd89
cmp dword [edi + 0x58], 0
je 0x46bd89
cmp dword [edi + 0x5c], 0
je 0x46bd89
cmp dword [edi + 0x60], 0
je 0x46bd89
cmp dword [edi + 0x64], 0
je 0x46bd89
cmp dword [edi + 0x4c], 0
je 0x46bd89
cmp dword [edi + 0x50], 0
je 0x46bd89
cmp dword [edi + 0x54], 0
je 0x46bd89
cmp dword [edi + 0x3c], 0
je 0x46bd89
cmp dword [edi + 0x74], 0
je 0x46bd89
cmp dword [edi + 0x78], 0
je 0x46bd89
cmp dword [edi + 0x7c], 0
je 0x46bd89
cmp dword [edi + 0x80], 0
je 0x46bd89
cmp dword [edi + 0x84], 0
je 0x46bd89
cmp dword [edi + 0x88], 0
je 0x46bd89
cmp dword [edi + 0xb0], 0
je 0x46bd89
cmp dword [edi + 0xb4], 0
je 0x46bd89
cmp dword [edi + 0x68], 0
je 0x46bd89
cmp dword [edi + 0x6c], 0
je 0x46bd89
cmp dword [edi + 0x8c], 0
je 0x46bd89
cmp dword [edi + 0x90], 0
je 0x46bd89
cmp dword [edi + 0x94], 0
je 0x46bd89
cmp dword [edi + 0x98], 0
je 0x46bd89
cmp dword [edi + 0x9c], 0
je 0x46bd89
cmp dword [edi + 0xa4], 0
je 0x46bd89
cmp dword [edi + 0xa0], 0
je 0x46bd89
cmp dword [edi + 0xa8], 0
je 0x46bd89
cmp dword [edi + 0xac], 0
je 0x46bd89
cmp dword [edi + 0x70], 0
jne 0x46bd9f
mov ecx, 0x46c074
mov dl, 1
mov eax, dword [0x40816c]
call fcn.0040d2c8
call fcn.00404600
call dword [edi + 0x24]
mov dword [edi + 0x20], eax
mov eax, edi
test bl, bl
je 0x46bdba
call fcn.004041f0
pop dword fs:[0]
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
ret