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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4aeecc
sub esp, 0x68
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea eax, [0x4e6460]
mov dword [esp], eax
call fcn.0040ae80
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
lea ecx, [0x4e6460]
mov dword [esp], ecx
call fcn.0040ae80
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x4aeba6
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 + 0x3c]
mov dword [esp + 4], edi
call fcn.004a8d80
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x4aed0d
mov ecx, dword [esp + 0x3c]
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 0x4aed62
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 + 0x40]
mov dword [esp + 0x10], ecx
call fcn.004a92b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x4aecb6
mov eax, dword [esp + 0x3c]
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 0x4aec77
mov edx, ebp
mov edi, dword [esp + 0x38]
jmp 0x4aeb69
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, [0x4e6b60]
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 0x4aeb69
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
test ecx, ecx
je 0x4aeccd
mov ecx, dword [ecx + 4]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
lea eax, [0x4fea15]
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.004a7b10
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
jmp 0x4aed62
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
test ecx, ecx
je 0x4aed24
mov ecx, dword [ecx + 4]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
lea eax, [0x501d27]
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.004a7b10
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x4aee9a
lea eax, [0x4eeaa0]
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 [0x5af9b0]
test eax, eax
jne 0x4aed9c
mov eax, dword [esp + 0x38]
mov dword [edi], eax
jmp 0x4aeda5
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, [0x4e8fc0]
mov dword [esp], eax
lea eax, [0x51e2d4]
mov dword [esp + 4], eax
mov dword [esp + 8], edi
call fcn.00408d90
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4aee26
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
lea eax, [0x51e2d4]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x50], eax
lea eax, [0x4f05a0]
mov dword [esp], eax
lea eax, [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.00408930
mov eax, dword [esp + 8]
lea ecx, [0x51e518]
jmp 0x4aee68
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea eax, [0x51e2d4]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x48], eax
lea eax, [0x4eeda0]
mov dword [esp], eax
lea eax, [esp + 0x44]
mov dword [esp + 4], eax
call fcn.00408930
mov eax, dword [esp + 8]
lea ecx, [0x51e500]
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.004aeb00