Function at 0x4af0ac
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x9a
push 0
push 0
dec ecx
jne 0x4af0b4
push ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040573c
xor eax, eax
push ebp
push 0x4af600
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x45c]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004057ac
mov eax, dword [ebp - 0x45c]
mov edx, 0x4af614
call fcn.00405698
je 0x4af113
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x4af614
call fcn.00405598
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x44]
push 0x4af618
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x4af5c2
push 0x4af628
mov eax, dword [ebp - 0x38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x3c], eax
push 0x4af640
mov eax, dword [ebp - 0x38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x40], eax
push 0x4af658
mov eax, dword [ebp - 0x38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x44], eax
push 0x4af670
mov eax, dword [ebp - 0x38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x48], eax
push 0x4af68c
mov eax, dword [ebp - 0x38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x4c], eax
push 0x4af6b0
mov eax, dword [ebp - 0x38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x3c], 0
je 0x4af1be
cmp dword [ebp - 0x40], 0
je 0x4af1be
cmp dword [ebp - 0x48], 0
je 0x4af1be
cmp dword [ebp - 0x4c], 0
je 0x4af1be
cmp dword [ebp - 0x44], 0
je 0x4af1be
cmp dword [ebp - 0x50], 0
jne 0x4af1cc
mov eax, dword [ebp - 0x38]
push eax
call sub.kernel32.dll_FreeLibrary_1
jmp 0x4af5c2
push 0
mov eax, dword [ebp - 4]
call fcn.0040574c
push eax
push 0
push 0
call dword [ebp - 0x50]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x4af1f5
mov eax, dword [ebp - 0x38]
push eax
call sub.kernel32.dll_FreeLibrary_1
jmp 0x4af5c2
push 0
mov eax, dword [ebp - 4]
call fcn.0040574c
push eax
mov eax, dword [ebp - 0x30]
push eax
push 6
push 0
push 0
push 0
call dword [ebp - 0x44]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x4af226
mov eax, dword [ebp - 0x38]
push eax
call sub.kernel32.dll_FreeLibrary_1
jmp 0x4af5c2
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x70], 0x1c
lea eax, [ebp - 0x70]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x34]
push eax
call dword [ebp - 0x3c]
test al, al
je 0x4af5ac
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x4b4], eax
mov byte [ebp - 0x4b0], 0
movzx eax, word [ebp - 0x68]
mov dword [ebp - 0x4ac], eax
mov byte [ebp - 0x4a8], 0
movzx eax, word [ebp - 0x66]
mov dword [ebp - 0x4a4], eax
mov byte [ebp - 0x4a0], 0
xor eax, eax
mov al, byte [ebp - 0x64]
mov dword [ebp - 0x49c], eax
mov byte [ebp - 0x498], 0
xor eax, eax
mov al, byte [ebp - 0x63]
mov dword [ebp - 0x494], eax
mov byte [ebp - 0x490], 0
xor eax, eax
mov al, byte [ebp - 0x62]
mov dword [ebp - 0x48c], eax
mov byte [ebp - 0x488], 0
xor eax, eax
mov al, byte [ebp - 0x61]
mov dword [ebp - 0x484], eax
mov byte [ebp - 0x480], 0
xor eax, eax
mov al, byte [ebp - 0x60]
mov dword [ebp - 0x47c], eax
mov byte [ebp - 0x478], 0
xor eax, eax
mov al, byte [ebp - 0x5f]
mov dword [ebp - 0x474], eax
mov byte [ebp - 0x470], 0
xor eax, eax
mov al, byte [ebp - 0x5e]
mov dword [ebp - 0x46c], eax
mov byte [ebp - 0x468], 0
xor eax, eax
mov al, byte [ebp - 0x5d]
mov dword [ebp - 0x464], eax
mov byte [ebp - 0x460], 0
lea edx, [ebp - 0x4b4]
mov ecx, 0xa
mov eax, 0x4af6d8
call fcn.0040bf48
lea eax, [ebp - 0x1c]
call fcn.0040528c
lea eax, [ebp - 0x14]
push eax
push 0x3e8
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x70]
push eax
mov eax, dword [ebp - 0x34]
push eax
call dword [ebp - 0x4c]
test al, al
je 0x4af39a
mov eax, dword [ebp - 0x14]
test eax, eax
jle 0x4af39a
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x18]
cmp byte [ebp + eax - 0x459], 0
je 0x4af39a
lea eax, [ebp - 0x4b8]
mov edx, dword [ebp - 0x18]
mov dl, byte [ebp + edx - 0x459]
call fcn.00405474
mov edx, dword [ebp - 0x4b8]
lea eax, [ebp - 0x1c]
call fcn.00405554
inc dword [ebp - 0x18]
dec dword [ebp - 0x54]
jne 0x4af362
lea edx, [ebp - 0x4bc]
mov eax, dword [ebp - 0x1c]
call fcn.004aeff4
mov edx, dword [ebp - 0x4bc]
lea eax, [ebp - 0x1c]
call fcn.00405324
lea eax, [ebp - 0x20]
call fcn.0040528c
lea eax, [ebp - 0x14]
push eax
push 0x3e8
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x10]
push eax
push 9
lea eax, [ebp - 0x70]
push eax
mov eax, dword [ebp - 0x34]
push eax
call dword [ebp - 0x4c]
test al, al
je 0x4af42c
mov eax, dword [ebp - 0x14]
test eax, eax
jle 0x4af42c
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x18]
cmp byte [ebp + eax - 0x459], 0
je 0x4af42c
lea eax, [ebp - 0x4c0]
mov edx, dword [ebp - 0x18]
mov dl, byte [ebp + edx - 0x459]
call fcn.00405474
mov edx, dword [ebp - 0x4c0]
lea eax, [ebp - 0x20]
call fcn.00405554
inc dword [ebp - 0x18]
dec dword [ebp - 0x54]
jne 0x4af3f4
lea eax, [ebp - 0x24]
call fcn.0040528c
lea eax, [ebp - 0x14]
push eax
push 0x3e8
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x10]
push eax
push 0xc
lea eax, [ebp - 0x70]
push eax
mov eax, dword [ebp - 0x34]
push eax
call dword [ebp - 0x4c]
test al, al
je 0x4af4a2
mov eax, dword [ebp - 0x14]
test eax, eax
jle 0x4af4a2
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x18]
cmp byte [ebp + eax - 0x459], 0
je 0x4af4a2
lea eax, [ebp - 0x4c4]
mov edx, dword [ebp - 0x18]
mov dl, byte [ebp + edx - 0x459]
call fcn.00405474
mov edx, dword [ebp - 0x4c4]
lea eax, [ebp - 0x24]
call fcn.00405554
inc dword [ebp - 0x18]
dec dword [ebp - 0x54]
jne 0x4af46a
lea eax, [ebp - 0x2c]
call fcn.0040528c
lea eax, [ebp - 0x14]
push eax
push 0x3e8
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x70]
push eax
mov eax, dword [ebp - 0x34]
push eax
call dword [ebp - 0x48]
test al, al
je 0x4af512
mov eax, dword [ebp - 0x14]
test eax, eax
jle 0x4af512
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x18]
cmp byte [ebp + eax - 0x459], 0
je 0x4af512
lea eax, [ebp - 0x4c8]
mov edx, dword [ebp - 0x18]
mov dl, byte [ebp + edx - 0x459]
call fcn.00405474
mov edx, dword [ebp - 0x4c8]
lea eax, [ebp - 0x2c]
call fcn.00405554
inc dword [ebp - 0x18]
dec dword [ebp - 0x54]
jne 0x4af4da
lea edx, [ebp - 0x4cc]
mov eax, dword [ebp - 0x1c]
call fcn.0040a298
mov edx, dword [ebp - 0x4cc]
lea eax, [ebp - 0x1c]
call fcn.00405324
lea edx, [ebp - 0x4d0]
mov eax, dword [ebp - 0x24]
call fcn.0040a298
mov edx, dword [ebp - 0x4d0]
lea eax, [ebp - 0x24]
call fcn.00405324
cmp dword [ebp - 0x24], 0
je 0x4af55b
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
call fcn.00405324
cmp dword [ebp - 0x1c], 0
je 0x4af59c
push dword [ebp - 0x28]
push 0x4af714
push dword [ebp - 0x20]
push 0x4af714
push dword [ebp - 0x2c]
push 0x4af714
push dword [ebp - 0x1c]
lea eax, [ebp - 0x4d4]
mov edx, 7
call fcn.0040560c
mov edx, dword [ebp - 0x4d4]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x80000000
jne 0x4af22b
mov eax, dword [ebp - 0x38]
push eax
call sub.kernel32.dll_FreeLibrary_1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x90]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af607
lea eax, [ebp - 0x4d4]
mov edx, 8
call fcn.004052b0
lea eax, [ebp - 0x45c]
call fcn.0040528c
lea eax, [ebp - 0x2c]
mov edx, 5
call fcn.004052b0
lea eax, [ebp - 4]
call fcn.0040528c
ret