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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x378]
cmp eax, dword [ecx + 8]
jbe 0x4af540
sub esp, 0x3f8
mov eax, dword [esp + 0x3fc]
mov dword [esp], eax
mov ecx, dword [esp + 0x400]
mov dword [esp + 4], ecx
call fcn.004ad200
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 8]
test al, al
jne 0x4af4ec
mov eax, dword [esp + 0x3fc]
mov dword [esp], eax
mov ecx, dword [esp + 0x400]
mov dword [esp + 4], ecx
call fcn.004ad670
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
movzx ebx, byte [esp + 0x14]
movzx ebp, byte [esp + 0x15]
xchg ebp, eax
mov byte [esp + 0x2e], al
xchg ebp, eax
movzx esi, byte [esp + 0x16]
movzx edi, byte [esp + 0x1c]
mov ebp, dword [esp + 8]
xchg edi, eax
test al, al
xchg edi, eax
je 0x4af3ea
xchg esi, eax
test al, al
xchg esi, eax
je 0x4aefea
mov esi, dword [esp + 0x400]
cmp esi, ecx
jb 0x4af538
mov esi, dword [esp + 0x3fc]
mov dword [esp], esi
mov dword [esp + 4], ecx
lea esi, [0x910b08]
mov dword [esp + 8], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x14], edx
mov byte [esp + 0x18], bl
movzx eax, byte [esp + 0x2e]
mov byte [esp + 0x19], al
call fcn.004ae7e0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x3f4], edx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x3f0], ebx
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0044d600
mov eax, dword [esp + 8]
mov dword [esp + 0x404], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x408], eax
mov eax, dword [esp + 0x3f4]
mov dword [esp + 0x40c], eax
mov eax, dword [esp + 0x3f0]
mov dword [esp + 0x410], eax
add esp, 0x3f8
ret
movzx esi, byte [0x9104c1]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4af16a
mov dword [esp + 0x48], edx
mov byte [esp + 0x2f], bl
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ebp
movzx esi, byte [esp + 0x2e]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4af04c
mov dword [esp + 4], eax
mov dword [esp], ebp
mov dword [esp + 8], edx
mov byte [esp + 0xc], bl
call fcn.004ae5e0
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0x10]
test al, al
jne 0x4af13b
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
movzx ebx, byte [esp + 0x2f]
mov ebp, dword [esp + 0x40]
mov dword [esp + 4], eax
mov dword [esp], ebp
mov dword [esp + 8], edx
mov byte [esp + 0xc], bl
call fcn.004b27a0
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
test cl, cl
je 0x4af135
movzx ecx, byte [esp + 0x2e]
test cl, cl
je 0x4af106
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x40]
add eax, 1
mov ecx, dword [esp + 0x44]
adc ecx, 0
mov dword [esp + 4], ecx
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
movzx eax, byte [esp + 0x2f]
mov byte [esp + 0xc], al
call fcn.004b27a0
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0x10]
test al, al
je 0x4af135
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0044e500
movzx eax, byte [esp + 8]
test al, al
je 0x4af135
mov eax, dword [esp + 0x50]
mov dword [esp + 0x404], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x408], eax
mov dword [esp + 0x40c], 0
mov dword [esp + 0x410], 0
add esp, 0x3f8
ret
mov dword [esp + 0x404], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x408], eax
mov dword [esp + 0x40c], 0
mov dword [esp + 0x410], 0
add esp, 0x3f8
ret
mov ecx, dword [esp + 0x54]
jmp 0x4af16a
mov dword [esp + 0x404], ecx
mov eax, dword [esp + 0x54]
mov dword [esp + 0x408], eax
mov dword [esp + 0x40c], 0
mov dword [esp + 0x410], 0
add esp, 0x3f8
ret
lea edi, [esp + 0xb8]
xor eax, eax
mov edx, ecx
mov ecx, 0xcb
rep stosd dword es:[edi], eax
mov ebx, dword [esp + 0x400]
cmp ebx, edx
jb 0x4af52f
lea eax, [esp + 0xb8]
mov dword [esp], eax
mov ecx, dword [esp + 0x3fc]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004ad410
movzx eax, byte [esp + 0xc]
test al, al
je 0x4af2eb
lea eax, [esp + 0xb8]
mov dword [esp], eax
lea eax, [0x910b08]
mov dword [esp + 4], eax
call fcn.004adef0
movzx eax, byte [esp + 0x10]
mov ecx, dword [esp + 8]
test al, al
jne 0x4af1e5
xor eax, eax
xor edx, edx
jmp 0x4af2c4
mov dword [esp + 0x4c], ecx
nop
lea eax, [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x3fc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x400]
mov dword [esp + 8], eax
call fcn.00452460
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004522a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3e4], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
lea edx, [0x6bf440]
mov dword [esp], edx
call fcn.0040be50
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xa
lea ecx, [0x6f03ba]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x1eaa9f0]
test ecx, ecx
jne 0x4af279
mov ecx, dword [esp + 0x3e4]
mov dword [eax + 8], ecx
jmp 0x4af28c
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x3e4]
call fcn.00465d80
mov eax, ecx
mov ecx, dword [0x1e84d6c]
mov edx, dword [0x1e84d68]
mov dword [eax + 0x10], edx
mov edx, dword [0x1eaa9f0]
test edx, edx
jne 0x4af2aa
mov dword [eax + 0x14], ecx
jmp 0x4af2b8
lea edi, [eax + 0x14]
mov edx, eax
mov eax, ecx
call fcn.00465d80
mov eax, edx
mov ecx, dword [esp + 0x4c]
mov edx, eax
lea eax, [0x785458]
mov dword [esp + 0x404], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x408], ecx
mov dword [esp + 0x40c], eax
mov dword [esp + 0x410], edx
add esp, 0x3f8
ret
lea eax, [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x3fc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x400]
mov dword [esp + 8], eax
call fcn.00452460
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004522a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3e8], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
lea edx, [0x6bf440]
mov dword [esp], edx
call fcn.0040be50
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xa
lea ecx, [0x6f03ba]
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x1eaa9f0]
test ecx, ecx
jne 0x4af37a
mov ecx, dword [esp + 0x3e8]
mov dword [eax + 8], ecx
jmp 0x4af38d
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x3e8]
call fcn.00465d80
mov eax, ecx
mov ecx, dword [0x1e84d74]
mov edx, dword [0x1e84d70]
mov dword [eax + 0x10], edx
mov edx, dword [0x1eaa9f0]
test edx, edx
jne 0x4af3ab
mov dword [eax + 0x14], ecx
jmp 0x4af3b9
lea edi, [eax + 0x14]
mov edx, eax
mov eax, ecx
call fcn.00465d80
mov eax, edx
mov dword [esp + 0x404], 0
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x408], ecx
lea ecx, [0x785458]
mov dword [esp + 0x40c], ecx
mov dword [esp + 0x410], eax
add esp, 0x3f8
ret
lea eax, [esp + 0x98]
mov dword [esp], eax
mov eax, dword [esp + 0x3fc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x400]
mov dword [esp + 8], eax
call fcn.00452460
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004522a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3ec], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
lea edx, [0x6bf440]
mov dword [esp], edx
call fcn.0040be50
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xa
lea ecx, [0x6f03ba]
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x1eaa9f0]
test ecx, ecx
jne 0x4af47c
mov ecx, dword [esp + 0x3ec]
mov dword [eax + 8], ecx
jmp 0x4af48f
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x3ec]
call fcn.00465d80
mov eax, ecx
mov ecx, dword [0x1e84d74]
mov edx, dword [0x1e84d70]
mov dword [eax + 0x10], edx
mov edx, dword [0x1eaa9f0]
test edx, edx
jne 0x4af4ad
mov dword [eax + 0x14], ecx
jmp 0x4af4bb
lea edi, [eax + 0x14]
mov edx, eax
mov eax, ecx
call fcn.00465d80
mov eax, edx
mov dword [esp + 0x404], 0
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x408], ecx
lea ecx, [0x785458]
mov dword [esp + 0x40c], ecx
mov dword [esp + 0x410], eax
add esp, 0x3f8
ret
mov dword [esp + 0x3c], edx
mov dword [esp + 4], ecx
mov dword [esp], ebx
call fcn.0044d600
mov eax, dword [esp + 8]
mov dword [esp + 0x404], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x408], eax
mov dword [esp + 0x40c], 0
mov dword [esp + 0x410], 0
add esp, 0x3f8
ret
mov ecx, edx
mov edx, ebx
call fcn.00465e20
mov edx, esi
call fcn.00465e20
nop
call fcn.004649b0
jmp fcn.004aee90