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

Disassembly:
push 8
mov eax, 0x6a9738
call fcn.0066edc8
mov ecx, dword [ebp + 0x20]
mov esi, dword [ebp + 0x14]
test ecx, ecx
je 0x4ae0f5
mov eax, dword [ecx]
push 3
push dword [esi + 8]
push 1
push ecx
call dword [eax + 0x10]
test eax, eax
jne 0x4ae2e5
cmp byte [esi + 1], 0
je 0x4ae22c
mov ebx, dword [ebp + 0x18]
mov al, byte [ebx]
shr al, 3
test al, 1
je 0x4ae115
mov eax, 0x80004001
jmp 0x4ae2e5
xor edi, edi
mov dword [ebp + 0x18], edi
mov ecx, dword [ebp + 0xc]
lea eax, [ebp + 0x18]
push eax
push 1
push dword [ebp + 0x10]
mov dword [ebp - 4], edi
call fcn.004a8357
mov edi, eax
mov eax, dword [ebp + 0x18]
test edi, edi
jne 0x4ae201
test eax, eax
jne 0x4ae149
mov edi, 0x80004001
jmp 0x4ae201
lea eax, [esi + 0x20]
push eax
lea ecx, [ebx + 0x24]
call fcn.0047f10a
movzx eax, byte [esi + 4]
mov ecx, ebx
push eax
call fcn.004ac9b6
mov eax, dword [esi + 0x14]
lea ecx, [ebx + 0x50]
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x68], eax
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x6c], eax
mov eax, dword [esi + 0x34]
mov dword [ebx + 0x70], eax
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x74], eax
mov eax, dword [esi + 0x3c]
mov dword [ebx + 0x78], eax
mov eax, dword [esi + 0x40]
mov dword [ebx + 0x7c], eax
mov al, byte [esi + 3]
mov byte [ebx + 0x80], al
call fcn.004ac5c5
lea ecx, [ebx + 0x30]
call fcn.004ac5c5
mov edi, dword [ebp + 8]
lea ecx, [ebx + 0x30]
mov eax, dword [edi + 0x38]
mov edx, dword [edi + 0x3c]
mov dword [ebx + 0x48], eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebx + 0x4c], edx
call fcn.004a63b0
mov byte [ebp + 8], al
mov ecx, edi
push dword [ebp + 8]
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebx + 0x28]
call fcn.004ab151
push ebx
mov ecx, edi
call fcn.004ab7db
push dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x10]
push edi
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push dword [ebp + 0x18]
call fcn.004ac18c
mov edi, eax
test edi, edi
je 0x4ae216
mov eax, dword [ebp + 0x18]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4ae20f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
jmp 0x4ae2e5
mov ecx, dword [ebp + 0x24]
mov eax, dword [ebx + 0x10]
add dword [ecx], eax
mov eax, dword [ebx + 0x14]
adc dword [ecx + 4], eax
mov eax, dword [ebp + 0x18]
jmp 0x4ae2d5
xor edi, edi
mov dword [ebp + 0x20], edi
mov ecx, dword [ebp + 0xc]
lea eax, [ebp + 0x20]
push eax
push edi
push dword [ebp + 0x10]
mov dword [ebp - 4], 1
call fcn.004a8357
mov ecx, eax
mov eax, dword [ebp + 0x20]
mov dword [ebp + 0xc], ecx
test ecx, ecx
jne 0x4ae2ac
test eax, eax
jne 0x4ae262
mov ecx, 0x80004001
mov dword [ebp + 0xc], ecx
jmp 0x4ae2ac
mov ecx, dword [ebp + 8]
xor ebx, ebx
push dword [ebp + 0x1c]
mov esi, dword [ecx + 0x3c]
mov edx, dword [ecx + 0x38]
mov ecx, dword [ebp + 0x18]
mov dword [ecx + 0x4c], esi
mov dword [ecx + 0x48], edx
mov ecx, dword [ebp + 0x10]
mov si, word [ecx]
shr si, 3
and esi, 1
shl esi, 4
add esi, dword [ecx + 0x68]
adc ebx, edi
add esi, dword [ecx + 0x10]
mov edi, dword [ebp + 8]
adc ebx, dword [ecx + 0x14]
push edi
push ebx
push esi
push eax
call fcn.004ac18c
mov ecx, eax
mov dword [ebp + 0xc], ecx
test ecx, ecx
je 0x4ae2c1
mov eax, dword [ebp + 0x20]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4ae2bd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp + 0xc]
mov eax, ecx
jmp 0x4ae2e5
mov eax, dword [ebp + 0x24]
mov ecx, edi
push ebx
push esi
add dword [eax], esi
adc dword [eax + 4], ebx
call fcn.004ab13e
mov eax, dword [ebp + 0x20]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4ae2e3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
call fcn.0066ed96
ret 0x20