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

Disassembly:
mov ecx, dword [0xf40b4c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4aaab2
sub esp, 0x38
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x7c]
nop
test edx, edx
je 0x4aa97d
mov ecx, dword [ecx + 0x78]
add ecx, dword [eax + 4]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x4aa94a
mov edx, dword [ecx + 0x14]
test edx, edx
je 0x4aa94a
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov edx, dword [ecx + 0x20]
add edx, dword [eax + 4]
mov ebx, dword [ecx + 0x18]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov edx, dword [ecx + 0x24]
add edx, dword [eax + 4]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
call fcn.0040c200
mov eax, dword [0xf40c80]
mov ecx, dword [esp]
test eax, eax
jne 0x4aa927
mov edx, dword [esp + 0x3c]
jmp 0x4aa938
call fcn.00462bd0
mov dword [edi], ecx
mov edx, dword [esp + 0x3c]
mov ebx, dword [edx + 0x18]
mov dword [edi + 4], ebx
mov dword [edx + 0x18], ecx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x1c], ebx
xor eax, eax
jmp 0x4aa9f5
lea eax, [0x4bdf20]
mov dword [esp], eax
call fcn.0040b7a0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x15
lea ecx, [0x4d104e]
mov dword [eax], ecx
lea ecx, [0xe976a8]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
add esp, 0x38
ret
lea eax, [0x4bdf20]
mov dword [esp], eax
call fcn.0040b7a0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x15
lea ecx, [0x4d1039]
mov dword [eax], ecx
lea ecx, [0xe976a8]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
add esp, 0x38
ret
mov ebx, dword [edx + 0x18]
mov esi, dword [esp + 0x20]
movzx esi, word [esi + eax*2]
mov word [esp + 0x16], si
lea edi, [0x4bb920]
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
call fcn.0040f6d0
mov eax, dword [esp + 0x10]
movzx ecx, word [esp + 0x16]
mov word [eax], cx
mov eax, dword [esp + 0x18]
inc eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
mov ebx, ecx
cmp eax, ebx
jge 0x4aaa41
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jae 0x4aaaac
mov dword [esp + 0x18], eax
mov ebp, dword [edx + 4]
mov esi, dword [esp + 0x2c]
add ebp, dword [esi + eax*4]
mov esi, ebp
test ebp, ebp
je 0x4aaa2f
movzx edi, byte [ebp]
xchg edi, eax
test al, al
xchg edi, eax
je 0x4aaa29
mov ecx, ebp
xor edi, edi
jmp 0x4aaa62
xor ecx, ecx
xor ebp, ebp
jmp 0x4aaa33
xor ecx, ecx
xor ebp, ebp
mov esi, dword [esp + 0x24]
cmp eax, esi
jb 0x4aa9b0
jmp 0x4aaa55
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
add esp, 0x38
ret
mov ecx, esi
call fcn.00462c20
inc edi
inc ebp
mov ebx, dword [esp + 0x1c]
movzx ebx, byte [ebp]
test bl, bl
jne 0x4aaa5c
test edi, edi
jl 0x4aaaa7
xchg esi, ebx
neg ebx
xchg esi, ebx
cmp edi, esi
ja 0x4aaaa2
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
call fcn.0044e210
mov ebp, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x1c]
jmp 0x4aaa33
call fcn.0045b4a0
call fcn.0045b4a0
call fcn.00462c20
nop
call fcn.004617c0
jmp fcn.004aa870