Function at 0x140034a40
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1c8]
sub rsp, 0x2a0
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
movaps xmmword [rax - 0xb8], xmm14
mov rax, qword [0x14011f010]
xor rax, rsp
mov qword [rbp + 0x100], rax
xor r15d, r15d
mov dword [rsp + 0x40], r15d
call fcn.14000adc0
mov rcx, rax
call fcn.140077520
call fcn.14000adc0
cmp dword [rax + 0x138], r15d
jne 0x140034b11
cmp dword [0x140125c9c], r15d
je 0x140034b11
cmp dword [0x140125c98], r15d
jne 0x140034af8
mov rax, qword [0x14011faa0]
test byte [rax + 0x1c], 1
je 0x140034b11
mov r8d, 0x3c
lea rdx, str.CMMPlatform::AudioDevList_GetHeadPosition
lea rcx, str._s__d_please_call_AudioDevList_AddRef_before_AudioDevList_GetHeadPosition
call fcn.14004c3d0
call fcn.14000adc0
mov r12, qword [rax + 0xd8]
test r12, r12
je 0x140035b9a
movss xmm8, dword [0x1400f4108]
movss xmm10, dword [0x1400f4164]
movss xmm13, dword [0x1400f4160]
movss xmm12, dword [0x1400f41d0]
movss xmm9, dword [0x1400f4190]
movss xmm14, dword [0x1400f418c]
movss xmm11, dword [0x1400f41a4]
call fcn.14000adc0
call fcn.14000adc0
test r12, r12
je 0x140035c3d
mov r13, qword [r12 + 0x10]
mov r12, qword [r12]
test r13, r13
je 0x140034ef7
cmp dword [r13 + 0x194], 0
je 0x14003510e
lea rcx, [r13 + 0xc8]
call fcn.14000f590
mov r15, rax
test rax, rax
je 0x140034ef4
call fcn.14000ac00
test dword [rax + 0xac], 0x100
je 0x14003503d
mov r8, qword [r15]
xor edx, edx
mov rcx, r15
call qword [r8 + 0x10]
mov r9, qword [r13 + 0x10]
mov r8d, 0xf10
lea rdx, str.CCustomizeHP::RestoreAllAudioDeviceMMLineCtrlsSettings
lea rcx, [0x1400d2910]
call fcn.14004c3d0
call fcn.14000ac00
mov r9d, dword [rax + 0x22c]
mov r8d, 0xf11
lea rdx, str.CCustomizeHP::RestoreAllAudioDeviceMMLineCtrlsSettings
lea rcx, str._s__d_GlobalPolicy.UWPguiType__d_
call fcn.14004c3d0
call fcn.14000ac00
cmp dword [rax + 0x22c], 0x33
jl 0x140034ef4
mov rcx, r13
call fcn.14000e3c0
mov dword [rsp + 0x20], eax
mov r9, qword [r13 + 0x10]
mov r8d, 0xf14
lea rdx, str.CCustomizeHP::RestoreAllAudioDeviceMMLineCtrlsSettings
lea rcx, str._s__d__s___IsRtkApoRegistered_____d
call fcn.14004c3d0
mov rcx, r13
call fcn.14000e3c0
test eax, eax
je 0x140034fd4
xor r14d, r14d
mov dword [rbp + 0x10], r14d
xorps xmm7, xmm7
xor r9d, r9d
lea r8, [rbp + 0x10]
lea rdx, [0x1400c2b50]
lea rcx, [r13 + 0x10]
call fcn.140002920
test eax, eax
jne 0x140034e67
mov qword [rbp], r14
mov dword [rbp + 0x34], 3
mov dword [rbp + 0x38], 4
mov rcx, qword [r13 + 0x128]
sub rcx, 0x18
call fcn.140006110
lea rbx, [rax + 0x18]
mov qword [rbp + 0x60], rbx
cmp dword [rbx - 0x10], r14d
jl 0x140034d13
lea rdx, [0x1400d290c]
mov rcx, rbx
call fcn.1400aa2c0
test rax, rax
je 0x140034d13
sub rax, rbx
sar rax, 1
test eax, eax
js 0x140034d13
cmp dword [rbx - 0x10], r14d
jge 0x140034ce1
lea eax, [r14 - 1]
jmp 0x140034d02
lea rdx, [0x1400d290c]
mov rcx, rbx
call fcn.1400aa2c0
test rax, rax
jne 0x140034cfc
mov eax, 0xffffffff
jmp 0x140034d02
sub rax, rbx
sar rax, 1
lea r8d, [rax + 1]
lea rcx, [rbp + 0x60]
call fcn.140037d20
mov rbx, qword [rbp + 0x60]
mov qword [rbp + 0x18], r14
lea rdi, [rbx - 0x18]
mov rcx, rdi
call fcn.140006110
add rax, 0x18
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x18]
call fcn.140076be0
nop
lea rax, [rbp]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rbp + 0x18]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov ebx, eax
mov rcx, qword [rbp + 0x18]
mov qword [rsp + 0x20], rcx
mov r9, qword [r13 + 0x10]
mov r8d, 0xf29
lea rdx, str.CCustomizeHP::RestoreAllAudioDeviceMMLineCtrlsSettings
lea rcx, str._s__d__s__sDriverSettings__s
call fcn.14004c3d0
test ebx, ebx
jne 0x140034e11
mov rcx, qword [rbp]
test rcx, rcx
je 0x140034e02
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x34]
xor r8d, r8d
lea rdx, str.DefaultFakeVolume
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rbp]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov r9d, dword [rbp + 0x10]
mov r8d, 0xf32
lea rdx, str.CCustomizeHP::RestoreAllAudioDeviceMMLineCtrlsSettings
lea rcx, str._s__d_DefaultFakeVolume__d_
call fcn.14004c3d0
mov dword [rsp + 0x20], r14d
xor r9d, r9d
mov r8d, dword [rbp + 0x10]
lea rdx, [0x1400c2b50]
lea rcx, [r13 + 0x10]
call fcn.140002af0
jmp 0x140034e2b
mov r8d, 0xf39
lea rcx, str._s__d_fail_to_get_DefaultFakeVolume
jmp 0x140034e1e
mov r8d, 0xf3e
lea rcx, str._s__d_fail_to_get_RegOpenKeyEx
lea rdx, str.CCustomizeHP::RestoreAllAudioDeviceMMLineCtrlsSettings
call fcn.14004c3d0
nop
mov rdx, qword [rbp + 0x18]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140034e4c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov eax, 0xffffffff
lock xadd dword [rdi + 0x10], eax
sub eax, 1
jg 0x140034e67
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r9d, dword [rbp + 0x10]
mov r8d, 0xf42
lea rdx, str.CCustomizeHP::RestoreAllAudioDeviceMMLineCtrlsSettings
lea rcx, str._s__d_nDefVal__d_
call fcn.14004c3d0
mov eax, dword [rbp + 0x10]
test eax, eax
je 0x140034e97
movd xmm7, eax
cvtdq2ps xmm7, xmm7
mulss xmm7, xmm8
cvtps2pd xmm6, xmm7
movsd qword [rsp + 0x28], xmm6
mov dword [rsp + 0x20], eax
mov r9, qword [r13 + 0x10]
mov r8d, 0xf49
lea rdx, str.CCustomizeHP::RestoreAllAudioDeviceMMLineCtrlsSettings
lea rcx, str._s__d__s_nDefVal__d_db__fDefaultVoldB__f_db
call fcn.14004c3d0
mov rax, qword [r15]
movaps xmm1, xmm7
mov rcx, r15
call qword [rax + 0x78]
test eax, eax
jne 0x140034ef4
movsd qword [rsp + 0x20], xmm6
mov r9, qword [r13 + 0x10]
mov r8d, 0xf4e
lea rdx, str.CCustomizeHP::RestoreAllAudioDeviceMMLineCtrlsSettings
lea rcx, str._s__d__s_fail_to_set_IntelDMIC__f_db
call fcn.14004c3d0
xor r15d, r15d
cmp dword [r13 + 0x1ac], 4
jne 0x140035556
mov rcx, qword [r13 + 0x128]
cmp dword [rcx - 0x10], 0
jl 0x140034f31
lea rdx, str.VEN_1002
call fcn.1400aa2c0
test rax, rax
je 0x140034f31
sub rax, qword [r13 + 0x128]
sar rax, 1
test eax, eax
jns 0x140034f69
mov rcx, qword [r13 + 0x128]
cmp dword [rcx - 0x10], 0
jl 0x140035556
lea rdx, str.VEN_1022
call fcn.1400aa2c0
test rax, rax
je 0x140035556
sub rax, qword [r13 + 0x128]
sar rax, 1
test eax, eax
js 0x140035556
cmp dword [r13 + 0x184], 0
jne 0x140035556
mov dword [rbp + 0x14], r15d
movaps xmm6, xmm14
lea rcx, [r13 + 0xc8]
call fcn.14000f590
mov r14, rax
mov ebx, r15d
xor r9d, r9d
lea r8, [rbp + 0xb0]
lea rdx, [0x1400c2b50]
lea rcx, [r13 + 0x10]
call fcn.140003070
test eax, eax
je 0x14003532d
cmp word [rbp + 0xb0], 0x13
jne 0x140035297
mov eax, dword [rbp + 0xb8]
mov dword [rbp + 0x14], eax
mov ebx, 1
jmp 0x140035318
mov rax, qword [r15]
movaps xmm1, xmm10
mov rcx, r15
call qword [rax + 0x78]
test eax, eax
jne 0x140034ef4
mov r9, qword [r13 + 0x10]
mov r8d, 0xf57
lea rdx, str.CCustomizeHP::RestoreAllAudioDeviceMMLineCtrlsSettings
lea rcx, str._s__d__s_fail_to_set_IntelDMIC_6.0db__try_5.99db
call fcn.14004c3d0
mov rax, qword [r15]
movaps xmm1, xmm13
mov rcx, r15
call qword [rax + 0x78]
test eax, eax
jne 0x140034ef4
mov r9, qword [r13 + 0x10]
mov r8d, 0xf5c
lea rdx, str.CCustomizeHP::RestoreAllAudioDeviceMMLineCtrlsSettings
lea rcx, str._s__d__s_fail_to_set_IntelDMIC_5.99db
call fcn.14004c3d0
jmp 0x140034ef4
movaps xmm6, xmm12
mov dword [rsp + 0x50], 0
xor ebx, ebx
mov dword [rsp + 0x44], ebx
xor r9d, r9d
lea r8, [rsp + 0x50]
lea rdx, [0x1400c2b80]
lea rcx, [r13 + 0x10]
call fcn.140002920
test eax, eax
je 0x140035092
xor r9d, r9d
lea r8, [rsp + 0x44]
lea rdx, [0x1400c2b68]
lea rcx, [r13 + 0x10]
call fcn.140002920
mov ebx, dword [rsp + 0x44]
test eax, eax
je 0x140035092
mov edi, 1
jmp 0x140035094
xor edi, edi
mov dword [rsp + 0x28], ebx
mov esi, dword [rsp + 0x50]
mov dword [rsp + 0x20], esi
mov r9d, edi
mov r8d, 0xf6b
lea rdx, str.CCustomizeHP::RestoreAllAudioDeviceMMLineCtrlsSettings
lea rcx, str._s__d_bSuccess_d_RtkApoVolCustomize_d_RtkApoVolCustomize_1_d
call fcn.14004c3d0
test edi, edi
je 0x1400350cd
cmp esi, 1
jne 0x1400350cd
cmp ebx, esi
jne 0x1400350cd
movaps xmm6, xmm9
mov rax, qword [r15]
movaps xmm1, xmm6
mov rcx, r15
call qword [rax + 0x78]
mov rax, qword [r15]
xor edx, edx
mov rcx, r15
call qword [rax + 0x10]
xorps xmm0, xmm0
cvtss2sd xmm0, xmm6
movsd qword [rsp + 0x20], xmm0
mov r9, qword [r13 + 0x10]
mov r8d, 0xf75
lea rdx, str.CCustomizeHP::RestoreAllAudioDeviceMMLineCtrlsSettings
lea rcx, str._s__d__s_IntelDMIC_SetDBLevel__f__SetMute_FALSE_
jmp 0x140034eef
cmp dword [r13 + 0x184], 0
je 0x140034ef7
cmp dword [r13 + 0x1ac], 4
jne 0x140035556
call fcn.140004540
mov rcx, rax
test rax, rax
je 0x140035c53
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov rdi, rax
lea rcx, [rax + 0x18]
mov qword [rbp + 0xf8], rcx
lea rcx, [r13 + 0xc8]
call fcn.14000f590
mov rsi, rax
test rax, rax
je 0x140035273
call fcn.140004540
test rax, rax
je 0x140035c48
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp + 0x58], rax
lea rdx, [rbp + 0x58]
mov rcx, r13
call fcn.140015070
mov rbx, qword [rbp + 0x58]
cmp dword [rbx - 0x10], 0
je 0x140035256
mov qword [rbp + 0x44], r15
mov dword [rbp + 0x40], SafeArrayDestroy
mov dword [rsp + 0x5c], r15d
movups xmm0, xmmword [0x1400c2320]
movaps xmmword [rbp - 0x40], xmm0
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], SafeArrayDestroy
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
mov r9d, 4
lea r8, [rbp - 0x40]
xor edx, edx
mov rcx, rbx
call fcn.140074800
movd xmm7, dword [rbp + 0x44]
cvtdq2ps xmm7, xmm7
mulss xmm7, xmm8
movd xmm6, dword [rbp + 0x48]
cvtdq2ps xmm6, xmm6
mulss xmm6, xmm8
movaps xmm1, xmm6
mov rcx, rsi
call fcn.14005cb80
cvtps2pd xmm0, xmm6
cvtps2pd xmm2, xmm7
movsd qword [rsp + 0x28], xmm0
movsd qword [rsp + 0x20], xmm2
mov r9, qword [r13 + 0x10]
mov r8d, 0xfa1
lea rdx, str.CCustomizeHP::RestoreAllAudioDeviceMMLineCtrlsSettings
lea rcx, str._s__d__s_Soundwire_SetDBLevel__f__SetBoostVol__f__SetMute_FALSE_
call fcn.14004c3d0
mov rax, qword [rsi]
movaps xmm1, xmm7
mov rcx, rsi
call qword [rax + 0x78]
mov rax, qword [rsi]
xor edx, edx
mov rcx, rsi
call qword [rax + 0x10]
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140035273
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov eax, 0xffffffff
lock xadd dword [rdi + 0x10], eax
sub eax, 1
jg 0x140034ef7
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140034ef7
cmp dword [0x140125c9c], 0
je 0x140035318
cmp dword [0x140125c98], 0
jne 0x1400352b6
mov rax, qword [0x14011faa0]
test byte [rax + 0x1c], 1
je 0x140035318
lea rdx, [0x1400c2b50]
lea rcx, [rbp - 0x50]
call fcn.1400439e0
nop
movzx ecx, word [rbp + 0xb0]
mov dword [rsp + 0x28], ecx
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov r9, qword [r13 + 0x10]
mov r8d, 0x2f
lea rdx, str.CApoPolicyCfgClient::GetUI4Property
lea rcx, str._s__d_EpId_s_PKEY_s_varData.vt_d
call fcn.14004c3d0
nop
mov rdx, qword [rbp - 0x50]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140035318
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp + 0xb0]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_PropVariantClear]
test ebx, ebx
jne 0x1400354ec
mov qword [rbp + 8], r15
mov dword [rbp + 0x2c], 3
mov dword [rbp + 0x30], 4
mov rcx, qword [r13 + 0x128]
sub rcx, 0x18
call fcn.140006110
lea rbx, [rax + 0x18]
mov qword [rbp + 0x50], rbx
cmp dword [rbx - 0x10], 0
jl 0x1400353ba
lea rdx, [0x1400d290c]
mov rcx, rbx
call fcn.1400aa2c0
test rax, rax
je 0x1400353ba
sub rax, rbx
sar rax, 1
test eax, eax
js 0x1400353ba
cmp dword [rbx - 0x10], 0
jge 0x140035388
mov eax, 0xffffffff
jmp 0x1400353a9
lea rdx, [0x1400d290c]
mov rcx, rbx
call fcn.1400aa2c0
test rax, rax
jne 0x1400353a3
mov eax, 0xffffffff
jmp 0x1400353a9
sub rax, rbx
sar rax, 1
lea r8d, [rax + 1]
lea rcx, [rbp + 0x50]
call fcn.140037d20
mov rbx, qword [rbp + 0x50]
mov qword [rbp + 0x20], r15
lea rdi, [rbx - 0x18]
mov rcx, rdi
call fcn.140006110
add rax, 0x18
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x20]
call fcn.140076be0
nop
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rbp + 0x20]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400354b0
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x1400354b0
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x14]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x2c]
xor r8d, r8d
lea rdx, str.DefaultCustomVolume
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rbp + 8]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ebx, dword [rbp + 0x14]
mov dword [rsp + 0x54], r15d
xor r9d, r9d
lea r8, [rsp + 0x54]
lea rdx, [0x1400c2b50]
lea rcx, [r13 + 0x10]
call fcn.140002920
test eax, eax
je 0x140035474
cmp dword [rsp + 0x54], ebx
je 0x1400354b0
xor eax, eax
mov qword [rbp + 0x68], rax
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rax
mov eax, SafeArrayUnaccessData
mov word [rbp + 0x68], ax
mov dword [rbp + 0x70], ebx
xor r9d, r9d
lea r8, [rbp + 0x68]
lea rdx, [0x1400c2b50]
lea rcx, [r13 + 0x10]
call fcn.140003500
lea rcx, [rbp + 0x68]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_PropVariantClear]
nop
mov rdx, qword [rbp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400354d1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov eax, 0xffffffff
lock xadd dword [rdi + 0x10], eax
sub eax, 1
jg 0x1400354ec
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rbp + 0x14]
test eax, eax
je 0x1400354ff
movd xmm6, eax
cvtdq2ps xmm6, xmm6
mulss xmm6, xmm8
movups xmm0, xmmword [0x1400c94e0]
movaps xmmword [rbp - 0x20], xmm0
mov rax, qword [r14]
lea r8, [rbp - 0x20]
movaps xmm1, xmm6
mov rcx, r14
call qword [rax + 0x30]
mov rax, qword [r14]
xor edx, edx
mov rcx, r14
call qword [rax + 0x10]
xorps xmm0, xmm0
cvtss2sd xmm0, xmm6
mov eax, dword [rbp + 0x14]
mov dword [rsp + 0x28], eax
movsd qword [rsp + 0x20], xmm0
mov r9, qword [r13 + 0x10]
mov r8d, 0xfd7
lea rdx, str.CCustomizeHP::RestoreAllAudioDeviceMMLineCtrlsSettings
lea rcx, str._s__d__s_IntelDMIC_SetDBLevel__f__SetMute_FALSE__DrvDefVol_x
call fcn.14004c3d0
call fcn.14000ac00
test dword [rax + 0xac], 0x100
je 0x1400355bf
cmp dword [r13 + 0x178], 0
jne 0x1400355bf
cmp dword [r13 + 0x180], 0
jne 0x1400355bf
cmp dword [r13 + 0x17c], 0
jne 0x1400355bf
lea rcx, [r13 + 0xc8]
call fcn.14000f590
test rax, rax
je 0x1400355bf
mov r8, qword [rax]
xor edx, edx
mov rcx, rax
call qword [r8 + 0x10]
mov r9, qword [r13 + 0x10]
mov r8d, 0xfe4
lea rdx, str.CCustomizeHP::RestoreAllAudioDeviceMMLineCtrlsSettings
lea rcx, str._s__d__s_non_Realtek_device_SetMute_FALSE_
call fcn.14004c3d0
mov rcx, qword [r13 + 0x128]
cmp dword [rcx - 0x10], 0
jl 0x140035758
lea rdx, str.VID_03F0PID_0567
call fcn.1400aa2c0
test rax, rax
je 0x140035758
sub rax, qword [r13 + 0x128]
sar rax, 1
test eax, eax
js 0x140035758
mov rax, qword [r13 + 0x110]
test rax, rax
je 0x140035758
mov r14, qword [rax]
test r14, r14
je 0x140035758
mov rsi, qword [r14 + 0x10]
mov r14, qword [r14]
test rsi, rsi
je 0x14003574f
mov rcx, qword [rsi + 0x40]
sub rcx, 0x18
call fcn.140006110
lea rdi, [rax + 0x18]
mov qword [rbp - 0x58], rdi
or dword [rsp + 0x40], 2
mov rcx, qword [rsi + 0x10]
sub rcx, 0x18
call fcn.140006110
lea rbx, [rax + 0x18]
mov qword [rbp - 0x30], rbx
or dword [rsp + 0x40], 4
mov qword [rsp + 0x20], rdi
mov r9, rbx
mov r8d, 0xff3
lea rdx, str.CCustomizeHP::RestoreAllAudioDeviceMMLineCtrlsSettings
lea rcx, str._s__d___Endpoint_ID___s__Line_Name___s
call fcn.14004c3d0
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140035696
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x58]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400356b6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.14000ac00
test dword [rax + 0xac], 0x100
je 0x1400356f2
mov rcx, r13
call fcn.1400145b0
cmp dword [r13 + 0x84], 0
jne 0x1400356f2
call fcn.14000ac00
cmp dword [rax + 0x22c], 0x33
jge 0x1400356f2
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x50]
jmp 0x14003574f
cmp dword [r13 + 0x1ac], 1
jne 0x140035743
lea rcx, [r13 + 0x10]
mov r9d, 1
lea r8, [rsp + 0x60]
lea rdx, [0x1400c2b08]
call fcn.140002920
mov ebx, eax
mov edi, dword [rsp + 0x60]
mov r9d, edi
mov r8d, eax
lea rdx, str.CAudioDevice::IsInHeadphonesMode
lea rcx, str._s_bSuccess_d_dwHpMode_d
call fcn.14004c3d0
test ebx, ebx
je 0x140035743
test edi, edi
mov edx, 1
jne 0x140035746
mov edx, r15d
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x48]
test r14, r14
jne 0x140035613
lea rcx, [r13 + 0xc8]
call fcn.14000f590
mov rsi, rax
test rax, rax
je 0x140035b91
call fcn.14000ac00
test dword [rax + 0x17c], 0x2000
je 0x140035b91
cmp dword [rsi + 0x108], 1
jne 0x140035909
cmp dword [rsi + 0x104], 0xffffffff
jne 0x140035909
mov eax, dword [r13 + 0x1ac]
dec eax
test eax, 0xfffffffd
jne 0x140035909
movups xmm0, xmmword [0x1400c2b50]
movups xmmword [rbp + 0x80], xmm0
mov dword [rbp + 0x90], 1
mov dword [rsp + 0x58], r15d
mov rdx, qword [r13 + 0x170]
lea rcx, [rbp - 0x60]
call fcn.140003bc0
mov rbx, rax
mov edi, r15d
xor r9d, r9d
lea r8, [rbp + 0xc8]
lea rdx, [rbp + 0x80]
mov rcx, rax
call fcn.140003070
test eax, eax
je 0x1400358b3
cmp word [rbp + 0xc8], 0x13
jne 0x140035825
mov eax, dword [rbp + 0xd0]
mov dword [rsp + 0x58], eax
mov edi, 1
jmp 0x1400358a5
cmp dword [0x140125c9c], 0
je 0x1400358a5
cmp dword [0x140125c98], 0
jne 0x140035844
mov rax, qword [0x14011faa0]
test byte [rax + 0x1c], 1
je 0x1400358a5
lea rdx, [rbp + 0x80]
lea rcx, [rbp - 0x68]
call fcn.1400439e0
nop
movzx ecx, word [rbp + 0xc8]
mov dword [rsp + 0x28], ecx
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov r9, qword [rbx]
mov r8d, 0x2f
lea rdx, str.CApoPolicyCfgClient::GetUI4Property
lea rcx, str._s__d_EpId_s_PKEY_s_varData.vt_d
call fcn.14004c3d0
nop
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400358a5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp + 0xc8]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_PropVariantClear]
nop
mov rdx, qword [rbp - 0x60]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400358d3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test edi, edi
je 0x140035909
mov rax, qword [rsi]
mov edx, r15d
mov ebx, dword [rsp + 0x58]
test ebx, ebx
setne dl
mov rcx, rsi
call qword [rax + 0x10]
mov r9d, ebx
mov r8, qword [r13 + 0x170]
lea rdx, str.CCustomizeHP::RestoreAllAudioDeviceMMLineCtrlsSettings
lea rcx, str._s_EpId_s_SetMute_d
call fcn.14004c3d0
cmp dword [rsi + 0x114], 1
jne 0x140035b91
cmp dword [rsi + 0x110], 0xffffffff
jne 0x140035b91
mov eax, dword [r13 + 0x1ac]
dec eax
test eax, 0xfffffffd
jne 0x140035b91
movups xmm0, xmmword [0x1400c2b50]
movups xmmword [rbp + 0x98], xmm0
mov dword [rbp + 0xa8], r15d
mov dword [rsp + 0x4c], r15d
mov rdx, qword [r13 + 0x170]
lea rcx, [rbp - 0x78]
call fcn.140003bc0
mov rbx, rax
mov edi, r15d
xor r9d, r9d
lea r8, [rbp + 0xe0]
lea rdx, [rbp + 0x98]
mov rcx, rax
call fcn.140003070
test eax, eax
je 0x140035a34
cmp word [rbp + 0xe0], 0x13
jne 0x1400359a6
mov eax, dword [rbp + 0xe8]
mov dword [rsp + 0x4c], eax
mov edi, 1
jmp 0x140035a26
cmp dword [0x140125c9c], 0
je 0x140035a26
cmp dword [0x140125c98], 0
jne 0x1400359c5
mov rax, qword [0x14011faa0]
test byte [rax + 0x1c], 1
je 0x140035a26
lea rdx, [rbp + 0x98]
lea rcx, [rbp - 0x70]
call fcn.1400439e0
nop
movzx ecx, word [rbp + 0xe0]
mov dword [rsp + 0x28], ecx
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov r9, qword [rbx]
mov r8d, 0x2f
lea rdx, str.CApoPolicyCfgClient::GetUI4Property
lea rcx, str._s__d_EpId_s_PKEY_s_varData.vt_d
call fcn.14004c3d0
nop
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140035a26
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp + 0xe0]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_PropVariantClear]
nop
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140035a54
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test edi, edi
je 0x140035b91
mov dword [rbp + 0x28], r15d
mov rax, qword [rsi]
lea rdx, [rbp + 0x28]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
je 0x140035b91
movd xmm6, dword [rsp + 0x4c]
cvtdq2ps xmm6, xmm6
mulss xmm6, xmm8
mov rcx, r13
call fcn.14000e760
test eax, eax
je 0x140035b4a
mov dword [rsp + 0x48], r15d
lea r9, [rsp + 0x48]
lea r8, str.PbDefaultVol_Hp
lea rdx, str.SOFTWARERealtekRealtekEffectsDriver
mov rcx, 0xffffffff80000002
call fcn.14006a6c0
test eax, eax
jne 0x140035aed
lea rcx, [rbp - 0x80]
call fcn.140076680
nop
or dword [rsp + 0x40], 1
lea r9, [rsp + 0x48]
lea r8, str.PbDefaultVol_Hp
mov rdx, qword [rax]
mov rcx, 0xffffffff80000002
call fcn.14006a6c0
test eax, eax
jne 0x140035aed
xor bl, bl
jmp 0x140035aef
mov bl, 1
mov eax, dword [rsp + 0x40]
test al, 1
je 0x140035b1c
and dword [rsp + 0x40], 0xfffffffe
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140035b1c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test bl, bl
je 0x140035b4a
mov r9d, dword [rsp + 0x48]
movd xmm6, r9d
cvtdq2ps xmm6, xmm6
divss xmm6, xmm11
mov r8d, dword [rsp + 0x4c]
lea rdx, str.CCustomizeHP::RestoreAllAudioDeviceMMLineCtrlsSettings
lea rcx, str._s_nValue_d_nHpDefVol_d
call fcn.14004c3d0
movups xmm0, xmmword [0x1400c94e0]
movaps xmmword [rbp - 0x10], xmm0
mov rax, qword [rsi]
lea r8, [rbp - 0x10]
movaps xmm1, xmm6
mov rcx, rsi
call qword [rax + 0x30]
cvtps2pd xmm3, xmm6
mov eax, dword [rsi + 0x110]
mov dword [rsp + 0x20], eax
movq r9, xmm3
mov r8, qword [r13 + 0x170]
lea rdx, str.CCustomizeHP::RestoreAllAudioDeviceMMLineCtrlsSettings
lea rcx, str._s_EpId_s_fDefaultVoldB_f_NodeId_d
call fcn.14004c3d0
test r12, r12
jne 0x140034b65
call fcn.14000adc0
mov ecx, dword [rax + 0x138]
sub ecx, 1
mov dword [rax + 0x138], ecx
jne 0x140035bbf
mov rcx, qword [rax + 0x148]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
jmp 0x140035bdd
cmp ecx, 0x32
jle 0x140035bdd
mov r8d, 0x82
lea rdx, str.CMMPlatform::AudioDevList_Release
lea rcx, str._s__d_calling_AudioDevList_Release_isnt_matched_AudioDevList_AddRef_or_directly_return_in_EnumAudioDeviceStart_loop
call fcn.14004c3d0
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.1400a4020
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80004005
call fcn.140004670
nop
mov ecx, 0x80004005
call fcn.140004670
nop
mov ecx, 0x80004005
call fcn.140004670
int3