Function at 0x448420
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0c
mov eax, dword [0x4f3008]
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 - 0xc04], eax
movups xmmword [ebp - 0x3c], xmm0
mov eax, dword [ebp + 0x10]
movups xmm0, xmmword [str.WindowMode]
mov dword [ebp - 0xc08], eax
mov eax, dword [ebp + 0x14]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0xc00], eax
movups xmm0, xmmword [str.HardwareAcceleration]
movzx eax, word [0x4d5304]
mov word [ebp - 8], ax
movups xmmword [ebp - 0x114], xmm0
movzx eax, word [0x4d541c]
movups xmm0, xmmword [0x4d53f0]
mov word [ebp - 0x2c], ax
mov eax, dword [0x4d5430]
movups xmmword [ebp - 0x104], xmm0
mov dword [ebp - 0x18], eax
movq xmm0, qword [0x4d5400]
movq qword [ebp - 0xf4], xmm0
movups xmm0, xmmword [str.HardwareFullScreen]
movzx eax, word [0x4d5434]
mov word [ebp - 0x14], ax
movups xmmword [ebp - 0x80], xmm0
movzx eax, word [0x4d5408]
movups xmm0, xmmword [0x4d5448]
mov word [ebp - 0xec], ax
mov eax, dword [0x4d5458]
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x60], eax
movups xmm0, xmmword [str.GamePadDInput]
movzx eax, word [0x4d545c]
mov word [ebp - 0x5c], ax
movups xmmword [ebp - 0x58], xmm0
mov eax, dword [0x4d5478]
movq xmm0, qword [0x4d5470]
movq qword [ebp - 0x48], xmm0
movups xmm0, xmmword [str.NonActiveMusicPlay]
mov dword [ebp - 0x40], eax
mov eax, dword [0x4d549c]
movups xmmword [ebp - 0xa8], xmm0
mov dword [ebp - 0x88], eax
movups xmm0, xmmword [0x4d548c]
movzx eax, word [0x4d54a0]
mov word [ebp - 0x84], ax
movups xmmword [ebp - 0x98], xmm0
movzx eax, word [0x4d54f4]
movups xmm0, xmmword [str.ResourceErrorNotify]
mov ebx, dword [ebp + 8]
movups xmmword [ebp - 0x18c], xmm0
mov word [ebp - 0x118], ax
movups xmm0, xmmword [0x4d54b4]
mov eax, dword [0x4d5520]
movups xmmword [ebp - 0x17c], xmm0
mov dword [ebp - 0xb0], eax
movq xmm0, qword [0x4d54c4]
movq qword [ebp - 0x16c], xmm0
movups xmm0, xmmword [str.ScriptErrorTerminate]
movzx eax, word [0x4d5524]
movups xmmword [ebp - 0x140], xmm0
mov word [ebp - 0xac], ax
movups xmm0, xmmword [0x4d54dc]
movups xmmword [ebp - 0x130], xmm0
movq xmm0, qword [0x4d54ec]
movq qword [ebp - 0x120], xmm0
movups xmm0, xmmword [str.NonActiveAnimationPlay]
movups xmmword [ebp - 0xd8], xmm0
movups xmm0, xmmword [0x4d5508]
movups xmmword [ebp - 0xc8], xmm0
movq xmm0, qword [0x4d5518]
movq qword [ebp - 0xb8], xmm0
movups xmm0, xmmword [str.ConfirmGameExit]
movups xmmword [ebp - 0x1ac], xmm0
cmp dword [0x508184], 0
movups xmm0, xmmword [0x4d5538]
mov eax, dword [0x4d5568]
mov dword [ebp - 0x144], eax
movups xmmword [ebp - 0x19c], xmm0
movups xmm0, xmmword [str.MemoryErrorNotify]
movups xmmword [ebp - 0x164], xmm0
movups xmm0, xmmword [0x4d5558]
movups xmmword [ebp - 0x154], xmm0
je 0x44865e
lea ecx, [ebp - 0x5c0]
call fcn.0048be80
jmp 0x448676
mov eax, dword [0x4fb114]
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 0x4d4c98
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
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 0x4486c2
lea ecx, [ebp - 0x5c0]
call fcn.0048af40
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 0x4486e1
lea eax, [ecx + 2]
jmp 0x4486e8
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 0x448709
lea eax, [ecx + 2]
jmp 0x448710
xor eax, eax
test ecx, ecx
sete al
mov ecx, dword [ebp - 0xc04]
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 0x448758
lea eax, [ecx + 2]
jmp 0x44875f
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 0x448781
lea eax, [ecx + 2]
jmp 0x448788
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 - 0xa8]
push eax
lea eax, [ebp - 0x10]
push eax
call esi
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x4487b2
lea eax, [ecx + 2]
jmp 0x4487b9
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 0x4487e3
lea eax, [ecx + 2]
jmp 0x4487ea
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 0x44880f
lea eax, [ecx + 2]
jmp 0x448816
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 0x44883d
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 0x448864
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 0x448889
lea eax, [ecx + 2]
jmp 0x448890
xor eax, eax
test ecx, ecx
sete al
mov dword [edi + 0x28], eax
mov ecx, edi
lea eax, [ebp - 0x3b8]
push eax
call fcn.00449b80
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], 0x4d5588
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
lea ecx, [ebp - 0x3b8]
push ecx
push 0x100
lea ecx, [ebp - 0xbc0]
push ecx
push 0x4c4424
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.00448a50
xor ebx, ebx
add esp, 4
xor edi, edi
cmp word [ebp - 0x7c0], bx
je 0x4489b0
lea ecx, [ebp - 0x7c0]
call fcn.004895e0
movzx edi, ax
cmp word [ebp - 0x9c0], bx
je 0x4489c7
lea ecx, [ebp - 0x9c0]
call fcn.004895e0
movzx ebx, ax
test di, di
je 0x4489d9
movzx eax, bx
shl eax, 0x10
movzx ecx, di
or eax, ecx
jmp 0x4489db
xor eax, eax
mov dword [esi + 0x4fb050], eax
add esi, 4
mov eax, dword [ebp - 0xc00]
cmp esi, 0x3c
jl 0x448952
mov eax, dword [0x4fb114]
mov ecx, dword [ebp - 4]
pop edi
pop esi
movups xmm0, xmmword [eax + 0x44]
xor ecx, ebp
pop ebx
movups xmmword [0x4fafc0], xmm0
movups xmm0, xmmword [eax + 0x54]
movups xmmword [0x4fafd0], xmm0
movups xmm0, xmmword [eax + 0x64]
movups xmmword [0x4fafe0], xmm0
movups xmm0, xmmword [eax + 0x74]
movups xmmword [0x4faff0], xmm0
movups xmm0, xmmword [eax + 0x84]
movups xmmword [0x4fb000], xmm0
mov eax, dword [eax + 0x94]
mov dword [0x4fb010], eax
call fcn.004954a2
mov esp, ebp
pop ebp
ret 0x10