Function at 0x14006a930
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 [0x1403d88e8]
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, [0x1403477a8]
mov qword [rbp + 0x30], rax
lea rax, [0x140347798]
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], r15
lea rax, [0x14034dc60]
mov qword [rbp + 0x48], rax
lea rax, [0x140343e60]
mov qword [rbp + 0x50], rax
lea rax, [0x140343e00]
mov qword [rbp + 0x58], rax
lea rax, [0x140343d58]
mov qword [rbp + 0x60], rax
lea rax, [0x140343d40]
mov qword [rbp + 0x68], rax
lea rax, [0x140343db8]
mov qword [rbp + 0x70], rax
lea rax, [0x140343da0]
mov qword [rbp + 0x78], rax
lea rax, [0x140343d70]
mov qword [rbp + 0x80], rax
lea rax, [0x140343ea8]
mov qword [rbp + 0x88], rax
lea rax, [0x140343e78]
mov qword [rbp + 0x90], rax
lea rax, [0x140343ed8]
mov qword [rbp + 0x98], rax
lea rax, [0x140343e90]
mov qword [rbp - 0x60], rax
lea eax, [rdi - 1]
test eax, 0xfffffffc
jne 0x14006aec7
cmp edi, 3
je 0x14006aec7
mov eax, dword [rcx + 0x38]
dec eax
cmp eax, 2
ja 0x14006aec7
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], r15d
mov qword [rsp + 0x60], r15
call fcn.1400f9930
mov rcx, rax
test rax, rax
je 0x14006aef1
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.140015a40
or rsi, 0xffffffffffffffff
test al, al
jne 0x14006aabb
mov rax, rsi
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x14006aaa0
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.1400105e0
nop
lea rdx, [0x1403466e8]
mov rax, rsi
inc rax
cmp word [rdx + rax*2], 0
jne 0x14006aac5
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.14001cfc0
movsxd rax, dword [r13 + 0x38]
lea rdx, str.Internal
mov rdx, qword [rdx + rax*8 - 8]
test rdx, rdx
jne 0x14006aaf6
mov eax, r15d
jmp 0x14006ab0a
mov rax, rsi
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14006ab00
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.14001cfc0
mov rdx, qword [rbp + rdi*8 + 0x28]
test rdx, rdx
jne 0x14006ab26
mov eax, r15d
jmp 0x14006ab3a
mov rax, rsi
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14006ab30
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.14001cfc0
lea rdx, str.Default
mov rax, rsi
inc rax
cmp word [rdx + rax*2], 0
jne 0x14006ab51
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.14001cfc0
mov r9d, 0x20019
mov rbx, qword [rsp + 0x40]
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x50]
call fcn.140015610
test eax, eax
je 0x14006abdc
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.1400153d0
test eax, eax
je 0x14006abdc
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14006abd2
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], r15d
jmp 0x14006ae9f
mov r14d, r15d
lea edx, [rdi + rdi*4]
add edx, edx
mov dword [rsp + 0x4c], edx
lea r12, [rbp + 0x50]
jmp 0x14006abf3
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 + 0x38]
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 0x14006aca9
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x40]
call fcn.1400c0600
test eax, eax
js 0x14006aca5
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 0x14006ac94
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 0x14006acd2
mov rdx, r15
lea rcx, [rbp - 0x70]
call fcn.1400c12f0
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14006acd2
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.14000f4d0
test eax, eax
jne 0x14006ad17
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x68]
call fcn.1400c12f0
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14006ad17
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 0x14006abf0
xor edx, edx
mov r14d, edx
mov r15d, edx
mov r12d, dword [rsp + 0x4c]
jmp 0x14006ad42
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 + 0x38]
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 0x14006adf9
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x28]
call fcn.1400c0600
test eax, eax
js 0x14006adf5
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 0x14006ade4
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 0x14006ae22
mov rdx, r13
lea rcx, [rbp - 0x58]
call fcn.1400c12f0
mov rdx, qword [rbp - 0x58]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14006ae22
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.140010060
test eax, eax
jne 0x14006ae65
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x48]
call fcn.1400c12f0
mov rdx, qword [rbp - 0x48]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14006ae65
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc r14d
add r15, 8
cmp r14d, 1
jb 0x14006ad40
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x14006ae92
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 0x14006aeb7
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 0x14006aec7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.14029d880
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.14000de90
int3