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

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ebx, dword [edi + 0x3c]
xor esi, esi
mov ebp, 1
xor ecx, ecx
lea eax, [edi + 0x30]
cmp ebx, eax
mov edx, ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], esi
jne 0x1014a6b0
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebp
mov dword [eax], edx
pop ebx
add esp, 0x20
ret 4
xor esi, esi
jmp 0x1014a6b0
cmp dword [edi + 0x78], 8
je 0x1014a75a
test cl, 0xf
je 0x1014a75a
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 8]
test byte [ecx + 3], 0x20
je 0x1014a6dc
lea edx, [eax + 0x14]
cmp dword [eax + 0x20], edx
jne 0x1014a6dc
cmp dword [eax + 0x44], esi
je 0x1014a75a
lea eax, [esp + 0x20]
push eax
lea ecx, [edi + 0x64]
push esi
push ecx
mov dword [esp + 0x2c], esi
call fcn.1014a090
add esp, 0xc
test al, 1
mov dword [esp + 0x2c], eax
je 0x1014a8a2
lea edx, [esp + 0x20]
lea esi, [edi + 0x28]
push edx
mov ecx, esi
call fcn.1014a9f0
test eax, eax
je 0x1014a726
mov dword [eax + 0xc], ebx
mov ecx, dword [ebx + 0x10]
mov dword [eax + 0x10], ecx
mov dword [ecx + 0xc], eax
mov ecx, dword [eax + 0xc]
mov dword [ecx + 0x10], eax
add dword [esi + 0x1c], ebp
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov dword [ecx + 0x4c], eax
mov edx, dword [ecx + 8]
mov ecx, dword [edx]
and ecx, 0x20000000
xor edx, edx
cmp ecx, 0x20000000
setne dl
lea edx, [edx*8 + 8]
mov ecx, edx
add eax, ecx
add dword [esp + 0x1c], ebp
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 8]
lea ecx, [eax + 0x14]
cmp dword [eax + 0x20], ecx
je 0x1014a808
mov esi, dword [eax + 0x20]
add eax, 0x14
cmp esi, eax
mov dword [esp + 0x20], esi
je 0x1014a808
jmp 0x1014a781
mov esi, dword [esp + 0x20]
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x28], 0
call fcn.10149d10
add esp, 4
test al, 1
je 0x1014a808
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
mov edx, dword [esi + 8]
mov dword [ebp + 0x10], edx
mov esi, dword [esi + 8]
add edi, 0xc
cmp esi, dword [edi + 0xc]
jb 0x1014a7c8
lea eax, [esi + 1]
push eax
mov ecx, edi
call fcn.10089060
mov eax, dword [edi + 8]
test eax, eax
je 0x1014a7e6
cmp esi, dword [edi + 0xc]
jae 0x1014a7e6
mov dword [eax + esi*4], ebp
mov eax, dword [edi + 0x18]
lea ecx, [esi + 1]
cmp ecx, eax
jb 0x1014a7e3
mov eax, ecx
mov dword [edi + 0x18], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [ebx + 8]
mov eax, dword [ecx + 0xc]
mov edi, dword [esp + 0x28]
add edx, 0x14
cmp eax, edx
mov dword [esp + 0x20], eax
mov ebp, 1
jne 0x1014a77d
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x4c], ecx
mov edx, dword [ebx + 8]
mov eax, dword [esp + 0x14]
mov dword [edx + 0x50], eax
mov edx, dword [ebx + 8]
mov eax, dword [esp + 0x10]
mov dword [edx + 0x54], eax
mov edx, dword [ebx + 8]
mov eax, dword [edx + 8]
mov eax, dword [eax]
and eax, 0x7f
add eax, 0xffffffde
cmp eax, 5
ja case.0x1014a839.36
jmp dword [eax*4 + 0x1014a8b8]
add dword [esp + 0x10], ebp
jmp case.0x1014a839.36
sub dword [esp + 0x10], ebp
jmp case.0x1014a839.36
add dword [esp + 0x14], ebp
jmp case.0x1014a839.36
sub dword [esp + 0x14], ebp
mov edx, dword [ebx + 8]
mov eax, dword [edx + 8]
mov edx, dword [eax]
mov ebx, dword [ebx + 0xc]
xor eax, eax
and edx, 0x20000000
cmp edx, 0x20000000
setne al
add dword [esp + 0x1c], ebp
lea eax, [eax*8 + 8]
add ecx, eax
lea eax, [edi + 0x30]
cmp ebx, eax
mov dword [esp + 0x18], ecx
jne 0x1014a6a6
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x20
ret 4
mov ecx, dword [esp + 0x34]
and al, 0xfe
or al, 8
pop edi
pop esi
pop ebp
pop ebx
mov dword [ecx], eax
mov eax, ecx
add esp, 0x20
ret 4