Function at 0x14001f970
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xf0
mov rax, qword [0x14005d030]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rdi, r9
mov r14, rcx
test edx, edx
jne 0x14001fce7
cmp r8d, 1
jne 0x14001fce7
test r9, r9
je 0x14001fce7
mov rbx, 0xffffffffffffffff
lea rsi, [rcx + 0x68]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [r9 + rax*2], 0
jne 0x14001f9d0
mov r15, qword [rsi + 0x18]
mov rcx, rsi
cmp r15, 8
jb 0x14001f9eb
mov rcx, qword [rsi]
mov rdx, qword [rsi + 0x10]
lea r12, [rsi + 0x10]
mov qword [rsp + 0x20], rax
call fcn.140015650
cmp rax, rbx
jne 0x14001fce7
xor r13d, r13d
mov rax, rsi
mov qword [r12], r13
cmp r15, 8
jb 0x14001fa19
mov rax, qword [rsi]
mov word [rax], r13w
nop dword [rax]
inc rbx
cmp word [rdi + rbx*2], r13w
jne 0x14001fa20
mov rax, qword [rsi + 0x18]
cmp rbx, rax
ja 0x14001fa58
cmp rax, 8
jb 0x14001fa3c
mov rsi, qword [rsi]
mov qword [r12], rbx
mov rdx, rdi
add rbx, rbx
mov rcx, rsi
mov r8, rbx
call fcn.140026830
mov word [rbx + rsi], r13w
jmp 0x14001fa66
mov r9, rdi
mov rdx, rbx
mov rcx, rsi
call fcn.140015b00
xor edx, edx
mov qword [rbp - 0x41], r13
lea rax, [rbp - 0x41]
mov qword [rbp - 0x49], r13
lea r9, [0x1400508a0]
mov qword [rsp + 0x20], rax
lea rcx, [0x14004edf0]
lea r8d, [rdx + 0x17]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14001fcc2
mov rcx, qword [rbp - 0x41]
lea r8, [rbp - 0x49]
mov rdx, rdi
mov rax, qword [rcx]
call qword [rax + 0x28]
test eax, eax
js 0x14001fcac
mov rcx, qword [rbp - 0x49]
mov qword [rsp + 0x48], rcx
test rcx, rcx
je 0x14001fac6
mov rax, qword [rcx]
call qword [rax + 8]
lea r8, [rsp + 0x48]
mov rdx, rdi
lea rcx, [rbp - 9]
call fcn.140021490
mov rcx, qword [rbp - 0x49]
mov dword [rsp + 0x48], 3
mov qword [rsp + 0x40], rcx
test rcx, rcx
je 0x14001faf3
mov rax, qword [rcx]
call qword [rax + 8]
cmp qword [rbp + 0xf], 8
lea rdx, [rbp - 9]
lea r9, [rsp + 0x40]
mov r8, rdi
cmovae rdx, qword [rbp - 9]
lea rcx, [rsp + 0x48]
call fcn.1400208d0
cmp byte [r14 + 0xb0], r13b
jne 0x14001fb7e
cmp dword [r14 + 0x10c], 1
jne 0x14001fb7e
mov rcx, qword [rbp - 0x49]
mov qword [rsp + 0x40], rcx
test rcx, rcx
je 0x14001fb3a
mov rax, qword [rcx]
call qword [rax + 8]
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x79]
call fcn.140014c90
mov rdx, qword [r14 + 0x98]
lea r9, [rsp + 0x40]
mov r8, rax
lea rcx, [r14 + 0xb0]
call fcn.1400218d0
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x79]
call fcn.140014c90
mov rdx, rax
lea rcx, [r14 + 0xb0]
call fcn.140021dc0
cmp qword [rbp + 0xf], 8
lea rcx, [rbp - 9]
mov ebx, dword [rsp + 0x48]
lea rdx, [rbp - 0x1d]
cmovae rcx, qword [rbp - 9]
mov dword [rbp - 0x31], 9
mov word [rbp - 0x2d], r13w
mov byte [rbp - 0x2b], r13b
mov dword [rbp - 0x29], 1
mov dword [rbp - 0x25], 1
mov word [rbp - 0x20], r13w
mov qword [rbp - 0x1d], r13
mov qword [rbp - 0x15], r13
mov dword [rbp - 0x39], 1
mov dword [rbp - 0x35], ebx
mov byte [rbp - 0x21], 1
call qword [sym.imp.ole32.dll_CLSIDFromString]
movups xmm0, xmmword [rbp - 0x1d]
mov rcx, qword [rbp - 0x49]
lea rdx, [rbp - 0x29]
movups xmmword [r14 + 0x88], xmm0
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rcx, qword [rbp - 0x49]
mov qword [rsp + 0x40], rcx
test rcx, rcx
je 0x14001fc01
mov rax, qword [rcx]
call qword [rax + 8]
lea rdx, [rsp + 0x40]
call fcn.140020630
mov byte [rbp - 0x2b], al
mov byte [r14 + 0x108], al
cmp ebx, 1
jne 0x14001fd10
mov byte [r14 + 0x12e], r13b
movups xmm0, xmmword [rbp - 0x39]
mov eax, dword [rbp - 0x11]
lea r8, [rbp - 0x79]
mov rcx, qword [r14 + 0x98]
mov rdx, rdi
movups xmm1, xmmword [rbp - 0x29]
mov dword [rbp - 0x51], eax
movaps xmmword [rbp - 0x79], xmm0
movsd xmm0, qword [rbp - 0x19]
mov rax, qword [rcx]
movaps xmmword [rbp - 0x69], xmm1
movsd qword [rbp - 0x59], xmm0
call qword [rax + 8]
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x14001fc6c
mov qword [rbp - 0x49], r13
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x14001fcac
mov rcx, qword [rbp - 9]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001fca7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001fd81
call fcn.140024800
mov rdx, qword [rbp - 0x41]
test rdx, rdx
je 0x14001fcc6
mov qword [rbp - 0x41], r13
mov rcx, rdx
mov rax, qword [rdx]
call qword [rax + 0x10]
mov rdx, qword [rbp - 0x41]
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x14001fcd9
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rdx, qword [rbp - 0x41]
test rdx, rdx
je 0x14001fce7
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
xor eax, eax
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400247e0
mov rbx, qword [rsp + 0x138]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp ebx, 2
jne 0x14001fc25
cmp dword [0x14005da8c], r13d
jne 0x14001fc25
mov rdx, qword [r14 + 0x120]
test rdx, rdx
je 0x14001fd44
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeleteTimerQueueTimer]
mov qword [r14 + 0x120], r13
lea rcx, str._nDtsService::DeviceWatcher::OnDefaultDeviceChanged::RTK_endpoint_has_external_speaker_form_factor
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [rsp + 0x30], r13d
lea r8, [0x140020580]
mov dword [rsp + 0x28], r13d
lea rcx, [r14 + 0x120]
mov r9, r14
mov dword [rsp + 0x20], 0x3e8
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
jmp 0x14001fc59
call fcn.14002bf94
int3