Function at 0x4a870c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405728
xor eax, eax
push ebp
push 0x4a8bb1
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov byte [0x4e1f54], 0
cmp dword [ebp - 4], 0
jne 0x4a8749
lea eax, [ebp - 4]
mov edx, 0x4a8bc8
call fcn.00405340
mov eax, dword [0x4e1f50]
call fcn.00433cfc
xor eax, eax
push ebp
push 0x4a8b94
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4d8bf4], 0
jne 0x4a8b6c
mov byte [0x4e1f54], 0
mov byte [0x4e1f55], 0
mov eax, dword [ebp - 4]
call fcn.00405738
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4d8bf8], eax
cmp dword [0x4d8bf8], 0
je 0x4a8b70
push 0x4a8bd4
mov eax, dword [0x4d8bf8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8bf0], eax
push 0x4a8be0
mov eax, dword [0x4d8bf8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8bec], eax
push 0x4a8bf0
mov eax, dword [0x4d8bf8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8bcc], eax
push 0x4a8bfc
mov eax, dword [0x4d8bf8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8bac], eax
push 0x4a8c08
mov eax, dword [0x4d8bf8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8b64], eax
push 0x4a8c18
mov eax, dword [0x4d8bf8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8b5c], eax
push 0x4a8c24
mov eax, dword [0x4d8bf8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8b60], eax
push 0x4a8c30
mov eax, dword [0x4d8bf8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8bd4], eax
push 0x4a8c38
mov eax, dword [0x4d8bf8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8bd0], eax
push 0x4a8c40
mov eax, dword [0x4d8bf8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8bc8], eax
push 0x4a8c48
mov eax, dword [0x4d8bf8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8bc4], eax
push 0x4a8c54
mov eax, dword [0x4d8bf8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8bc0], eax
push 0x4a8c60
mov eax, dword [0x4d8bf8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8b8c], eax
push 0x4a8c6c
mov eax, dword [0x4d8bf8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8bbc], eax
push 0x4a8c74
mov eax, dword [0x4d8bf8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8bb8], eax
push 0x4a8c7c
mov eax, dword [0x4d8bf8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8bb4], eax
push 0x4a8c88
mov eax, dword [0x4d8bf8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8bb0], eax
push 0x4a8c94
mov eax, dword [0x4d8bf8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8ba8], eax
push 0x4a8c9c
mov eax, dword [0x4d8bf8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8ba4], eax
push 0x4a8ca4
mov eax, dword [0x4d8bf8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8ba0], eax
push 0x4a8cac
mov eax, dword [0x4d8bf8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8b98], eax
push 0x4a8cb4
mov eax, dword [0x4d8bf8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8b9c], eax
push 0x4a8cc0
mov eax, dword [0x4d8bf8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8bdc], eax
push 0x4a8cc8
mov eax, dword [0x4d8bf8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8b94], eax
push 0x4a8cd0
mov eax, dword [0x4d8bf8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8b90], eax
push 0x4a8cd8
mov eax, dword [0x4d8bf8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8b88], eax
push 0x4a8ce4
mov eax, dword [0x4d8bf8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8b84], eax
push 0x4a8cf0
mov eax, dword [0x4d8bf8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8bd8], eax
push 0x4a8cf8
mov eax, dword [0x4d8bf8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8b7c], eax
push 0x4a8d08
mov eax, dword [0x4d8bf8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8b78], eax
push 0x4a8d18
mov eax, dword [0x4d8bf8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8b70], eax
push 0x4a8d28
mov eax, dword [0x4d8bf8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8b74], eax
push 0x4a8d3c
mov eax, dword [0x4d8bf8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8b68], eax
push 0x4a8d4c
mov eax, dword [0x4d8bf8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8b6c], eax
push 0x4a8d5c
mov eax, dword [0x4d8bf8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8b80], eax
push 0x4a8d68
mov eax, dword [0x4d8bf8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8be0], eax
push 0x4a8d74
mov eax, dword [0x4d8bf8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8be4], eax
push 0x4a8d84
mov eax, dword [0x4d8bf8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8be8], eax
cmp dword [0x4d8be0], 0
je 0x4a8ad5
cmp dword [0x4d8be4], 0
je 0x4a8ad5
cmp dword [0x4d8be8], 0
jne 0x4a8ad9
xor eax, eax
jmp 0x4a8adb
mov al, 1
mov byte [0x4e1f54], al
cmp byte [0x4e1f54], 0
jne 0x4a8b66
push 0x4a8d90
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4d8bfc], eax
cmp dword [0x4d8bfc], 0
je 0x4a8b66
push 0x4a8d68
mov eax, dword [0x4d8bfc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8be0], eax
push 0x4a8d74
mov eax, dword [0x4d8bfc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8be4], eax
push 0x4a8d84
mov eax, dword [0x4d8bfc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d8be8], eax
cmp dword [0x4d8be0], 0
je 0x4a8b5b
cmp dword [0x4d8be4], 0
je 0x4a8b5b
cmp dword [0x4d8be8], 0
jne 0x4a8b5f
xor eax, eax
jmp 0x4a8b61
mov al, 1
mov byte [0x4e1f55], al
mov byte [ebp - 5], 1
jmp 0x4a8b70
mov byte [ebp - 5], 1
cmp byte [ebp - 5], 0
je 0x4a8b7c
inc dword [0x4d8bf4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8b9b
mov eax, dword [0x4e1f50]
call fcn.00433d04
ret