Function at 0x1400986d0
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 [0x1401ea158]
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 0x14009928c
mov qword [r11 - 0x1a8], 0
call fcn.14012a060
mov rcx, rax
xor edx, edx
test rax, rax
setne dl
test edx, edx
jne 0x14009874f
mov ecx, 0x80004005
call fcn.140002cb0
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 0x140098798
movzx edi, dx
mov ecx, edi
call fcn.140138f84
test rax, rax
je 0x1400987b9
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140004c30
mov rbx, qword [rsp + 0x30]
jmp 0x1400987b9
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.140003210
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rcx, r14
lea rbp, [0x140180dfc]
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 0x140098806
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140002cd0
mov rbx, qword [rsp + 0x30]
cmp rsi, r12
ja 0x14009880f
lea rbp, [rbx + rsi*2]
movsxd rdx, r13d
add rdx, rdx
lea rcx, [rbx + r12*2]
mov r9, rdx
mov r8, rbp
call fcn.140144ee0
test edi, edi
js 0x140099281
cmp edi, dword [rbx - 0xc]
jg 0x140099281
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 0x140098860
xor r12d, r12d
jmp 0x140098872
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 0x1400988a6
mov edx, ebp
lea rcx, [rsp + 0x30]
call fcn.140002cd0
mov rbx, qword [rsp + 0x30]
cmp rdi, r13
ja 0x1400988af
lea rsi, [rbx + rdi*2]
movsxd rdx, r12d
add rdx, rdx
lea rcx, [rbx + r13*2]
mov r9, rdx
mov r8, rsi
call fcn.140144ee0
test ebp, ebp
js 0x140099276
cmp ebp, dword [rbx - 0xc]
jg 0x140099276
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 0x14009892e
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140002cd0
mov rbx, qword [rsp + 0x30]
cmp rsi, r12
ja 0x140098937
lea rbp, [rbx + rsi*2]
movsxd rdx, r13d
add rdx, rdx
lea rcx, [rbx + r12*2]
mov r9, rdx
mov r8, rbp
call fcn.140144ee0
test edi, edi
js 0x14009926b
cmp edi, dword [rbx - 0xc]
jg 0x14009926b
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 0x1400989b6
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140002cd0
mov rbx, qword [rsp + 0x30]
cmp rsi, r12
ja 0x1400989bf
lea rbp, [rbx + rsi*2]
movsxd rdx, r13d
add rdx, rdx
lea rcx, [rbx + r12*2]
mov r9, rdx
mov r8, rbp
call fcn.140144ee0
test edi, edi
js 0x140099260
cmp edi, dword [rbx - 0xc]
jg 0x140099260
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 0x140099241
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x80], rax
test r15d, r15d
je 0x140098e54
mov r15, qword [rsp + 0x38]
mov rax, qword [r15 + 0x20]
bt dword [rax + 0x314], 0xf
jb 0x140098e59
lea rax, [0x14018b908]
mov qword [rsp + 0x130], rax
lea rax, [0x14018b920]
mov qword [rsp + 0x138], rax
lea rax, [0x14018b800]
mov qword [rsp + 0x140], rax
lea rax, [0x14018b818]
mov qword [rsp + 0x148], rax
lea rax, [0x14018b830]
mov qword [rsp + 0x150], rax
lea rax, [0x14018b848]
mov qword [rsp + 0x158], rax
lea rax, [0x14018b860]
mov qword [rsp + 0x160], rax
lea rax, [0x14018b878]
mov qword [rsp + 0x168], rax
lea rax, [0x14018b8a8]
mov qword [rsp + 0x170], rax
lea rax, [0x14018b8c0]
mov qword [rsp + 0x178], rax
lea rax, [0x14018b8d8]
mov qword [rsp + 0x180], rax
lea rax, [0x14018b8f0]
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 0x140098bf6
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x1ac]
call fcn.1400da3d0
test eax, eax
js 0x140098bf6
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 0x140098be9
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 0x140098c2a
mov rdx, rbp
lea rcx, [rsp + 0x100]
call fcn.1400db3f0
mov rdx, qword [rsp + 0x100]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140098c2a
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, [0x140189a60]
mov ebp, 1
mov r8d, ebp
xor edx, edx
lea rcx, [0x140189a50]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140098c99
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140098d4c
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140098d4c
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 0x140098cd6
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140098d4c
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140098d4c
cmp word [rsp + 0xb0], 0x13
je 0x140098d02
lea rcx, [rsp + 0xb0]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140098d4c
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140098d4c
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 0x140098d2f
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp edi, ebx
jne 0x140098d4c
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140098e3f
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140098e3f
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [0x140189a60]
mov r8d, ebp
xor edx, edx
lea rcx, [0x140189a50]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140098d89
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140098e06
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140098e06
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 0x140098e02
mov rax, qword [rcx]
call qword [rax + 0x10]
test ebx, ebx
jne 0x140098e3f
lea rdx, [rsp + 0x1c0]
lea rcx, [rsp + 0x110]
call fcn.1400db3f0
mov rdx, qword [rsp + 0x110]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140098e3f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add r12, 8
sub r13, 1
jne 0x140098b10
mov rbx, qword [rsp + 0x30]
jmp 0x140098e59
mov r15, qword [rsp + 0x38]
cmp dword [rsp + 0x74], 0
je 0x1400991f0
mov rax, qword [r15 + 0x20]
test byte [rax + 0x316], 1
jne 0x1400991f0
lea rax, [0x14018b788]
mov qword [rsp + 0x120], rax
lea rax, [0x14018b7a0]
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 0x140098f94
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x198]
call fcn.1400da3d0
test eax, eax
js 0x140098f94
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 0x140098f87
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 0x140098fc8
mov rdx, rbx
lea rcx, [rsp + 0xf8]
call fcn.1400db3f0
mov rdx, qword [rsp + 0xf8]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140098fc8
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, [0x140189a60]
mov ebp, 1
mov r8d, ebp
xor edx, edx
lea rcx, [0x140189a50]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140099037
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400990ea
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400990ea
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 0x140099074
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400990ea
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400990ea
cmp word [rsp + 0x98], 0x13
je 0x1400990a0
lea rcx, [rsp + 0x98]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400990ea
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400990ea
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 0x1400990cd
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp edi, ebx
jne 0x1400990ea
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400991dd
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400991dd
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x140189a60]
mov r8d, ebp
xor edx, edx
lea rcx, [0x140189a50]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140099127
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400991a4
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400991a4
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 0x1400991a0
mov rax, qword [rcx]
call qword [rax + 0x10]
test ebx, ebx
jne 0x1400991dd
lea rdx, [rsp + 0x1d8]
lea rcx, [rsp + 0x108]
call fcn.1400db3f0
mov rdx, qword [rsp + 0x108]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400991dd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add r12, 8
sub r13, 1
jne 0x140098eb0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x50]
test rsi, rsi
je 0x14009920f
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 0x14009922c
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 0x14009928c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14009928c
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], r14d
add r14d, 0xffffffff
test r14d, r14d
jg 0x14009925e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x14009928c
mov ecx, 0x80070057
call fcn.140002cb0
int3
mov ecx, 0x80070057
call fcn.140002cb0
int3
mov ecx, 0x80070057
call fcn.140002cb0
int3
mov ecx, 0x80070057
call fcn.140002cb0
nop
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.140144dc0
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