Function at 0x14000d720
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov r14, rcx
call fcn.14004adf0
mov rcx, rax
test rax, rax
je 0x14000d991
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x40], rax
lea rbx, str.SOFTWARERealtekRealtekEffectsBG
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.1400050a0
mov rdi, 0xffffffffffffffff
test al, al
jne 0x14000d79a
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x14000d780
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.1400054e0
nop
lea rdx, [0x140281228]
mov rax, rdi
inc rax
cmp word [rdx + rax*2], 0
jne 0x14000d7a4
mov r8d, eax
lea rcx, [rbp - 0x40]
call fcn.140004b30
mov rdx, qword [r14]
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x40]
call fcn.140004b30
lea rax, [rbp - 0x48]
mov qword [rbp + 0x38], rax
call fcn.14004adf0
mov rcx, rax
test rax, rax
je 0x14000d986
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x48], rax
lea rbx, [0x140281098]
mov rdx, rbx
lea rcx, [rbp - 0x48]
call fcn.1400050a0
test al, al
jne 0x14000d82a
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x14000d810
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x48]
call fcn.1400054e0
nop
mov r8, qword [rbp - 0x40]
test r8, r8
jne 0x14000d857
mov rdx, qword [rbp - 0x48]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000d850
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor ebx, ebx
jmp 0x14000d94b
xor ebx, ebx
mov qword [rbp - 0x20], rbx
mov dword [rbp - 0x18], ebx
mov qword [rbp - 0x10], rbx
mov dword [rbp + 0x38], ebx
mov rdx, 0xffffffff80000002
lea r9d, [rbx + 1]
lea rcx, [rbp - 0x20]
call fcn.14000e2b0
test eax, eax
je 0x14000d891
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14000d92e
jmp 0x14000d928
mov dword [rbp + 0x40], 4
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x48]
xor r8d, r8d
mov rdx, qword [rbp - 0x48]
mov rsi, qword [rbp - 0x20]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000d920
cmp dword [rbp + 0x48], 4
jne 0x14000d920
mov eax, dword [rbp + 0x38]
mov dword [rbp - 0x50], eax
test rsi, rsi
je 0x14000d8e0
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 0x48]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000d8fd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
movups xmm0, xmmword [0x140281230]
movaps xmmword [rbp - 0x30], xmm0
lea r8, [rbp - 0x30]
movss xmm1, dword [rbp - 0x50]
mov rcx, r14
call fcn.14000bd90
and eax, 1
mov ebx, eax
jmp 0x14000d94b
test rsi, rsi
je 0x14000d92e
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 0x48]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000d94b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edx, ebx
lea rcx, str.CDtsUpc2PlusSetting::RestorePlaybackVolumes_bSuccess___d_n
call fcn.1400056e0
nop
mov rdx, qword [rbp - 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14000d976
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.140005680
nop
mov ecx, 0x80004005
call fcn.140005680
int3