Function at 0x14007f590
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xb8]
sub rsp, 0x190
mov qword [rbp - 0x20], 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 + 0x80], rax
mov dword [rsp + 0x48], r8d
mov ebx, edx
mov r13, rcx
cmp qword [rcx + 0x30], 0
je 0x14007fab0
xor edi, edi
mov qword [rsp + 0x58], rdi
mov dword [rsp + 0x60], edi
mov qword [rsp + 0x68], rdi
call fcn.140162c14
mov rcx, rax
test rax, rax
je 0x14007fae0
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rsi, str.SOFTWAREDTSPremiumSuitPresets
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.1400168b0
lea r15, [rdi - 1]
test al, al
jne 0x14007f64e
mov rax, r15
inc rax
cmp word [rsi + rax*2], 0
jne 0x14007f633
mov r8d, eax
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.140016ad0
nop
lea rdx, [0x140393ef0]
mov rax, r15
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14007f660
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.140016630
movsxd rax, dword [r13 + 0x48]
lea rdx, str.Internal
mov rdx, qword [rdx + rax*8 - 8]
test rdx, rdx
jne 0x14007f690
mov eax, edi
jmp 0x14007f69d
mov rax, r15
inc rax
cmp word [rdx + rax*2], 0
jne 0x14007f693
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.140016630
mov r8d, 5
lea rdx, str.Music
lea rcx, [rsp + 0x30]
call fcn.140016630
lea rdx, str.Default
mov rax, r15
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14007f6d0
mov r8d, eax
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 0x14007fa81
test ebx, ebx
je 0x14007f8f0
mov rax, qword [r13 + 0x30]
test dword [rax + 0x1d4], 0x8000
jne 0x14007f8f0
lea rax, [0x1403971e8]
mov qword [rbp + 0x20], rax
lea rax, [0x1403971d0]
mov qword [rbp + 0x28], rax
lea rax, [0x1403970f8]
mov qword [rbp + 0x30], rax
lea rax, [0x140397230]
mov qword [rbp + 0x38], rax
lea rax, [0x140397290]
mov qword [rbp + 0x40], rax
lea rax, [0x140397278]
mov qword [rbp + 0x48], rax
lea rax, [0x140397200]
mov qword [rbp + 0x50], rax
lea rax, [0x140397218]
mov qword [rbp + 0x58], rax
lea rax, [0x1403971b8]
mov qword [rbp + 0x60], rax
lea rax, [0x1403971a0]
mov qword [rbp + 0x68], rax
lea rax, [0x140397260]
mov qword [rbp + 0x70], rax
lea rax, [0x140397188]
mov qword [rbp + 0x78], rax
mov r14d, edi
lea r12, [rbp + 0x20]
nop dword [rax]
nop word [rax + rax]
mov dword [rsp + 0x38], edi
mov rsi, qword [r12]
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x18], xmm0
mov ecx, dword [rsi + 0x10]
imul eax, dword [r13 + 0x48], 0x3e8
add ecx, eax
mov dword [rbp - 8], ecx
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x50], xmm0
mov eax, dword [rsi + 0x10]
mov dword [rbp - 0x40], eax
mov qword [rsp + 0x70], rdi
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x14007f86a
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x50]
call fcn.140042b50
test eax, eax
js 0x14007f866
mov dword [rsp + 0x40], 4
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
mov rdi, qword [rsp + 0x70]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x14007f855
cmp dword [rsp + 0x44], 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 0x14007f894
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.14003bcd0
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007f894
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r9d, 1
mov r8d, dword [rsp + 0x38]
lea rdx, [rbp - 0x18]
mov rcx, r13
call fcn.140101d60
test eax, eax
jne 0x14007f8da
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x78]
call fcn.14003bcd0
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007f8da
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc r14d
add r12, 8
cmp r14d, 0xc
mov edi, 0
jb 0x14007f7c0
cmp dword [rsp + 0x48], 0
je 0x14007fa5d
mov rax, qword [r13 + 0x30]
test dword [rax + 0x1d4], 0x10000
jne 0x14007fa5d
lea rax, [0x140397170]
mov qword [rbp - 0x60], rax
lea rax, [0x1403972a8]
mov qword [rbp - 0x58], rax
mov r14d, edi
lea r12, [rbp - 0x60]
jmp 0x14007f932
xor edi, edi
mov dword [rsp + 0x3c], edi
mov rsi, qword [r12]
movups xmm0, xmmword [rsi]
movups xmmword [rbp], xmm0
mov ecx, dword [rsi + 0x10]
imul eax, dword [r13 + 0x48], 0x3e8
add ecx, eax
mov dword [rbp + 0x10], ecx
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x38], xmm0
mov eax, dword [rsi + 0x10]
mov dword [rbp - 0x28], eax
mov qword [rsp + 0x78], rdi
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x14007f9dc
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x38]
call fcn.140042b50
test eax, eax
js 0x14007f9d8
mov dword [rsp + 0x4c], 4
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
mov rdi, qword [rsp + 0x78]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x14007f9c7
cmp dword [rsp + 0x50], 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 0x14007fa06
mov rdx, rsi
lea rcx, [rbp - 0x70]
call fcn.14003bcd0
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007fa06
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r9d, 1
mov r8d, dword [rsp + 0x3c]
lea rdx, [rbp]
mov rcx, r13
call fcn.140101d60
test eax, eax
jne 0x14007fa4c
lea rdx, [rbp]
lea rcx, [rbp - 0x68]
call fcn.14003bcd0
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007fa4c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc r14d
add r12, 8
cmp r14d, 2
jb 0x14007f930
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x14007fa79
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x60], 0
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r15d
sub r15d, 1
jg 0x14007faa0
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 0x14007fab0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1402ecc20
lea r11, [rsp + 0x190]
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