Function at 0x14000bec0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1b8]
sub rsp, 0x290
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402da8d8]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov r13, rcx
xor r12d, r12d
mov qword [rsp + 0x40], r12
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [0x140281148]
xor edx, edx
lea r8d, [r12 + 1]
lea rcx, [0x1402811c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14000bf53
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000bfb5
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x14000bfb5
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
lea rdx, [rbp - 0x58]
mov qword [rsp + 0x20], rdx
lea r9, [0x1402814c0]
mov r8d, 1
mov rdx, qword [r13]
call qword [rax + 0x50]
test eax, eax
js 0x14000bf41
lea rcx, [rbp - 0x58]
cmp word [rbp - 0x58], 0x13
je 0x14000bf8f
call qword [sym.imp.ole32.dll_PropVariantClear]
jmp 0x14000bf41
mov ebx, dword [rbp - 0x50]
mov dword [rsp + 0x78], ebx
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000bfad
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
test ebx, ebx
jne 0x14000c6c4
call fcn.14004adf0
mov rcx, rax
test rax, rax
je 0x14000c773
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x48], rax
call fcn.14004adf0
mov rcx, rax
test rax, rax
je 0x14000c768
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
mov qword [rbp + 0x18], r12
mov dword [rbp + 0x20], r12d
mov qword [rbp + 0x28], r12
mov qword [rbp - 0x80], r12
mov dword [rbp - 0x78], r12d
mov qword [rbp - 0x70], r12
movdqa xmm0, xmmword [0x14028c740]
movdqu xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], 1
lea rax, [0x140281268]
mov qword [rbp + 0x60], rax
mov ecx, SafeArrayUnaccessData
mov word [rbp + 0x68], cx
mov qword [rbp + 0x6c], r12
lea rax, [0x140281250]
mov qword [rbp + 0x78], rax
mov word [rbp + 0x80], cx
mov qword [rbp + 0x84], r12
lea rax, [0x140281358]
mov qword [rbp + 0x90], rax
mov word [rbp + 0x98], cx
mov qword [rbp + 0x9c], r12
lea rax, [0x140281340]
mov qword [rbp + 0xa8], rax
mov word [rbp + 0xb0], cx
mov qword [rbp + 0xb4], r12
lea rax, [0x140281328]
mov qword [rbp + 0xc0], rax
mov word [rbp + 0xc8], cx
mov qword [rbp + 0xcc], r12
lea rax, [0x140281310]
mov qword [rbp + 0xd8], rax
mov word [rbp + 0xe0], cx
mov qword [rbp + 0xe4], r12
lea rax, [0x1402812f8]
mov qword [rbp + 0xf0], rax
mov word [rbp + 0xf8], cx
mov qword [rbp + 0xfc], r12
lea rax, [0x1402812e0]
mov qword [rbp + 0x108], rax
mov word [rbp + 0x110], cx
mov qword [rbp + 0x114], r12
lea rax, [0x1402812c8]
mov qword [rbp + 0x120], rax
mov word [rbp + 0x128], cx
mov qword [rbp + 0x12c], r12
lea rax, [0x1402812b0]
mov qword [rbp + 0x138], rax
mov word [rbp + 0x140], cx
mov qword [rbp + 0x144], r12
lea rax, [0x140281298]
mov qword [rbp + 0x150], rax
mov word [rbp + 0x158], cx
mov qword [rbp + 0x15c], r12
lea rax, [0x140281280]
mov qword [rbp + 0x168], rax
mov word [rbp + 0x170], cx
mov qword [rbp + 0x174], r12
lea rax, [0x1402813d0]
mov qword [rbp - 0x20], rax
mov word [rbp - 0x18], cx
mov qword [rbp - 0x14], r12
lea rax, [0x1402813b8]
mov qword [rbp - 8], rax
mov word [rbp], cx
mov qword [rbp + 4], r12
lea rdx, str.SOFTWAREDTSPremiumSuitPresets
mov r15, 0xffffffffffffffff
mov rax, r15
inc rax
cmp word [rdx + rax*2], 0
jne 0x14000c1a2
mov r8d, eax
lea rcx, [rsp + 0x48]
call fcn.1400054e0
lea rdx, [0x140281228]
mov rax, r15
inc rax
cmp word [rdx + rax*2], 0
jne 0x14000c1c3
mov r8d, eax
lea rcx, [rsp + 0x48]
call fcn.140004b30
mov dword [rsp + 0x58], r12d
mov rdi, qword [rsp + 0x48]
lea r14, [rdi - 0x18]
mov qword [rbp - 0x28], r14
mov rsi, r12
mov qword [rsp + 0x60], r12
jmp 0x14000c205
mov rsi, qword [rsp + 0x60]
add rbx, 0xffffffffffffffe8
cmp r14, rbx
je 0x14000c262
cmp dword [rbx + 0x10], 0
jl 0x14000c251
mov rax, qword [rbx]
cmp qword [r14], rax
jne 0x14000c251
mov rcx, r14
call fcn.140004c20
mov rdi, rax
mov ecx, r15d
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x14000c241
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rdi + 0x18]
mov qword [rsp + 0x38], rax
mov rdi, qword [rsp + 0x48]
jmp 0x14000c262
mov r8d, dword [rdi - 0x10]
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.1400054e0
lea rax, str.Internal
mov rdx, qword [rsi + rax]
test rdx, rdx
jne 0x14000c277
mov eax, r12d
jmp 0x14000c28a
mov rax, r15
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14000c280
mov r8d, eax
lea rcx, [rsp + 0x38]
call fcn.140004b30
mov r8d, 5
lea rdx, str.Music
lea rcx, [rsp + 0x38]
call fcn.140004b30
mov r8d, 7
lea rdx, str.Default
lea rcx, [rsp + 0x38]
call fcn.140004b30
mov r9d, 0x20019
mov rbx, qword [rsp + 0x38]
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x80]
call fcn.14000e2b0
test eax, eax
jne 0x14000c59a
mov eax, dword [r13 + 0x178]
bt eax, 0xf
jb 0x14000c432
lea r15, [rbp + 0x60]
mov rdi, qword [rbp - 0x80]
mov ebx, 3
nop dword [rax]
cmp dword [r13 + 0x15c], 8
jne 0x14000c325
cmp dword [r15 + 0x10], 0
je 0x14000c40d
mov rax, qword [r15]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x30], xmm0
mov eax, dword [rax + 0x10]
mov dword [rbp + 0x40], eax
mov qword [rbp - 0x68], 0
xor r14d, r14d
test rdi, rdi
je 0x14000c40d
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x30]
call fcn.140011f10
test eax, eax
js 0x14000c3b8
mov dword [rsp + 0x68], 4
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x6c]
xor r8d, r8d
mov r14, qword [rbp - 0x68]
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x14000c3a1
cmp dword [rsp + 0x6c], 4
mov eax, SafeArrayGetDim
cmovne esi, eax
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor r14d, r14d
test esi, esi
sete r14b
mov rsi, qword [rsp + 0x60]
test r14d, r14d
je 0x14000c40d
cmp dword [rbp + rsi + 0x48], 0
je 0x14000c3cd
add dword [rbp + 0x40], 0xbb8
jmp 0x14000c3e4
cmp dword [rbp + rsi + 0x4c], 0
je 0x14000c3dd
add dword [rbp + 0x40], 0x3e8
jmp 0x14000c3e4
add dword [rbp + 0x40], 0x7d0
mov r8d, dword [rsp + 0x30]
lea rdx, [rbp + 0x30]
mov rcx, r13
cmp bx, word [r15 + 8]
jne 0x14000c402
add r8d, dword [r15 + 0xc]
call fcn.1400071d0
jmp 0x14000c40d
mov r9d, 1
call fcn.140007030
inc r12d
add r15, 0x18
cmp r12d, 0xc
jb 0x14000c310
mov eax, dword [r13 + 0x178]
mov rbx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
xor r12d, r12d
bt eax, 0x10
jb 0x14000c568
lea r15, [rbp - 0x20]
mov rdi, qword [rbp - 0x80]
mov ebx, 3
nop dword [rax]
cmp dword [r13 + 0x15c], 8
jne 0x14000c465
cmp dword [r15 + 0x10], 0
je 0x14000c54d
mov rax, qword [r15]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x30], xmm0
mov eax, dword [rax + 0x10]
mov dword [rbp + 0x40], eax
mov qword [rbp - 0x60], 0
xor r14d, r14d
test rdi, rdi
je 0x14000c54d
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x30]
call fcn.140011f10
test eax, eax
js 0x14000c4f3
mov dword [rsp + 0x70], 4
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x74]
xor r8d, r8d
mov r14, qword [rbp - 0x60]
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x14000c4e1
cmp dword [rsp + 0x74], 4
mov eax, SafeArrayGetDim
cmovne esi, eax
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor r14d, r14d
test esi, esi
sete r14b
test r14d, r14d
je 0x14000c54d
mov rsi, qword [rsp + 0x60]
cmp dword [rbp + rsi + 0x48], 0
je 0x14000c50d
add dword [rbp + 0x40], 0xbb8
jmp 0x14000c524
cmp dword [rbp + rsi + 0x4c], 0
je 0x14000c51d
add dword [rbp + 0x40], 0x3e8
jmp 0x14000c524
add dword [rbp + 0x40], 0x7d0
mov r8d, dword [rsp + 0x30]
lea rdx, [rbp + 0x30]
mov rcx, r13
cmp bx, word [r15 + 8]
jne 0x14000c542
add r8d, dword [r15 + 0xc]
call fcn.1400071d0
jmp 0x14000c54d
mov r9d, 1
call fcn.140007030
inc r12d
add r15, 0x18
cmp r12d, 2
jb 0x14000c450
mov rbx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rbp - 0x80]
test rsi, rsi
je 0x14000c586
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r12d, r12d
mov esi, r12d
mov qword [rbp - 0x80], r12
jmp 0x14000c589
xor r12d, r12d
mov dword [rbp - 0x78], r12d
mov r14, qword [rbp - 0x28]
mov r15, 0xffffffffffffffff
jmp 0x14000c59e
mov rsi, qword [rbp - 0x80]
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
add qword [rsp + 0x60], 8
cmp eax, 3
jb 0x14000c200
movups xmm0, xmmword [0x1402814c0]
movups xmmword [rbp + 0x30], xmm0
mov eax, dword [0x1402814d0]
mov dword [rbp + 0x40], eax
cmp dword [r13 + 0x15c], 3
je 0x14000c5e4
mov rcx, r13
call fcn.14000b9d0
test eax, eax
mov edi, r12d
je 0x14000c5e9
mov edi, 1
mov rcx, r13
call fcn.14000bab0
test edi, edi
je 0x14000c5fe
add dword [rbp + 0x40], 0xbb8
jmp 0x14000c612
test eax, eax
je 0x14000c60b
add dword [rbp + 0x40], 0x3e8
jmp 0x14000c612
add dword [rbp + 0x40], 0x7d0
mov qword [rsp + 0x50], r12
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [0x140281148]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1402811c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14000c6f4
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000c661
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov r9d, 1
mov r8d, r9d
lea rdx, [0x1402814c0]
mov rcx, r13
call fcn.140007030
mov rcx, r13
call fcn.140007f90
nop
test rsi, rsi
je 0x14000c691
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rdx, [rbx - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000c6ac
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lock xadd dword [r14 + 0x10], r15d
sub r15d, 1
jg 0x14000c6c4
mov rcx, qword [r14]
mov rax, qword [rcx]
mov rdx, r14
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1401e3920
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0x30]
mov r8d, 1
mov rdx, qword [r13]
call qword [rax + 0x50]
test eax, eax
js 0x14000c651
lea rcx, [rbp - 0x40]
cmp word [rbp - 0x40], 0x13
je 0x14000c734
call qword [sym.imp.ole32.dll_PropVariantClear]
jmp 0x14000c651
mov edi, dword [rbp - 0x38]
mov dword [rsp + 0x78], edi
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000c752
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
test edi, edi
je 0x14000c661
mov r9d, 1
mov r8d, edi
jmp 0x14000c66a
mov ecx, 0x80004005
call fcn.140005680
nop
mov ecx, 0x80004005
call fcn.140005680
int3