Function at 0x140063b40
Capabilities:
Contain obfuscated stackstrings
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x1401a6c00]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rbx, rdx
mov qword [rsp + 0x40], rdx
xor esi, esi
lea rdi, [rcx + 0x20]
mov dword [rsp + 0x30], esi
lea rax, [0x1401a6430]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140066870
cmp dword [rsp + 0x30], esi
jne 0x140063fe6
lea rcx, [rbp - 0x10]
call fcn.140064000
nop
lea rcx, str._audio.wav
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], Ordinal_17
mov rcx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x140063bc3
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
vmovups xmm0, xmmword [rsp + 0x30]
vmovdqa xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x30], Ordinal_17
lea rax, [rsp + 0x70]
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 - 0x30]
call fcn.140048a50
nop
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rax, qword [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp - 0x20]
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.1400610a0
nop
lea r8, [rbp - 0x80]
mov rdx, rdi
lea rcx, [rbp + 0x10]
call fcn.1400625d0
nop
lea rcx, [rbp - 0x80]
call fcn.1400457b0
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140063ca3
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140063c9e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140063c9e
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 - 0x20], xmm0
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x140063cf2
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140063ced
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140063ced
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], xmm0
mov byte [rbp - 0x10], 0
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x10]
call fcn.140066e50
nop
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rcx, qword [rsp + 0x50]
lea rdx, [0x140155430]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
lea r8, [rsp + 0x20]
lea rcx, [rbp - 0x80]
test rax, rax
jne 0x140063e0c
lea rax, str._audio__Failed_to_open_file_
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x1e
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
vmovups xmm0, xmmword [rsp + 0x20]
vmovdqa xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x20], Ordinal_17
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
vmovups xmm0, xmmword [rsp + 0x20]
vmovdqa xmmword [rsp + 0x20], xmm0
vmovups xmm1, xmmword [rsp + 0x40]
vmovdqa xmmword [rsp + 0x40], xmm1
lea rdx, [rsp + 0x40]
call fcn.140048a50
nop
lea rcx, [rbp - 0x80]
call fcn.1400637a0
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140063e04
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140063dff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140063dff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fcffc
mov rdi, rsi
jmp 0x140063f68
lea rax, str._audio__Opened_file_
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], Ordinal_23
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
vmovups xmm0, xmmword [rsp + 0x20]
vmovdqa xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x20], Ordinal_17
lea rax, [rsp + 0x70]
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 rdx, [rsp + 0x30]
call fcn.140048a50
nop
lea rcx, [rbp - 0x80]
call fcn.140063970
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140063ecb
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140063ec6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140063ec6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fcffc
mov ecx, esi
movzx r8d, byte [rsp + 0x45]
test r8b, r8b
setne cl
inc cx
movzx edx, byte [rsp + 0x44]
lea eax, [rdx*8]
mov dword [rbp - 0x60], 0x46464952
mov dword [rbp - 0x58], 0x45564157
mov dword [rbp - 0x54], 0x20746d66
mov qword [rbp - 0x3c], 0x61746164
mov r9d, Ordinal_17
mov dword [rbp - 0x50], r9d
mov r10d, 1
mov word [rbp - 0x4c], r10w
mov word [rbp - 0x4a], cx
mov dword [rbp - 0x48], ebx
mov word [rbp - 0x3e], ax
mov ecx, 8
test r8b, r8b
cmovne ecx, r9d
imul ecx, edx
mov eax, ecx
imul eax, ebx
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [rbp - 0x44], eax
shr ecx, 3
mov word [rbp - 0x40], cx
mov dword [rbp - 0x5c], 0x24
mov r9, rdi
mov r8d, r10d
lea edx, [r10 + 0x2b]
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140063fa8
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140063fa3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140063fa3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fcffc
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], reloc.portaudio.dll_Ordinal_15
mov byte [rsp + 0x50], 0
lea rcx, [rbp + 0x10]
call fcn.1400457b0
mov rax, rdi
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1400fd350
mov rbx, qword [rsp + 0x170]
add rsp, 0x140
pop rdi
pop rsi
pop rbp
ret
mov r8, rdi
lea rdx, [rsp + 0x30]
lea rcx, str.create_directories
call fcn.140065db0
int3