Function at 0x1400a3c60
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 [0x14020e318]
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 0x1400a481c
mov qword [r11 - 0x1a8], 0
call fcn.14013e120
mov rcx, rax
xor edx, edx
test rax, rax
setne dl
test edx, edx
jne 0x1400a3cdf
mov ecx, 0x80004005
call fcn.140001c70
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 0x1400a3d28
movzx edi, dx
mov ecx, edi
call fcn.14014c5c0
test rax, rax
je 0x1400a3d49
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140005140
mov rbx, qword [rsp + 0x30]
jmp 0x1400a3d49
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.1400038f0
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rcx, r14
lea rbp, [0x14019d8a0]
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 0x1400a3d96
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140001c90
mov rbx, qword [rsp + 0x30]
cmp rsi, r12
ja 0x1400a3d9f
lea rbp, [rbx + rsi*2]
movsxd rdx, r13d
add rdx, rdx
lea rcx, [rbx + r12*2]
mov r9, rdx
mov r8, rbp
call fcn.14015c410
test edi, edi
js 0x1400a4811
cmp edi, dword [rbx - 0xc]
jg 0x1400a4811
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 0x1400a3df0
xor r12d, r12d
jmp 0x1400a3e02
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 0x1400a3e36
mov edx, ebp
lea rcx, [rsp + 0x30]
call fcn.140001c90
mov rbx, qword [rsp + 0x30]
cmp rdi, r13
ja 0x1400a3e3f
lea rsi, [rbx + rdi*2]
movsxd rdx, r12d
add rdx, rdx
lea rcx, [rbx + r13*2]
mov r9, rdx
mov r8, rsi
call fcn.14015c410
test ebp, ebp
js 0x1400a4806
cmp ebp, dword [rbx - 0xc]
jg 0x1400a4806
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 0x1400a3ebe
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140001c90
mov rbx, qword [rsp + 0x30]
cmp rsi, r12
ja 0x1400a3ec7
lea rbp, [rbx + rsi*2]
movsxd rdx, r13d
add rdx, rdx
lea rcx, [rbx + r12*2]
mov r9, rdx
mov r8, rbp
call fcn.14015c410
test edi, edi
js 0x1400a47fb
cmp edi, dword [rbx - 0xc]
jg 0x1400a47fb
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 0x1400a3f46
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140001c90
mov rbx, qword [rsp + 0x30]
cmp rsi, r12
ja 0x1400a3f4f
lea rbp, [rbx + rsi*2]
movsxd rdx, r13d
add rdx, rdx
lea rcx, [rbx + r12*2]
mov r9, rdx
mov r8, rbp
call fcn.14015c410
test edi, edi
js 0x1400a47f0
cmp edi, dword [rbx - 0xc]
jg 0x1400a47f0
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 0x1400a47d1
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x80], rax
test r15d, r15d
je 0x1400a43e4
mov r15, qword [rsp + 0x38]
mov rax, qword [r15 + 0x20]
bt dword [rax + 0x31c], 0xf
jb 0x1400a43e9
lea rax, [0x1401a8438]
mov qword [rsp + 0x130], rax
lea rax, [0x1401a8450]
mov qword [rsp + 0x138], rax
lea rax, [0x1401a8330]
mov qword [rsp + 0x140], rax
lea rax, [0x1401a8348]
mov qword [rsp + 0x148], rax
lea rax, [0x1401a8360]
mov qword [rsp + 0x150], rax
lea rax, [0x1401a8378]
mov qword [rsp + 0x158], rax
lea rax, [0x1401a8390]
mov qword [rsp + 0x160], rax
lea rax, [0x1401a83a8]
mov qword [rsp + 0x168], rax
lea rax, [0x1401a83d8]
mov qword [rsp + 0x170], rax
lea rax, [0x1401a83f0]
mov qword [rsp + 0x178], rax
lea rax, [0x1401a8408]
mov qword [rsp + 0x180], rax
lea rax, [0x1401a8420]
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 0x1400a4186
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x1ac]
call fcn.1400ec3f0
test eax, eax
js 0x1400a4186
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 0x1400a4179
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 0x1400a41ba
mov rdx, rbp
lea rcx, [rsp + 0x100]
call fcn.1400ed270
mov rdx, qword [rsp + 0x100]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400a41ba
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, [0x1401a6570]
mov ebp, 1
mov r8d, ebp
xor edx, edx
lea rcx, [0x1401a6560]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400a4229
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400a42dc
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a42dc
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 0x1400a4266
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400a42dc
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a42dc
cmp word [rsp + 0xb0], 0x13
je 0x1400a4292
lea rcx, [rsp + 0xb0]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400a42dc
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a42dc
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 0x1400a42bf
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp edi, ebx
jne 0x1400a42dc
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400a43cf
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a43cf
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [0x1401a6570]
mov r8d, ebp
xor edx, edx
lea rcx, [0x1401a6560]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400a4319
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400a4396
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a4396
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 0x1400a4392
mov rax, qword [rcx]
call qword [rax + 0x10]
test ebx, ebx
jne 0x1400a43cf
lea rdx, [rsp + 0x1c0]
lea rcx, [rsp + 0x110]
call fcn.1400ed270
mov rdx, qword [rsp + 0x110]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400a43cf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add r12, 8
sub r13, 1
jne 0x1400a40a0
mov rbx, qword [rsp + 0x30]
jmp 0x1400a43e9
mov r15, qword [rsp + 0x38]
cmp dword [rsp + 0x74], 0
je 0x1400a4780
mov rax, qword [r15 + 0x20]
test byte [rax + 0x31e], 1
jne 0x1400a4780
lea rax, [0x1401a82b8]
mov qword [rsp + 0x120], rax
lea rax, [0x1401a82d0]
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 0x1400a4524
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x198]
call fcn.1400ec3f0
test eax, eax
js 0x1400a4524
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 0x1400a4517
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 0x1400a4558
mov rdx, rbx
lea rcx, [rsp + 0xf8]
call fcn.1400ed270
mov rdx, qword [rsp + 0xf8]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400a4558
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, [0x1401a6570]
mov ebp, 1
mov r8d, ebp
xor edx, edx
lea rcx, [0x1401a6560]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400a45c7
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400a467a
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a467a
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 0x1400a4604
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400a467a
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a467a
cmp word [rsp + 0x98], 0x13
je 0x1400a4630
lea rcx, [rsp + 0x98]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400a467a
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a467a
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 0x1400a465d
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp edi, ebx
jne 0x1400a467a
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400a476d
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a476d
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x1401a6570]
mov r8d, ebp
xor edx, edx
lea rcx, [0x1401a6560]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400a46b7
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400a4734
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a4734
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 0x1400a4730
mov rax, qword [rcx]
call qword [rax + 0x10]
test ebx, ebx
jne 0x1400a476d
lea rdx, [rsp + 0x1d8]
lea rcx, [rsp + 0x108]
call fcn.1400ed270
mov rdx, qword [rsp + 0x108]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400a476d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add r12, 8
sub r13, 1
jne 0x1400a4440
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x50]
test rsi, rsi
je 0x1400a479f
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 0x1400a47bc
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 0x1400a481c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400a481c
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], r14d
add r14d, 0xffffffff
test r14d, r14d
jg 0x1400a47ee
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x1400a481c
mov ecx, 0x80070057
call fcn.140001c70
int3
mov ecx, 0x80070057
call fcn.140001c70
int3
mov ecx, 0x80070057
call fcn.140001c70
int3
mov ecx, 0x80070057
call fcn.140001c70
nop
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.14015b6f0
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