Function at 0x14007e7c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [rsp + 0x200], rbx
mov rax, qword [0x14044f8c0]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov edi, edx
mov r13, rcx
mov qword [rbp - 0x50], rcx
xor r15d, r15d
mov qword [rbp + 0x28], r15
lea rax, str.Movie
mov qword [rbp + 0x30], rax
lea rax, str.Music
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], r15
lea rax, str.Game
mov qword [rbp + 0x48], rax
lea rax, [0x1403970f8]
mov qword [rbp + 0x50], rax
lea rax, [0x140397200]
mov qword [rbp + 0x58], rax
lea rax, [0x1403971e8]
mov qword [rbp + 0x60], rax
lea rax, [0x1403971d0]
mov qword [rbp + 0x68], rax
lea rax, [0x1403971b8]
mov qword [rbp + 0x70], rax
lea rax, [0x1403971a0]
mov qword [rbp + 0x78], rax
lea rax, [0x140397188]
mov qword [rbp + 0x80], rax
lea rax, [0x140397158]
mov qword [rbp + 0x88], rax
lea rax, [0x140397128]
mov qword [rbp + 0x90], rax
lea rax, [0x140397170]
mov qword [rbp + 0x98], rax
lea rax, [0x140397140]
mov qword [rbp - 0x60], rax
lea eax, [rdi - 1]
test eax, 0xfffffffc
jne 0x14007ed57
cmp edi, 3
je 0x14007ed57
mov eax, dword [rcx + 0x48]
dec eax
cmp eax, 2
ja 0x14007ed57
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], r15d
mov qword [rsp + 0x60], r15
call fcn.140162c14
mov rcx, rax
test rax, rax
je 0x14007ed81
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rbx, str.SOFTWAREDTSPremiumSuitPresets
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.1400168b0
lea rsi, [r15 - 1]
test al, al
jne 0x14007e94b
mov rax, rsi
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x14007e930
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140016ad0
nop
lea rdx, [0x140393ef0]
mov rax, rsi
inc rax
cmp word [rdx + rax*2], 0
jne 0x14007e955
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.140016630
movsxd rax, dword [r13 + 0x48]
lea rdx, str.Internal
mov rdx, qword [rdx + rax*8 - 8]
test rdx, rdx
jne 0x14007e986
mov eax, r15d
jmp 0x14007e99a
mov rax, rsi
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14007e990
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.140016630
mov rdx, qword [rbp + rdi*8 + 0x28]
test rdx, rdx
jne 0x14007e9b6
mov eax, r15d
jmp 0x14007e9ca
mov rax, rsi
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14007e9c0
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.140016630
lea rdx, str.Default
mov rax, rsi
inc rax
cmp word [rdx + rax*2], 0
jne 0x14007e9e1
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.140016630
mov r9d, 0x20019
mov rbx, qword [rsp + 0x40]
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x50]
call fcn.140024490
test eax, eax
je 0x14007ea6c
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x20019
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x50]
call fcn.14002e590
test eax, eax
je 0x14007ea6c
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14007ea62
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], r15d
jmp 0x14007ed2f
mov r14d, r15d
lea edx, [rdi + rdi*4]
add edx, edx
mov dword [rsp + 0x4c], edx
lea r12, [rbp + 0x50]
jmp 0x14007ea83
xor r15d, r15d
mov dword [rsp + 0x48], r15d
mov r15, qword [r12]
movups xmm0, xmmword [r15]
movups xmmword [rbp - 8], xmm0
mov ecx, dword [r15 + 0x10]
mov eax, dword [r13 + 0x48]
add eax, edx
imul eax, eax, 0x3e8
add ecx, eax
mov dword [rbp + 8], ecx
movups xmm0, xmmword [r15]
movups xmmword [rbp - 0x40], xmm0
mov eax, dword [r15 + 0x10]
mov dword [rbp - 0x30], eax
mov qword [rbp - 0x80], 0
xor edi, edi
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x14007eb39
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x40]
call fcn.140042b50
test eax, eax
js 0x14007eb35
mov dword [rsp + 0x68], 4
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x6c]
xor r8d, r8d
mov rdi, qword [rbp - 0x80]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x14007eb24
cmp dword [rsp + 0x6c], 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 0x14007eb62
mov rdx, r15
lea rcx, [rbp - 0x70]
call fcn.14003bcd0
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007eb62
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r9d, 1
mov r8d, dword [rsp + 0x48]
lea rdx, [rbp - 8]
mov rcx, r13
call fcn.140101d60
test eax, eax
jne 0x14007eba7
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x68]
call fcn.14003bcd0
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007eba7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc r14d
add r12, 8
cmp r14d, 0xa
mov edx, dword [rsp + 0x4c]
jb 0x14007ea80
xor edx, edx
mov r14d, edx
mov r15d, edx
mov r12d, dword [rsp + 0x4c]
jmp 0x14007ebd2
xor edx, edx
mov dword [rsp + 0x74], edx
mov rax, qword [rbp + r15 - 0x60]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x10], xmm0
mov ecx, dword [rax + 0x10]
mov eax, dword [r13 + 0x48]
add eax, r12d
imul eax, eax, 0x3e8
add ecx, eax
mov dword [rbp + 0x20], ecx
mov r13, qword [rbp + r15 + 0x50]
movups xmm0, xmmword [r13]
movups xmmword [rbp - 0x28], xmm0
mov eax, dword [r13 + 0x10]
mov dword [rbp - 0x18], eax
mov qword [rbp - 0x78], rdx
mov edi, edx
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x14007ec89
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x28]
call fcn.140042b50
test eax, eax
js 0x14007ec85
mov dword [rsp + 0x70], 4
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x78]
xor r8d, r8d
mov rdi, qword [rbp - 0x78]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x14007ec74
cmp dword [rsp + 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 0x14007ecb2
mov rdx, r13
lea rcx, [rbp - 0x58]
call fcn.14003bcd0
mov rdx, qword [rbp - 0x58]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007ecb2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8d, dword [rsp + 0x48]
lea rdx, [rbp + 0x10]
mov r13, qword [rbp - 0x50]
mov rcx, r13
call fcn.140101f80
test eax, eax
jne 0x14007ecf5
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x48]
call fcn.14003bcd0
mov rdx, qword [rbp - 0x48]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007ecf5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc r14d
add r15, 8
cmp r14d, 1
jb 0x14007ebd0
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x14007ed22
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x58], 0
mov rbx, qword [rsp + 0x40]
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x14007ed47
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14007ed57
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1402ecc20
mov rbx, qword [rsp + 0x200]
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140012800
int3