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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4aa5b6
sub esp, 0x58
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4aa297
xor ecx, ecx
xor edx, edx
jmp 0x4aa2a3
mov ecx, dword [0x62a198]
mov edx, dword [0x62a19c]
test ecx, ecx
jne 0x4aa3bf
mov ecx, dword [eax]
test byte [eax], al
movzx ecx, byte [ecx + 0x140]
test cl, cl
jne 0x4aa39f
mov ecx, dword [esp + 0x70]
test ecx, ecx
jl 0x4aa2e1
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x6c]
xor edi, edi
jmp 0x4aa405
lea eax, [0x51bce0]
mov dword [esp], eax
call fcn.0040b710
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
mov dword [eax + 4], 0xf
lea ecx, [0x532176]
mov dword [eax], ecx
lea ecx, [0x521c80]
mov dword [esp], ecx
call fcn.0040b710
mov eax, dword [esp + 4]
mov dword [eax + 4], 7
lea ecx, [0x530152]
mov dword [eax], ecx
mov ecx, dword [esp + 0x5c]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x134]
mov ecx, dword [ecx + 0x138]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x64f2f0]
test ecx, ecx
jne 0x4aa34b
mov dword [eax + 8], edx
jmp 0x4aa359
lea edi, [eax + 8]
mov ecx, eax
mov eax, edx
call fcn.00460a90
mov eax, ecx
lea ecx, [0x56a0f8]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x64f2f0]
test ecx, ecx
jne 0x4aa375
mov ecx, dword [esp + 0x54]
mov dword [eax + 0x14], ecx
jmp 0x4aa385
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x54]
call fcn.00460a90
mov eax, ecx
mov dword [esp + 0x74], 0
lea ecx, [0x56a15c]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x58
ret
mov eax, dword [0x62a1c8]
mov ecx, dword [0x62a1cc]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x58
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
add esp, 0x58
ret
mov ebp, edx
sar ebp, 0x1f
mov esi, dword [esp + 0x24]
add esi, edx
mov eax, dword [esp + 0x28]
adc ebp, eax
mov eax, dword [esp + 0x38]
sub eax, edx
sub ecx, edx
mov edi, eax
neg eax
sar eax, 0x1f
and edx, eax
mov eax, dword [esp + 0x4c]
add eax, edx
mov edx, edi
mov edi, ebx
mov ebx, eax
mov eax, dword [esp + 0x5c]
test ecx, ecx
je 0x4aa59a
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x3c], edi
mov edi, dword [eax]
test byte [edi], al
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], esi
call fcn.004a8bd0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
test eax, eax
jne 0x4aa474
mov ebx, dword [esp + 0x3c]
add ebx, edx
mov ecx, dword [esp + 0x34]
cmp ecx, edx
jae 0x4aa3d3
jmp 0x4aa5ae
mov dword [esp + 0x48], ecx
mov dword [esp + 0x30], eax
mov edx, dword [0x62a084]
cmp dword [0x62a080], ebx
je 0x4aa48e
xor edx, edx
jmp 0x4aa4bd
mov dword [esp + 0x40], ebp
mov dword [esp + 0x50], ebx
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
call fcn.004035e0
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x40]
mov edx, eax
mov eax, dword [esp + 0x30]
test dl, dl
je 0x4aa4cc
mov ecx, eax
mov eax, dword [esp + 0x48]
jmp 0x4aa594
mov edx, dword [0x62a04c]
cmp dword [0x62a048], ebx
jne 0x4aa509
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
call fcn.004035e0
movzx eax, byte [esp + 0xc]
test al, al
je 0x4aa501
mov eax, dword [0x62a180]
mov ecx, dword [0x62a184]
jmp 0x4aa509
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x2c], eax
lea edx, [0x521c80]
mov dword [esp], edx
call fcn.0040b710
mov eax, dword [esp + 4]
mov dword [eax + 4], 5
lea ecx, [0x52fc76]
mov dword [eax], ecx
mov ecx, dword [esp + 0x5c]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x134]
mov ecx, dword [ecx + 0x138]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x64f2f0]
test ecx, ecx
jne 0x4aa556
mov dword [eax + 8], edx
jmp 0x4aa564
lea edi, [eax + 8]
mov ecx, eax
mov eax, edx
call fcn.00460a90
mov eax, ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x64f2f0]
test ecx, ecx
jne 0x4aa57e
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x14], ecx
jmp 0x4aa58e
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x44]
call fcn.00460a90
mov eax, ecx
lea ecx, [0x56a15c]
mov edi, dword [esp + 0x3c]
jmp 0x4aa59e
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x58
ret
mov eax, edx
call fcn.00460b70
nop
call fcn.0045f680
jmp fcn.004aa270