Function at 0x1000cd11
Capabilities:
Check if file exists
Delete file
Get common file path
Read .ini file

Disassembly:
push 0x434
mov eax, 0x10028cfc
call fcn.10015c84
cmp byte [0x100355c0], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x42c], eax
je 0x1000cfed
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov byte [0x100355c0], 0
mov dword [ebp - 0x424], 1
mov ebx, 0x1002a4d0
lea ecx, [ebp - 0x440]
call fcn.1000cae4
and dword [ebp - 4], 0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.100154e0
add esp, 0xc
push 0x10035d94
lea ecx, [ebp - 0x428]
call fcn.10001494
push dword [ebp - 0x424]
lea eax, [ebp - 0x428]
push str.link_d
push eax
mov byte [ebp - 4], 1
call fcn.100080a0
add esp, 0xc
push dword [ebp - 0x42c]
lea eax, [ebp - 0x218]
push 0x104
push eax
push ebx
push 0x1002c810
push dword [ebp - 0x428]
call esi
lea eax, [ebp - 0x218]
push eax
call fcn.1001539a
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x440]
call fcn.1000162e
push dword [ebp - 0x42c]
xor eax, eax
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
push 0x104
mov ecx, 0x82
lea edi, [ebp - 0x218]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x218]
push eax
push ebx
push str.name
push dword [ebp - 0x428]
call esi
lea eax, [ebp - 0x218]
push eax
call fcn.1001539a
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x43c]
call fcn.1000162e
push dword [ebp - 0x42c]
xor eax, eax
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, 0x82
lea edi, [ebp - 0x218]
push 0x104
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x428]
lea eax, [ebp - 0x218]
push eax
push ebx
push 0x1002cdb4
push edi
call esi
lea eax, [ebp - 0x218]
push eax
call fcn.1001539a
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x438]
call fcn.1000162e
push dword [ebp - 0x42c]
push 0
push 0x1002c7cc
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x434], eax
test eax, eax
jne 0x1000cec7
or eax, 0xffffffff
mov dword [ebp - 0x434], eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x1000ced6
test ecx, eax
je 0x1000cfae
mov eax, dword [ebp - 0x440]
cmp dword [eax - 0xc], 0
je 0x1000cfda
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call fcn.100154e0
add esp, 0xc
xor eax, eax
push eax
push eax
lea ecx, [ebp - 0x420]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1000cfae
push 0x10035d94
lea ecx, [ebp - 0x430]
call fcn.10001494
push dword [ebp - 0x43c]
lea eax, [ebp - 0x430]
push str._s.lnk
push eax
mov byte [ebp - 4], 2
call fcn.100080a0
add esp, 0xc
push dword [ebp - 0x430]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000cf7d
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push dword [ebp - 0x43c]
lea eax, [ebp - 0x420]
push dword [ebp - 0x438]
push eax
push dword [ebp - 0x440]
call fcn.1000cb49
mov ecx, dword [ebp - 0x430]
add esp, 0x14
add ecx, 0xfffffff0
call fcn.100013fc
lea ecx, [edi - 0x10]
call fcn.100013fc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.1000cac0
inc dword [ebp - 0x424]
cmp dword [ebp - 0x424], 0x64
jl 0x1000cd52
jmp 0x1000cfed
lea ecx, [edi - 0x10]
call fcn.100013fc
lea ecx, [ebp - 0x440]
call fcn.1000cac0
call fcn.10015d07
ret