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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4aee6c
sub esp, 0x68
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea eax, [0x4e63e0]
mov dword [esp], eax
call fcn.0040ae80
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
lea ecx, [0x4e63e0]
mov dword [esp], ecx
call fcn.0040ae80
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x4aeb46
mov dword [esp + 0x20], ebp
mov dword [esp + 0x38], edi
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x60]
sub edx, eax
lea ecx, [edi + edx]
mov edx, dword [esp + 0x5c]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00453460
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov edi, dword [esp + 0x40]
mov dword [esp + 4], edi
call fcn.004a8d20
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x4aecad
mov ecx, dword [esp + 0x40]
mov ebx, dword [ecx]
test ebx, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov esi, dword [ecx + 4]
test esi, esi
xchg edi, ebx
sete bl
xchg edi, ebx
and edi, ebp
xchg edi, eax
test al, al
xchg edi, eax
jne 0x4aed02
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
lea ecx, [esp + 0x5c]
mov dword [esp + 4], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
call fcn.004a9250
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x4aec56
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [esp + 0x28]
add ebx, ecx
mov dword [esp + 0x28], ebx
mov ecx, dword [esp + 0x2c]
adc ecx, edx
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x60]
mov ebp, dword [esp + 0x20]
add ebp, edx
mov esi, dword [esp + 0x24]
cmp esi, ebp
jb 0x4aec17
mov edx, ebp
mov edi, dword [esp + 0x38]
jmp 0x4aeb09
mov dword [esp + 0x30], ebp
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
lea eax, [0x4e6aa0]
mov dword [esp + 0x10], eax
call fcn.0043fa70
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edi, edx
mov esi, ecx
mov edx, dword [esp + 0x30]
jmp 0x4aeb09
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
test ecx, ecx
je 0x4aec6d
mov ecx, dword [ecx + 4]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
lea eax, [0x4fe9b5]
mov dword [esp], eax
mov dword [esp + 4], 0x17
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a7ab0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
jmp 0x4aed02
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
test ecx, ecx
je 0x4aecc4
mov ecx, dword [ecx + 4]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
lea eax, [0x501cc7]
mov dword [esp], eax
mov dword [esp + 4], 0x22
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a7ab0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x4aee3a
lea eax, [0x4ee7c0]
mov dword [esp], eax
call fcn.0040ae80
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x20]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x24]
mov dword [edi + 8], eax
mov eax, dword [0x5af9a0]
test eax, eax
jne 0x4aed3c
mov eax, dword [esp + 0x38]
mov dword [edi], eax
jmp 0x4aed45
mov eax, dword [esp + 0x38]
call fcn.00452b40
mov dword [esp + 0x34], edi
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xffffffff
lea eax, [0x4e9260]
mov dword [esp], eax
lea eax, [0x51e270]
mov dword [esp + 4], eax
mov dword [esp + 8], edi
call fcn.00408d90
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4aedc6
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
lea eax, [0x51e270]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x50], eax
lea eax, [0x4f0840]
mov dword [esp], eax
lea eax, [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.00408930
mov eax, dword [esp + 8]
lea ecx, [0x51e488]
jmp 0x4aee08
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea eax, [0x51e270]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x48], eax
lea eax, [0x4eed40]
mov dword [esp], eax
lea eax, [esp + 0x44]
mov dword [esp + 4], eax
call fcn.00408930
mov eax, dword [esp + 8]
lea ecx, [0x51e4a0]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x78], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x68
ret
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
add esp, 0x68
ret
call fcn.00451710
jmp fcn.004aeaa0