Function at 0x140068680
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 [0x1403b88b0]
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, [0x14032a3b0]
mov qword [rbp + 0x30], rax
lea rax, [0x14032a3a0]
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], r15
lea rax, [0x140331448]
mov qword [rbp + 0x48], rax
lea rax, [0x140326760]
mov qword [rbp + 0x50], rax
lea rax, [0x140326700]
mov qword [rbp + 0x58], rax
lea rax, [0x140326658]
mov qword [rbp + 0x60], rax
lea rax, [0x140326640]
mov qword [rbp + 0x68], rax
lea rax, [0x1403266b8]
mov qword [rbp + 0x70], rax
lea rax, [0x1403266a0]
mov qword [rbp + 0x78], rax
lea rax, [0x140326670]
mov qword [rbp + 0x80], rax
lea rax, [0x1403267a8]
mov qword [rbp + 0x88], rax
lea rax, [0x140326778]
mov qword [rbp + 0x90], rax
lea rax, [0x1403267d8]
mov qword [rbp + 0x98], rax
lea rax, [0x140326790]
mov qword [rbp - 0x60], rax
lea eax, [rdi - 1]
test eax, 0xfffffffc
jne 0x140068c17
cmp edi, 3
je 0x140068c17
mov eax, dword [rcx + 0x38]
dec eax
cmp eax, 2
ja 0x140068c17
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], r15d
mov qword [rsp + 0x60], r15
call fcn.1400f5f94
mov rcx, rax
test rax, rax
je 0x140068c41
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.140014ab0
lea rsi, [r15 - 1]
test al, al
jne 0x14006880b
mov rax, rsi
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400687f0
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140010390
nop
lea rdx, [0x140329108]
mov rax, rsi
inc rax
cmp word [rdx + rax*2], 0
jne 0x140068815
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.14001bf50
movsxd rax, dword [r13 + 0x38]
lea rdx, str.Internal
mov rdx, qword [rdx + rax*8 - 8]
test rdx, rdx
jne 0x140068846
mov eax, r15d
jmp 0x14006885a
mov rax, rsi
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140068850
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.14001bf50
mov rdx, qword [rbp + rdi*8 + 0x28]
test rdx, rdx
jne 0x140068876
mov eax, r15d
jmp 0x14006888a
mov rax, rsi
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140068880
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.14001bf50
lea rdx, str.Default
mov rax, rsi
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400688a1
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.14001bf50
mov r9d, 0x20019
mov rbx, qword [rsp + 0x40]
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x50]
call fcn.1400146e0
test eax, eax
je 0x14006892c
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.1400144b0
test eax, eax
je 0x14006892c
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140068922
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], r15d
jmp 0x140068bef
mov r14d, r15d
lea edx, [rdi + rdi*4]
add edx, edx
mov dword [rsp + 0x4c], edx
lea r12, [rbp + 0x50]
jmp 0x140068943
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 0x1400689f9
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x40]
call fcn.1400bd410
test eax, eax
js 0x1400689f5
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 0x1400689e4
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 0x140068a22
mov rdx, r15
lea rcx, [rbp - 0x70]
call fcn.1400be150
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140068a22
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.14000f280
test eax, eax
jne 0x140068a67
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x68]
call fcn.1400be150
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140068a67
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 0x140068940
xor edx, edx
mov r14d, edx
mov r15d, edx
mov r12d, dword [rsp + 0x4c]
jmp 0x140068a92
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 0x140068b49
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x28]
call fcn.1400bd410
test eax, eax
js 0x140068b45
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 0x140068b34
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 0x140068b72
mov rdx, r13
lea rcx, [rbp - 0x58]
call fcn.1400be150
mov rdx, qword [rbp - 0x58]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140068b72
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.14000fe10
test eax, eax
jne 0x140068bb5
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x48]
call fcn.1400be150
mov rdx, qword [rbp - 0x48]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140068bb5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc r14d
add r15, 8
cmp r14d, 1
jb 0x140068a90
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x140068be2
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 0x140068c07
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 0x140068c17
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140281bf0
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.14000dc70
int3