Function at 0x4191d3
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0x78
mov eax, 0x43d5fd
call fcn.00422277
mov edi, ecx
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0x200000
mov dword [ebp - 0x1c], eax
call fcn.0041f58f
mov esi, 0x100000
push esi
push 0
push eax
mov dword [ebp - 0x10], eax
call fcn.00420210
add esp, 0x10
push dword [edi]
push esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
lea ebx, [esi - 2]
cmp eax, ebx
je 0x419291
mov ecx, dword [ebp - 0x10]
push 0
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0041909f
add esp, 0xc
and dword [ebp - 4], 0
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x48]
lea ecx, [ebp - 0x2c]
call fcn.00414f4e
jmp 0x41925d
lea ecx, [ebp - 0x2c]
call fcn.00414d67
push eax
lea ecx, [edi + 8]
call fcn.0040ff6d
lea ecx, [ebp - 0x2c]
call fcn.00414d93
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x44]
lea ecx, [ebp - 0x24]
call fcn.00414f4e
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00414dc2
test al, al
je 0x419244
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.0041535a
push dword [ebp - 0x54]
call fcn.0041fe79
pop ecx
push dword [ebp - 0x10]
call fcn.00422381
pop ecx
lea eax, [edi + 8]
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx]
push eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0040b04e
lea eax, [edi + 8]
mov ecx, dword [eax + 0x18]
push eax
push ecx
jmp 0x419416
push 0x200000
call fcn.0041f58f
push esi
push 0
push eax
mov dword [ebp - 0x10], eax
call fcn.00420210
mov eax, dword [edi]
add esp, 0x10
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], eax
call fcn.0040ac01
push dword [ebp - 0x14]
mov eax, dword [eax]
push esi
push dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
cmp eax, ebx
je 0x4193fe
mov ecx, dword [ebp - 0x10]
push 0
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.0041909f
add esp, 0xc
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x60]
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 1
call fcn.00414f4e
jmp 0x4193c6
lea ecx, [ebp - 0x24]
call fcn.00414d67
mov eax, dword [eax]
mov eax, dword [eax - 0xc]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], eax
call fcn.00414d67
mov eax, dword [eax]
push 0x3d
push dword [ebp - 0x14]
lea ecx, [ebp - 0x84]
push ecx
mov ecx, eax
call fcn.0041909f
add esp, 0xc
push 2
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 2
call fcn.00418ff8
lea ecx, [ebp - 0x2c]
call fcn.0040ac01
push 1
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x14], eax
call fcn.00414d15
push 0
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x18], eax
call fcn.00414d15
mov ecx, dword [ebp - 0x14]
push eax
add ecx, 4
call fcn.0040d723
push dword [ebp - 0x18]
mov ecx, eax
call fcn.0040558e
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 1
call fcn.0041535a
push dword [ebp - 0x84]
call fcn.0041fe79
pop ecx
lea ecx, [ebp - 0x24]
call fcn.00414d93
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x34]
call fcn.00414f4e
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x24]
call fcn.00414dc2
test al, al
je 0x419324
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.0041535a
push dword [ebp - 0x6c]
call fcn.0041fe79
pop ecx
push dword [ebp - 0x10]
call fcn.00422381
pop ecx
lea ecx, [ebp - 0x2c]
call fcn.0040acd3
lea eax, [edi + 8]
push eax
push dword [eax + 0x18]
lea ecx, [ebp - 0x3c]
call fcn.0040b04e
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00414dc2
test al, al
je 0x4192b9
mov eax, dword [ebp - 0x1c]
call fcn.0042234f
ret