Function at 0x14009cf20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
push rbp
sub rsp, 0x48
movzx ebp, dl
mov rbx, rcx
call fcn.14009c2c0
test bpl, bpl
je 0x14009d03d
mov rcx, qword [rbx]
cmp word [rcx], 0
jne 0x14009cfa0
movups xmm0, xmmword [str.Open_recording_device]
mov eax, dword [0x140150838]
movsd xmm1, qword [0x140150850]
mov dword [0x1401a9230], eax
movzx eax, word [0x14015083c]
mov word [0x1401a9234], ax
movzx eax, byte [0x140150858]
movups xmmword [0x1401a9220], xmm0
mov byte [0x1401a9288], al
xor al, al
movups xmm0, xmmword [str.No_input_file_name_given]
movsd qword [0x1401a9280], xmm1
movups xmmword [0x1401a9270], xmm0
add rsp, 0x48
pop rbp
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14009d035
mov r8, qword [rbx]
lea rdx, str.The_file_already_exists__overwrite_it_
mov rcx, qword [rbx + 0x30]
mov r9d, 4
call fcn.140091170
cmp eax, 7
jne 0x14009d035
mov eax, dword [0x140150838]
movups xmm0, xmmword [str.Open_recording_device]
mov dword [0x1401a9230], eax
movzx eax, word [0x14015083c]
movsd xmm1, qword [0x1401508c0]
mov word [0x1401a9234], ax
mov eax, dword [0x1401508c8]
mov dword [0x1401a9288], eax
movzx eax, byte [0x1401508cc]
movups xmmword [0x1401a9220], xmm0
mov byte [0x1401a928c], al
xor al, al
movups xmm0, xmmword [str.Please_enter_a_new_file_name]
movsd qword [0x1401a9280], xmm1
movups xmmword [0x1401a9270], xmm0
add rsp, 0x48
pop rbp
pop rbx
ret
mov rcx, rbx
call fcn.14009c2a0
mov r9d, dword [0x1401913e4]
lea rcx, [0x1401949b8]
mov r8d, dword [0x1401a944c]
mov edx, dword [0x1401a9448]
mov qword [rsp + 0x40], rdi
xor edi, edi
mov dword [rsp + 0x20], edi
call fcn.14000cc70
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x14009d0d0
movups xmm0, xmmword [str.Open_recording_device]
mov eax, dword [0x140150838]
movups xmm1, xmmword [0x1401508e0]
mov rdi, qword [rsp + 0x40]
mov dword [0x1401a9230], eax
movzx eax, word [0x14015083c]
mov word [0x1401a9234], ax
movzx eax, byte [0x1401508f0]
movups xmmword [0x1401a9220], xmm0
mov byte [0x1401a9290], al
xor al, al
movups xmm0, xmmword [str.Couldnt_open_audio_input_device]
movups xmmword [0x1401a9280], xmm1
movups xmmword [0x1401a9270], xmm0
add rsp, 0x48
pop rbp
pop rbx
ret
mov ecx, 0xa0
mov qword [rsp + 0x60], rsi
call fcn.1400b6058
mov rsi, rax
test rax, rax
je 0x14009d188
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r15
test bpl, bpl
je 0x14009d120
mov rcx, qword [rbx + 0x30]
mov edx, 0x209
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, qword [rbx + 0x30]
mov edx, 0x208
mov r14, rax
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r15, rax
jmp 0x14009d126
mov r14, rdi
mov r15, rdi
mov rcx, qword [rbx + 0x30]
mov edx, 0x20a
call qword [sym.imp.USER32.dll_GetDlgItem]
movss xmm0, dword [0x140150a68]
xor r9d, r9d
movss dword [rsp + 0x28], xmm0
mov r8b, 1
mov rdx, rax
mov byte [rsp + 0x20], dil
mov rcx, rsi
call fcn.14009f0d0
lea rax, vtable.awOurVUMeterFilter.0
mov qword [rsi + 0x90], r15
mov r15, qword [rsp + 0x30]
mov qword [rsi], rax
lea rax, vtable.awOurVUMeterFilter.1.0
mov qword [rsi + 0x98], r14
mov r14, qword [rsp + 0x38]
mov qword [rsi + 0x18], rax
jmp 0x14009d18b
mov rsi, rdi
mov rcx, qword [rbx + 0x10]
lea rdx, [rsi + 0x18]
test rsi, rsi
mov qword [rbx + 0x18], rsi
cmove rdx, rdi
call fcn.140025910
mov rcx, qword [rbx + 0x30]
xor edx, edx
call fcn.140090390
mov edx, eax
mov rcx, rbx
call fcn.14009c4e0
test bpl, bpl
je 0x14009d2e5
lea r9, [rsp + 0x70]
mov dword [rsp + 0x68], edi
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x68]
lea rcx, [0x1401a9708]
call fcn.140023350
test al, al
je 0x14009d239
mov rcx, qword [rsp + 0x70]
lea rdx, str.Microsoft_wave
call fcn.1400f579c
lea rcx, [0x1401a9708]
test eax, eax
je 0x14009d21e
inc dword [rsp + 0x68]
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x68]
call fcn.140023350
test al, al
jne 0x14009d1e4
jmp 0x14009d239
mov eax, dword [rsp + 0x68]
lea rdx, [rbx + 0x20]
mov r8, qword [rbx]
lea r9, [0x14012dc78]
mov dword [rsp + 0x20], eax
call fcn.140022e00
mov rdi, qword [rbx + 0x20]
test rdi, rdi
jne 0x14009d303
mov r8, qword [rbx]
lea r9, [0x14012dc78]
lea rdx, [rbx + 0x20]
mov dword [rsp + 0x20], 0xfffffffe
lea rcx, [0x1401a9708]
call fcn.140022e00
mov rdi, qword [rbx + 0x20]
test rdi, rdi
jne 0x14009d303
mov eax, dword [0x140150838]
movups xmm0, xmmword [str.Open_recording_device]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x40]
mov dword [0x1401a9230], eax
movzx eax, word [0x14015083c]
mov word [0x1401a9234], ax
mov eax, dword [0x140150908]
mov dword [0x1401a9280], eax
movzx eax, word [0x14015090c]
mov word [0x1401a9284], ax
movzx eax, byte [0x14015090e]
movups xmmword [0x1401a9220], xmm0
mov byte [0x1401a9286], al
xor al, al
movups xmm0, xmmword [str.Couldnt_create_writer]
movups xmmword [0x1401a9270], xmm0
add rsp, 0x48
pop rbp
pop rbx
ret
mov ecx, 0x20
call fcn.1400b6058
test rax, rax
je 0x14009d2ff
mov rcx, rax
call fcn.14001ff80
mov rdi, rax
mov qword [rbx + 0x28], rdi
mov rcx, qword [rbx + 0x18]
mov rdx, rdi
call fcn.140025910
mov rcx, qword [rbx + 0x10]
mov rdx, rdi
call fcn.14000ced0
mov ecx, eax
shr ecx, 0x1f
test cl, cl
je 0x14009d37b
mov ecx, dword [0x140150838]
movups xmm0, xmmword [str.Open_recording_device]
mov dword [0x1401a9230], ecx
movzx ecx, word [0x14015083c]
mov word [0x1401a9234], cx
mov ecx, eax
movups xmmword [0x1401a9220], xmm0
call fcn.140027b90
mov rdx, rax
lea rcx, [0x1401a9270]
mov r8d, 0x190
call fcn.140101de8
mov rsi, qword [rsp + 0x60]
xor al, al
mov rdi, qword [rsp + 0x40]
add rsp, 0x48
pop rbp
pop rbx
ret
mov rsi, qword [rsp + 0x60]
mov al, 1
mov rdi, qword [rsp + 0x40]
add rsp, 0x48
pop rbp
pop rbx
ret