Function at 0x14007ed90
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x118]
sub rsp, 0x1f0
mov qword [rbp + 8], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14044f8c0]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov dword [rbp - 0x80], r8d
mov r12d, edx
mov dword [rbp - 0x74], edx
mov rbx, rcx
mov qword [rsp + 0x50], rcx
cmp qword [rcx + 0x30], 0
je 0x14007f550
lea rax, str.Movie
mov qword [rbp + 0x68], rax
lea rax, str.Music
mov qword [rbp + 0x70], rax
lea rax, str.Game
mov qword [rbp + 0x78], rax
movdqa xmm0, xmmword [0x1403d2e20]
movdqu xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], 1
xor r15d, r15d
mov dword [rbp + 0x40], 1
mov dword [rbp + 0x44], 2
mov dword [rbp + 0x48], 4
mov qword [rsp + 0x58], r15
mov dword [rsp + 0x60], r15d
mov qword [rsp + 0x68], r15
call fcn.140162c14
mov rcx, rax
test rax, rax
je 0x14007f580
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rdi, str.SOFTWAREDTSPremiumSuitPresets
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.1400168b0
lea r14, [r15 - 1]
test al, al
jne 0x14007eeab
mov rax, r14
nop dword [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x14007ee90
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140016ad0
nop
mov dword [rsp + 0x38], r15d
mov r9d, 0x20019
mov r8, qword [rsp + 0x30]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x58]
call fcn.140024490
mov r13d, SafeArrayDestroy
test eax, eax
jne 0x14007ef91
mov qword [rbp - 0x48], r15
mov edi, r15d
mov rsi, qword [rsp + 0x58]
test rsi, rsi
je 0x14007ef8c
lea rdx, [rbp - 0x48]
lea rcx, [0x140396418]
call fcn.140042b50
test eax, eax
js 0x14007ef60
mov dword [rsp + 0x70], 4
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x74]
xor r8d, r8d
mov rdi, qword [rbp - 0x48]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x14007ef49
mov ebx, r15d
cmp dword [rsp + 0x74], 4
cmovne ebx, r13d
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov edi, r15d
test ebx, ebx
sete dil
mov rbx, qword [rsp + 0x50]
test edi, edi
je 0x14007ef7e
mov r9d, 1
mov r8d, dword [rsp + 0x38]
lea rdx, [0x140396418]
mov rcx, rbx
call fcn.140101d60
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x58], r15
mov dword [rsp + 0x60], r15d
mov dword [rsp + 0x48], r15d
mov r13, r15
mov qword [rbp - 0x68], r15
nop dword [rax]
mov dword [rsp + 0x44], r15d
lea rdi, [rbp + 0x40]
mov qword [rbp - 0x70], rdi
lea rsi, [rbp + 0x68]
mov qword [rbp - 0x50], rsi
nop word [rax + rax]
mov r8d, 0x20
lea rdx, str.SOFTWAREDTSPremiumSuitPresets
lea rcx, [rsp + 0x30]
call fcn.140016ad0
mov r8d, 1
lea rdx, [0x140393ef0]
lea rcx, [rsp + 0x30]
call fcn.140016630
lea rax, str.Internal
mov rdx, qword [rax + r13]
test rdx, rdx
jne 0x14007f002
xor eax, eax
jmp 0x14007f00f
mov rax, r14
inc rax
cmp word [rdx + rax*2], 0
jne 0x14007f005
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.140016630
mov rdx, qword [rsi]
test rdx, rdx
jne 0x14007f028
xor eax, eax
jmp 0x14007f03a
mov rax, r14
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14007f030
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.140016630
mov r8d, 7
lea rdx, str.Default
lea rcx, [rsp + 0x30]
call fcn.140016630
mov r9d, 0x20019
mov r8, qword [rsp + 0x30]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x58]
call fcn.140024490
test eax, eax
jne 0x14007f4d9
test r12d, r12d
je 0x14007f2ea
mov rax, qword [rbx + 0x30]
test dword [rax + 0x1d4], 0x8000
jne 0x14007f2ea
lea rax, [0x1403971e8]
mov qword [rbp + 0x80], rax
lea rax, [0x1403971d0]
mov qword [rbp + 0x88], rax
lea rax, [0x1403970f8]
mov qword [rbp + 0x90], rax
lea rax, [0x140397230]
mov qword [rbp + 0x98], rax
lea rax, [0x140397290]
mov qword [rbp + 0xa0], rax
lea rax, [0x140397278]
mov qword [rbp + 0xa8], rax
lea rax, [0x140397200]
mov qword [rbp + 0xb0], rax
lea rax, [0x140397218]
mov qword [rbp + 0xb8], rax
lea rax, [0x1403971b8]
mov qword [rbp + 0xc0], rax
lea rax, [0x1403971a0]
mov qword [rbp + 0xc8], rax
lea rax, [0x140397260]
mov qword [rbp + 0xd0], rax
lea rax, [0x140397188]
mov qword [rbp + 0xd8], rax
xor edx, edx
mov esi, edx
mov r12d, dword [rbp + r13 + 0x54]
mov r13d, dword [rbp + r13 + 0x50]
mov r15d, dword [rdi]
lea r14, [rbp + 0x80]
jmp 0x14007f172
xor edx, edx
mov dword [rsp + 0x3c], edx
mov rcx, qword [r14]
movups xmm0, xmmword [rcx]
movups xmmword [rbp + 0x28], xmm0
mov eax, dword [rcx + 0x10]
mov dword [rbp + 0x38], eax
movups xmm0, xmmword [rcx]
movups xmmword [rbp - 0x10], xmm0
mov eax, dword [rcx + 0x10]
mov dword [rbp], eax
mov qword [rbp - 0x60], rdx
mov edi, edx
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x14007f210
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x10]
call fcn.140042b50
test eax, eax
js 0x14007f20c
mov dword [rsp + 0x78], 4
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x7c]
xor r8d, r8d
mov rdi, qword [rbp - 0x60]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x14007f1fb
cmp dword [rsp + 0x7c], 4
mov eax, SafeArrayDestroy
cmovne ebx, eax
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor edi, edi
test ebx, ebx
sete dil
test edi, edi
jne 0x14007f23d
lea rdx, [rbp + 0x28]
lea rcx, [rbp - 0x28]
call fcn.14003bcd0
mov rdx, qword [rbp - 0x28]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007f23d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rbp + 0x38]
test r13d, r13d
je 0x14007f24c
add eax, 0xbb8
jmp 0x14007f25d
test r12d, r12d
je 0x14007f258
add eax, 0x3e8
jmp 0x14007f25d
add eax, 0x7d0
cmp r15d, 4
jne 0x14007f26a
add eax, 0x9c40
jmp 0x14007f27c
cmp r15d, 2
jne 0x14007f277
add eax, 0x4e20
jmp 0x14007f27c
add eax, 0x2710
mov dword [rbp + 0x38], eax
mov r9d, 1
mov r8d, dword [rsp + 0x3c]
lea rdx, [rbp + 0x28]
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.140101d60
test eax, eax
jne 0x14007f2cc
lea rdx, [rbp + 0x28]
lea rcx, [rbp - 0x40]
call fcn.14003bcd0
mov rdx, qword [rbp - 0x40]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007f2cc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc esi
add r14, 8
cmp esi, 0xc
jb 0x14007f170
mov r14, 0xffffffffffffffff
mov rdi, qword [rbp - 0x70]
mov r13, qword [rbp - 0x68]
cmp dword [rbp - 0x80], 0
je 0x14007f4a0
mov rax, qword [rbx + 0x30]
test dword [rax + 0x1d4], 0x10000
jne 0x14007f4a0
lea rax, [0x140397170]
mov qword [rbp - 0x20], rax
lea rax, [0x1403972a8]
mov qword [rbp - 0x18], rax
xor ecx, ecx
mov r14d, ecx
mov r12d, dword [rbp + r13 + 0x54]
mov r13d, dword [rbp + r13 + 0x50]
mov r15d, dword [rdi]
lea rsi, [rbp - 0x20]
jmp 0x14007f342
xor ecx, ecx
mov dword [rsp + 0x40], ecx
mov rax, qword [rsi]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x10], xmm0
mov eax, dword [rax + 0x10]
mov dword [rbp + 0x20], eax
mov qword [rbp - 0x58], rcx
mov edi, ecx
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x14007f3cf
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x10]
call fcn.140042b50
test eax, eax
js 0x14007f3cb
mov dword [rbp - 0x7c], 4
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x78]
xor r8d, r8d
mov rdi, qword [rbp - 0x58]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x14007f3ba
cmp dword [rbp - 0x78], 4
mov eax, SafeArrayDestroy
cmovne ebx, eax
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor edi, edi
test ebx, ebx
sete dil
test edi, edi
jne 0x14007f3fc
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x38]
call fcn.14003bcd0
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007f3fc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rbp + 0x20]
test r13d, r13d
je 0x14007f40b
add eax, 0xbb8
jmp 0x14007f41c
test r12d, r12d
je 0x14007f417
add eax, 0x3e8
jmp 0x14007f41c
add eax, 0x7d0
cmp r15d, 4
jne 0x14007f429
add eax, 0x9c40
jmp 0x14007f43b
cmp r15d, 2
jne 0x14007f436
add eax, 0x4e20
jmp 0x14007f43b
add eax, 0x2710
mov dword [rbp + 0x20], eax
mov r9d, 1
mov r8d, dword [rsp + 0x40]
lea rdx, [rbp + 0x10]
mov rcx, qword [rsp + 0x50]
call fcn.140101d60
test eax, eax
jne 0x14007f488
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x30]
call fcn.14003bcd0
mov rdx, qword [rbp - 0x30]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007f488
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc r14d
add rsi, 8
cmp r14d, 2
jb 0x14007f340
mov r14, 0xffffffffffffffff
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x14007f4bc
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x60], 0
mov rdi, qword [rbp - 0x70]
mov rsi, qword [rbp - 0x50]
mov r15d, dword [rsp + 0x44]
mov r13, qword [rbp - 0x68]
mov r12d, dword [rbp - 0x74]
inc r15d
mov dword [rsp + 0x44], r15d
add rsi, 8
mov qword [rbp - 0x50], rsi
add rdi, 4
mov qword [rbp - 0x70], rdi
cmp r15d, 3
mov rbx, qword [rsp + 0x50]
jb 0x14007efc0
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
add r13, 8
mov qword [rbp - 0x68], r13
cmp eax, 3
mov r15d, 0
jb 0x14007efa0
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r14d
sub r14d, 1
jg 0x14007f540
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14007f550
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.1402ecc20
lea r11, [rsp + 0x1f0]
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 ecx, 0x80004005
call fcn.140012800
int3