Function at 0x1011bf80
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.10049bf0
add esp, 4
cmp eax, 0x65
jne 0x1011bfad
or dword [ebp + 0x3c], 3
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
cmp eax, 0x64
jne 0x1011c188
push 0
push dword [ebx]
mov dword [esp + 0x20], 0
call fcn.1004a7b0
mov esi, dword [ebx]
add esp, 8
mov dword [ebx + 8], eax
mov edi, 1
mov dword [ebx + 0xc], edx
test esi, esi
je 0x1011c016
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1011bfee
push eax
call dword [0x10165b48]
add esp, 4
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x1011c003
cmp di, word [esi + 0x90]
jae 0x1011c003
add ecx, 0x28
jmp 0x1011c01b
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.100220a0
mov ecx, 0x10151998
movzx eax, word [ecx + 0x10]
test al, 2
je 0x1011c032
cmp byte [ecx + 0x12], 1
jne 0x1011c032
mov ebp, dword [ecx + 0xc]
mov dword [esp + 0x10], ebp
jmp 0x1011c06b
test al, 0x10
je 0x1011c052
mov edx, dword [ecx + 0xc]
test eax, 0x400
je 0x1011c04a
mov ebp, dword [ecx]
add ebp, edx
mov dword [esp + 0x10], ebp
jmp 0x1011c06b
mov ebp, edx
mov dword [esp + 0x10], ebp
jmp 0x1011c06b
test al, 1
je 0x1011c05e
xor ebp, ebp
mov dword [esp + 0x10], ebp
jmp 0x1011c06b
mov dl, 1
call fcn.10043b00
mov ebp, eax
mov dword [esp + 0x10], eax
test esi, esi
je 0x1011c09d
mov ecx, dword [esi]
mov edx, dword [esi + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x1011c082
test edx, edx
jne 0x1011c082
xor eax, eax
jmp 0x1011c087
call fcn.1001ecd0
mov dword [esi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1011c09d
push eax
call dword [0x10165b50]
add esp, 4
mov esi, dword [ebx]
test esi, esi
jne 0x1011c0b1
push 0x10151998
call fcn.10048d20
mov edi, eax
jmp 0x1011c12b
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1011c0c4
push eax
call dword [0x10165b48]
add esp, 4
mov eax, dword [esi + 0x78]
test eax, eax
je 0x1011c0d9
cmp di, word [esi + 0x90]
jae 0x1011c0d9
add eax, 0x28
jmp 0x1011c0f1
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.100220a0
mov eax, 0x10151998
push eax
call fcn.10048d20
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 0x1011c113
test edx, edx
jne 0x1011c113
xor eax, eax
jmp 0x1011c118
call fcn.1001ecd0
mov dword [esi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1011c132
push eax
call dword [0x10165b50]
mov dword [esp + 0x18], edi
add esp, 4
mov esi, edi
test ebp, ebp
jle 0x1011c17e
mov eax, dword [ebx + 0x14]
xor ebp, ebp
dec eax
test eax, eax
jle 0x1011c171
lea edi, [ebx + 0x18]
lea edx, [esp + 0x1c]
mov ecx, esi
call fcn.10127480
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 0x1011c145
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