Function at 0x1011bed0
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.10049b70
add esp, 4
cmp eax, 0x65
jne 0x1011befd
or dword [ebp + 0x3c], 3
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
cmp eax, 0x64
jne 0x1011c0d8
push 0
push dword [ebx]
mov dword [esp + 0x20], 0
call fcn.1004a730
mov esi, dword [ebx]
add esp, 8
mov dword [ebx + 8], eax
mov edi, 1
mov dword [ebx + 0xc], edx
test esi, esi
je 0x1011bf66
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1011bf3e
push eax
call dword [0x10165b48]
add esp, 4
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x1011bf53
cmp di, word [esi + 0x90]
jae 0x1011bf53
add ecx, 0x28
jmp 0x1011bf6b
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.10022010
mov ecx, 0x10151958
movzx eax, word [ecx + 0x10]
test al, 2
je 0x1011bf82
cmp byte [ecx + 0x12], 1
jne 0x1011bf82
mov ebp, dword [ecx + 0xc]
mov dword [esp + 0x10], ebp
jmp 0x1011bfbb
test al, 0x10
je 0x1011bfa2
mov edx, dword [ecx + 0xc]
test eax, 0x400
je 0x1011bf9a
mov ebp, dword [ecx]
add ebp, edx
mov dword [esp + 0x10], ebp
jmp 0x1011bfbb
mov ebp, edx
mov dword [esp + 0x10], ebp
jmp 0x1011bfbb
test al, 1
je 0x1011bfae
xor ebp, ebp
mov dword [esp + 0x10], ebp
jmp 0x1011bfbb
mov dl, 1
call fcn.10043a90
mov ebp, eax
mov dword [esp + 0x10], eax
test esi, esi
je 0x1011bfed
mov ecx, dword [esi]
mov edx, dword [esi + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x1011bfd2
test edx, edx
jne 0x1011bfd2
xor eax, eax
jmp 0x1011bfd7
call fcn.1001ec40
mov dword [esi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1011bfed
push eax
call dword [0x10165b50]
add esp, 4
mov esi, dword [ebx]
test esi, esi
jne 0x1011c001
push 0x10151958
call fcn.10048ca0
mov edi, eax
jmp 0x1011c07b
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1011c014
push eax
call dword [0x10165b48]
add esp, 4
mov eax, dword [esi + 0x78]
test eax, eax
je 0x1011c029
cmp di, word [esi + 0x90]
jae 0x1011c029
add eax, 0x28
jmp 0x1011c041
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.10022010
mov eax, 0x10151958
push eax
call fcn.10048ca0
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 0x1011c063
test edx, edx
jne 0x1011c063
xor eax, eax
jmp 0x1011c068
call fcn.1001ec40
mov dword [esi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1011c082
push eax
call dword [0x10165b50]
mov dword [esp + 0x18], edi
add esp, 4
mov esi, edi
test ebp, ebp
jle 0x1011c0ce
mov eax, dword [ebx + 0x14]
xor ebp, ebp
dec eax
test eax, eax
jle 0x1011c0c1
lea edi, [ebx + 0x18]
lea edx, [esp + 0x1c]
mov ecx, esi
call fcn.101273e0
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 0x1011c095
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