Function at 0x10188350
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101fa223
mov eax, dword fs:[0]
push eax
mov eax, 0x10f0
call fcn.10191780
mov eax, dword [0x102632d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.1000d170
lea ecx, [ebp - 0x1028]
call fcn.10009ab0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1028]
push eax
call fcn.10187cd0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x101883d3
mov byte [ebp - 0x10c1], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.10008820
mov al, byte [ebp - 0x10c1]
jmp 0x1018875f
push 0x1000
push 0
lea edx, [ebp - 0x1010]
push edx
call fcn.101a9880
add esp, 0xc
lea ecx, [ebp - 0x1028]
call fcn.100099e0
push eax
push 0x800
lea eax, [ebp - 0x1010]
push eax
push 0x10206288
push 0x10206014
push 0x10205fec
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 2
imul edx, ecx, 0
movzx eax, word [ebp + edx - 0x1010]
test eax, eax
je 0x1018851e
lea ecx, [ebp - 0x1010]
push ecx
lea edx, [ebp - 0x1088]
push edx
call fcn.1000b420
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1070]
call fcn.1000b9c0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1070]
push eax
push 0x102631e4
lea ecx, [ebp - 0x1088]
push ecx
call fcn.1018d2f0
add esp, 0xc
movzx edx, al
test edx, edx
jne 0x101884bb
mov byte [ebp - 0x10c2], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1070]
call fcn.1000b890
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1088]
call fcn.1000b890
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.10008820
mov al, byte [ebp - 0x10c2]
jmp 0x1018875f
push 0
lea eax, [ebp - 0x1070]
push eax
lea ecx, [ebp - 0x10b8]
push ecx
call fcn.1000ae40
add esp, 0xc
mov byte [ebp - 4], 3
mov edx, dword [ebp + 8]
push edx
push 0x3b
lea eax, [ebp - 0x10b8]
push eax
call fcn.1000f900
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10b8]
call fcn.10008820
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1070]
call fcn.1000b890
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1088]
call fcn.1000b890
jmp 0x10188718
lea ecx, [ebp - 0x1040]
call fcn.10009ab0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1040]
push ecx
call fcn.10187bc0
add esp, 4
movzx edx, al
test edx, edx
jne 0x10188576
mov byte [ebp - 0x10c3], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1040]
call fcn.10008820
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.10008820
mov al, byte [ebp - 0x10c3]
jmp 0x1018875f
push 0x10206290
lea ecx, [ebp - 0x10e4]
call fcn.10008860
mov byte [ebp - 4], 5
lea eax, [ebp - 0x10e4]
push eax
lea ecx, [ebp - 0x1040]
push ecx
lea edx, [ebp - 0x1058]
push edx
call fcn.1000e680
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10e4]
call fcn.10008820
lea eax, [ebp - 0x1058]
push eax
call fcn.1000ec70
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x1018860e
mov byte [ebp - 0x10c4], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1058]
call fcn.10008820
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1040]
call fcn.10008820
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.10008820
mov al, byte [ebp - 0x10c4]
jmp 0x1018875f
xorps xmm0, xmm0
movlpd qword [ebp - 0x10c0], xmm0
lea edx, [ebp - 0x10c0]
push edx
push 3
lea eax, [ebp - 0x1058]
push eax
call fcn.10188780
add esp, 0xc
movzx ecx, al
test ecx, ecx
je 0x1018867a
mov byte [ebp - 0x10c5], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1058]
call fcn.10008820
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1040]
call fcn.10008820
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.10008820
mov al, byte [ebp - 0x10c5]
jmp 0x1018875f
mov edx, dword [ebp - 0x10bc]
push edx
mov eax, dword [ebp - 0x10c0]
push eax
lea ecx, [ebp - 0x10a0]
push ecx
call fcn.100108a0
add esp, 0xc
mov byte [ebp - 4], 8
lea edx, [ebp - 0x10a0]
push edx
mov ecx, dword [ebp + 8]
call fcn.1000d240
lea eax, [ebp - 0x10a0]
push eax
mov ecx, dword [ebp + 8]
call fcn.1000d240
push 0x1020628c
lea ecx, [ebp - 0x10fc]
call fcn.10008860
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x10fc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1000d1e0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x10fc]
call fcn.10008820
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10a0]
call fcn.10008820
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1058]
call fcn.10008820
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1040]
call fcn.10008820
mov ecx, dword [ebp + 8]
call fcn.1000d140
cmp eax, 3
jb 0x10188731
mov dword [ebp - 0x10cc], 1
jmp 0x1018873b
mov dword [ebp - 0x10cc], 0
mov dl, byte [ebp - 0x10cc]
mov byte [ebp - 0x10c6], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.10008820
mov al, byte [ebp - 0x10c6]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101912fd
mov esp, ebp
pop ebp
ret