Function at 0x418f50
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452538
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x46f06c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x4c], esi
cmp dword [esi + 0x14], 8
mov eax, dword [ebx + 8]
mov edi, dword [ebx + 0x14]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, esi
mov dword [ebp - 0x40], edi
jb 0x418fb8
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x418fef
mov esi, dword [ebp - 0x48]
xor eax, eax
push 0x19
push 0x4671c0
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
call fcn.00402f60
mov eax, esi
jmp 0x419174
push 0x208
mov dword [ebp - 0x44], 1
call fcn.00430a04
mov dword [ebp - 0x34], eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x419027
mov ecx, dword [esi]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x419031
mov eax, dword [edi]
mov esi, dword [ebp - 0x3c]
mov edx, esi
cmp dword [esi + 0x14], 8
jb 0x41903e
mov edx, dword [esi]
mov esi, dword [ebp - 0x30]
mov edi, esi
cmp dword [edi + 0x14], 8
mov edi, dword [ebp - 0x40]
jb 0x41904e
mov esi, dword [esi]
push ecx
push 0x104
push dword [ebp - 0x34]
push eax
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x38], 0x104
mov eax, dword [ebp - 0x4c]
mov esi, eax
cmp dword [eax + 0x14], 8
jb 0x419074
mov esi, dword [eax]
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x41907e
mov edx, dword [edi]
mov eax, dword [ebp - 0x3c]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x41908b
mov ecx, dword [eax]
mov eax, dword [ebp - 0x30]
mov edi, eax
cmp dword [edi + 0x14], 8
mov edi, dword [ebp - 0x40]
jb 0x41909b
mov eax, dword [eax]
push esi
mov esi, dword [ebp - 0x38]
push esi
push dword [ebp - 0x34]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esi - 1]
cmp eax, ecx
jb 0x419128
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4190bd
mov eax, dword [edi]
mov esi, dword [ebp - 0x34]
mov ecx, esi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4190e8
test dx, dx
je 0x4190e4
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4190e8
add ecx, 4
add eax, 4
test dx, dx
jne 0x4190c2
xor eax, eax
jmp 0x4190ed
sbb eax, eax
or eax, 1
test eax, eax
je 0x41912b
push esi
call fcn.004304d1
mov eax, dword [ebp - 0x44]
xor ecx, ecx
inc eax
mov edx, 2
mov dword [ebp - 0x44], eax
imul eax, eax, 0x104
mov dword [ebp - 0x38], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00430a04
add esp, 8
mov dword [ebp - 0x34], eax
jmp 0x419067
mov esi, dword [ebp - 0x34]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419130
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00402f60
push esi
call fcn.004304d1
mov eax, dword [ebp - 0x48]
add esp, 4
movups xmm0, xmmword [ebp - 0x2c]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [eax + 0x10], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043045f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10