Function at 0x14001ec80
Capabilities:
Capture microphone audio
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [rcx]
mov edi, r9d
mov ebp, r8d
mov r14d, edx
mov rsi, rcx
call qword [rax + reloc.WS2_32.dll_htonl]
xor r15d, r15d
mov ebx, 1
mov eax, ebp
shl eax, 4
mov ecx, reloc.WS2_32.dll_recv
mov dword [rsi + 8], r14d
shr eax, 3
mov word [rsp + 0x30], bx
mov word [rsp + 0x32], bp
mov word [rsp + 0x3c], ax
movzx eax, ax
mov dword [rsp + 0x34], edi
mov word [rsp + 0x3e], cx
mov word [rsp + 0x40], r15w
mov r13d, r15d
imul eax, edi
mov dword [rsp + 0x38], eax
lea r12d, [rbx + 5]
cmp r14d, 0x7e
jne 0x14001eded
lea ecx, [rbx + 0x11]
call fcn.1401e37b4
lea rcx, [rsp + 0x30]
mov r12d, ebx
mov r11, rax
mov qword [rsi + 0xc0], rax
mov rax, qword [rcx]
mov qword [r11], rax
mov rax, qword [rcx + 8]
mov qword [r11 + 8], rax
movzx eax, word [rcx + 0x10]
mov word [r11 + 0x10], ax
mov ebp, r15d
mov rdi, r15
test r12d, r12d
jle 0x14001ede2
movsxd r14, r13d
mov r13d, dword [rsp + 0xa8]
movsxd r12, r12d
lea rbx, [rsi + 0x10]
mov rcx, qword [rbx]
test rcx, rcx
je 0x14001ed5f
call fcn.1401e36c8
lea rcx, [r13 + 0x30]
call fcn.1401e3610
xor ecx, ecx
mov qword [rbx], rax
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], rcx
mov rax, qword [rbx]
mov dword [rax + 8], r13d
mov rcx, qword [rbx]
lea rax, [rcx + 0x30]
mov qword [rcx], rax
mov rax, qword [rbx]
xor ecx, ecx
mov dword [rax + 0x18], ecx
mov rax, qword [rbx]
mov dword [rax + 0x1c], ecx
mov rax, qword [rbx]
movsxd rcx, ebp
mov qword [rax + 0x10], rcx
test r14, r14
je 0x14001edd0
mov rdx, qword [rbx]
mov rcx, qword [rsi + 0xb8]
mov r8d, gethostbyaddr
call qword [sym.imp.WINMM.dll_waveInPrepareHeader]
test eax, eax
jne 0x14001ef7f
inc rdi
inc ebp
add rbx, 8
cmp rdi, r12
jl 0x14001ed52
mov dword [rsi + 0xc], r15d
xor eax, eax
jmp 0x14001ef89
call fcn.1401e37b4
mov rbx, rax
test rax, rax
je 0x14001ee09
xor edx, edx
xor ecx, ecx
mov qword [rax], r15
call qword [sym.imp.ole32.dll_CoInitializeEx]
jmp 0x14001ee0c
mov rbx, r15
mov r9d, edi
mov r8d, ebp
mov edx, r14d
mov rcx, rbx
mov dword [rsp + 0x28], 0xffffffff
mov qword [rsi + 0xc8], rbx
mov dword [rsp + 0x20], r15d
call fcn.14001f100
test eax, eax
je 0x14001ee6b
cmp dword [reloc.WS2_32.dll_accept], 2
mov r12d, 1
jg 0x14001ed31
lea r9, str.Using_AEC...
lea rdx, str.....media_tavAudioChannel.cpp
lea ecx, [r12 + 1]
mov r8d, 0x275
call fcn.1400045a0
jmp 0x14001ed31
mov rbx, qword [rsi + 0xc8]
test rbx, rbx
je 0x14001ee93
mov rcx, qword [rbx]
test rcx, rcx
je 0x14001ee85
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, rbx
call fcn.1401e32b0
mov qword [rsi + 0xc8], r15
mov r13d, 1
cmp qword [rsi + 0xa0], r15
jne 0x14001ef86
mov r9, qword [rsi + 0xb0]
lea rax, [rsi + 0xa8]
lea r8, section..text
mov qword [rsp + 0x28], rax
mov edx, 0x80000
xor ecx, ecx
mov dword [rsp + 0x20], 0x10000
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 0xa0], rax
test rax, rax
je 0x14001eef3
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, r15d
cmp qword [rsi + 0xa0], rax
setne al
test eax, eax
je 0x14001ef86
mov r9d, dword [rsi + 0xa8]
lea rcx, [rsi + 0xb8]
lea r8, [rsp + 0x30]
mov edx, r14d
mov dword [rsp + 0x28], 0x20000
mov qword [rsp + 0x20], r15
call qword [sym.imp.WINMM.dll_waveInOpen]
mov ebx, eax
test eax, eax
je 0x14001ed31
cmp dword [reloc.WS2_32.dll_accept], r13d
jg 0x14001ef64
lea r9, str.Failed_to_open_record_channel._err_d
lea rdx, str.....media_tavAudioChannel.cpp
mov r8d, 0x299
mov ecx, r13d
mov dword [rsp + 0x20], eax
call fcn.1400045a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14001ef7a
bts ebx, 0x1f
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, r13d
jmp 0x14001ef89
mov eax, 2
jmp 0x14001ef89
or eax, 0xffffffff
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret