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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c8a8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x45f4b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x14], 8
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x40], 0
jb 0x4194a6
mov eax, dword [edi]
jmp 0x4194a8
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4194dc
push 0x19
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov ecx, ebx
push 0x458194
mov word [ebx], ax
call fcn.0040a970
mov eax, ebx
jmp 0x419663
xor ecx, ecx
mov dword [ebp - 0x30], 1
mov eax, 0x104
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041e60e
mov ebx, eax
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x18], 0
add esp, 4
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
cmp dword [edi + 0x14], 8
jb 0x419524
mov esi, dword [edi]
jmp 0x419526
mov esi, edi
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x14], 8
jb 0x419533
mov edx, dword [eax]
jmp 0x419535
mov edx, eax
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x14], 8
jb 0x419542
mov ecx, dword [eax]
jmp 0x419544
mov ecx, eax
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x14], 8
jb 0x41954f
mov eax, dword [eax]
push esi
push 0x104
push ebx
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, 0x104
cmp dword [edi + 0x14], 8
jb 0x41956e
mov eax, dword [edi]
jmp 0x419570
mov eax, edi
mov ecx, dword [ebp - 0x2c]
push eax
push esi
push ebx
call fcn.0040aad0
mov ecx, dword [ebp - 0x38]
push eax
call fcn.0040aad0
mov ecx, dword [ebp - 0x34]
push eax
call fcn.0040aad0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esi - 1]
cmp eax, ecx
jb 0x419609
mov ecx, dword [ebp - 0x2c]
call fcn.0040aad0
mov ecx, ebx
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4195cb
test dx, dx
je 0x4195c7
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4195cb
add ecx, 4
add eax, 4
test dx, dx
jne 0x4195a5
xor eax, eax
jmp 0x4195d0
sbb eax, eax
or eax, 1
test eax, eax
je 0x419609
push ebx
call fcn.00432b00
mov eax, dword [ebp - 0x30]
xor ecx, ecx
inc eax
mov edx, 2
imul esi, eax, 0x104
mov dword [ebp - 0x30], eax
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041e60e
add esp, 8
mov ebx, eax
jmp 0x419564
cmp word [ebx], 0
jne 0x419613
xor ecx, ecx
jmp 0x41962f
mov ecx, ebx
lea edx, [ecx + 2]
jmp 0x419620
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419620
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040a970
push ebx
call fcn.00432b00
mov esi, dword [ebp - 0x3c]
lea eax, [ebp - 0x28]
add esp, 4
mov ecx, esi
push eax
call fcn.00408320
cmp dword [ebp - 0x14], 8
jb 0x419661
push dword [ebp - 0x28]
call fcn.00431bdf
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00431be4
mov esp, ebp
pop ebp
ret 0x10