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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc04
mov eax, dword [0x4f0008]
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 - 0xbfc], eax
movups xmmword [ebp - 0x3c], xmm0
mov eax, dword [ebp + 0x10]
movups xmm0, xmmword [str.WindowMode]
mov dword [ebp - 0xc00], eax
mov eax, dword [ebp + 0x14]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0xbf4], eax
movups xmm0, xmmword [str.HardwareAcceleration]
movzx eax, word [0x4d15b0]
mov word [ebp - 8], ax
movups xmmword [ebp - 0x114], xmm0
movzx eax, word [0x4d1790]
movups xmm0, xmmword [0x4d1764]
mov word [ebp - 0x2c], ax
mov eax, dword [0x4d17a4]
movups xmmword [ebp - 0x104], xmm0
mov dword [ebp - 0x18], eax
movq xmm0, qword [0x4d1774]
movq qword [ebp - 0xf4], xmm0
movups xmm0, xmmword [str.HardwareFullScreen]
movzx eax, word [0x4d17a8]
mov word [ebp - 0x14], ax
movups xmmword [ebp - 0x80], xmm0
movzx eax, word [0x4d177c]
movups xmm0, xmmword [0x4d17bc]
mov word [ebp - 0xec], ax
mov eax, dword [0x4d17cc]
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x60], eax
movups xmm0, xmmword [str.GamePadDInput]
movzx eax, word [0x4d17d0]
mov word [ebp - 0x5c], ax
movups xmmword [ebp - 0x58], xmm0
mov eax, dword [0x4d17ec]
movq xmm0, qword [0x4d17e4]
movq qword [ebp - 0x48], xmm0
movups xmm0, xmmword [str.NonActiveMusicPlay]
mov dword [ebp - 0x40], eax
mov eax, dword [0x4d1810]
movups xmmword [ebp - 0xa8], xmm0
mov dword [ebp - 0x88], eax
movups xmm0, xmmword [0x4d1800]
movzx eax, word [0x4d1814]
mov word [ebp - 0x84], ax
movups xmmword [ebp - 0x98], xmm0
movzx eax, word [0x4d1868]
movups xmm0, xmmword [str.ResourceErrorNotify]
mov ebx, dword [ebp + 8]
movups xmmword [ebp - 0x18c], xmm0
mov word [ebp - 0x118], ax
movups xmm0, xmmword [0x4d1828]
mov eax, dword [0x4d1894]
movups xmmword [ebp - 0x17c], xmm0
mov dword [ebp - 0xb0], eax
movq xmm0, qword [0x4d1838]
movq qword [ebp - 0x16c], xmm0
movups xmm0, xmmword [str.ScriptErrorTerminate]
movzx eax, word [0x4d1898]
movups xmmword [ebp - 0x140], xmm0
mov word [ebp - 0xac], ax
movups xmm0, xmmword [0x4d1850]
movups xmmword [ebp - 0x130], xmm0
movq xmm0, qword [0x4d1860]
movq qword [ebp - 0x120], xmm0
movups xmm0, xmmword [str.NonActiveAnimationPlay]
movups xmmword [ebp - 0xd8], xmm0
movups xmm0, xmmword [0x4d187c]
movups xmmword [ebp - 0xc8], xmm0
movq xmm0, qword [0x4d188c]
movq qword [ebp - 0xb8], xmm0
movups xmm0, xmmword [str.ConfirmGameExit]
movups xmmword [ebp - 0x1ac], xmm0
cmp dword [0x504f94], 0
movups xmm0, xmmword [0x4d18ac]
mov eax, dword [0x4d18dc]
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 [0x4d18cc]
movups xmmword [ebp - 0x154], xmm0
je 0x447697
lea eax, [ebp - 0xbf8]
push eax
push 0
push 0
push 0x4bb490
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
push str.SRPG_Studio
push dword [ebp - 0xbf8]
lea eax, [ebp - 0x5c0]
push 0x4d0ed4
push eax
call esi
add esp, 0x10
push dword [ebp - 0xbf8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x4476af
mov eax, dword [0x4f7f30]
add eax, 0x978
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 0x4d0ed4
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 0x4476f7
lea ecx, [ebp - 0x5c0]
call fcn.00487750
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 0x447716
lea eax, [ecx + 2]
jmp 0x44771d
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 0x44773e
lea eax, [ecx + 2]
jmp 0x447745
xor eax, eax
test ecx, ecx
sete al
mov ecx, dword [ebp - 0xbfc]
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 0x44778d
lea eax, [ecx + 2]
jmp 0x447794
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 0x4477b6
lea eax, [ecx + 2]
jmp 0x4477bd
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 - 0xa8]
push eax
lea eax, [ebp - 0x10]
push eax
call esi
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x4477e7
lea eax, [ecx + 2]
jmp 0x4477ee
xor eax, eax
test ecx, ecx
sete al
mov ecx, dword [ebp - 0xbf4]
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 0x447818
lea eax, [ecx + 2]
jmp 0x44781f
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 0x447844
lea eax, [ecx + 2]
jmp 0x44784b
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 0x447872
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 0x447899
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
xor eax, eax
cmp ecx, 0xffffffff
je 0x4478c0
test ecx, ecx
sete al
mov dword [edi + 0x28], eax
mov ecx, edi
lea eax, [ebp - 0x3b8]
push eax
call fcn.00448c40
movups xmm0, xmmword [str.gamepad]
mov eax, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor esi, esi
mov dword [ebp - 0xbf0], str.LEFT
movups xmmword [ebp - 0xe8], xmm0
mov dword [ebp - 0xbec], 0x4d18fc
mov dword [ebp - 0xbe8], str.RIGHT
mov dword [ebp - 0xbe4], str.DOWN
mov dword [ebp - 0xbe0], str.SELECT
mov dword [ebp - 0xbdc], str.CANCEL
mov dword [ebp - 0xbd8], str.OPTION
mov dword [ebp - 0xbd4], str.OPTION2
mov dword [ebp - 0xbd0], str.L_SWITCH
mov dword [ebp - 0xbcc], str.R_SWITCH
mov dword [ebp - 0xbc8], str.SYSTEM
mov dword [ebp - 0xbc4], str.SKIP
mov dword [ebp - 0xbf4], eax
lea ecx, [ebp - 0x3b8]
push ecx
push 0x100
lea ecx, [ebp - 0xbc0]
push ecx
push 0x4c0444
push dword [ebp + esi - 0xbf0]
lea ecx, [ebp - 0xe8]
push ecx
call eax
lea eax, [ebp - 0x9c0]
push eax
lea edx, [ebp - 0x7c0]
lea ecx, [ebp - 0xbc0]
call fcn.00447a70
xor ebx, ebx
add esp, 4
xor edi, edi
cmp word [ebp - 0x7c0], bx
je 0x4479c2
lea ecx, [ebp - 0x7c0]
call fcn.00485e30
movzx edi, ax
cmp word [ebp - 0x9c0], bx
je 0x4479d9
lea ecx, [ebp - 0x9c0]
call fcn.00485e30
movzx ebx, ax
test di, di
je 0x4479eb
movzx eax, bx
shl eax, 0x10
movzx ecx, di
or eax, ecx
jmp 0x4479ed
xor eax, eax
mov dword [esi + 0x4f7e80], eax
add esi, 4
mov eax, dword [ebp - 0xbf4]
cmp esi, 0x30
jl 0x447964
mov eax, dword [0x4f7f30]
mov ecx, dword [ebp - 4]
pop edi
pop esi
movups xmm0, xmmword [eax + 0x44]
xor ecx, ebp
pop ebx
movups xmmword [0x4f7de0], xmm0
movups xmm0, xmmword [eax + 0x54]
movups xmmword [0x4f7df0], xmm0
movups xmm0, xmmword [eax + 0x64]
movups xmmword [0x4f7e00], xmm0
movups xmm0, xmmword [eax + 0x74]
movups xmmword [0x4f7e10], xmm0
movups xmm0, xmmword [eax + 0x84]
movups xmmword [0x4f7e20], xmm0
mov eax, dword [eax + 0x94]
mov dword [0x4f7e30], eax
call fcn.004912f2
mov esp, ebp
pop ebp
ret 0x10