Function at 0x140060bf0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x1401a6c00]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov r15, r9
mov r14, r8
mov rdi, rdx
mov rsi, rcx
xor r12d, r12d
mov rbx, qword [rcx]
cmp qword [rbx + 0xa0], r12
je 0x140060c6d
mov eax, dword [rdx]
cmp dword [rbx + 0xb0], eax
jne 0x140060c6d
movzx eax, byte [rdx + 4]
cmp byte [rbx + 0xb4], al
jne 0x140060c6d
movzx eax, byte [rdx + 5]
cmp byte [rbx + 0xb5], al
jne 0x140060c6d
movzx eax, byte [rdx + 6]
cmp byte [rbx + 0xb6], al
jne 0x140060c6d
mov eax, dword [rdx + 8]
cmp dword [rbx + 0xb8], eax
je 0x140061013
lea rax, [0x140155450]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 3
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.1400610a0
nop
lea r8, [rbp - 0x80]
mov rdx, qword [rsi]
lea rcx, [rbp - 0x20]
call fcn.1400625d0
nop
lea rcx, [rbp - 0x80]
call fcn.1400457b0
mov dword [rsp + 0x20], r12d
lea rax, [0x1401a6430]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x20]
call fcn.140066870
cmp dword [rsp + 0x20], 0
jne 0x140061085
lea rcx, [rbp - 0x40]
call fcn.140064000
nop
lea rcx, str._audio.aac
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], Ordinal_17
mov rcx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x140060d04
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rax
vmovups xmm0, xmmword [rsp + 0x20]
vmovdqa xmmword [rbp - 0x80], xmm0
mov qword [rsp + 0x20], Ordinal_17
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
vmovups xmm0, xmmword [rsp + 0x20]
vmovdqa xmmword [rsp + 0x20], xmm0
vmovups xmm1, xmmword [rsp + 0x30]
vmovdqa xmmword [rsp + 0x30], xmm1
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140048a50
nop
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rax, qword [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.1400610a0
nop
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x20]
lea rcx, [rbp]
call fcn.1400625d0
nop
lea rcx, [rbp - 0x60]
call fcn.1400457b0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140060dea
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140060de5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140060de5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fcffc
vmovdqu xmm0, xmmword [0x140150990]
vmovdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140060e3b
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140060e36
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140060e36
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fcffc
vmovdqu xmm0, xmmword [0x140150990]
vmovdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
lea rdx, [rsp + 0x40]
lea rcx, [rbp]
call fcn.140066e50
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rcx, qword [rsp + 0x40]
lea rdx, [0x140155430]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rsi, rax
test rax, rax
je 0x140060f4b
lea rax, str._aac__Opened_file_
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], Ordinal_23
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rcx, qword [rsp + 0x40]
mov qword [rsp + 0x30], rcx
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
vmovups xmm0, xmmword [rsp + 0x30]
vmovdqa xmmword [rbp - 0x80], xmm0
mov qword [rsp + 0x30], Ordinal_17
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
vmovups xmm0, xmmword [rsp + 0x30]
vmovdqa xmmword [rsp + 0x30], xmm0
vmovups xmm1, xmmword [rsp + 0x20]
vmovdqa xmmword [rsp + 0x20], xmm1
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x60]
call fcn.140048a50
nop
lea rcx, [rbp - 0x60]
call fcn.140063970
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140060f4b
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140060f46
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140060f46
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fcffc
mov ecx, 8
call fcn.1400fcfc0
mov qword [rsp + 0x20], rax
test rax, rax
je 0x140060f64
mov qword [rax], rsi
jmp 0x140060f67
mov rax, r12
mov rsi, qword [rbx + 0xa0]
mov qword [rbx + 0xa0], rax
test rsi, rsi
je 0x140060f98
mov rcx, qword [rsi]
test rcx, rcx
je 0x140060f8b
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [rsi], r12
mov edx, 8
mov rcx, rsi
call fcn.1400fcffc
vmovsd xmm0, qword [rdi]
vmovsd qword [rbx + 0xb0], xmm0
mov eax, dword [rdi + 8]
mov dword [rbx + 0xb8], eax
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140060fed
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140060fe8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140060fe8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fcffc
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], reloc.portaudio.dll_Ordinal_15
mov byte [rsp + 0x40], 0
lea rcx, [rbp]
call fcn.1400457b0
nop
lea rcx, [rbp - 0x20]
call fcn.1400457b0
vmovups xmm0, xmmword [r14]
mov rax, qword [rbx + 0xa0]
mov r9, qword [rax]
test r9, r9
je 0x14006103d
vpextrq r8, xmm0, 1
mov edx, 1
vmovq rcx, xmm0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
vmovups xmm0, xmmword [r15]
mov rax, qword [rbx + 0xa0]
mov r9, qword [rax]
test r9, r9
je 0x140061067
vpextrq r8, xmm0, 1
mov edx, 1
vmovq rcx, xmm0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400fd350
add rsp, 0x130
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea r8, [rbp - 0x20]
lea rdx, [rsp + 0x20]
lea rcx, str.create_directories
call fcn.140065db0
int3