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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4aeefc
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 0x4aebd6
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 + 0x3c]
mov dword [esp + 4], edi
call fcn.004a8db0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x4aed3d
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 0x4aed92
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.004a92e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x4aece6
mov eax, dword [esp + 0x3c]
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 0x4aeca7
mov edx, ebp
mov edi, dword [esp + 0x38]
jmp 0x4aeb99
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, [0x4e6c60]
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 0x4aeb99
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
test ecx, ecx
je 0x4aecfd
mov ecx, dword [ecx + 4]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
lea eax, [0x4feb15]
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.004a7b40
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
jmp 0x4aed92
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
test ecx, ecx
je 0x4aed54
mov ecx, dword [ecx + 4]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
lea eax, [0x501e27]
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.004a7b40
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x4aeeca
lea eax, [0x4ee020]
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 [0x5af9b0]
test eax, eax
jne 0x4aedcc
mov eax, dword [esp + 0x38]
mov dword [edi], eax
jmp 0x4aedd5
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, [0x4e93c0]
mov dword [esp], eax
lea eax, [0x51e3b0]
mov dword [esp + 4], eax
mov dword [esp + 8], edi
call fcn.00408d90
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4aee56
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
lea eax, [0x51e3b0]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x50], eax
lea eax, [0x4f0920]
mov dword [esp], eax
lea eax, [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.00408930
mov eax, dword [esp + 8]
lea ecx, [0x51e5f0]
jmp 0x4aee98
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea eax, [0x51e3b0]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x48], eax
lea eax, [0x4eeea0]
mov dword [esp], eax
lea eax, [esp + 0x44]
mov dword [esp + 4], eax
call fcn.00408930
mov eax, dword [esp + 8]
lea ecx, [0x51e608]
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.004aeb30