Function at 0x10162050
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018fa92
mov eax, dword fs:[0]
push eax
sub esp, 0x2f8
mov eax, dword [0x101f0014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x234]
call fcn.100073a0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x234]
push eax
call fcn.10130400
add esp, 4
push str.MiniPage_2345
lea ecx, [ebp - 0x274]
call fcn.10007350
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x274]
push ecx
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x2d4]
push eax
call fcn.10128250
add esp, 0xc
mov dword [ebp - 0x254], eax
mov ecx, dword [ebp - 0x254]
push ecx
lea ecx, [ebp - 0x234]
call fcn.1001d550
lea ecx, [ebp - 0x2d4]
call fcn.10007310
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x274]
call fcn.10007310
lea edx, [ebp - 0x234]
push edx
call fcn.10128710
add esp, 4
movzx eax, al
test eax, eax
jne 0x10162124
lea ecx, [ebp - 0x234]
push ecx
call fcn.10127770
add esp, 4
push 0x10197594
lea ecx, [ebp - 0x28c]
call fcn.10007350
mov byte [ebp - 4], 2
lea edx, [ebp - 0x28c]
push edx
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x24c]
push ecx
call fcn.10128250
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28c]
call fcn.10007310
lea edx, [ebp - 0x24c]
push edx
call fcn.10128620
add esp, 4
movzx eax, al
test eax, eax
jne 0x101621ad
mov byte [ebp - 0x24d], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24c]
call fcn.10007310
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.10007310
mov al, byte [ebp - 0x24d]
jmp 0x10162324
push 0x20a
push 0
lea ecx, [ebp - 0x21c]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x24c]
call fcn.100072a0
push eax
push 0x104
lea edx, [ebp - 0x21c]
push edx
push 0x101975ac
push 0x101975b0
push 0x101975c0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, 2
imul ecx, eax, 0
movzx edx, word [ebp + ecx - 0x21c]
test edx, edx
jne 0x10162237
mov byte [ebp - 0x24e], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24c]
call fcn.10007310
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.10007310
mov al, byte [ebp - 0x24e]
jmp 0x10162324
push str.libcefV2
lea ecx, [ebp - 0x2a4]
call fcn.10007350
mov byte [ebp - 4], 5
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x2ec]
push edx
call fcn.10128250
add esp, 0xc
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x258]
push eax
mov ecx, dword [ebp + 8]
call fcn.1001d550
lea ecx, [ebp - 0x2ec]
call fcn.10007310
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2a4]
call fcn.10007310
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x2bc]
call fcn.10007350
mov byte [ebp - 4], 6
lea edx, [ebp - 0x2bc]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x304]
push ecx
call fcn.10128250
add esp, 0xc
mov dword [ebp - 0x25c], eax
mov edx, dword [ebp - 0x25c]
push edx
mov ecx, dword [ebp + 8]
call fcn.1001d550
lea ecx, [ebp - 0x304]
call fcn.10007310
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2bc]
call fcn.10007310
mov byte [ebp - 0x24f], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24c]
call fcn.10007310
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.10007310
mov al, byte [ebp - 0x24f]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101606b4
mov esp, ebp
pop ebp
ret