Function at 0x4a575c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00403e40
xor eax, eax
push ebp
push 0x4a5999
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4a596f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4a5938
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00403e50
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x44], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x50], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x48], edx
mov eax, 0x4a59ac
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
je 0x4a592e
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.004079c4
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.00406fec
mov eax, dword [ebp - 0x18]
call fcn.004a56a8
test al, al
je 0x4a58a8
push 0x4a59b0
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GetProcAddress
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
push 0x4a59c4
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GetProcAddress
mov edx, dword [ebp - 4]
mov dword [edx + 0x48], eax
push 0x4a59d4
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GetProcAddress
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x50], 0
je 0x4a592e
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 4]
call dword [eax + 0x50]
test al, al
je 0x4a592e
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x38]
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.00403bc4
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov byte [ebp - 9], 1
jmp 0x4a592e
push 0x4a59e4
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GetProcAddress
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
push 0x4a59c4
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GetProcAddress
mov edx, dword [ebp - 4]
mov dword [edx + 0x48], eax
push 0x4a59d4
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GetProcAddress
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
je 0x4a592e
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call dword [eax + 0x44]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x38]
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.00403bc4
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a5942
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5976
cmp dword [ebp - 0x10], 0
je 0x4a595e
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FreeLibrary_1
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x44], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x50], edx
ret