Function at 0x100018c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10004e40
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10008004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
mov esi, dword [0x10008400]
mov ecx, esi
call fcn.10001ad0
test al, al
jne 0x10001909
xor bl, bl
jmp 0x10001aa0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2c], esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x10001929
mov eax, dword [ecx]
jmp 0x1000192b
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp + 0x20]
push 0
push eax
call fcn.10003570
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x1000195c
mov eax, dword [ecx]
jmp 0x1000195e
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp + 8]
push 0
push eax
call fcn.10003570
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.10001580
test al, al
jne 0x100019d4
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call fcn.10001170
cmp byte [ebp + 0x38], 0
mov edx, eax
je 0x100019a0
cmp dword [edx + 0x14], 0x10
jb 0x10001998
mov edx, dword [edx]
push edx
push str.true
jmp 0x100019ae
cmp dword [edx + 0x14], 0x10
jb 0x100019a8
mov edx, dword [edx]
push edx
push str.false
cmp dword [ebp + 0x34], 0x10
lea ecx, [ebp + 0x20]
lea eax, [ebp + 8]
cmovae ecx, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], 0x10
push ecx
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_WritePrivateProfileStringA]
lea ecx, [ebp - 0x48]
call fcn.10003130
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call fcn.10001170
mov edx, eax
cmp dword [edx + 0x14], 0x10
jb 0x100019e9
mov edx, dword [edx]
cmp dword [ebp + 0x34], 0x10
lea ecx, [ebp + 0x20]
push edx
cmovae ecx, dword [ebp + 0x20]
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
push 0xbb8
cmovae eax, dword [ebp + 8]
push esi
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
lea ecx, [ebp - 0x48]
call fcn.10003130
cmp byte [esi], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jne 0x10001a33
xor ecx, ecx
jmp 0x10001a41
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001a38
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.10003470
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
call fcn.10001c00
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
cmovae eax, dword [ebp - 0x28]
push eax
push str.true
call esi
add esp, 8
test eax, eax
je 0x10001a96
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x10006210
call esi
add esp, 8
test eax, eax
je 0x10001a96
xor bl, bl
jmp 0x10001a98
mov bl, 1
lea ecx, [ebp - 0x28]
call fcn.10003130
lea ecx, [ebp + 8]
call fcn.10003130
lea ecx, [ebp + 0x20]
call fcn.10003130
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10003e9c
mov esp, ebp
pop ebp
ret 0x34