Function at 0x14000d510
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.14004aa80
mov rcx, rax
test rax, rax
je 0x14000d781
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 0x14000d58a
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x14000d570
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.1400054e0
nop
lea rdx, [0x140281050]
mov rax, rdi
inc rax
cmp word [rdx + rax*2], 0
jne 0x14000d594
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.14004aa80
mov rcx, rax
test rax, rax
je 0x14000d776
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x48], rax
lea rbx, [0x140280ed8]
mov rdx, rbx
lea rcx, [rbp - 0x48]
call fcn.1400050a0
test al, al
jne 0x14000d61a
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x14000d600
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x48]
call fcn.1400054e0
nop
mov r8, qword [rbp - 0x40]
test r8, r8
jne 0x14000d647
mov rdx, qword [rbp - 0x48]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000d640
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor ebx, ebx
jmp 0x14000d73b
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.14000ddf0
test eax, eax
je 0x14000d681
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14000d71e
jmp 0x14000d718
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 0x14000d710
cmp dword [rbp + 0x48], 4
jne 0x14000d710
mov eax, dword [rbp + 0x38]
mov dword [rbp - 0x50], eax
test rsi, rsi
je 0x14000d6d0
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 0x14000d6ed
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
movups xmm0, xmmword [0x140281058]
movaps xmmword [rbp - 0x30], xmm0
lea r8, [rbp - 0x30]
movss xmm1, dword [rbp - 0x50]
mov rcx, r14
call fcn.14000bb80
and eax, 1
mov ebx, eax
jmp 0x14000d73b
test rsi, rsi
je 0x14000d71e
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 0x14000d73b
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 0x14000d766
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