Function at 0x140036a60
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 [0x1402ea83c], 0
je 0x140036d92
cmp dword [rcx + 0x141c], 0
jne 0x140036d92
mov rdx, qword [rdx]
add rcx, 0xa60
call fcn.140026810
mov r15, rax
test rax, rax
jne 0x140036af9
mov rdx, qword [rdi]
sub rdx, 0x18
mov rbx, 0xffffffffffffffff
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140036af2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x140036db8
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [r13 + 0xa60]
call fcn.140026c90
xor r12d, r12d
mov dword [rbp - 0x4d], r12d
lea rax, [rbp - 0x59]
mov qword [rbp - 0x41], rax
call fcn.14004adf0
mov rcx, rax
test rax, rax
je 0x140036ddf
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 0x140036b7a
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rsi + rax*2], 0
jne 0x140036b60
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.14000e2b0
test eax, eax
je 0x140036bb6
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x140036c05
jmp 0x140036bff
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 0x140036bf7
cmp dword [rbp - 0x41], 4
jne 0x140036bf7
mov eax, dword [rbp - 0x51]
mov dword [rbp - 0x4d], eax
test rsi, rsi
je 0x140036c05
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 0x140036c22
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
movups xmm0, xmmword [0x1402819c8]
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, [0x140281830]
mov rcx, r15
cmp dword [rbp - 0x4d], 0
jne 0x140036cd7
mov r8d, r9d
call fcn.140007030
mov r9d, 1
mov r8d, r9d
lea rdx, [0x140281d28]
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, [0x140281d40]
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, [0x140281818]
mov rcx, r15
call fcn.140007030
mov edx, 2
jmp 0x140036d53
xor r8d, r8d
call fcn.140007030
mov r9d, 1
xor r8d, r8d
lea rdx, [0x140281d28]
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, [0x140281d40]
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, [0x140281818]
mov rcx, r15
call fcn.140007030
xor edx, edx
mov rcx, r13
call fcn.140037180
mov rdx, qword [rdi]
lea rcx, [r13 + 0xa60]
call fcn.140026910
mov esi, eax
mov rdx, qword [rdi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
test eax, eax
je 0x140036ae4
sub ebx, 1
jg 0x140036d8e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, esi
jmp 0x140036db8
mov rdx, qword [rdx]
sub rdx, 0x18
mov rbx, 0xffffffffffffffff
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140036db3
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.1401e3920
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