Function at 0x4ac610
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, 0x5851c0
mov eax, dword [0x5851c8]
call fcn.004ac408
xor eax, eax
push ebp
push 0x4ac9f1
push dword fs:[eax]
mov dword fs:[eax], esp
inc dword [0x5851c4]
cmp dword [ebx], 0
jne 0x4ac9d2
mov eax, dword [0x581898]
cmp dword [eax], 2
jne 0x4ac677
mov eax, dword [0x581430]
cmp dword [eax], 5
jg 0x4ac669
mov eax, dword [0x581430]
cmp dword [eax], 5
jne 0x4ac677
mov eax, dword [0x5816dc]
cmp dword [eax], 1
jl 0x4ac677
push 0x4aca00
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [ebx], eax
jmp 0x4ac67b
xor eax, eax
mov dword [ebx], eax
cmp dword [ebx], 0
jbe 0x4ac9d2
push 0x4aca0c
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x585100], eax
push 0x4aca1c
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x585104], eax
push 0x4aca2c
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x585108], eax
push 0x4aca40
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x58510c], eax
push 0x4aca50
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x585110], eax
push 0x4aca70
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x585114], eax
push 0x4aca8c
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x585118], eax
push 0x4acaa0
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x58511c], eax
push 0x4acab4
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x585120], eax
push 0x4acac8
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x585124], eax
push 0x4acae4
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x585128], eax
push 0x4acafc
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x58512c], eax
push 0x4acb0c
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x585130], eax
push 0x4acb1c
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x585134], eax
push 0x4acb30
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x585138], eax
push 0x4acb58
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x58513c], eax
push 0x4acb68
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x585140], eax
push 0x4acb78
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x585144], eax
push 0x4acb88
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x585148], eax
push 0x4acb98
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x58514c], eax
push 0x4acba4
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x585150], eax
push 0x4acbb8
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x585154], eax
push 0x4acbcc
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x585158], eax
push 0x4acbdc
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x58515c], eax
push 0x4acbec
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x585160], eax
push 0x4acbfc
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x585164], eax
push 0x4acc0c
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x585168], eax
push 0x4acc24
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x58516c], eax
push 0x4acc34
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x585170], eax
push 0x4acc48
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x585174], eax
push 0x4acc5c
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x585178], eax
push 0x4acc74
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x58517c], eax
push 0x4acc84
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x585180], eax
push 0x4acc94
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x585184], eax
push 0x4acca4
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x585188], eax
push 0x4accb8
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x58518c], eax
push 0x4accc8
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x585190], eax
push 0x4accd8
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x585194], eax
push 0x4acce4
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x585198], eax
push 0x4accf4
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x58519c], eax
push 0x4acd10
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5851a0], eax
push 0x4acd2c
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5851a4], eax
push 0x4acd44
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5851a8], eax
push 0x4acd5c
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5851ac], eax
push 0x4acd70
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5851b0], eax
push 0x4acd90
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5851b4], eax
push 0x4acdac
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5851b8], eax
cmp dword [ebx], 0
seta byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac9f8
mov eax, dword [0x5851c8]
call fcn.004ac410
ret