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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4aef2c
sub esp, 0x68
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea eax, [0x4e63c0]
mov dword [esp], eax
call fcn.0040ae80
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
lea ecx, [0x4e63c0]
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 0x4aec06
mov dword [esp + 0x28], ebp
mov dword [esp + 0x38], edi
mov dword [esp + 0x2c], 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 + 0x2c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], 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.004a8e00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x4aed6d
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 0x4aedc2
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.004a9330
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x4aed16
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [esp + 0x20]
add ebx, ecx
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x24]
adc ecx, edx
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x60]
mov ebp, dword [esp + 0x28]
add ebp, edx
mov esi, dword [esp + 0x2c]
cmp esi, ebp
jb 0x4aecd7
mov edx, ebp
mov edi, dword [esp + 0x38]
jmp 0x4aebc9
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, [0x4e6b40]
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 0x4aebc9
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
test ecx, ecx
je 0x4aed2d
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.004a7b90
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
jmp 0x4aedc2
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
test ecx, ecx
je 0x4aed84
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.004a7b90
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x4aeefa
lea eax, [0x4ed720]
mov dword [esp], eax
call fcn.0040ae80
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x28]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [edi + 8], eax
mov eax, dword [0x5af9a0]
test eax, eax
jne 0x4aedfc
mov eax, dword [esp + 0x38]
mov dword [edi], eax
jmp 0x4aee05
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, [0x51e230]
mov dword [esp + 4], eax
mov dword [esp + 8], edi
call fcn.00408d90
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4aee86
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
lea eax, [0x51e230]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x50], eax
lea eax, [0x4f08a0]
mov dword [esp], eax
lea eax, [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.00408930
mov eax, dword [esp + 8]
lea ecx, [0x51e4e8]
jmp 0x4aeec8
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea eax, [0x51e230]
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 + 0x24]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x20]
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.004aeb60