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

Disassembly:
mov ecx, dword [0x587cec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4aa860
sub esp, 0x68
mov eax, dword [esp + 0x70]
cmp eax, 4
jl 0x4aa4ec
mov ecx, dword [esp + 0x6c]
cmp dword [ecx], 0x5c3f3f5c
je 0x4aa4e0
movzx eax, byte [ecx]
mov byte [esp], al
call fcn.004aa390
movzx eax, byte [esp + 4]
test al, al
jne 0x4aa488
xor eax, eax
jmp 0x4aa49d
mov eax, dword [esp + 0x6c]
movzx ecx, byte [eax + 1]
mov byte [esp], cl
call fcn.004aa390
movzx eax, byte [esp + 4]
test al, al
je 0x4aa4da
mov eax, dword [esp + 0x6c]
cmp byte [eax + 2], 0x3f
jne 0x4aa4f0
movzx ecx, byte [eax + 3]
mov byte [esp], cl
call fcn.004aa390
movzx eax, byte [esp + 4]
test al, al
jne 0x4aa4c6
mov eax, dword [esp + 0x6c]
jmp 0x4aa4f0
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x78], eax
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
jmp 0x4aa4f0
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.004a33a0
movzx eax, byte [esp + 8]
test al, al
je 0x4aa511
mov ecx, dword [esp + 0x70]
mov eax, ecx
jmp 0x4aa57f
lea eax, [0x5682f0]
mov dword [esp], eax
call fcn.004834e0
mov eax, dword [0x5682fc]
test eax, eax
jne 0x4aa55b
call fcn.00496b90
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov dword [0x5682fc], eax
mov eax, dword [0x587dc8]
test eax, eax
je 0x4aa555
call fcn.00474ab0
mov dword [edi], ecx
mov eax, dword [0x5682f8]
mov dword [edi + 4], eax
mov dword [0x5682f8], ecx
mov eax, dword [0x5682fc]
mov dword [esp + 0x54], eax
lea ecx, [0x5682f0]
mov dword [esp], ecx
call fcn.00483860
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x70]
lea eax, [ecx + eax + 1]
cmp eax, 0xf8
jl 0x4aa6e4
mov dword [esp + 0x3c], eax
cmp ecx, 2
jge 0x4aa597
xor edx, edx
jmp 0x4aa5b5
mov eax, dword [esp + 0x6c]
movzx ecx, byte [eax]
mov byte [esp], cl
call fcn.004aa390
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 0x70]
mov edx, eax
mov eax, dword [esp + 0x3c]
test dl, dl
je 0x4aa5e3
cmp ecx, 1
jbe 0x4aa855
mov eax, dword [esp + 0x6c]
movzx ecx, byte [eax + 1]
mov byte [esp], cl
call fcn.004aa390
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 0x70]
mov edx, eax
mov eax, dword [esp + 0x3c]
jmp 0x4aa5e5
xor edx, edx
test dl, dl
je 0x4aa63d
cmp ecx, 4
jl 0x4aa630
mov edx, dword [esp + 0x6c]
cmp byte [edx + 2], 0x2e
jne 0x4aa634
movzx eax, byte [edx + 3]
mov byte [esp], al
call fcn.004aa390
movzx eax, byte [esp + 4]
test al, al
je 0x4aa622
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
xor ebx, ebx
mov ebp, 1
jmp 0x4aa645
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
jmp 0x4aa634
mov edx, dword [esp + 0x6c]
mov ebx, 1
xor ebp, ebp
jmp 0x4aa645
mov edx, dword [esp + 0x6c]
xor ebx, ebx
xor ebp, ebp
mov byte [esp + 0x1f], bl
test bl, bl
je 0x4aa678
mov dword [esp + 0x28], 0x5c005c
mov dword [esp + 0x2c], 0x5c003f
mov dword [esp + 0x30], 0x4e0055
mov dword [esp + 0x34], 0x5c0043
mov ebp, 8
lea esi, [esp + 0x28]
jmp 0x4aa69d
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4aa684
xor ebp, ebp
xor esi, esi
jmp 0x4aa69d
mov dword [esp + 0x20], 0x5c005c
mov dword [esp + 0x24], 0x5c003f
mov ebp, 4
lea esi, [esp + 0x20]
mov dword [esp + 0x58], esi
mov dword [esp + 0x38], ebp
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00495f10
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4aa6d0
mov eax, dword [esp + 8]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x3c]
inc edx
jmp 0x4aa6f6
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x78], eax
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x68
ret
mov edx, ebx
mov dword [esp + 0x44], edx
lea eax, [0x4c3ca0]
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
lea ebx, [ecx + edx]
mov dword [esp + 0x50], ebx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
call fcn.00470480
mov eax, dword [esp + 0x40]
test eax, eax
jbe 0x4aa84c
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
cmp edx, ecx
jae 0x4aa845
mov eax, dword [esp + 0xc]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov ebx, dword [esp + 0x44]
mov dword [esp + 4], ebx
lea ebp, [eax + edx*2]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 0
call fcn.00497f40
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4aa822
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x44]
cmp ebp, ebx
jb 0x4aa6f4
mov esi, dword [esp + 0x38]
lea ecx, [esi + ebx]
mov edx, dword [esp + 0x50]
cmp ecx, edx
ja 0x4aa840
movzx edi, byte [esp + 0x1f]
xchg edi, eax
test al, al
xchg edi, eax
je 0x4aa7c0
cmp ecx, 2
jb 0x4aa836
lea edx, [esi + ebp - 2]
mov ebp, edx
neg edx
sar edx, 0x1f
and edx, 4
lea ecx, [esi + ebx - 2]
mov edi, dword [esp + 0x64]
lea eax, [edi + edx]
jmp 0x4aa7c6
mov eax, dword [esp + 0x64]
mov ebp, edx
cmp ecx, esi
jg 0x4aa7cc
mov esi, ecx
mov edx, dword [esp + 0x58]
cmp eax, edx
je 0x4aa7fe
mov dword [esp + 0x60], eax
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ecx
mov dword [esp], eax
mov dword [esp + 4], edx
shl esi, 1
mov dword [esp + 8], esi
call fcn.004753d0
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x48]
mov ebp, dword [esp + 0x4c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.00496040
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x78], eax
add esp, 0x68
ret
mov eax, 2
call fcn.00474b80
call fcn.00474b70
mov eax, edx
call fcn.00474b20
xor eax, eax
mov ecx, eax
call fcn.00474b20
mov eax, 1
call fcn.00474b20
nop
call fcn.004736a0
jmp fcn.004aa440