Function at 0x140019160
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xf0
mov rax, qword [0x140030010]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rdi, rcx
mov rbx, r8
xor ecx, ecx
mov r15, rdx
call qword [sym.imp.ole32.dll_CoInitialize]
mov rcx, r15
call fcn.140018e10
xor r12d, r12d
test al, al
je 0x140019872
mov rax, qword [rbx]
cmp rax, qword [0x140026a68]
jne 0x140019264
mov rax, qword [rbx + 8]
cmp rax, qword [0x140026a70]
jne 0x140019264
cmp dword [rbx + 0x10], r12d
jne 0x140019264
mov rdx, r15
lea rcx, [rbp - 0x29]
call fcn.140018f40
test al, al
je 0x140019869
mov eax, dword [rbp - 0x29]
lea rcx, [rbp - 0x79]
mov rdx, r15
mov dword [rbp + 3], eax
mov dword [rbp + 7], 8
mov word [rbp + 0xb], r12w
mov byte [rbp + 0xd], r12b
mov dword [rbp + 0xf], r12d
mov dword [rbp + 0x13], 1
mov byte [rbp + 0x17], 1
mov dword [rbp - 1], r12d
call fcn.14001ac30
movups xmm0, xmmword [rbp - 1]
lea rcx, [rdi + 8]
xor r8d, r8d
lea rdx, [rbp - 0x59]
movups xmm2, xmmword [rax]
movaps xmmword [rbp - 0x59], xmm0
movups xmmword [rbp + 0x1b], xmm2
movups xmm1, xmmword [rbp + 0xf]
movsd xmm0, qword [rbp + 0x1f]
psrldq xmm2, 0xc
movaps xmmword [rbp - 0x49], xmm1
movsd qword [rbp - 0x39], xmm0
movd dword [rbp - 0x31], xmm2
call fcn.14000ec60
jmp 0x140019869
mov rcx, r15
call fcn.14001b110
test al, al
je 0x140019869
mov esi, dword [rbx + 0x10]
xor r14b, r14b
cmp esi, 6
ja 0x140019292
mov eax, 0x52
bt eax, esi
jae 0x140019292
lea ecx, [rax + 0x12]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [rbx]
cmp rax, qword [0x1400269c8]
jne 0x1400192d6
mov rax, qword [rbx + 8]
cmp rax, qword [0x1400269d0]
jne 0x1400192d6
cmp esi, 4
jne 0x1400192d6
movups xmm0, xmmword [0x1400269c8]
mov eax, dword [reloc.OLEAUT32.dll_SysReAllocStringLen]
lea rcx, [rbp - 0x79]
mov rdx, r15
mov dword [rbp - 0x69], eax
movaps xmmword [rbp - 0x79], xmm0
call fcn.140019db0
mov dword [rdi + 0x68], eax
mov r14b, 1
mov rax, qword [rbx]
cmp rax, qword [0x1400269f8]
jne 0x14001931a
mov rax, qword [rbx + 8]
cmp rax, qword [0x140026a00]
jne 0x14001931a
cmp esi, 6
jne 0x14001931a
movups xmm0, xmmword [0x1400269f8]
mov eax, dword [reloc.OLEAUT32.dll_SysStringLen]
lea rcx, [rbp - 0x79]
mov rdx, r15
mov dword [rbp - 0x69], eax
movaps xmmword [rbp - 0x79], xmm0
call fcn.140019db0
mov dword [rdi + 0x70], eax
mov r14b, 1
mov rax, qword [rbx]
cmp rax, qword [0x140026a10]
jne 0x14001935f
mov rax, qword [rbx + 8]
cmp rax, qword [0x140026a18]
jne 0x14001935f
cmp esi, 1
jne 0x14001935f
movups xmm0, xmmword [0x140026a10]
mov eax, dword [0x140026a20]
lea rcx, [rbp - 0x79]
mov rdx, r15
mov dword [rbp - 0x69], eax
movaps xmmword [rbp - 0x79], xmm0
call fcn.140019db0
mov dword [rdi + 0x6c], eax
movzx r14d, sil
mov r8d, 0x4c
mov qword [rbp - 0x11], r12
lea rdx, str._DtsService::DeviceWatcher::OnPropertyValueChanged_Form_Property_information
mov qword [rbp - 9], 7
lea rcx, [rbp - 0x21]
mov word [rbp - 0x21], r12w
call fcn.14000f6a0
mov r8d, dword [rdi + 0x6c]
lea r9, [rbp + 0x29]
nop
sub r9, 2
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r9], r8w
mov r8d, edx
test edx, edx
jne 0x140019390
lea rax, [rbp + 0x29]
mov qword [rbp - 0x69], r12
mov qword [rbp - 0x61], 7
mov word [rbp - 0x79], r12w
cmp r9, rax
je 0x1400193f0
lea r8, [rbp + 0x29]
mov rdx, r9
sub r8, r9
lea rcx, [rbp - 0x79]
sar r8, 1
call fcn.14000f500
lea r8, [rbp - 0x79]
lea rdx, str._Redirect_HeadphoneMode
lea rcx, [rbp - 0x59]
call fcn.14000f8a0
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x140019411
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rbp - 0x21]
call fcn.14000f6a0
mov rdx, qword [rbp - 0x41]
cmp rdx, 8
jb 0x14001945a
mov rcx, qword [rbp - 0x59]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019455
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400194a2
call fcn.14001d9e0
mov rdx, qword [rbp - 0x61]
mov qword [rbp - 0x49], r12
mov qword [rbp - 0x41], 7
mov word [rbp - 0x59], r12w
cmp rdx, 8
jb 0x1400194ae
mov rcx, qword [rbp - 0x79]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400194a9
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400194a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001d9e0
mov r8d, dword [rdi + 0x70]
lea r9, [rbp + 0x29]
nop word [rax + rax]
sub r9, 2
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r9], r8w
mov r8d, edx
test edx, edx
jne 0x1400194c0
lea rax, [rbp + 0x29]
mov qword [rbp - 0x69], r12
mov qword [rbp - 0x61], 7
mov word [rbp - 0x79], r12w
cmp r9, rax
je 0x140019520
lea r8, [rbp + 0x29]
mov rdx, r9
sub r8, r9
lea rcx, [rbp - 0x79]
sar r8, 1
call fcn.14000f500
lea r8, [rbp - 0x79]
lea rdx, str._InternalSpeakerMode
lea rcx, [rbp - 0x59]
call fcn.14000f8a0
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x140019541
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rbp - 0x21]
call fcn.14000f6a0
mov rdx, qword [rbp - 0x41]
cmp rdx, 8
jb 0x14001958a
mov rcx, qword [rbp - 0x59]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019585
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400195d2
call fcn.14001d9e0
mov rdx, qword [rbp - 0x61]
mov qword [rbp - 0x49], r12
mov qword [rbp - 0x41], 7
mov word [rbp - 0x59], r12w
cmp rdx, 8
jb 0x1400195de
mov rcx, qword [rbp - 0x79]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400195d9
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400195d9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001d9e0
mov r8d, dword [rdi + 0x68]
lea r9, [rbp + 0x29]
nop word [rax + rax]
sub r9, 2
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r9], r8w
mov r8d, edx
test edx, edx
jne 0x1400195f0
lea rax, [rbp + 0x29]
mov qword [rbp - 0x69], r12
mov qword [rbp - 0x61], 7
mov word [rbp - 0x79], r12w
cmp r9, rax
je 0x140019650
lea r8, [rbp + 0x29]
mov rdx, r9
sub r8, r9
lea rcx, [rbp - 0x79]
sar r8, 1
call fcn.14000f500
lea r8, [rbp - 0x79]
lea rdx, str._HeadphoneMode
lea rcx, [rbp - 0x59]
call fcn.14000f8a0
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x140019671
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rbp - 0x21]
call fcn.14000f6a0
mov rdx, qword [rbp - 0x41]
cmp rdx, 8
jb 0x1400196ba
mov rcx, qword [rbp - 0x59]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400196b5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019702
call fcn.14001d9e0
mov rdx, qword [rbp - 0x61]
mov qword [rbp - 0x49], r12
mov qword [rbp - 0x41], 7
mov word [rbp - 0x59], r12w
cmp rdx, 8
jb 0x14001970e
mov rcx, qword [rbp - 0x79]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019709
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140019709
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001d9e0
test r14b, r14b
jne 0x140019720
cmp byte [0x140030068], r12b
jne 0x140019826
mov r8d, dword [rdi + 0x70]
mov edx, dword [rdi + 0x6c]
mov ecx, dword [rdi + 0x68]
mov qword [rsp + 0x20], r15
call fcn.14001b820
mov r14d, eax
cmp dword [rdi + 0xbc], eax
jne 0x14001974c
cmp byte [0x140030068], r12b
jne 0x14001981f
mov rdx, qword [rdi + 0xc0]
test rdx, rdx
je 0x14001976a
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeleteTimerQueueTimer]
mov qword [rdi + 0xc0], r12
cmp qword [rbp - 9], 8
lea rcx, [rbp - 0x21]
cmovae rcx, qword [rbp - 0x21]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp r14d, 2
je 0x1400197f4
mov rdx, r15
mov dword [rbp + 7], 8
lea rcx, [rbp - 0x79]
mov word [rbp + 0xb], r12w
mov byte [rbp + 0xd], r12b
mov dword [rbp + 0xf], r12d
mov dword [rbp + 0x13], 1
mov dword [rbp - 1], r12d
mov byte [rbp + 0x17], 1
mov dword [rbp + 3], r14d
call fcn.14001ac30
movups xmm0, xmmword [rbp - 1]
lea rcx, [rdi + 8]
xor r8d, r8d
lea rdx, [rbp - 0x59]
movups xmm2, xmmword [rax]
movaps xmmword [rbp - 0x59], xmm0
movups xmmword [rbp + 0x1b], xmm2
movups xmm1, xmmword [rbp + 0xf]
movsd xmm0, qword [rbp + 0x1f]
psrldq xmm2, 0xc
movaps xmmword [rbp - 0x49], xmm1
movsd qword [rbp - 0x39], xmm0
movd dword [rbp - 0x31], xmm2
call fcn.14000ec60
jmp 0x14001981f
mov dword [rsp + 0x30], r12d
lea r8, [0x140019ae0]
mov dword [rsp + 0x28], r12d
lea rcx, [rdi + 0xc0]
mov r9, rdi
mov dword [rsp + 0x20], 0x3e8
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
mov dword [rdi + 0xbc], r14d
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x140019869
mov rcx, qword [rbp - 0x21]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019864
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140019864
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001d9e0
cmp byte [rdi + 0xd0], r12b
je 0x14001987f
cmp byte [rdi + 0xd0], r12b
je 0x140019a1e
mov rax, qword [rbx]
xor cl, cl
cmp rax, qword [0x140025fb8]
jne 0x1400198a9
mov rax, qword [rbx + 8]
cmp rax, qword [0x140025fc0]
jne 0x1400198a9
cmp dword [rbx + 0x10], 6
mov eax, 1
movzx ecx, cl
cmove ecx, eax
mov rax, qword [rbx]
cmp rax, qword [0x140025fe8]
jne 0x1400198c8
mov rax, qword [rbx + 8]
cmp rax, qword [0x140025ff0]
jne 0x1400198c8
cmp dword [rbx + 0x10], 6
je 0x1400198d0
test cl, cl
je 0x140019a1e
movups xmm0, xmmword [0x140025fb8]
mov eax, dword [reloc.OLEAUT32.dll_SysStringLen]
lea rcx, [rbp - 0x79]
mov rdx, r15
mov dword [rbp - 0x69], eax
movaps xmmword [rbp - 0x79], xmm0
call fcn.140019b60
mov ecx, dword [0x140025ff8]
mov rdx, r15
movups xmm0, xmmword [0x140025fe8]
mov dword [rbp - 0x69], ecx
mov ebx, eax
lea rcx, [rbp - 0x79]
movaps xmmword [rbp - 0x79], xmm0
call fcn.140019b60
cmp ebx, 3
sete cl
je 0x140019920
cmp eax, 3
sete cl
mov byte [rdi + 0xb8], cl
mov rdx, r15
lea rcx, [rbp - 0x79]
mov dword [rbp + 3], 3
mov dword [rbp + 7], 8
mov word [rbp + 0xb], r12w
mov dword [rbp + 0xf], r12d
mov dword [rbp + 0x13], 1
mov byte [rbp + 0x17], 1
mov dword [rbp - 1], 4
call fcn.14001ac30
movups xmm0, xmmword [rax]
movzx eax, byte [rdi + 0xb8]
mov byte [rbp + 0xd], al
movups xmmword [rbp + 0x1b], xmm0
test al, al
jne 0x1400199ee
mov r8d, 0x34
mov qword [rbp - 0x11], r12
lea rdx, str.DtsService::DeviceWatcher::_5.1_configuration_is_set
mov qword [rbp - 9], 7
lea rcx, [rbp - 0x21]
mov word [rbp - 0x21], r12w
call fcn.14000f6a0
cmp qword [rbp - 9], 8
lea rcx, [rbp - 0x21]
cmovae rcx, qword [rbp - 0x21]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x1400199ee
mov rcx, qword [rbp - 0x21]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400199e9
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400199e9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001d9e0
movups xmm0, xmmword [rbp - 1]
mov eax, dword [rbp + 0x27]
lea rcx, [rdi + 8]
movups xmm1, xmmword [rbp + 0xf]
lea rdx, [rbp - 0x59]
xor r8d, r8d
movaps xmmword [rbp - 0x59], xmm0
movsd xmm0, qword [rbp + 0x1f]
movsd qword [rbp - 0x39], xmm0
movaps xmmword [rbp - 0x49], xmm1
mov dword [rbp - 0x31], eax
call fcn.14000ec60
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14001d660
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret