Function at 0x14006af00
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 [0x1403d88e8]
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 + 0x20], 0
jne 0x14006af75
lea r8, str.DtsS2ApoSetting.cpp
mov edx, 0x44f
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
jmp 0x14006b6b9
lea rax, [0x1403477a8]
mov qword [rbp + 0x68], rax
lea rax, [0x140347798]
mov qword [rbp + 0x70], rax
lea rax, [0x14034dc60]
mov qword [rbp + 0x78], rax
movdqa xmm0, xmmword [0x140361cb0]
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.1400f9930
mov rcx, rax
test rax, rax
je 0x14006b6e9
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.140015a40
or r14, 0xffffffffffffffff
test al, al
jne 0x14006b02c
mov rax, r14
inc rax
cmp word [rdi + rax*2], 0
jne 0x14006b011
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.1400105e0
nop
mov dword [rsp + 0x38], r15d
mov r9d, 0x20019
mov r8, qword [rsp + 0x30]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x58]
call fcn.140015610
mov r13d, SafeArrayDestroy
test eax, eax
jne 0x14006b112
mov qword [rbp - 0x48], r15
mov edi, r15d
mov rsi, qword [rsp + 0x58]
test rsi, rsi
je 0x14006b10d
lea rdx, [rbp - 0x48]
lea rcx, [0x140340cc8]
call fcn.1400c0600
test eax, eax
js 0x14006b0e1
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 0x14006b0ca
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 0x14006b0ff
mov r9d, 1
mov r8d, dword [rsp + 0x38]
lea rdx, [0x140340cc8]
mov rcx, rbx
call fcn.14000f4d0
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
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.1400105e0
mov r8d, 1
lea rdx, [0x1403466e8]
lea rcx, [rsp + 0x30]
call fcn.14001cfc0
lea rax, str.Internal
mov rdx, qword [rax + r13]
test rdx, rdx
jne 0x14006b182
xor eax, eax
jmp 0x14006b18f
mov rax, r14
inc rax
cmp word [rdx + rax*2], 0
jne 0x14006b185
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.14001cfc0
mov rdx, qword [rsi]
test rdx, rdx
jne 0x14006b1a8
xor eax, eax
jmp 0x14006b1ba
mov rax, r14
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14006b1b0
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.14001cfc0
mov r8d, 7
lea rdx, str.Default
lea rcx, [rsp + 0x30]
call fcn.14001cfc0
mov r9d, 0x20019
mov r8, qword [rsp + 0x30]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x58]
call fcn.140015610
test eax, eax
jne 0x14006b642
test r12d, r12d
je 0x14006b463
mov rax, qword [rbx + 0x20]
test dword [rax + 0x31c], 0x8000
jne 0x14006b463
lea rax, [0x140343d58]
mov qword [rbp + 0x80], rax
lea rax, [0x140343d40]
mov qword [rbp + 0x88], rax
lea rax, [0x140343e60]
mov qword [rbp + 0x90], rax
lea rax, [0x140343e48]
mov qword [rbp + 0x98], rax
lea rax, [0x140343e30]
mov qword [rbp + 0xa0], rax
lea rax, [0x140343e18]
mov qword [rbp + 0xa8], rax
lea rax, [0x140343e00]
mov qword [rbp + 0xb0], rax
lea rax, [0x140343de8]
mov qword [rbp + 0xb8], rax
lea rax, [0x140343db8]
mov qword [rbp + 0xc0], rax
lea rax, [0x140343da0]
mov qword [rbp + 0xc8], rax
lea rax, [0x140343d88]
mov qword [rbp + 0xd0], rax
lea rax, [0x140343d70]
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 0x14006b2f2
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 0x14006b390
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x10]
call fcn.1400c0600
test eax, eax
js 0x14006b38c
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 0x14006b37b
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 0x14006b3bb
lea rdx, [rbp + 0x28]
lea rcx, [rbp - 0x28]
call fcn.1400c12f0
mov rdx, qword [rbp - 0x28]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14006b3bb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rbp + 0x38]
test r13d, r13d
je 0x14006b3ca
add eax, 0xbb8
jmp 0x14006b3db
test r12d, r12d
je 0x14006b3d6
add eax, 0x3e8
jmp 0x14006b3db
add eax, 0x7d0
cmp r15d, 4
jne 0x14006b3e8
add eax, 0x9c40
jmp 0x14006b3fa
cmp r15d, 2
jne 0x14006b3f5
add eax, 0x4e20
jmp 0x14006b3fa
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.14000f4d0
test eax, eax
jne 0x14006b448
lea rdx, [rbp + 0x28]
lea rcx, [rbp - 0x40]
call fcn.1400c12f0
mov rdx, qword [rbp - 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14006b448
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc esi
add r14, 8
cmp esi, 0xc
jb 0x14006b2f0
or r14, 0xffffffffffffffff
mov rdi, qword [rbp - 0x70]
mov r13, qword [rbp - 0x68]
cmp dword [rbp - 0x80], 0
je 0x14006b609
mov rax, qword [rbx + 0x20]
test dword [rax + 0x31c], 0x10000
jne 0x14006b609
lea rax, [0x140343ed8]
mov qword [rbp - 0x20], rax
lea rax, [0x140343ec0]
mov qword [rbp - 0x18], rax
xor edx, edx
mov r14d, edx
mov r12d, dword [rbp + r13 + 0x54]
mov r13d, dword [rbp + r13 + 0x50]
mov r15d, dword [rdi]
lea rsi, [rbp - 0x20]
jmp 0x14006b4b2
xor edx, edx
mov dword [rsp + 0x40], edx
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], rdx
mov edi, edx
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x14006b53f
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x10]
call fcn.1400c0600
test eax, eax
js 0x14006b53b
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 0x14006b52a
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 0x14006b56a
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x38]
call fcn.1400c12f0
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14006b56a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rbp + 0x20]
test r13d, r13d
je 0x14006b579
add eax, 0xbb8
jmp 0x14006b58a
test r12d, r12d
je 0x14006b585
add eax, 0x3e8
jmp 0x14006b58a
add eax, 0x7d0
cmp r15d, 4
jne 0x14006b597
add eax, 0x9c40
jmp 0x14006b5a9
cmp r15d, 2
jne 0x14006b5a4
add eax, 0x4e20
jmp 0x14006b5a9
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.14000f4d0
test eax, eax
jne 0x14006b5f4
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x30]
call fcn.1400c12f0
mov rdx, qword [rbp - 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14006b5f4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc r14d
add rsi, 8
cmp r14d, 2
jb 0x14006b4b0
or r14, 0xffffffffffffffff
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x14006b625
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 r12d, dword [rbp - 0x74]
mov r13, qword [rbp - 0x68]
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 0x14006b140
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 0x14006b120
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r14d
sub r14d, 1
jg 0x14006b6a9
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 0x14006b6b9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.14029d880
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.14000de90
int3