Function at 0x48bb20
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x26b0
call fcn.004a8420
mov eax, dword [0x4f4008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x26ac], ecx
mov dword [ebp - 0x26a4], str.game
mov dword [ebp - 0x26a0], 0xfffffffd
mov dword [ebp - 0x269c], 0x4c44d4
mov dword [ebp - 0x2698], str.60FPS
mov dword [ebp - 0x2694], 0xfffffffe
mov dword [ebp - 0x2690], 0x4c44d4
mov dword [ebp - 0x268c], str.HighPerf
mov dword [ebp - 0x2688], 0
mov dword [ebp - 0x2684], 0
mov dword [ebp - 0x2680], 0x4dc498
mov dword [ebp - 0x267c], 0xfffffffe
mov dword [ebp - 0x2678], 0x4c44d4
mov dword [ebp - 0x2674], str.WindowMode
mov dword [ebp - 0x2670], 0
mov dword [ebp - 0x266c], 0
mov dword [ebp - 0x2668], 0x4dc4f8
mov dword [ebp - 0x2664], 0xfffffffe
mov dword [ebp - 0x2660], 0x4c44d4
mov dword [ebp - 0x265c], str.HardwareAcceleration
mov dword [ebp - 0x2658], 0
mov dword [ebp - 0x2654], 0
mov dword [ebp - 0x2650], 0x4dc548
mov dword [ebp - 0x264c], 0xfffffffe
mov dword [ebp - 0x2648], 0x4c44d4
mov dword [ebp - 0x2644], str.HardwareFullScreen
mov dword [ebp - 0x2640], 0
mov dword [ebp - 0x263c], 0
mov dword [ebp - 0x2638], 0x4dc598
mov dword [ebp - 0x2634], 0xfffffffe
mov dword [ebp - 0x2630], 0x4c44d4
mov dword [ebp - 0x262c], str.GamePadDInput
mov dword [ebp - 0x2628], 0
mov dword [ebp - 0x2624], 0
mov dword [ebp - 0x2620], 0x4dc600
mov dword [ebp - 0x261c], 0xfffffffe
mov dword [ebp - 0x2618], 0x4c44d4
mov dword [ebp - 0x2614], str.NonActiveMusicPlay
mov dword [ebp - 0x2610], 0
mov dword [ebp - 0x260c], 0
mov dword [ebp - 0x2608], 0x4dc658
mov dword [ebp - 0x2604], 0xfffffffe
mov dword [ebp - 0x2600], 0x4c44d4
mov dword [ebp - 0x25fc], str.ResourceErrorNotify
mov dword [ebp - 0x25f8], 0
mov dword [ebp - 0x25f4], 0
mov dword [ebp - 0x25f0], 0x4dc6b8
mov dword [ebp - 0x25ec], 0xfffffffe
mov dword [ebp - 0x25e8], 0x4c44d4
mov dword [ebp - 0x25e4], str.ScriptErrorTerminate
mov dword [ebp - 0x25e0], 0
mov dword [ebp - 0x25dc], 0
mov dword [ebp - 0x25d8], 0x4dc708
mov dword [ebp - 0x25d4], 0xfffffffe
mov dword [ebp - 0x25d0], 0x4c44d4
mov dword [ebp - 0x25cc], str.NonActiveAnimationPlay
mov dword [ebp - 0x25c8], 1
mov dword [ebp - 0x25c4], 0
mov dword [ebp - 0x25c0], 0x4dc768
mov dword [ebp - 0x25bc], 0xfffffffe
mov dword [ebp - 0x25b8], 0x4c44d4
mov dword [ebp - 0x25b4], str.ConfirmGameExit
mov dword [ebp - 0x25b0], 1
mov dword [ebp - 0x25ac], 0
mov dword [ebp - 0x25a8], 0x4dc7d0
mov dword [ebp - 0x25a4], 0xfffffffe
mov dword [ebp - 0x25a0], 0x4c44d4
mov dword [ebp - 0x259c], str.MemoryErrorNotify
mov dword [ebp - 0x2598], 0
mov dword [ebp - 0x2594], 0
mov dword [ebp - 0x2590], 0x4c44d4
mov dword [ebp - 0x258c], 0xfffffffc
mov dword [ebp - 0x2588], 0x4c44d4
mov dword [ebp - 0x2584], str.keyboard
mov dword [ebp - 0x2580], 0xfffffffd
mov dword [ebp - 0x257c], 0x4c44d4
mov dword [ebp - 0x2578], str.LEFT
mov dword [ebp - 0x2574], 0xffffffff
mov dword [ebp - 0x2570], str.left
mov dword [ebp - 0x256c], 0x4d5af4
mov dword [ebp - 0x2568], 0xffffffff
mov dword [ebp - 0x2564], 0x4d5c08
mov dword [ebp - 0x2560], str.RIGHT
mov dword [ebp - 0x255c], 0xffffffff
mov dword [ebp - 0x2558], str.right
mov dword [ebp - 0x2554], str.DOWN
mov dword [ebp - 0x2550], 0xffffffff
mov dword [ebp - 0x254c], str.down
mov dword [ebp - 0x2548], str.SELECT
mov dword [ebp - 0x2544], 0xffffffff
mov dword [ebp - 0x2540], str.z_enter
mov dword [ebp - 0x253c], str.CANCEL
mov dword [ebp - 0x2538], 0xffffffff
mov dword [ebp - 0x2534], str.x_ctrl
mov dword [ebp - 0x2530], str.OPTION
mov dword [ebp - 0x252c], 0xffffffff
mov dword [ebp - 0x2528], 0x4d5c98
mov dword [ebp - 0x2524], str.OPTION2
mov dword [ebp - 0x2520], 0xffffffff
mov dword [ebp - 0x251c], str.shift
mov dword [ebp - 0x2518], str.L_SWITCH
mov dword [ebp - 0x2514], 0xffffffff
mov dword [ebp - 0x2510], 0x4d5c90
mov dword [ebp - 0x250c], str.R_SWITCH
mov dword [ebp - 0x2508], 0xffffffff
mov dword [ebp - 0x2504], 0x4d5c94
mov dword [ebp - 0x2500], str.SYSTEM
mov dword [ebp - 0x24fc], 0xffffffff
mov dword [ebp - 0x24f8], str.x_ctrl
mov dword [ebp - 0x24f4], str.SKIP
mov dword [ebp - 0x24f0], 0xffffffff
mov dword [ebp - 0x24ec], str.space_rclick
mov dword [ebp - 0x24e8], str.FULLSCREEN
mov dword [ebp - 0x24e4], 0xffffffff
mov dword [ebp - 0x24e0], 0x4d5c58
mov dword [ebp - 0x24dc], str.RESET
mov dword [ebp - 0x24d8], 0xffffffff
mov dword [ebp - 0x24d4], 0x4d5c88
mov dword [ebp - 0x24d0], str.EXIT
mov dword [ebp - 0x24cc], 0xffffffff
mov dword [ebp - 0x24c8], 0x4d5bdc
mov dword [ebp - 0x24c4], 0x4c44d4
mov dword [ebp - 0x24c0], 0xfffffffc
mov dword [ebp - 0x24bc], 0x4c44d4
mov dword [ebp - 0x24b8], str.gamepad
mov dword [ebp - 0x24b4], 0xfffffffd
mov dword [ebp - 0x24b0], 0x4c44d4
mov dword [ebp - 0x24ac], str.LEFT
mov dword [ebp - 0x24a8], 1
mov dword [ebp - 0x24a4], 0
mov dword [ebp - 0x24a0], 0x4d5af4
mov dword [ebp - 0x249c], 2
mov dword [ebp - 0x2498], 0
mov dword [ebp - 0x2494], str.RIGHT
mov dword [ebp - 0x2490], 3
mov dword [ebp - 0x248c], 0
mov dword [ebp - 0x2488], str.DOWN
mov dword [ebp - 0x2484], 4
mov dword [ebp - 0x2480], 0
mov dword [ebp - 0x247c], str.SELECT
mov dword [ebp - 0x2478], 5
mov dword [ebp - 0x2474], 0
mov dword [ebp - 0x2470], str.CANCEL
mov dword [ebp - 0x246c], 6
mov dword [ebp - 0x2468], 0
mov dword [ebp - 0x2464], str.OPTION
mov dword [ebp - 0x2460], 7
mov dword [ebp - 0x245c], 0
mov dword [ebp - 0x2458], str.OPTION2
mov dword [ebp - 0x2454], 8
mov dword [ebp - 0x2450], 0
mov dword [ebp - 0x244c], str.L_SWITCH
mov dword [ebp - 0x2448], 9
mov dword [ebp - 0x2444], 0
mov dword [ebp - 0x2440], str.R_SWITCH
mov dword [ebp - 0x243c], 0xa
mov dword [ebp - 0x2438], 0
mov dword [ebp - 0x2434], str.SYSTEM
mov dword [ebp - 0x2430], 0xb
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
lea esi, [ebp - 0x26a4]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
xor eax, eax
mov dword [ebp - 0x242c], 0
mov dword [ebp - 0x2428], str.SKIP
mov dword [ebp - 0x2424], 0xc
mov dword [ebp - 0x2420], 0
mov dword [ebp - 0x241c], str.FULLSCREEN
mov dword [ebp - 0x2418], 0xfffffffb
mov dword [ebp - 0x2414], 0
mov dword [ebp - 0x2410], str.RESET
mov dword [ebp - 0x240c], 0xfffffffb
mov dword [ebp - 0x2408], 0
mov dword [ebp - 0x2404], str.EXIT
mov dword [ebp - 0x2400], 0xfffffffb
mov dword [ebp - 0x23fc], 0
mov word [ebp - 0x23f8], ax
mov dword [ebp - 0x26a8], 0x39
mov eax, dword [esi + 4]
cmp eax, 0xfffffffb
jne 0x48c233
push dword [esi]
lea eax, [ebp - 0x204]
push 0x4dc85c
push eax
call edi
add esp, 0xc
jmp 0x48c2b3
cmp eax, 0xfffffffc
jne 0x48c24c
push 0x4c44d4
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x48c2b3
cmp eax, 0xfffffffd
jne 0x48c266
push dword [esi]
lea eax, [ebp - 0x204]
push 0x4dc864
push eax
call edi
add esp, 0xc
jmp 0x48c2b3
cmp eax, 0xfffffffe
jne 0x48c28e
push 0x4dc870
lea eax, [ebp - 0x23f8]
push eax
call ebx
push dword [esi]
lea eax, [ebp - 0x204]
push str.___s
push eax
call edi
add esp, 0xc
jmp 0x48c2b3
cmp eax, 0xffffffff
jne 0x48c29f
push dword [esi + 8]
push dword [esi]
push str._s_s
jmp 0x48c2a7
push eax
push dword [esi]
push str._s_d
lea eax, [ebp - 0x204]
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x23f8]
push eax
call ebx
push 0x4dc870
lea eax, [ebp - 0x23f8]
push eax
call ebx
add esi, 0xc
sub dword [ebp - 0x26a8], 1
jne 0x48c213
push str.game.ini
push dword [ebp - 0x26ac]
lea eax, [ebp - 0x40c]
push 0x4d4fd0
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x40c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x23f8]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0
call edi
mov esi, eax
push esi
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 0
push 0
push esi
mov ebx, eax
lea eax, [ebp - 0x23f8]
push ebx
push 0xffffffffffffffff
push eax
push 0
push 0
call edi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x40c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
lea eax, [ebp - 0x26b0]
push 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x48c3a5
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00495852
mov esp, ebp
pop ebp
ret