Function at 0xed8f0
Capabilities:
Check if file exists
Create directory
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc38
mov eax, dword [0x13206c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x61c]
mov ebx, ecx
push 0
push eax
call fcn.000f3cb0
push 0x208
lea eax, [ebp - 0x824]
push 0
push eax
call fcn.000f3cb0
push 0x208
lea eax, [ebp - 0xa2c]
push 0
push eax
call fcn.000f3cb0
push 0x208
lea eax, [ebp - 0xc34]
push 0
push eax
call fcn.000f3cb0
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.000f3cb0
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.000f3cb0
add esp, 0x48
lea eax, [ebp - 0x414]
push 0
push 0x2b
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [ebp - 0x414]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0xed9a0
mov ecx, 6
lea eax, [ebp - 0x414]
mov esi, 0x12a6a4
rep movsd dword es:[edi], dword [esi]
push eax
movsw word es:[edi], word [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0xed9d9
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor ecx, ecx
nop dword [eax + eax]
movzx eax, word [ebp + ecx - 0x414]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x20e], ax
test ax, ax
jne 0xed9e0
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0xeda01
mov ecx, 7
lea eax, [ebp - 0x20c]
mov esi, 0x12a6c0
rep movsd dword es:[edi], dword [esi]
push eax
push 0x104
lea eax, [ebp - 0x61c]
push eax
push 0x1295b4
push 0x12a6e0
movsw word es:[edi], word [esi]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x12a6ec
call esi
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea eax, [ebp - 0x824]
push eax
push 0x1295b4
push 0x12a6fc
push 0x12a6ec
call esi
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea eax, [ebp - 0xa2c]
push eax
push 0x1295b4
push 0x12a708
push 0x12a6ec
call esi
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea eax, [ebp - 0xc34]
push eax
push 0x1295b4
push 0x12a714
push 0x12a6ec
call esi
lea edi, [ebp - 0x61c]
lea ecx, [edi + 2]
nop word [eax + eax]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0xedac0
sub edi, ecx
lea ecx, [ebp - 0x824]
sar edi, 1
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0xedae0
sub ecx, edx
lea esi, [ebp - 0xa2c]
sar ecx, 1
lea edx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0xedb00
sub esi, edx
lea edx, [ebp - 0xc34]
lea eax, [edx + 2]
sar esi, 1
mov dword [ebp - 0xc38], eax
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0xedb20
sub edx, dword [ebp - 0xc38]
sar edx, 1
test edi, edi
je 0xedbe7
test ecx, ecx
je 0xedbe7
test esi, esi
je 0xedbe7
test edx, edx
je 0xedbe7
mov edx, dword [ebx]
lea ecx, [ebp - 0x61c]
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0xedb60
mov ecx, dword [ebx]
lea edx, [ebp - 0x824]
add ecx, 0x208
nop
movzx eax, word [edx]
lea edx, [edx + 2]
mov word [ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0xedb80
mov ecx, dword [ebx]
lea edx, [ebp - 0xa2c]
add ecx, 0x410
nop
movzx eax, word [edx]
lea edx, [edx + 2]
mov word [ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0xedba0
mov ecx, dword [ebx]
lea edx, [ebp - 0xc34]
add ecx, 0x618
nop
movzx eax, word [edx]
lea edx, [edx + 2]
mov word [ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0xedbc0
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.000f1776
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.000f1776
mov esp, ebp
pop ebp
ret