Function at 0x448c10
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0c
mov eax, dword [0x4f4008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
movq xmm0, qword [str.game]
movq qword [ebp - 0x10], xmm0
movups xmm0, xmmword [str.HighPerf]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc08], eax
movups xmmword [ebp - 0x3c], xmm0
mov eax, dword [ebp + 0x10]
movups xmm0, xmmword [str.WindowMode]
mov dword [ebp - 0xc0c], eax
mov eax, dword [ebp + 0x14]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0xc00], eax
movups xmm0, xmmword [str.HardwareAcceleration]
movzx eax, word [0x4d57ac]
mov word [ebp - 8], ax
movups xmmword [ebp - 0x114], xmm0
movzx eax, word [0x4d59a4]
movups xmm0, xmmword [0x4d595c]
mov word [ebp - 0x2c], ax
mov eax, dword [0x4d59b8]
movups xmmword [ebp - 0x104], xmm0
mov dword [ebp - 0x18], eax
movq xmm0, qword [0x4d596c]
movq qword [ebp - 0xf4], xmm0
movups xmm0, xmmword [str.HardwareFullScreen]
movzx eax, word [0x4d59bc]
mov word [ebp - 0x14], ax
movups xmmword [ebp - 0x80], xmm0
movzx eax, word [0x4d5974]
movups xmm0, xmmword [0x4d59d0]
mov word [ebp - 0xec], ax
mov eax, dword [0x4d59e0]
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x60], eax
movups xmm0, xmmword [str.GamePadDInput]
movzx eax, word [0x4d59e4]
mov word [ebp - 0x5c], ax
movups xmmword [ebp - 0x58], xmm0
mov eax, dword [0x4d5990]
movq xmm0, qword [0x4d5988]
movq qword [ebp - 0x48], xmm0
movups xmm0, xmmword [str.NonActiveMusicPlay]
mov dword [ebp - 0x40], eax
mov eax, dword [0x4d5a08]
movups xmmword [ebp - 0xa8], xmm0
mov dword [ebp - 0x88], eax
movups xmm0, xmmword [0x4d59f8]
movzx eax, word [0x4d5a0c]
mov word [ebp - 0x84], ax
movups xmmword [ebp - 0x98], xmm0
movzx eax, word [0x4d5a60]
movups xmm0, xmmword [str.ResourceErrorNotify]
mov ebx, dword [ebp + 8]
movups xmmword [ebp - 0x18c], xmm0
mov word [ebp - 0x118], ax
movups xmm0, xmmword [0x4d5a20]
mov eax, dword [0x4d5a8c]
movups xmmword [ebp - 0x17c], xmm0
mov dword [ebp - 0xb0], eax
movq xmm0, qword [0x4d5a30]
movq qword [ebp - 0x16c], xmm0
movups xmm0, xmmword [str.ScriptErrorTerminate]
movzx eax, word [0x4d5a90]
movups xmmword [ebp - 0x140], xmm0
mov word [ebp - 0xac], ax
movups xmm0, xmmword [0x4d5a48]
movups xmmword [ebp - 0x130], xmm0
movq xmm0, qword [0x4d5a58]
movq qword [ebp - 0x120], xmm0
movups xmm0, xmmword [str.NonActiveAnimationPlay]
movups xmmword [ebp - 0xd8], xmm0
movups xmm0, xmmword [0x4d5a74]
movups xmmword [ebp - 0xc8], xmm0
movq xmm0, qword [0x4d5a84]
movq qword [ebp - 0xb8], xmm0
movups xmm0, xmmword [str.ConfirmGameExit]
movups xmmword [ebp - 0x1ac], xmm0
cmp dword [0x509164], 0
movups xmm0, xmmword [0x4d5aa4]
mov eax, dword [0x4d5ad4]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
movups xmmword [ebp - 0x19c], xmm0
mov dword [ebp - 0x144], eax
movups xmm0, xmmword [str.MemoryErrorNotify]
movups xmmword [ebp - 0x164], xmm0
movups xmm0, xmmword [0x4d5ac4]
movups xmmword [ebp - 0x154], xmm0
je 0x448e87
lea eax, [ebp - 0xc04]
push eax
push 0
push 0
push 0x4bf480
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
push str.SRPG_Studio
push dword [ebp - 0xc04]
lea eax, [ebp - 0x5c0]
push 0x4d4fd0
push eax
call esi
add esp, 0x10
push dword [ebp - 0xc04]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x448e9f
mov eax, dword [0x4fc0fc]
add eax, 0x9a0
push eax
lea eax, [ebp - 0x5c0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.game.ini
lea eax, [ebp - 0x5c0]
push eax
lea eax, [ebp - 0x3b8]
push 0x4d4fd0
push eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea eax, [ebp - 0x3b8]
add esp, 0x10
push eax
push 0xffffffffffffffff
push str.OPTION2
push str.gamepad
call esi
cmp eax, 0xffffffff
jne 0x448ee7
lea ecx, [ebp - 0x5c0]
call fcn.0048bb20
lea eax, [ebp - 0x3b8]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x10]
push eax
call esi
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x448f06
lea eax, [ecx + 2]
jmp 0x448f0d
xor eax, eax
test ecx, ecx
sete al
mov dword [ebx], eax
lea eax, [ebp - 0x3b8]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x10]
push eax
call esi
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x448f2e
lea eax, [ecx + 2]
jmp 0x448f35
xor eax, eax
test ecx, ecx
sete al
mov ecx, dword [ebp - 0xc08]
mov dword [ecx], eax
lea eax, [ebp - 0x3b8]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x10]
push eax
call esi
xor ecx, ecx
cmp eax, 0xffffffff
cmove eax, ecx
mov dword [edi + 0x10], eax
lea eax, [ebp - 0x3b8]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x10]
push eax
call esi
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x448f7d
lea eax, [ecx + 2]
jmp 0x448f84
xor eax, eax
test ecx, ecx
sete al
mov dword [edi + 0x18], eax
lea eax, [ebp - 0x3b8]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x10]
push eax
call esi
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x448fa6
lea eax, [ecx + 2]
jmp 0x448fad
xor eax, eax
test ecx, ecx
sete al
mov ecx, dword [ebp - 0xc0c]
mov dword [ecx], eax
lea eax, [ebp - 0x3b8]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x10]
push eax
call esi
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x448fd7
lea eax, [ecx + 2]
jmp 0x448fde
xor eax, eax
test ecx, ecx
sete al
mov ecx, dword [ebp - 0xc00]
mov dword [ecx], eax
lea eax, [ebp - 0x3b8]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x10]
push eax
call esi
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x449008
lea eax, [ecx + 2]
jmp 0x44900f
xor eax, eax
test ecx, ecx
sete al
mov dword [edi + 0xc], eax
lea eax, [ebp - 0x3b8]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x10]
push eax
call esi
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x449034
lea eax, [ecx + 2]
jmp 0x44903b
xor eax, eax
test ecx, ecx
sete al
mov dword [edi + 8], eax
lea eax, [ebp - 0x3b8]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x10]
push eax
call esi
mov ecx, eax
xor eax, eax
cmp ecx, 0xffffffff
je 0x449062
test ecx, ecx
sete al
mov dword [edi + 0x20], eax
lea eax, [ebp - 0x3b8]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x1ac]
push eax
lea eax, [ebp - 0x10]
push eax
call esi
mov ecx, eax
xor eax, eax
cmp ecx, 0xffffffff
je 0x449089
test ecx, ecx
sete al
mov dword [edi + 0x24], eax
lea eax, [ebp - 0x3b8]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x10]
push eax
call esi
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x4490ae
lea eax, [ecx + 2]
jmp 0x4490b5
xor eax, eax
test ecx, ecx
sete al
mov dword [edi + 0x28], eax
mov ecx, edi
lea eax, [ebp - 0x3b8]
push eax
call fcn.0044a3b0
movups xmm0, xmmword [str.gamepad]
mov eax, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor esi, esi
mov dword [ebp - 0xbfc], str.LEFT
movups xmmword [ebp - 0xe8], xmm0
mov dword [ebp - 0xbf8], 0x4d5af4
mov dword [ebp - 0xbf4], str.RIGHT
mov dword [ebp - 0xbf0], str.DOWN
mov dword [ebp - 0xbec], str.SELECT
mov dword [ebp - 0xbe8], str.CANCEL
mov dword [ebp - 0xbe4], str.OPTION
mov dword [ebp - 0xbe0], str.OPTION2
mov dword [ebp - 0xbdc], str.L_SWITCH
mov dword [ebp - 0xbd8], str.R_SWITCH
mov dword [ebp - 0xbd4], str.SYSTEM
mov dword [ebp - 0xbd0], str.SKIP
mov dword [ebp - 0xbcc], str.FULLSCREEN
mov dword [ebp - 0xbc8], str.RESET
mov dword [ebp - 0xbc4], str.EXIT
mov dword [ebp - 0xc00], eax
nop word [eax + eax]
lea ecx, [ebp - 0x3b8]
push ecx
push 0x100
lea ecx, [ebp - 0xbc0]
push ecx
push 0x4c44d4
push dword [ebp + esi - 0xbfc]
lea ecx, [ebp - 0xe8]
push ecx
call eax
lea eax, [ebp - 0x9c0]
push eax
lea edx, [ebp - 0x7c0]
lea ecx, [ebp - 0xbc0]
call fcn.00449280
xor ebx, ebx
add esp, 4
xor edi, edi
cmp word [ebp - 0x7c0], bx
je 0x4491de
lea ecx, [ebp - 0x7c0]
call fcn.0048a1e0
movzx edi, ax
cmp word [ebp - 0x9c0], bx
je 0x4491f5
lea ecx, [ebp - 0x9c0]
call fcn.0048a1e0
movzx ebx, ax
test di, di
je 0x449207
movzx eax, bx
shl eax, 0x10
movzx ecx, di
or eax, ecx
jmp 0x449209
xor eax, eax
mov dword [esi + 0x4fc040], eax
add esi, 4
mov eax, dword [ebp - 0xc00]
cmp esi, 0x3c
jl 0x449180
mov eax, dword [0x4fc0fc]
mov ecx, dword [ebp - 4]
pop edi
pop esi
movups xmm0, xmmword [eax + 0x44]
xor ecx, ebp
pop ebx
movups xmmword [0x4fbfa0], xmm0
movups xmm0, xmmword [eax + 0x54]
movups xmmword [0x4fbfb0], xmm0
movups xmm0, xmmword [eax + 0x64]
movups xmmword [0x4fbfc0], xmm0
movups xmm0, xmmword [eax + 0x74]
movups xmmword [0x4fbfd0], xmm0
movups xmm0, xmmword [eax + 0x84]
movups xmmword [0x4fbfe0], xmm0
mov eax, dword [eax + 0x94]
mov dword [0x4fbff0], eax
call fcn.00495852
mov esp, ebp
pop ebp
ret 0x10