Function at 0x1400366e0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb0
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov qword [rsp + 0x100], rbx
mov rax, qword [0x1402da8d8]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rdi, rdx
mov r13, rcx
mov qword [rbp - 0x19], rdx
cmp dword [0x1402ea838], 0
je 0x140036a12
cmp dword [rcx + 0x141c], 0
jne 0x140036a12
mov rdx, qword [rdx]
add rcx, 0xa60
call fcn.140026600
mov r15, rax
test rax, rax
jne 0x140036779
mov rdx, qword [rdi]
sub rdx, 0x18
mov rbx, 0xffffffffffffffff
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140036772
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x140036a38
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [r13 + 0xa60]
call fcn.140026a80
xor r12d, r12d
mov dword [rbp - 0x4d], r12d
lea rax, [rbp - 0x59]
mov qword [rbp - 0x41], rax
call fcn.14004aa80
mov rcx, rax
test rax, rax
je 0x140036a5f
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x59], rax
lea rsi, str.DolbyEnable
mov rdx, rsi
lea rcx, [rbp - 0x59]
call fcn.1400050a0
lea rbx, [r12 - 1]
test al, al
jne 0x1400367fa
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rsi + rax*2], 0
jne 0x1400367e0
mov r8d, eax
mov rdx, rsi
lea rcx, [rbp - 0x59]
call fcn.1400054e0
nop
mov qword [rbp - 0x39], r12
mov dword [rbp - 0x31], r12d
mov qword [rbp - 0x29], r12
mov dword [rbp - 0x51], r12d
mov r9d, 1
lea r8, str.SOFTWAREDolbyDAX
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x39]
call fcn.14000ddf0
test eax, eax
je 0x140036836
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x140036885
jmp 0x14003687f
mov dword [rbp - 0x49], 4
lea rax, [rbp - 0x49]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x51]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x41]
xor r8d, r8d
mov rdx, qword [rbp - 0x59]
mov rsi, qword [rbp - 0x39]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140036877
cmp dword [rbp - 0x41], 4
jne 0x140036877
mov eax, dword [rbp - 0x51]
mov dword [rbp - 0x4d], eax
test rsi, rsi
je 0x140036885
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 0x59]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400368a2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
movups xmm0, xmmword [0x1402817f8]
movups xmmword [rbp + 7], xmm0
mov dword [rbp + 0x17], r12d
movups xmmword [rbp - 0x11], xmm0
mov dword [rbp - 1], 2
mov r9d, 1
lea rdx, [0x140281660]
mov rcx, r15
cmp dword [rbp - 0x4d], 0
jne 0x140036957
mov r8d, r9d
call fcn.140007030
mov r9d, 1
mov r8d, r9d
lea rdx, [0x140281b58]
mov rcx, r15
call fcn.140007030
mov r9d, 1
mov r8d, r9d
lea rdx, [rbp - 0x11]
mov rcx, r15
call fcn.140007030
mov r9d, 1
mov r8d, r9d
lea rdx, [0x140281b70]
mov rcx, r15
call fcn.140007030
mov r9d, 1
mov r8d, r9d
lea rdx, [rbp + 7]
mov rcx, r15
call fcn.140007030
mov r9d, 1
xor r8d, r8d
lea rdx, [0x140281648]
mov rcx, r15
call fcn.140007030
mov edx, 2
jmp 0x1400369d3
xor r8d, r8d
call fcn.140007030
mov r9d, 1
xor r8d, r8d
lea rdx, [0x140281b58]
mov rcx, r15
call fcn.140007030
mov r9d, 1
xor r8d, r8d
lea rdx, [rbp - 0x11]
mov rcx, r15
call fcn.140007030
mov r9d, 1
xor r8d, r8d
lea rdx, [0x140281b70]
mov rcx, r15
call fcn.140007030
mov r9d, 1
xor r8d, r8d
lea rdx, [rbp + 7]
mov rcx, r15
call fcn.140007030
mov r9d, 1
mov r8d, r9d
lea rdx, [0x140281648]
mov rcx, r15
call fcn.140007030
xor edx, edx
mov rcx, r13
call fcn.140036e00
mov rdx, qword [rdi]
lea rcx, [r13 + 0xa60]
call fcn.140026700
mov esi, eax
mov rdx, qword [rdi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
test eax, eax
je 0x140036764
sub ebx, 1
jg 0x140036a0e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, esi
jmp 0x140036a38
mov rdx, qword [rdx]
sub rdx, 0x18
mov rbx, 0xffffffffffffffff
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140036a33
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 1
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1401e35b0
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140005680
int3