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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4c
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc4c], ecx
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.005b4de0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x830], dx
push 0x206
push 0
lea eax, [ebp - 0x82e]
push eax
call fcn.005b4de0
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0xc48], cx
push 0x206
push 0
lea edx, [ebp - 0xc46]
push edx
call fcn.005b4de0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x628], ax
push 0x206
push 0
lea ecx, [ebp - 0x626]
push ecx
call fcn.005b4de0
add esp, 0xc
mov dword [ebp - 0xa3c], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
xor edx, edx
mov word [ebp - 0x420], dx
push 0x206
push 0
lea eax, [ebp - 0x41e]
push eax
call fcn.005b4de0
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0xa38], cx
push 0x206
push 0
lea edx, [ebp - 0xa36]
push edx
call fcn.005b4de0
add esp, 0xc
push 0
push 0x2b
lea eax, [ebp - 0x420]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x647f7c
lea ecx, [ebp - 0x420]
push ecx
call fcn.005b4d90
add esp, 8
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x459ee9
push 0
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x420]
push ecx
lea edx, [ebp - 0xa38]
push edx
call fcn.005b4dbe
add esp, 8
push 0x647f94
lea eax, [ebp - 0xa38]
push eax
call fcn.005b4d90
add esp, 8
lea ecx, [ebp - 0xa38]
push ecx
push 0x104
lea edx, [ebp - 0x218]
push edx
push 0x647f2c
push 0x647fac
push 0x647fcc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0xa38]
push eax
push 0x104
lea ecx, [ebp - 0x830]
push ecx
push 0x647fdc
push 0x647fe0
push 0x648000
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0xa38]
push edx
push 0x104
lea eax, [ebp - 0xc48]
push eax
push 0x648010
push 0x648014
push 0x648034
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0xa38]
push ecx
push 0x104
lea edx, [ebp - 0x628]
push edx
push 0x648044
push 0x648048
push 0x648068
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
call fcn.005b50b1
add esp, 4
mov dword [ebp - 0xa3c], eax
lea ecx, [ebp - 0x830]
push ecx
call fcn.005b50b1
add esp, 4
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0xc48]
push edx
call fcn.005b50b1
add esp, 4
mov dword [ebp - 8], eax
lea eax, [ebp - 0x628]
push eax
call fcn.005b50b1
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 0xa3c], 0
je 0x45a019
cmp dword [ebp - 0xc], 0
je 0x45a019
cmp dword [ebp - 8], 0
je 0x45a019
cmp dword [ebp - 4], 0
jne 0x45a01d
xor eax, eax
jmp 0x45a091
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 0xc4c]
mov eax, dword [edx]
push eax
call fcn.005b4dbe
add esp, 8
lea ecx, [ebp - 0x830]
push ecx
mov edx, dword [ebp - 0xc4c]
mov eax, dword [edx]
add eax, 0x208
push eax
call fcn.005b4dbe
add esp, 8
lea ecx, [ebp - 0xc48]
push ecx
mov edx, dword [ebp - 0xc4c]
mov eax, dword [edx]
add eax, 0x410
push eax
call fcn.005b4dbe
add esp, 8
lea ecx, [ebp - 0x628]
push ecx
mov edx, dword [ebp - 0xc4c]
mov eax, dword [edx]
add eax, 0x618
push eax
call fcn.005b4dbe
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret