Function at 0x140021660
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14005d030]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rdi, rcx
mov qword [rbp - 0x11], rcx
xor sil, sil
xor r15d, r15d
mov qword [rbp + 0x17], r15
mov rcx, qword [rcx]
test rcx, rcx
je 0x14002186a
mov rax, qword [rcx]
lea r8, [rbp + 0x17]
xor edx, edx
call qword [rax + 0x20]
test eax, eax
js 0x14002186a
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], rax
mov rcx, qword [rbp + 0x17]
mov rax, qword [rcx]
lea r8, [rbp - 9]
lea rdx, [0x140051348]
call qword [rax + 0x28]
test eax, eax
js 0x1400217b1
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f], xmm0
mov qword [rbp + 0x2f], r15
mov qword [rbp + 0x37], r15
mov rdx, qword [rbp - 1]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140021710
lea rcx, [rbp + 0x1f]
call fcn.140015710
lea rcx, [rbp + 0x1f]
mov rbx, qword [rbp + 0x1f]
mov r14, qword [rbp + 0x37]
cmp r14, 8
cmovae rcx, rbx
mov qword [rsp + 0x20], 7
lea r9, str.Realtek
mov rdx, qword [rbp + 0x2f]
call fcn.140015650
cmp rax, 0xffffffffffffffff
je 0x140021776
mov dword [0x14005da8c], r15d
lea rcx, str.DtsService::CodecSupport::RTK_Codec_Type
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov sil, 1
mov r14, qword [rbp + 0x37]
mov rbx, qword [rbp + 0x1f]
cmp r14, 8
jb 0x1400217b1
lea rdx, [r14*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400217a9
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400218bf
mov rcx, rbx
call fcn.140024800
lea rcx, [rbp - 9]
call qword [sym.imp.ole32.dll_PropVariantClear]
mov rcx, qword [rbp + 0x17]
test rcx, rcx
je 0x1400217ce
mov qword [rbp + 0x17], r15
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp dword [0x14005da8c], 0
je 0x140021865
mov qword [rbp + 0xf], r15
mov rcx, qword [rdi]
mov rax, qword [rcx]
lea r8, [rbp + 0xf]
xor edx, edx
call qword [rax + 0x20]
mov rcx, qword [rbp + 0xf]
test eax, eax
js 0x14002185a
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x1f], xmm0
mov qword [rbp + 0x2f], rax
mov rax, qword [rcx]
lea r8, [rbp + 0x1f]
lea rdx, [0x140051da8]
call qword [rax + 0x28]
test eax, eax
js 0x140021839
cmp word [rbp + 0x1f], 0
je 0x140021839
mov dword [0x14005da8c], 1
lea rcx, str.DtsService::CodecSupport::CMedia_Codec_Type
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov sil, 1
lea rcx, [rbp + 0x1f]
call qword [sym.imp.ole32.dll_PropVariantClear]
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x14002185a
mov qword [rbp + 0xf], r15
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x140021865
mov rax, qword [rcx]
call qword [rax + 0x10]
test sil, sil
jne 0x140021874
mov dword [0x14005da8c], 3
mov rcx, qword [rbp + 0x17]
test rcx, rcx
je 0x140021884
mov rdx, qword [rcx]
call qword [rdx + 0x10]
nop
mov rcx, qword [rdi]
test rcx, rcx
je 0x140021892
mov rdx, qword [rcx]
call qword [rdx + 0x10]
movzx eax, sil
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1400247e0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14002bf94
nop
int3