Function at 0x100139b8
Capabilities:
Initialize iwebbrowser2
Read .ini file

Disassembly:
mov eax, 0x1001b98c
call fcn.1001a990
sub esp, 0x290
cmp word [ebp + 0xc], 0x13f
push ebx
push esi
push edi
mov ebx, ecx
jne 0x10013a9f
mov eax, dword [0x10021024]
mov dword [ebp + 0xc], eax
xor edi, edi
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], edi
call fcn.10017d29
push 1
push 0x10022274
lea eax, [ebp + 0xc]
push str._s_d
push eax
call fcn.1000c21f
add esp, 0x10
lea eax, [ebp - 0x34]
mov word [ebp - 0x24], di
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebx + 0x9d6]
mov word [ebp - 0x34], 8
push eax
lea eax, [ebp - 0x198]
push 0x104
push eax
push edi
push dword [ebp + 0xc]
push 0x10021390
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x198]
lea ecx, [ebp - 0x10]
push eax
call fcn.10008e73
mov eax, dword [eax]
cmp eax, edi
je 0x10013a55
mov eax, dword [eax]
jmp 0x10013a57
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
cmp ecx, edi
je 0x10013a66
call fcn.10008efa
lea ecx, [ebp - 0x24]
mov ebx, dword [ebx + 0xb6c]
push ecx
lea ecx, [ebp - 0x24]
push ecx
mov eax, dword [ebx]
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x34]
push ecx
push ebx
call dword [eax + 0xd0]
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
jmp 0x10013d4b
cmp word [ebp + 0xc], 0x141
jne 0x10013ab5
push 0xffffffffffffffff
mov ecx, ebx
call fcn.10012e0d
jmp 0x10013d50
mov eax, dword [ebx + 0x344]
movzx ecx, word [ebp + 0xc]
lea edx, [eax + 0x142]
cmp ecx, edx
jne 0x10013c64
lea ecx, [ebp - 0x84]
add eax, 3
push ecx
push eax
push 0x41d
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
lea esi, [ebp - 0x84]
lea edi, [ebp - 0x94]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x7c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add eax, 0xfffffff1
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x1c]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x18]
mov esi, dword [sym.imp.USER32.dll_PtInRect]
lea eax, [ebp - 0x84]
push dword [ebp - 0x1c]
push eax
call esi
test eax, eax
je 0x10013b49
push dword [ebp - 0x18]
lea eax, [ebp - 0x94]
push dword [ebp - 0x1c]
push eax
call esi
test eax, eax
je 0x10013c5d
lea esi, [ebx + 0x242]
push esi
call sub.MSVCRT.dll_strlen
cmp eax, 0xc
pop ecx
jbe 0x10013d50
or word [ebp - 0x3c], 0xffff
mov word [ebp - 0x44], 0xb
lea eax, [ebp + 0xc]
xor edi, edi
push eax
push 0x1001d31c
push 0x15
push edi
push 0x1001d2fc
mov dword [ebp - 4], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, edi
mov eax, dword [ebp + 0xc]
jl 0x10013c3b
cmp eax, edi
je 0x10013c45
mov ebx, dword [eax]
lea ecx, [ebp - 0x44]
call fcn.10008f47
push eax
push dword [ebp + 0xc]
call dword [ebx + 0xa4]
lea eax, [ebp - 0x64]
mov word [ebp - 0x34], di
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push esi
lea ecx, [ebp - 0x10]
mov word [ebp - 0x64], 8
call fcn.10008e73
mov eax, dword [eax]
cmp eax, edi
je 0x10013bd8
mov eax, dword [eax]
jmp 0x10013bda
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x5c], eax
cmp ecx, edi
je 0x10013be9
call fcn.10008efa
lea edx, [ebp - 0x34]
mov eax, dword [ebp + 0xc]
push edx
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
lea edx, [ebp - 0x34]
push edx
lea edx, [ebp - 0x64]
push edx
push eax
call dword [ecx + 0xd0]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x64]
push eax
call esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x44]
push eax
call esi
cmp eax, edi
jge 0x10013d50
push eax
call fcn.1001a794
jmp 0x10013d50
cmp eax, edi
je 0x10013c45
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, edi
jge 0x10013c5d
push eax
call fcn.1001a794
xor eax, eax
jmp 0x10013d53
push 1
pop esi
cmp eax, esi
jle 0x10013d50
lea edx, [esi + 0x141]
cmp ecx, edx
je 0x10013c83
inc esi
cmp esi, eax
jl 0x10013c6f
jmp 0x10013d50
mov eax, dword [0x10021024]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 2
call fcn.10017d29
inc esi
lea eax, [ebp - 0x14]
push esi
push 0x10022274
push str._s_d
push eax
call fcn.1000c21f
add esp, 0x10
lea eax, [ebp - 0x74]
xor edi, edi
push eax
mov word [ebp - 0x54], di
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebx + 0x9d6]
mov word [ebp - 0x74], 8
push eax
lea eax, [ebp - 0x29c]
push 0x104
push eax
push edi
push dword [ebp - 0x14]
push 0x10021390
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x29c]
lea ecx, [ebp - 0x10]
push eax
call fcn.10008e73
mov eax, dword [eax]
cmp eax, edi
je 0x10013d03
mov eax, dword [eax]
jmp 0x10013d05
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x6c], eax
cmp ecx, edi
je 0x10013d17
call fcn.10008efa
mov dword [ebp - 0x10], edi
lea ecx, [ebp - 0x54]
mov ebx, dword [ebx + 0xb6c]
push ecx
lea ecx, [ebp - 0x54]
push ecx
mov eax, dword [ebx]
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x74]
push ecx
push ebx
call dword [eax + 0xd0]
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100018ba
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10