Function at 0x1400031e0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp - 8], rax
xor ebx, ebx
mov qword [rbp - 0x60], 1
lea r8, [0x1400053d0]
mov qword [rbp - 0x50], rbx
lea rdx, str.save.dat
mov byte [rbp - 0x58], 1
lea rcx, [rbp - 0x50]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
movups xmm1, xmmword [rbp - 0x60]
mov r9, qword [rbp - 0x50]
movsd xmm0, qword [rbp - 0x50]
movsd qword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x30], xmm1
test r9, r9
je 0x1400032b3
psrldq xmm1, 8
lea rcx, [rbp - 0x30]
movd eax, xmm1
mov edx, 4
mov r8d, 1
test al, al
jne 0x14000326f
mov r9, qword [rbp - 0x20]
mov dword [rbp - 0x30], r8d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x140003275
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp dword [rbp - 0x30], 1
jl 0x1400032a4
lea rcx, [0x140007738]
mov r9, qword [rbp - 0x20]
mov edx, 4
mov r8d, 1
cmp byte [rbp - 0x28], bl
je 0x14000329e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
jmp 0x1400032a4
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1400032b3
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea r8, str.Game_Engine
mov edx, 0x258
mov ecx, 0x320
call qword [sym.imp.raylib.dll_InitWindow]
call qword [sym.imp.raylib.dll_InitAudioDevice]
lea rdx, str.snd_menu.wav
lea rcx, [rbp - 0x60]
call qword [sym.imp.raylib.dll_LoadSound]
lea rdx, str.snd_start.wav
lea rcx, [rbp - 0x60]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [0x1400076e8], xmm0
movsd xmm0, qword [rax + 0x20]
movsd qword [0x140007708], xmm0
movups xmmword [0x1400076f8], xmm1
call qword [sym.imp.raylib.dll_LoadSound]
lea rdx, str.snd_die.wav
lea rcx, [rbp - 0x60]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [0x140007710], xmm0
movsd xmm0, qword [rax + 0x20]
movsd qword [0x140007730], xmm0
movups xmmword [0x140007720], xmm1
call qword [sym.imp.raylib.dll_LoadSound]
lea rdx, str.snd_gameover.wav
lea rcx, [rbp - 0x60]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [0x1400077e0], xmm0
movsd xmm0, qword [rax + 0x20]
movsd qword [0x140007800], xmm0
movups xmmword [0x1400077f0], xmm1
call qword [sym.imp.raylib.dll_LoadSound]
lea rdx, str.snd_repair.wav
lea rcx, [rbp - 0x60]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [0x140007808], xmm0
movsd xmm0, qword [rax + 0x20]
movsd qword [0x140007828], xmm0
movups xmmword [0x140007818], xmm1
call qword [sym.imp.raylib.dll_LoadSound]
lea rdx, str.snd_combo.wav
lea rcx, [rbp - 0x60]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [0x140007768], xmm0
movsd xmm0, qword [rax + 0x20]
movsd qword [0x140007788], xmm0
movups xmmword [0x140007778], xmm1
call qword [sym.imp.raylib.dll_LoadSound]
lea rdx, str.snd_progress.wav
lea rcx, [rbp - 0x30]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [0x140007670], xmm0
movsd xmm0, qword [rax + 0x20]
movsd qword [0x140007690], xmm0
movups xmmword [0x140007680], xmm1
call qword [sym.imp.raylib.dll_LoadSound]
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x30]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [0x140007790], xmm0
movsd xmm0, qword [rax + 0x20]
movsd qword [0x1400077b0], xmm0
movups xmm0, xmmword [rax]
movups xmmword [0x1400077a0], xmm1
movaps xmmword [rbp - 0x60], xmm0
movsd xmm0, qword [rax + 0x20]
movsd qword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x50], xmm1
call qword [sym.imp.raylib.dll_LoadSoundAlias]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [0x140007740], xmm0
movsd xmm0, qword [rax + 0x20]
movups xmmword [0x140007750], xmm1
lea rdx, str.snd_detection.wav
movsd qword [0x140007760], xmm0
lea rcx, [rbp - 0x60]
call qword [sym.imp.raylib.dll_LoadSound]
lea rdx, str.snd_explosion.wav
lea rcx, [rbp - 0x60]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [0x1400077b8], xmm0
movsd xmm0, qword [rax + 0x20]
movsd qword [0x1400077d8], xmm0
movups xmmword [0x1400077c8], xmm1
call qword [sym.imp.raylib.dll_LoadSound]
lea rdx, str.snd_fire.wav
lea rcx, [rbp - 0x60]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [0x1400076c0], xmm0
movsd xmm0, qword [rax + 0x20]
movsd qword [0x1400076e0], xmm0
movups xmmword [0x1400076d0], xmm1
call qword [sym.imp.raylib.dll_LoadSound]
xor ecx, ecx
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [0x140007698], xmm0
movsd xmm0, qword [rax + 0x20]
movsd qword [0x1400076b8], xmm0
movups xmmword [0x1400076a8], xmm1
call qword [sym.imp.raylib.dll_SetExitKey]
mov ecx, 0x1e
call qword [sym.imp.raylib.dll_SetTargetFPS]
call fcn.1400011f0
test al, al
je 0x140003539
nop
call fcn.140001950
test al, al
jne 0x140003530
call qword [sym.imp.USER32.dll_CloseWindow]
lea r8, [0x1400053d4]
mov qword [rbp - 0x60], 1
lea rdx, str.save.dat
mov qword [rbp - 0x50], rbx
lea rcx, [rbp - 0x50]
mov byte [rbp - 0x58], bl
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
movups xmm1, xmmword [rbp - 0x60]
mov r9, qword [rbp - 0x50]
movsd xmm0, qword [rbp - 0x50]
movsd qword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x30], xmm1
test r9, r9
je 0x1400035f1
psrldq xmm1, 8
lea rcx, [rbp - 0x30]
movd eax, xmm1
mov edx, 4
mov r8d, 1
test al, al
jne 0x1400035ad
mov r9, qword [rbp - 0x20]
mov dword [rbp - 0x30], r8d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x1400035b3
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp dword [rbp - 0x30], 1
jl 0x1400035e2
lea rcx, [0x140007738]
mov r9, qword [rbp - 0x20]
mov edx, 4
mov r8d, 1
cmp byte [rbp - 0x28], bl
je 0x1400035dc
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
jmp 0x1400035e2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1400035f1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140003620
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rbp
ret