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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xa0]
cmp eax, dword [ecx + 8]
jbe 0x4aae36
sub esp, 0x120
lea edi, [esp + 0x12c]
xor eax, eax
call fcn.00461343
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov ecx, dword [esp + 0x124]
mov dword [esp + 0xc0], ecx
lea edi, [esp + 0xd0]
call fcn.00461349
lea edi, [esp + 0xec]
call fcn.00461343
lea ecx, [esp + 0xec]
mov dword [esp + 0xdc], ecx
call fcn.0044f2b0
mov ecx, dword [esp]
mov dword [esp + 0xd8], ecx
mov eax, 1
lea ecx, [esp + 0xc0]
mov edx, 1
xor ebx, ebx
lea ebp, [esp + 0x3c]
xor esi, esi
xor edi, edi
jmp 0x4aa6f9
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x5c]
mov ecx, eax
mov edx, ebx
mov ebx, dword [esp + 0x5c]
mov eax, ebp
mov ebp, dword [esp + 0x98]
test eax, eax
je 0x4aa737
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x88], esi
mov dword [esp + 0x80], eax
xor eax, eax
mov dword [esp + 0x74], eax
xor eax, eax
mov dword [esp + 0xbc], eax
xor eax, eax
mov dword [esp + 0x40], eax
jmp 0x4aa764
xchg edi, eax
test al, al
xchg edi, eax
je 0x4aa6dd
xchg edi, eax
mov byte [esp + 0x160], al
xchg edi, eax
add esp, 0x120
ret
mov edx, dword [esp + 0xb8]
add edx, 0x10
mov dword [esp + 0x74], ecx
mov dword [esp + 0xbc], esi
mov dword [esp + 0x40], ebp
mov ebp, eax
mov ecx, edx
mov dword [esp + 0xb8], ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x8c], ebp
xchg edi, eax
mov byte [esp + 0x3f], al
xchg edi, eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x70], eax
mov edx, dword [ecx + 4]
mov dword [esp + 0xb4], edx
mov esi, dword [ecx]
mov dword [esp + 0xb0], esi
lea edx, [0x5e5ce0]
mov dword [esp], edx
lea eax, [esp + 0xd0]
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.0040ddd0
mov eax, dword [esp + 0xc]
movzx eax, byte [eax]
test al, al
je 0x4aa7db
movzx edi, byte [esp + 0x3f]
mov esi, dword [esp + 0xbc]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x8c]
jmp 0x4aa846
lea eax, [0x5e5ce0]
mov dword [esp], eax
lea ecx, [esp + 0xd0]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xb0]
mov dword [esp + 8], edx
call fcn.0040e370
mov eax, dword [esp + 0xc]
mov byte [eax], 1
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0xbc]
movzx edi, byte [esp + 0x3f]
mov dword [esp + 0x78], eax
xor eax, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x78]
jmp 0x4aa876
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x74]
inc ecx
mov edx, dword [esp + 0x58]
cmp edx, ecx
jg 0x4aa747
jmp 0x4aa731
inc edi
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x50], edi
mov edi, edx
mov edx, ebx
mov ebx, esi
mov esi, ebp
mov ebp, ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x50]
cmp edx, ecx
jge 0x4aa83f
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
mov ebx, dword [eax + 0x24]
mov ebp, dword [eax + 0x28]
cmp edx, ebp
jae 0x4aae2c
mov dword [esp + 0xac], ebx
mov dword [esp + 0xa8], esi
xchg edi, eax
mov byte [esp + 0x3e], al
xchg edi, eax
lea eax, [edx + edx*2]
mov dword [esp + 0x60], eax
mov ecx, dword [ebx + eax*4]
mov dword [esp], ecx
call fcn.004a8c50
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0xac]
mov edx, dword [ecx + eax*4]
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
movzx edx, byte [edx]
test dl, 8
je 0x4aa926
mov eax, dword [ecx + eax*4 + 4]
movzx ecx, byte [eax + 0xf]
and ecx, 0x1f
cmp ecx, 0x16
jne 0x4aa928
mov dword [esp + 0x94], ebx
mov dword [esp + 0x54], ebp
mov dword [esp], eax
call fcn.004a98d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov eax, dword [eax + 0x84]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0x94]
mov ebp, dword [esp + 0x54]
jmp 0x4aa928
xor eax, eax
mov dword [esp + 0xa4], eax
mov edx, dword [esp + 0x128]
mov ecx, dword [edx]
mov dword [esp], ebx
mov dword [esp + 4], ebp
call ecx
movzx eax, byte [esp + 8]
test al, al
jne 0x4aac76
movzx edx, byte [esp + 0x3e]
test dl, dl
jne 0x4aac53
mov ebx, dword [esp + 0xa4]
test ebx, ebx
je 0x4aac53
movzx ebp, byte [ebx + 0xf]
and ebp, 0x1f
cmp ebp, 0x19
jne 0x4aac53
lea ecx, [0x5e5d20]
mov dword [esp], ecx
mov edx, dword [esp + 0xa8]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.0040ddd0
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
jg 0x4aabfd
mov eax, dword [esp + 0xa8]
test eax, eax
jne 0x4aa9ba
call fcn.0040c1a0
mov esi, dword [esp]
mov eax, esi
mov dword [esp + 0xbc], eax
lea ecx, [0x5e5d20]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [esp + 0xa4]
mov dword [esp + 8], edx
call fcn.0040e370
mov eax, dword [esp + 0xc]
mov dword [eax], 1
mov eax, dword [esp + 0xb0]
lea edx, [0x5e5d20]
mov dword [esp], edx
mov ebx, dword [esp + 0x88]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.0040ddd0
mov eax, dword [esp + 0xc]
cmp dword [eax], 1
jle 0x4aaa43
lea eax, [0x5e5d20]
mov dword [esp], eax
mov ecx, dword [esp + 0xbc]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xa4]
mov dword [esp + 8], edx
call fcn.0040e370
mov eax, dword [esp + 0xc]
mov dword [eax], 2
mov eax, dword [esp + 0x70]
test eax, eax
ja 0x4aaa51
xor ecx, ecx
xor edx, edx
jmp 0x4aaa89
lea ecx, [0x5e3fc0]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
call fcn.0044a7d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xa0], edx
mov dword [esp + 0x60], ecx
mov dword [esp], edx
mov ebx, dword [esp + 0xb4]
mov dword [esp + 4], ebx
shl eax, 2
mov dword [esp + 8], eax
call fcn.00461a40
mov eax, dword [esp + 0x70]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x60]
cmp edx, ecx
jb 0x4aaac6
mov ebx, dword [esp + 0xa0]
jmp 0x4aab02
lea ebx, [0x5e3fc0]
mov dword [esp], ebx
mov ebp, dword [esp + 0xa0]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.0044a7d0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
inc eax
mov ebx, edx
mov edx, ecx
mov ecx, eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x90], ebx
mov ebp, dword [esp + 0x50]
mov dword [ebx + eax*4], ebp
mov esi, dword [esp + 0x68]
mov edi, ebp
lea ebp, [esi + 1]
mov ebx, dword [esp + 0x64]
cmp ebx, ebp
jae 0x4aab78
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
lea eax, [0x5f1020]
mov dword [esp], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.0044a7d0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea ebp, [eax + 1]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x44], ebx
shl esi, 4
mov ebx, dword [esp + 0x8c]
mov dword [ebx + esi + 8], ecx
mov dword [ebx + esi + 0xc], edx
mov edx, dword [0x7e1c20]
mov ecx, ebp
lea ebp, [ebx + esi]
mov dword [esp + 0x9c], ebp
lea ebp, [ebx + esi + 4]
test edx, edx
jne 0x4aabbf
mov edx, dword [esp + 0xa4]
mov dword [ebx + esi], edx
mov edx, dword [esp + 0x90]
mov dword [ebx + esi + 4], edx
jmp 0x4aabe8
mov edx, edi
mov edi, dword [esp + 0x9c]
mov esi, eax
mov eax, dword [esp + 0xa4]
call fcn.004610d0
mov edi, ebp
mov eax, dword [esp + 0x90]
call fcn.004610d0
mov eax, esi
mov edi, edx
movzx edx, byte [esp + 0x3e]
mov ebp, dword [esp + 0xbc]
mov esi, dword [esp + 0x44]
jmp 0x4aa85c
lea eax, [0x5e5d20]
mov dword [esp], eax
mov ecx, dword [esp + 0xa8]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xa4]
mov dword [esp + 8], edx
call fcn.0040e370
mov eax, dword [esp + 0xc]
mov dword [eax], 2
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x50]
movzx edx, byte [esp + 0x3e]
mov ebp, dword [esp + 0xa8]
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x64]
mov ebx, dword [esp + 0x8c]
jmp 0x4aa85c
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x50]
mov ebp, dword [esp + 0xa8]
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x64]
mov ebx, dword [esp + 0x8c]
jmp 0x4aa85c
mov eax, dword [esp + 0xb0]
lea edx, [0x5e5d20]
mov dword [esp], edx
mov ebx, dword [esp + 0x88]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.0040ddd0
mov eax, dword [esp + 0xc]
cmp dword [eax], 1
jg 0x4aae0f
movzx ecx, byte [esp + 0x3e]
test cl, cl
jne 0x4aae0f
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
call fcn.004aa4d0
lea edi, [esp + 0x12c]
lea esi, [esp + 8]
call fcn.004617de
mov dword [esp + 0x150], 0
mov dword [esp + 0x154], 0
mov dword [esp + 0x158], 0
mov eax, dword [esp + 0x70]
test eax, eax
ja 0x4aad0a
xor ecx, ecx
xor edx, edx
jmp 0x4aad44
lea ecx, [0x5e3fc0]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
call fcn.0044a7d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, ecx
mov ecx, eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x60], edx
mov dword [esp + 0xa0], ecx
mov dword [esp], ecx
mov ebx, dword [esp + 0xb4]
mov dword [esp + 4], ebx
shl eax, 2
mov dword [esp + 8], eax
call fcn.00461a40
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x150], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x154], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x158], edx
lea ebx, [ecx + 1]
cmp edx, ebx
jb 0x4aad98
mov edx, ecx
jmp 0x4aadda
lea ebp, [0x5e3fc0]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.0044a7d0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x158], edx
mov dword [esp + 0x150], ecx
mov edx, dword [esp + 0x70]
mov ebx, ecx
mov ecx, eax
mov eax, ebx
lea ebx, [ecx + 1]
mov dword [esp + 0x154], ebx
mov ebx, dword [esp + 0x50]
mov dword [eax + ecx*4], ebx
mov eax, edx
mov edi, ebx
mov edx, 1
mov ebp, dword [esp + 0xa8]
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x64]
mov ebx, dword [esp + 0x8c]
jmp 0x4aa85c
lea edi, [esp + 0x12c]
xor eax, eax
call fcn.00461343
mov byte [esp + 0x160], 0
add esp, 0x120
ret
mov eax, edx
mov ecx, ebp
call fcn.00461150
nop
call fcn.0045fcc0
jmp fcn.004aa620