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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xac]
cmp eax, dword [ecx + 8]
jbe 0x4af07f
sub esp, 0x12c
lea edi, [esp + 0x138]
xor eax, eax
call fcn.00462793
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov ecx, dword [esp + 0x130]
mov dword [esp + 0xcc], ecx
lea edi, [esp + 0xdc]
call fcn.00462799
lea edi, [esp + 0xf8]
call fcn.00462793
lea ecx, [esp + 0xf8]
mov dword [esp + 0xe8], ecx
call fcn.0044edf0
mov ecx, dword [esp]
mov dword [esp + 0xe4], ecx
mov eax, 1
lea ecx, [esp + 0xcc]
mov edx, 1
xor ebx, ebx
lea ebp, [esp + 0x3c]
xor esi, esi
xor edi, edi
jmp 0x4ae940
mov esi, dword [esp + 0xc8]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x40]
mov eax, ecx
mov ecx, ebp
mov edx, ebx
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0xa0]
test eax, eax
je 0x4ae985
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x90], esi
mov dword [esp + 0x88], eax
xor eax, eax
mov dword [esp + 0x74], eax
xor eax, eax
mov dword [esp + 0xc8], eax
xor eax, eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x88]
jmp 0x4ae9d6
xchg edi, eax
test al, al
xchg edi, eax
je 0x4ae91d
xchg edi, eax
mov byte [esp + 0x16c], al
xchg edi, eax
add esp, 0x12c
ret
mov ecx, dword [esp + 0xc4]
add ecx, 0x10
mov edx, dword [esp + 0x74]
inc edx
mov dword [esp + 0x74], edx
mov dword [esp + 0xc8], esi
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x90]
mov dword [esp + 0x80], ecx
mov ecx, ebx
mov ebx, ebp
mov ebp, ecx
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0x74]
cmp esi, eax
jge 0x4ae97f
mov dword [esp + 0x94], ebp
mov dword [esp + 0x44], ebx
xchg edi, eax
mov byte [esp + 0x3f], al
xchg edi, eax
mov dword [esp + 0xc4], ecx
mov eax, dword [ecx + 8]
mov dword [esp + 0x70], eax
mov edx, dword [ecx]
mov dword [esp + 0xc0], edx
mov ebx, dword [ecx + 4]
mov dword [esp + 0xbc], ebx
lea esi, [0x600d20]
mov dword [esp], esi
lea edi, [esp + 0xdc]
mov dword [esp + 4], edi
mov dword [esp + 8], edx
call fcn.0040e3e0
mov eax, dword [esp + 0xc]
movzx eax, byte [eax]
test al, al
je 0x4aea58
movzx edi, byte [esp + 0x3f]
mov esi, dword [esp + 0xc8]
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
mov ebx, dword [esp + 0x94]
jmp 0x4ae995
lea eax, [0x600d20]
mov dword [esp], eax
lea ecx, [esp + 0xdc]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xc0]
mov dword [esp + 8], edx
call fcn.0040e980
mov eax, dword [esp + 0xc]
mov byte [eax], 1
mov eax, dword [esp + 0xc0]
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x94]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0xc8]
movzx edi, byte [esp + 0x3f]
mov dword [esp + 0x78], eax
xor eax, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x78]
jmp 0x4aeae7
mov eax, dword [esp + 0x40]
jmp 0x4ae995
mov ebx, dword [esp + 0x50]
inc ebx
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x50], ebx
mov ebp, esi
mov ebx, edi
mov edi, edx
mov esi, ecx
mov edx, eax
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x50]
cmp edx, ecx
jge 0x4aeabc
mov dword [esp + 0x68], ebp
mov dword [esp + 0xb8], ebx
mov ebx, dword [eax + 0x24]
mov ebp, dword [eax + 0x28]
cmp edx, ebp
jae 0x4af075
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb0], esi
xchg edi, eax
mov byte [esp + 0x3e], al
xchg edi, eax
lea eax, [edx + edx*2]
mov dword [esp + 0x64], eax
mov ecx, dword [ebx + eax*4]
mov dword [esp], ecx
call fcn.004ace70
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0xb4]
mov edx, dword [ecx + eax*4]
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
movzx edx, byte [edx]
test dl, 8
je 0x4aeb97
mov eax, dword [ecx + eax*4 + 4]
movzx ecx, byte [eax + 0xf]
and ecx, 0x1f
cmp ecx, 0x16
jne 0x4aeb99
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x54], ebp
mov dword [esp], eax
call fcn.004adb20
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 + 0x9c]
mov ebp, dword [esp + 0x54]
jmp 0x4aeb99
xor eax, eax
mov dword [esp + 0xac], eax
mov edx, dword [esp + 0x134]
mov ecx, dword [edx]
mov dword [esp], ebx
mov dword [esp + 4], ebp
call ecx
movzx eax, byte [esp + 8]
test al, al
jne 0x4aeec5
movzx edx, byte [esp + 0x3e]
test dl, dl
jne 0x4aeeaa
mov ebx, dword [esp + 0xac]
test ebx, ebx
je 0x4aeeaa
movzx ebp, byte [ebx + 0xf]
and ebp, 0x1f
cmp ebp, 0x19
jne 0x4aeeaa
lea ecx, [0x600d60]
mov dword [esp], ecx
mov edx, dword [esp + 0xb0]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.0040e3e0
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
jg 0x4aee5c
mov eax, dword [esp + 0xb0]
test eax, eax
jne 0x4aec2b
call fcn.0040c7a0
mov esi, dword [esp]
mov eax, esi
mov dword [esp + 0xc8], eax
lea ecx, [0x600d60]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [esp + 0xac]
mov dword [esp + 8], edx
call fcn.0040e980
mov eax, dword [esp + 0xc]
mov dword [eax], 1
mov eax, dword [esp + 0xc0]
lea edx, [0x600d60]
mov dword [esp], edx
mov ebx, dword [esp + 0x90]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.0040e3e0
mov eax, dword [esp + 0xc]
cmp dword [eax], 1
jle 0x4aecb4
lea eax, [0x600d60]
mov dword [esp], eax
mov ecx, dword [esp + 0xc8]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xac]
mov dword [esp + 8], edx
call fcn.0040e980
mov eax, dword [esp + 0xc]
mov dword [eax], 2
mov eax, dword [esp + 0x70]
test eax, eax
ja 0x4aecc4
xor edx, edx
xor ecx, ecx
xor ebx, ebx
jmp 0x4aecfe
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
lea ecx, [0x5ff140]
mov dword [esp + 0x10], ecx
call fcn.0044a040
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, ecx
mov ecx, eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x48], ebx
mov dword [esp], ecx
mov ebp, dword [esp + 0xbc]
mov dword [esp + 4], ebp
shl eax, 2
mov dword [esp + 8], eax
call fcn.00462e90
mov eax, dword [esp + 0x48]
inc eax
mov ecx, dword [esp + 0x4c]
cmp ecx, eax
jb 0x4aed41
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x4c]
jmp 0x4aed76
mov edx, dword [esp + 0x98]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x5ff140]
mov dword [esp + 0x10], eax
call fcn.0044a040
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x50]
mov dword [ecx + eax*4 - 4], ebx
mov ebp, dword [esp + 0x40]
inc ebp
mov esi, dword [esp + 0x68]
cmp esi, ebp
jb 0x4aed94
mov edi, dword [esp + 0xb8]
jmp 0x4aedef
mov dword [esp + 0x98], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x60da20]
mov dword [esp + 0x10], eax
call fcn.0044a040
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x4c]
mov edi, ebx
mov esi, eax
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x50]
lea ebx, [ebp - 1]
shl ebx, 4
mov dword [edi + ebx + 8], eax
mov dword [edi + ebx + 0xc], edx
mov edx, dword [0x81dcc0]
mov eax, ebp
lea ebp, [edi + ebx]
mov dword [esp + 0xa8], ebp
lea ebp, [edi + ebx + 4]
test edx, edx
jne 0x4aee27
mov edx, dword [esp + 0xac]
mov dword [edi + ebx], edx
mov dword [edi + ebx + 4], ecx
jmp 0x4aee4b
mov edx, edi
mov edi, dword [esp + 0xa8]
mov ebx, eax
mov eax, dword [esp + 0xac]
call fcn.00462500
mov edi, ebp
mov eax, ecx
call fcn.00462500
mov eax, ebx
mov edi, edx
movzx edx, byte [esp + 0x3e]
mov ecx, dword [esp + 0xc8]
jmp 0x4aeac5
lea eax, [0x600d60]
mov dword [esp], eax
mov ecx, dword [esp + 0xb0]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xac]
mov dword [esp + 8], edx
call fcn.0040e980
mov eax, dword [esp + 0xc]
mov dword [eax], 2
movzx edx, byte [esp + 0x3e]
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0xb8]
jmp 0x4aeac5
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0xb8]
jmp 0x4aeac5
mov eax, dword [esp + 0xc0]
lea edx, [0x600d60]
mov dword [esp], edx
mov ebx, dword [esp + 0x90]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.0040e3e0
mov eax, dword [esp + 0xc]
cmp dword [eax], 1
jg 0x4af058
movzx ecx, byte [esp + 0x3e]
test cl, cl
jne 0x4af058
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
call fcn.004ae710
lea edi, [esp + 0x138]
lea esi, [esp + 8]
call fcn.00462c2e
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
mov eax, dword [esp + 0x70]
test eax, eax
ja 0x4aef5b
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x4aef95
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
lea ecx, [0x5ff140]
mov dword [esp + 0x10], ecx
call fcn.0044a040
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, ecx
mov ecx, eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x60], ebx
mov dword [esp], ecx
mov ebp, dword [esp + 0xbc]
mov dword [esp + 4], ebp
shl eax, 2
mov dword [esp + 8], eax
call fcn.00462e90
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x15c], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x160], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x164], edx
inc ecx
cmp edx, ecx
jae 0x4af029
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x5ff140]
mov dword [esp + 0x10], eax
call fcn.0044a040
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x164], edx
mov dword [esp + 0x15c], ecx
mov edx, ecx
mov ecx, eax
mov eax, edx
mov dword [esp + 0x160], ecx
mov edx, dword [esp + 0x50]
mov dword [eax + ecx*4 - 4], edx
mov edx, 1
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0xb8]
jmp 0x4aeac5
lea edi, [esp + 0x138]
xor eax, eax
call fcn.00462793
mov byte [esp + 0x16c], 0
add esp, 0x12c
ret
mov eax, edx
mov ecx, ebp
call fcn.00462580
nop
call fcn.004610f0
jmp fcn.004ae860