Function at 0x1400a19e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x200
mov qword [rsp + 0x190], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rax, qword [0x140210348]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov dword [rsp + 0x74], r8d
mov r15d, edx
mov qword [rsp + 0x38], rcx
cmp qword [rcx + 0x20], 0
je 0x1400a259c
mov qword [r11 - 0x1a8], 0
call fcn.14013d07c
mov rcx, rax
xor edx, edx
test rax, rax
setne dl
test edx, edx
jne 0x1400a1a5f
mov ecx, 0x80004005
call fcn.140001c00
int3
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
lea rdx, str.SOFTWAREDTSPremiumSuitPresets
or r14, 0xffffffffffffffff
test rdx, 0xffffffffffff0000
jne 0x1400a1aa8
movzx edi, dx
mov ecx, edi
call fcn.14013d654
test rax, rax
je 0x1400a1ac9
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400020e0
mov rbx, qword [rsp + 0x30]
jmp 0x1400a1ac9
xor eax, eax
mov rcx, r14
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x30]
call fcn.140002390
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rcx, r14
lea rbp, [0x14019eaf8]
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
lea r13, [rcx - 1]
mov rsi, rbp
sub rsi, rbx
sar rsi, 1
mov r12d, dword [rbx - 0x10]
lea edi, [r12 + rcx - 1]
mov edx, 1
sub edx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, edx
jge 0x1400a1b16
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140001df0
mov rbx, qword [rsp + 0x30]
cmp rsi, r12
ja 0x1400a1b1f
lea rbp, [rbx + rsi*2]
movsxd rdx, r13d
add rdx, rdx
lea rcx, [rbx + r12*2]
mov r9, rdx
mov r8, rbp
call fcn.14015cd30
test edi, edi
js 0x1400a2591
cmp edi, dword [rbx - 0xc]
jg 0x1400a2591
mov dword [rbx - 0x10], edi
movsxd rax, edi
mov word [rbx + rax*2], 0
mov rax, qword [rsp + 0x38]
movsxd rax, dword [rax + 0x38]
lea rsi, str.Internal
mov rsi, qword [rsi + rax*8 - 8]
test rsi, rsi
jne 0x1400a1b70
xor r12d, r12d
jmp 0x1400a1b82
xor eax, eax
mov rcx, r14
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
lea r12, [rcx - 1]
mov rdi, rsi
sub rdi, rbx
sar rdi, 1
mov r13d, dword [rbx - 0x10]
lea ebp, [r13 + r12]
mov edx, 1
sub edx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, ebp
or eax, edx
jge 0x1400a1bb6
mov edx, ebp
lea rcx, [rsp + 0x30]
call fcn.140001df0
mov rbx, qword [rsp + 0x30]
cmp rdi, r13
ja 0x1400a1bbf
lea rsi, [rbx + rdi*2]
movsxd rdx, r12d
add rdx, rdx
lea rcx, [rbx + r13*2]
mov r9, rdx
mov r8, rsi
call fcn.14015cd30
test ebp, ebp
js 0x1400a2586
cmp ebp, dword [rbx - 0xc]
jg 0x1400a2586
mov dword [rbx - 0x10], ebp
movsxd rax, ebp
mov word [rbx + rax*2], 0
xor eax, eax
mov rcx, r14
lea rbp, str.Music
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
lea r13, [rcx - 1]
mov rsi, rbp
sub rsi, rbx
sar rsi, 1
mov r12d, dword [rbx - 0x10]
lea edi, [r12 + rcx - 1]
mov edx, 1
sub edx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, edx
jge 0x1400a1c3e
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140001df0
mov rbx, qword [rsp + 0x30]
cmp rsi, r12
ja 0x1400a1c47
lea rbp, [rbx + rsi*2]
movsxd rdx, r13d
add rdx, rdx
lea rcx, [rbx + r12*2]
mov r9, rdx
mov r8, rbp
call fcn.14015cd30
test edi, edi
js 0x1400a257b
cmp edi, dword [rbx - 0xc]
jg 0x1400a257b
mov dword [rbx - 0x10], edi
movsxd rax, edi
mov word [rbx + rax*2], 0
xor eax, eax
mov rcx, r14
lea rbp, str.Default
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
lea r13, [rcx - 1]
mov rsi, rbp
sub rsi, rbx
sar rsi, 1
mov r12d, dword [rbx - 0x10]
lea edi, [r12 + rcx - 1]
mov edx, 1
sub edx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, edx
jge 0x1400a1cc6
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140001df0
mov rbx, qword [rsp + 0x30]
cmp rsi, r12
ja 0x1400a1ccf
lea rbp, [rbx + rsi*2]
movsxd rdx, r13d
add rdx, rdx
lea rcx, [rbx + r12*2]
mov r9, rdx
mov r8, rbp
call fcn.14015cd30
test edi, edi
js 0x1400a2570
cmp edi, dword [rbx - 0xc]
jg 0x1400a2570
mov dword [rbx - 0x10], edi
movsxd rax, edi
mov word [rbx + rax*2], 0
xor esi, esi
mov qword [rsp + 0x50], rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400a2551
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x80], rax
test r15d, r15d
je 0x1400a2164
mov r15, qword [rsp + 0x38]
mov rax, qword [r15 + 0x20]
bt dword [rax + 0x31c], 0xf
jb 0x1400a2169
lea rax, [0x1401a9698]
mov qword [rsp + 0x130], rax
lea rax, [0x1401a96b0]
mov qword [rsp + 0x138], rax
lea rax, [0x1401a9590]
mov qword [rsp + 0x140], rax
lea rax, [0x1401a95a8]
mov qword [rsp + 0x148], rax
lea rax, [0x1401a95c0]
mov qword [rsp + 0x150], rax
lea rax, [0x1401a95d8]
mov qword [rsp + 0x158], rax
lea rax, [0x1401a95f0]
mov qword [rsp + 0x160], rax
lea rax, [0x1401a9608]
mov qword [rsp + 0x168], rax
lea rax, [0x1401a9638]
mov qword [rsp + 0x170], rax
lea rax, [0x1401a9650]
mov qword [rsp + 0x178], rax
lea rax, [0x1401a9668]
mov qword [rsp + 0x180], rax
lea rax, [0x1401a9680]
mov qword [rsp + 0x188], rax
lea r12, [rsp + 0x130]
lea r13d, [rsi + 0xc]
mov dword [rsp + 0x64], esi
mov rbp, qword [r12]
lea rcx, [rsp + 0x1c0]
mov eax, dword [rbp]
mov dword [rcx], eax
mov eax, dword [rbp + 4]
mov dword [rcx + 4], eax
mov eax, dword [rbp + 8]
mov dword [rcx + 8], eax
mov eax, dword [rbp + 0xc]
mov dword [rcx + 0xc], eax
mov eax, dword [rbp + 0x10]
mov dword [rcx + 0x10], eax
mov eax, dword [r15 + 0x38]
imul eax, eax, 0x3e8
add dword [rsp + 0x1d0], eax
lea rcx, [rsp + 0x1ac]
mov eax, dword [rbp]
mov dword [rcx], eax
mov eax, dword [rbp + 4]
mov dword [rcx + 4], eax
mov eax, dword [rbp + 8]
mov dword [rcx + 8], eax
mov eax, dword [rbp + 0xc]
mov dword [rcx + 0xc], eax
mov eax, dword [rbp + 0x10]
mov dword [rcx + 0x10], eax
mov qword [rsp + 0x88], rsi
mov edi, esi
mov rsi, qword [rsp + 0x50]
test rsi, rsi
je 0x1400a1f06
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x1ac]
call fcn.1400ec620
test eax, eax
js 0x1400a1f06
mov dword [rsp + 0x78], 4
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x64]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x6c]
xor r8d, r8d
mov rbx, qword [rsp + 0x88]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400a1ef9
cmp dword [rsp + 0x6c], 4
mov eax, 1
cmove edi, eax
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test edi, edi
jne 0x1400a1f3a
mov rdx, rbp
lea rcx, [rsp + 0x100]
call fcn.1400ed630
mov rdx, qword [rsp + 0x100]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400a1f3a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ebx, dword [rsp + 0x64]
xor esi, esi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x40], rsi
xor eax, eax
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [0x1401a77d0]
mov ebp, 1
mov r8d, ebp
xor edx, edx
lea rcx, [0x1401a77c0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400a1fa9
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400a205c
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a205c
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
lea rdx, [rsp + 0xb0]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x1c0]
mov r8d, ebp
mov rdx, qword [r15 + 0x10]
call qword [rax + 0x50]
test eax, eax
jns 0x1400a1fe6
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400a205c
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a205c
cmp word [rsp + 0xb0], 0x13
je 0x1400a2012
lea rcx, [rsp + 0xb0]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400a205c
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a205c
mov edi, dword [rsp + 0xb8]
mov dword [rsp + 0x118], edi
lea rcx, [rsp + 0xb0]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400a203f
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp edi, ebx
jne 0x1400a205c
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400a214f
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a214f
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [0x1401a77d0]
mov r8d, ebp
xor edx, edx
lea rcx, [0x1401a77c0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400a2099
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400a2116
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a2116
xor eax, eax
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xf0], rax
mov word [rsp + 0xe0], 0x13
mov dword [rsp + 0xe8], ebx
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
lea rdx, [rsp + 0xe0]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x1c0]
mov r8d, ebp
mov rdx, qword [r15 + 0x10]
call qword [rax + 0x58]
mov edi, eax
lea rcx, [rsp + 0xe0]
call qword [sym.imp.ole32.dll_PropVariantClear]
mov ebx, esi
test edi, edi
setns bl
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400a2112
mov rax, qword [rcx]
call qword [rax + 0x10]
test ebx, ebx
jne 0x1400a214f
lea rdx, [rsp + 0x1c0]
lea rcx, [rsp + 0x110]
call fcn.1400ed630
mov rdx, qword [rsp + 0x110]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400a214f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add r12, 8
sub r13, 1
jne 0x1400a1e20
mov rbx, qword [rsp + 0x30]
jmp 0x1400a2169
mov r15, qword [rsp + 0x38]
cmp dword [rsp + 0x74], 0
je 0x1400a2500
mov rax, qword [r15 + 0x20]
test byte [rax + 0x31e], 1
jne 0x1400a2500
lea rax, [0x1401a9518]
mov qword [rsp + 0x120], rax
lea rax, [0x1401a9530]
mov qword [rsp + 0x128], rax
lea r12, [rsp + 0x120]
mov r13d, 2
nop
nop
nop
nop
mov dword [rsp + 0x60], esi
mov rbx, qword [r12]
lea rcx, [rsp + 0x1d8]
mov eax, dword [rbx]
mov dword [rcx], eax
mov eax, dword [rbx + 4]
mov dword [rcx + 4], eax
mov eax, dword [rbx + 8]
mov dword [rcx + 8], eax
mov eax, dword [rbx + 0xc]
mov dword [rcx + 0xc], eax
mov eax, dword [rbx + 0x10]
mov dword [rcx + 0x10], eax
mov eax, dword [r15 + 0x38]
imul eax, eax, 0x3e8
add dword [rsp + 0x1e8], eax
lea rcx, [rsp + 0x198]
mov eax, dword [rbx]
mov dword [rcx], eax
mov eax, dword [rbx + 4]
mov dword [rcx + 4], eax
mov eax, dword [rbx + 8]
mov dword [rcx + 8], eax
mov eax, dword [rbx + 0xc]
mov dword [rcx + 0xc], eax
mov eax, dword [rbx + 0x10]
mov dword [rcx + 0x10], eax
mov qword [rsp + 0x90], rsi
mov edi, esi
mov rsi, qword [rsp + 0x50]
test rsi, rsi
je 0x1400a22a4
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x198]
call fcn.1400ec620
test eax, eax
js 0x1400a22a4
mov dword [rsp + 0x70], 4
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
xor r8d, r8d
mov rbp, qword [rsp + 0x90]
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400a2297
cmp dword [rsp + 0x68], 4
mov eax, 1
cmove edi, eax
mov rcx, rbp
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test edi, edi
jne 0x1400a22d8
mov rdx, rbx
lea rcx, [rsp + 0xf8]
call fcn.1400ed630
mov rdx, qword [rsp + 0xf8]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400a22d8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ebx, dword [rsp + 0x60]
xor esi, esi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x48], rsi
xor eax, eax
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [0x1401a77d0]
mov ebp, 1
mov r8d, ebp
xor edx, edx
lea rcx, [0x1401a77c0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400a2347
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400a23fa
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a23fa
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea rdx, [rsp + 0x98]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x1d8]
mov r8d, ebp
mov rdx, qword [r15 + 0x10]
call qword [rax + 0x50]
test eax, eax
jns 0x1400a2384
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400a23fa
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a23fa
cmp word [rsp + 0x98], 0x13
je 0x1400a23b0
lea rcx, [rsp + 0x98]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400a23fa
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a23fa
mov edi, dword [rsp + 0xa0]
mov dword [rsp + 0x11c], edi
lea rcx, [rsp + 0x98]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400a23dd
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp edi, ebx
jne 0x1400a23fa
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400a24ed
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a24ed
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x1401a77d0]
mov r8d, ebp
xor edx, edx
lea rcx, [0x1401a77c0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400a2437
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400a24b4
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a24b4
xor eax, eax
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xd8], rax
mov word [rsp + 0xc8], 0x13
mov dword [rsp + 0xd0], ebx
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea rdx, [rsp + 0xc8]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x1d8]
mov r8d, ebp
mov rdx, qword [r15 + 0x10]
call qword [rax + 0x58]
mov edi, eax
lea rcx, [rsp + 0xc8]
call qword [sym.imp.ole32.dll_PropVariantClear]
mov ebx, esi
test edi, edi
setns bl
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400a24b0
mov rax, qword [rcx]
call qword [rax + 0x10]
test ebx, ebx
jne 0x1400a24ed
lea rdx, [rsp + 0x1d8]
lea rcx, [rsp + 0x108]
call fcn.1400ed630
mov rdx, qword [rsp + 0x108]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400a24ed
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add r12, 8
sub r13, 1
jne 0x1400a21c0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x50]
test rsi, rsi
je 0x1400a251f
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x80], 0
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], r14d
add r14d, 0xffffffff
test r14d, r14d
jg 0x1400a253c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x1400a259c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400a259c
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], r14d
add r14d, 0xffffffff
test r14d, r14d
jg 0x1400a256e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x1400a259c
mov ecx, 0x80070057
call fcn.140001c00
int3
mov ecx, 0x80070057
call fcn.140001c00
int3
mov ecx, 0x80070057
call fcn.140001c00
int3
mov ecx, 0x80070057
call fcn.140001c00
nop
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.14015d000
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret