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

Disassembly:
push 8
mov eax, 0x520a90
call fcn.004592ed
mov ecx, dword [ebp + 0x20]
mov esi, dword [ebp + 0x14]
test ecx, ecx
je 0x4f6097
mov eax, dword [ecx]
push 3
push dword [esi + 8]
push 1
push ecx
call dword [eax + 0x10]
test eax, eax
jne 0x4f628d
cmp byte [esi + 1], 0
je 0x4f61d1
mov ebx, dword [ebp + 0x18]
mov al, byte [ebx]
shr al, 3
test al, 1
je 0x4f60b7
mov eax, 0x80004001
jmp 0x4f628d
xor edi, edi
mov dword [ebp + 0x20], edi
mov ecx, dword [ebp + 0xc]
lea eax, [ebp + 0x20]
push eax
push 1
push dword [ebp + 0x10]
mov dword [ebp - 4], edi
call fcn.004b7f71
mov edi, eax
mov eax, dword [ebp + 0x20]
test edi, edi
jne 0x4f61a6
test eax, eax
jne 0x4f60eb
mov edi, 0x80004001
jmp 0x4f61a6
lea eax, [esi + 0x20]
push eax
lea ecx, [ebx + 0x24]
call fcn.004b50bc
movzx eax, byte [esi + 4]
mov ecx, ebx
push eax
call fcn.004f48e1
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.004f44f0
lea ecx, [ebx + 0x30]
call fcn.004f44f0
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.004c10cd
mov byte [ebp - 0x12], al
mov ecx, edi
push dword [ebp - 0x12]
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebx + 0x28]
call fcn.004fbe8d
push ebx
mov ecx, edi
call fcn.004fc51d
push dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x10]
push edi
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push dword [ebp + 0x20]
call fcn.004f405a
mov edi, eax
add esp, 0x14
test edi, edi
je 0x4f61bb
mov eax, dword [ebp + 0x20]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4f61b4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
jmp 0x4f628d
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 + 0x20]
jmp 0x4f627d
xor edi, edi
mov dword [ebp - 0x14], edi
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
push edi
push dword [ebp + 0x10]
mov dword [ebp - 4], 1
call fcn.004b7f71
mov ecx, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp + 0x20], ecx
test ecx, ecx
jne 0x4f6254
test eax, eax
jne 0x4f6207
mov ecx, 0x80004001
mov dword [ebp + 0x20], ecx
jmp 0x4f6254
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]
movzx esi, 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.004f405a
mov ecx, eax
add esp, 0x14
mov dword [ebp + 0x20], ecx
test ecx, ecx
je 0x4f6269
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4f6265
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp + 0x20]
mov eax, ecx
jmp 0x4f628d
mov eax, dword [ebp + 0x24]
mov ecx, edi
push ebx
push esi
add dword [eax], esi
adc dword [eax + 4], ebx
call fcn.004fbe7a
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4f628b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
call fcn.004592bb
ret