Function at 0x460a6c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404684
mov ebx, 0x4a3f1c
xor eax, eax
push ebp
push 0x460eaf
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov byte [0x4a8c34], 0
cmp dword [ebp - 4], 0
jne 0x460aaf
lea eax, [ebp - 4]
mov edx, 0x460ec8
call fcn.00404250
mov eax, dword [0x4a8c30]
call fcn.0042d9f4
xor eax, eax
push ebp
push 0x460e92
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a3f18], 0
jne 0x460e6a
mov byte [0x4a8c34], 0
mov byte [0x4a8c35], 0
mov eax, dword [ebp - 4]
call fcn.00404694
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebx], eax
cmp dword [ebx], 0
ja 0x460b03
push 0x460ed4
call sub.kernel32.dll_LoadLibraryA
mov dword [ebx], eax
cmp dword [ebx], 0
je 0x460e6e
push 0x460ee0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3f14], eax
push 0x460eec
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3f10], eax
push 0x460efc
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3ef0], eax
push 0x460f08
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3ed0], eax
push 0x460f14
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3e88], eax
push 0x460f24
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3e80], eax
push 0x460f30
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3e84], eax
push 0x460f3c
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3ef8], eax
push 0x460f44
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3ef4], eax
push 0x460f4c
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3eec], eax
push 0x460f54
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3ee8], eax
push 0x460f60
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3ee4], eax
push 0x460f6c
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3eb0], eax
push 0x460f78
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3ee0], eax
push 0x460f80
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3edc], eax
push 0x460f88
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3ed8], eax
push 0x460f94
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3ed4], eax
push 0x460fa0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3ecc], eax
push 0x460fa8
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3ec8], eax
push 0x460fb0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3ec4], eax
push 0x460fb8
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3ebc], eax
push 0x460fc0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3ec0], eax
push 0x460fcc
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3f00], eax
push 0x460fd4
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3eb8], eax
push 0x460fdc
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3eb4], eax
push 0x460fe4
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3eac], eax
push 0x460ff0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3ea8], eax
push 0x460ffc
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3efc], eax
push 0x461004
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3ea0], eax
push 0x461014
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3e9c], eax
push 0x461024
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3e94], eax
push 0x461034
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3e98], eax
push 0x461048
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3e8c], eax
push 0x461058
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3e90], eax
push 0x461068
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3ea4], eax
push 0x461074
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3f04], eax
push 0x461080
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3f08], eax
push 0x461090
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3f0c], eax
cmp dword [0x4a3f04], 0
je 0x460dd3
cmp dword [0x4a3f08], 0
je 0x460dd3
cmp dword [0x4a3f0c], 0
jne 0x460dd7
xor eax, eax
jmp 0x460dd9
mov al, 1
mov byte [0x4a8c34], al
cmp byte [0x4a8c34], 0
jne 0x460e64
push 0x46109c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4a3f20], eax
cmp dword [0x4a3f20], 0
je 0x460e64
push 0x461074
mov eax, dword [0x4a3f20]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3f04], eax
push 0x461080
mov eax, dword [0x4a3f20]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3f08], eax
push 0x461090
mov eax, dword [0x4a3f20]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a3f0c], eax
cmp dword [0x4a3f04], 0
je 0x460e59
cmp dword [0x4a3f08], 0
je 0x460e59
cmp dword [0x4a3f0c], 0
jne 0x460e5d
xor eax, eax
jmp 0x460e5f
mov al, 1
mov byte [0x4a8c35], al
mov byte [ebp - 5], 1
jmp 0x460e6e
mov byte [ebp - 5], 1
cmp byte [ebp - 5], 0
je 0x460e7a
inc dword [0x4a3f18]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460e99
mov eax, dword [0x4a8c30]
call fcn.0042d9fc
ret