Function at 0x4aa880
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4aab09
sub esp, 0x74
xor eax, eax
mov ecx, dword [esp + 0x7c]
mov edx, eax
mov ebx, edx
xor ebp, ebp
jmp 0x4aa8b9
mov eax, dword [esp + 0x48]
lea ecx, [eax + 0x14]
mov eax, dword [esp + 0x30]
inc eax
mov edx, ebx
mov ebx, edi
mov ebp, esi
mov esi, ebp
mov ebp, dword [esp + 0x80]
cmp eax, ebp
jge 0x4aa9f5
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], esi
lea edi, [esp + 0x60]
mov esi, ecx
call fcn.0044b0be
lea edi, [esp + 0x4c]
lea esi, [esp + 0x60]
call fcn.0044b0be
mov ecx, dword [esp + 0x78]
test ecx, ecx
jne 0x4aa9c4
mov edi, esp
lea esi, [esp + 0x4c]
call fcn.0044b0be
mov edx, dword [esp + 0x88]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0x20]
lea ecx, [eax + 1]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
mov edx, ebx
mov ebx, dword [esp + 0x24]
cmp ecx, ebx
jg 0x4aa97a
mov esi, dword [esp + 0x44]
mov edi, ecx
lea ecx, [esi + eax*8]
mov dword [ecx], ebp
lea eax, [esi + eax*8 + 4]
mov ecx, dword [0x5ac790]
test ecx, ecx
jne 0x4aa951
mov dword [eax], edx
jmp 0x4aa8a7
mov dword [esp + 0x34], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0040da50
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x2c]
jmp 0x4aa8a7
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], ebp
lea edx, [0x4ebdc0]
mov dword [esp], edx
mov ebp, dword [esp + 0x44]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
call fcn.00437680
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
jmp 0x4aa935
mov edi, esp
lea esi, [esp + 0x4c]
call fcn.0044b0be
mov edx, dword [esp + 0x78]
mov eax, dword [edx]
call eax
movzx eax, byte [esp + 0x14]
test al, al
jne 0x4aa902
mov esi, dword [esp + 0x44]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
jmp 0x4aa8a7
test ebx, ebx
jne 0x4aaada
mov eax, dword [0x59bea0]
mov ecx, dword [0x59bea4]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 8]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x44], ecx
lea edx, [0x4edf60]
mov dword [esp], edx
call fcn.0040d220
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov ecx, dword [0x5ac790]
test ecx, ecx
jne 0x4aaac1
mov ecx, dword [esp + 0x44]
mov dword [eax], ecx
mov ecx, dword [esp + 0x90]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x5ac790]
lea edx, [eax + 8]
test ecx, ecx
jne 0x4aaaa8
mov ecx, dword [esp + 0x8c]
mov dword [eax + 8], ecx
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
lea ecx, [0x51e020]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x74
ret
mov dword [esp], edx
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
call fcn.0040da50
mov eax, dword [esp + 0x38]
jmp 0x4aaa6f
mov dword [esp], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
call fcn.0040da50
mov eax, dword [esp + 0x38]
jmp 0x4aaa4e
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
add esp, 0x74
ret
call fcn.004491a0
jmp fcn.004aa880