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

Disassembly:
mov eax, 0x10226362
call fcn.10210210
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
call fcn.101581f2
push str.utf_8
lea ecx, [esp + 0x18]
call fcn.10016882
and dword [esp + 0x54], 0
lea eax, [esp + 0x14]
lea ebp, [esi + 0x68]
push eax
mov ecx, ebp
call fcn.1018f9b2
or dword [esp + 0x54], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.10002371
cmp dword [esp + 0x6c], 0
mov edi, dword [esp + 0x64]
mov ebx, dword [esp + 0x60]
je 0x1018cad0
mov edx, dword [ebp]
mov ecx, dword [esp + 0x68]
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], edi
mov dword [esi + 0x74], esi
lea eax, [edx + ecx]
mov dword [esi + 4], eax
lea eax, [edx + ecx]
add eax, dword [esp + 0x6c]
mov dword [esi + 8], eax
jmp 0x1018cad0
cmp eax, 1
je 0x1018cadd
cmp eax, 2
je 0x1018cadd
mov ecx, ebp
call fcn.1018ee5f
test eax, eax
jne 0x1018cac6
jmp 0x1018caf4
cmp dword [esi + 0x88], 0x39
mov ecx, esi
jne 0x1018caef
call fcn.1018cdc8
jmp 0x1018caf4
call fcn.1018d555
mov ecx, ebx
call fcn.1014d43e
test al, al
jne 0x1018cc03
mov eax, dword [esi + 0x64]
lea ecx, [esp + 0x28]
push dword [eax]
call fcn.1014ca12
lea eax, [esp + 0x20]
mov dword [esp + 0x54], 1
push eax
lea ecx, [esp + 0x2c]
call fcn.1014cd9a
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x1018cb34
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
call fcn.1017f421
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x1018cb4f
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
call fcn.1014d00a
mov esi, eax
mov byte [esp + 0x54], 2
mov ecx, ebx
push dword [esi]
call fcn.10156fec
mov eax, dword [esi + 4]
mov byte [esp + 0x54], 1
mov ecx, dword [esp + 0x20]
mov dword [ebx + 4], eax
test ecx, ecx
je 0x1018cb85
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
call fcn.1014ce0f
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x1018cba0
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
call fcn.1017f4b6
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x1018cbbb
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
call fcn.1014d00a
mov esi, eax
mov byte [esp + 0x54], 3
mov ecx, edi
push dword [esi]
call fcn.10156fec
mov eax, dword [esi + 4]
mov byte [esp + 0x54], 1
mov ecx, dword [esp + 0x20]
mov dword [edi + 4], eax
test ecx, ecx
je 0x1018cbf1
mov eax, dword [ecx]
call dword [eax + 4]
or dword [esp + 0x54], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.1014cd4f
mov esi, dword [esp + 0x18]
mov ecx, ebx
call fcn.1014d43e
test al, al
je 0x1018cdb5
mov ecx, dword [ebx]
xor ebp, ebp
mov eax, dword [ecx]
call dword [eax + 0x78]
cmp eax, 4
jne 0x1018cc24
mov ebp, dword [ebx]
jmp 0x1018cc32
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x78]
cmp eax, 4
jne 0x1018cc32
mov ebp, dword [edi]
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x78]
cmp eax, 6
jne 0x1018cc51
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x78]
cmp eax, 6
jne 0x1018cc51
mov eax, dword [ebx]
cmp eax, dword [edi]
cmovne ebp, eax
test ebp, ebp
je 0x1018cca0
mov eax, dword [ebp]
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
call dword [eax + 0xb8]
mov esi, eax
mov dword [esp + 0x54], 4
mov ecx, edi
push dword [esi]
call fcn.10156fec
mov eax, dword [esi + 4]
or dword [esp + 0x54], 0xffffffff
mov ecx, dword [esp + 0x18]
mov dword [edi + 4], eax
test ecx, ecx
je 0x1018cc90
mov eax, dword [ecx]
call dword [eax + 4]
inc dword [edi + 4]
mov ecx, ebx
push ebp
call fcn.1016213a
jmp 0x1018cdb3
mov eax, dword [esi + 0x64]
lea ecx, [esp + 0x38]
push dword [eax]
call fcn.1014ca12
push ecx
push ecx
mov esi, esp
mov dword [esp + 0x5c], 5
xor ebp, ebp
mov ecx, esi
mov dword [esi], ebp
push dword [ebx]
call fcn.10156fec
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x40]
mov dword [esi + 4], eax
call fcn.1014ce84
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x3c]
call fcn.1014cec9
mov esi, eax
mov byte [esp + 0x54], 6
mov ecx, ebx
push dword [esi]
call fcn.10156fec
mov eax, dword [esi + 4]
mov byte [esp + 0x54], 5
mov ecx, dword [esp + 0x20]
mov dword [ebx + 4], eax
test ecx, ecx
je 0x1018cd0c
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x168]
test al, al
je 0x1018cda5
mov eax, dword [edi]
cmp dword [ebx], eax
jne 0x1018cd37
mov dword [ebx + 4], ebp
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x1e8]
inc eax
mov dword [edi + 4], eax
jmp 0x1018cda5
push eax
mov ecx, edi
call fcn.10162190
push ecx
push ecx
mov esi, esp
mov ecx, esi
mov dword [esi], ebp
push dword [edi]
call fcn.10156fec
mov eax, dword [edi + 4]
lea ecx, [esp + 0x40]
mov dword [esi + 4], eax
call fcn.1014ce84
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x3c]
call fcn.1014cec9
lea ecx, [esp + 0x20]
mov byte [esp + 0x54], 7
call fcn.1014d43e
test al, al
je 0x1018cd8f
push dword [esp + 0x20]
mov ecx, edi
call fcn.10156fec
mov eax, dword [esp + 0x24]
mov dword [edi + 4], eax
mov byte [esp + 0x54], 5
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x1018cda5
mov edx, dword [ecx]
call dword [edx + 4]
mov dword [esp + 0x20], ebp
or dword [esp + 0x54], 0xffffffff
lea ecx, [esp + 0x38]
call fcn.1014cd4f
mov al, 1
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10