Function at 0x4412a0
Capabilities:
Check if file exists
Create directory
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x519227
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x56f790]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, 0x52bd6c
test eax, eax
mov dword [0x573954], 1
cmovne esi, eax
call fcn.00410b40
mov ecx, eax
test ecx, ecx
je 0x44153e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x458], eax
push esi
lea ecx, [ebp - 0x458]
mov dword [ebp - 4], 0
call fcn.00408690
test al, al
jne 0x441323
push esi
lea ecx, [ebp - 0x458]
call fcn.00407550
mov eax, dword [ebp - 0x458]
mov dword [ebp - 4], 1
cmp dword [eax - 0xc], 0
jne 0x44147c
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004b17e0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push str.LDSGameCenter
push eax
call esi
push 0x533dc4
lea eax, [ebp - 0x218]
push eax
call esi
push 0
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x20a
lea eax, [ebp - 0x424]
push 0
push eax
call fcn.004b17e0
add esp, 0xc
lea eax, [ebp - 0x424]
push 0x104
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [ebp - 0x42c], 0
lea ecx, [ebp - 0x424]
mov dword [ebp - 0x428], 7
mov word [ebp - 0x43c], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4413f0
sub ecx, edx
lea eax, [ebp - 0x424]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x43c]
call fcn.00413ec0
push 0
lea eax, [ebp - 0x43c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x454]
push eax
call fcn.00449c00
add esp, 0xc
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 4
call fcn.00410350
cmp dword [ebp - 0x440], 8
lea eax, [ebp - 0x454]
cmovae eax, dword [ebp - 0x454]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x458]
push str._s_s.log
push eax
call fcn.0040ecb0
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x454]
call fcn.00410350
push 0x533de0
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x45c]
push eax
call fcn.00410610
add esp, 0xc
push dword [ebp - 0x45c]
mov byte [ebp - 4], 5
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [0x573950]
test eax, eax
push dword [0x56f3f8]
mov edx, 0xf
cmovne ecx, edx
mov dword [0x573950], ecx
mov ecx, 0x573958
call fcn.00458920
lea eax, [ebp - 0x458]
mov ecx, 0x573958
push eax
call fcn.00458800
mov edx, dword [ebp - 0x45c]
or esi, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x441502
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x458]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x441524
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404400
int3