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

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x20], ebp
mov ebx, dword [ebp + 0x38]
push dword [ebx]
call fcn.10049ed0
add esp, 4
cmp eax, 0x65
jne 0x1011cb1d
or dword [ebp + 0x3c], 3
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
cmp eax, 0x64
jne 0x1011ccf8
push 0
push dword [ebx]
mov dword [esp + 0x20], 0
call fcn.1004aa90
mov esi, dword [ebx]
add esp, 8
mov dword [ebx + 8], eax
mov edi, 1
mov dword [ebx + 0xc], edx
test esi, esi
je 0x1011cb86
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1011cb5e
push eax
call dword [0x10166b48]
add esp, 4
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x1011cb73
cmp di, word [esi + 0x90]
jae 0x1011cb73
add ecx, 0x28
jmp 0x1011cb8b
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.100223b0
mov ecx, 0x10151a48
movzx eax, word [ecx + 0x10]
test al, 2
je 0x1011cba2
cmp byte [ecx + 0x12], 1
jne 0x1011cba2
mov ebp, dword [ecx + 0xc]
mov dword [esp + 0x10], ebp
jmp 0x1011cbdb
test al, 0x10
je 0x1011cbc2
mov edx, dword [ecx + 0xc]
test eax, 0x400
je 0x1011cbba
mov ebp, dword [ecx]
add ebp, edx
mov dword [esp + 0x10], ebp
jmp 0x1011cbdb
mov ebp, edx
mov dword [esp + 0x10], ebp
jmp 0x1011cbdb
test al, 1
je 0x1011cbce
xor ebp, ebp
mov dword [esp + 0x10], ebp
jmp 0x1011cbdb
mov dl, 1
call fcn.10043de0
mov ebp, eax
mov dword [esp + 0x10], eax
test esi, esi
je 0x1011cc0d
mov ecx, dword [esi]
mov edx, dword [esi + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x1011cbf2
test edx, edx
jne 0x1011cbf2
xor eax, eax
jmp 0x1011cbf7
call fcn.1001f000
mov dword [esi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1011cc0d
push eax
call dword [0x10166b50]
add esp, 4
mov esi, dword [ebx]
test esi, esi
jne 0x1011cc21
push 0x10151a48
call fcn.10049000
mov edi, eax
jmp 0x1011cc9b
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1011cc34
push eax
call dword [0x10166b48]
add esp, 4
mov eax, dword [esi + 0x78]
test eax, eax
je 0x1011cc49
cmp di, word [esi + 0x90]
jae 0x1011cc49
add eax, 0x28
jmp 0x1011cc61
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.100223b0
mov eax, 0x10151a48
push eax
call fcn.10049000
mov ecx, dword [esi]
add esp, 4
mov edx, dword [esi + 0x24]
mov edi, eax
mov dword [esp + 0x14], edi
cmp byte [ecx + 0x57], 0
jne 0x1011cc83
test edx, edx
jne 0x1011cc83
xor eax, eax
jmp 0x1011cc88
call fcn.1001f000
mov dword [esi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1011cca2
push eax
call dword [0x10166b50]
mov dword [esp + 0x18], edi
add esp, 4
mov esi, edi
test ebp, ebp
jle 0x1011ccee
mov eax, dword [ebx + 0x14]
xor ebp, ebp
dec eax
test eax, eax
jle 0x1011cce1
lea edi, [ebx + 0x18]
lea edx, [esp + 0x1c]
mov ecx, esi
call fcn.10127a50
add esi, eax
lea edi, [edi + 4]
mov eax, dword [esp + 0x18]
inc ebp
add eax, dword [esp + 0x1c]
mov dword [edi - 4], eax
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x14]
dec eax
cmp ebp, eax
jl 0x1011ccb5
mov edi, dword [esp + 0x14]
sub edi, esi
add edi, dword [esp + 0x10]
mov dword [ebx + ebp*4 + 0x18], edi
mov dword [ebx + 0x10], esi
mov ecx, dword [esp + 0x20]
or dword [ecx + 0x3c], 0x4e
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret