Function at 0x140064300
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x1401a6c00]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x70], rdx
xor r14d, r14d
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], reloc.portaudio.dll_Ordinal_15
mov byte [rsp + 0x78], r14b
cmp byte [rdx + 0x18], r14b
je 0x140064424
add rdx, 0x20
lea rcx, [rbp - 0x68]
call fcn.140012450
mov rdi, rax
lea rax, [rsp + 0x78]
cmp rax, rdi
je 0x1400643d7
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x1400643ad
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400643a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006440d
call fcn.1400fcffc
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], reloc.portaudio.dll_Ordinal_15
mov byte [rsp + 0x78], 0
vmovups ymm0, ymmword [rdi]
vmovups ymmword [rsp + 0x78], ymm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], reloc.portaudio.dll_Ordinal_15
mov byte [rdi], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x1400644db
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140064417
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140064417
vzeroupper
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
vzeroupper
call fcn.1400fcffc
jmp 0x1400644db
lea rax, str.content_type__.bin
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], Ordinal_23
movzx eax, byte [rdx + 0xe]
mov dword [rbp - 0x68], eax
movzx eax, word [rdx + 0x10]
mov dword [rbp - 0x58], eax
vmovups ymm0, ymmword [rbp - 0x68]
vmovups ymmword [rbp - 0x68], ymm0
mov qword [rsp + 0x30], 0x22
lea rax, [rbp - 0x68]
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]
vzeroupper
call fcn.140048a50
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x1400644d0
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400644cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400644cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fcffc
vmovups ymm0, ymmword [rbp]
vmovups ymmword [rsp + 0x78], ymm0
mov dword [rsp + 0x30], r14d
lea rax, [0x1401a6430]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
mov rcx, rsi
vzeroupper
call fcn.140066870
cmp dword [rsp + 0x30], 0
jne 0x140064ab4
lea rcx, [rbp]
call fcn.140064000
nop
lea rcx, [0x1401554f0]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], 8
mov rcx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x140064533
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rax
movzx eax, word [rbx]
mov dword [rsp + 0x50], eax
lea rax, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
cmova rax, qword [rsp + 0x78]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x68], rax
vmovups ymm0, ymmword [rsp + 0x40]
vmovups ymmword [rbp + 0x40], ymm0
vmovups xmm1, xmmword [rsp + 0x60]
vmovups xmmword [rbp + 0x60], xmm1
mov qword [rsp + 0x20], 0xd2d
lea rax, [rbp + 0x40]
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, [rbp - 0x20]
vzeroupper
call fcn.140048a50
nop
lea rax, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rax, qword [rbp - 0x20]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x68]
call fcn.1400610a0
nop
lea r8, [rbp - 0x68]
mov rdx, rsi
lea rcx, [rbp + 0x20]
call fcn.1400625d0
nop
lea rcx, [rbp - 0x68]
call fcn.1400457b0
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x140064644
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006463f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006463f
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 - 0x10], xmm0
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x140064693
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006468e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006468e
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 + 0x10], xmm0
mov byte [rbp], 0
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x20]
call fcn.140066e50
nop
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0xf
cmova rcx, qword [rbp - 0x48]
lea rdx, [0x140155430]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rsi, rax
test rax, rax
jne 0x140064874
lea rax, str._MOT__Failed_to_open_file_
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0x1c
lea rax, [rbp - 0x48]
cmp qword [rbp - 0x30], 0xf
cmova rax, qword [rbp - 0x48]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp - 0x38]
mov qword [rsp + 0x28], rax
vmovups xmm0, xmmword [rsp + 0x20]
vmovdqa xmmword [rbp - 0x20], xmm0
mov qword [rsp + 0x20], Ordinal_17
lea rax, [rbp - 0x20]
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, [rbp - 0x68]
call fcn.140048a50
nop
lea rcx, [rbp - 0x68]
call fcn.1400637a0
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x14006479c
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140064796
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140064796
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fcffc
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x1400647d7
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400647d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140064a48
call fcn.1400fcffc
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], reloc.portaudio.dll_Ordinal_15
mov byte [rbp - 0x48], 0
lea rcx, [rbp + 0x20]
call fcn.1400457b0
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x14006482d
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140064828
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140064aad
call fcn.1400fcffc
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], reloc.portaudio.dll_Ordinal_15
mov byte [rsp + 0x78], 0
lea rcx, [rbx + 0x70]
call fcn.14005b510
lea rcx, [rbx + 0x18]
call fcn.14002b0b0
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1400fd350
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov r9, rsi
mov rdi, qword [rbx + 0x90]
mov r8, rdi
mov edx, 1
mov rcx, qword [rbx + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, rdi
je 0x14006494a
lea rcx, str._MOT__Failed_to_write_bytes__
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], 0x21
mov qword [rbp], rax
mov qword [rbp + 0x10], rdi
vmovups ymm0, ymmword [rbp]
vmovups ymmword [rbp], ymm0
mov qword [rsp + 0x20], 0x44
lea rax, [rbp]
mov qword [rsp + 0x28], rax
vmovups xmm0, xmmword [rsp + 0x20]
vmovdqa xmmword [rbp - 0x20], xmm0
vmovups xmm1, xmmword [rsp + 0x30]
vmovdqa xmmword [rsp + 0x20], xmm1
lea r8, [rbp - 0x20]
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x68]
vzeroupper
call fcn.140048a50
nop
lea rcx, [rbp - 0x68]
call fcn.1400637a0
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x14006494a
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140064945
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140064945
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fcffc
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea rax, str._MOT__Wrote_file_
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], Ordinal_23
lea rax, [rbp - 0x48]
cmp qword [rbp - 0x30], 0xf
cmova rax, qword [rbp - 0x48]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp - 0x38]
mov qword [rsp + 0x28], rax
vmovups xmm0, xmmword [rsp + 0x20]
vmovdqa xmmword [rbp - 0x20], xmm0
mov qword [rsp + 0x20], Ordinal_17
lea rax, [rbp - 0x20]
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, [rbp - 0x68]
call fcn.140048a50
nop
lea rcx, [rbp - 0x68]
call fcn.140063970
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x140064a16
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140064a10
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140064a10
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fcffc
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x140064a54
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140064a4f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140064a4f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fcffc
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], reloc.portaudio.dll_Ordinal_15
mov byte [rbp - 0x48], 0
lea rcx, [rbp + 0x20]
call fcn.1400457b0
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x14006482d
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140064828
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140064828
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r8, rsi
lea rdx, [rsp + 0x30]
lea rcx, str.create_directories
call fcn.140065db0
int3