Function at 0x1400986a0
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 0x14009925c
mov qword [r11 - 0x1a8], 0
call fcn.140129a50
mov rcx, rax
xor edx, edx
test rax, rax
setne dl
test edx, edx
jne 0x14009871f
mov ecx, 0x80004005
call fcn.140002d80
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 0x140098768
movzx edi, dx
mov ecx, edi
call fcn.140138984
test rax, rax
je 0x140098789
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140004d70
mov rbx, qword [rsp + 0x30]
jmp 0x140098789
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.1400032e0
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 0x1400987d6
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140002da0
mov rbx, qword [rsp + 0x30]
cmp rsi, r12
ja 0x1400987df
lea rbp, [rbx + rsi*2]
movsxd rdx, r13d
add rdx, rdx
lea rcx, [rbx + r12*2]
mov r9, rdx
mov r8, rbp
call fcn.1401448d0
test edi, edi
js 0x140099251
cmp edi, dword [rbx - 0xc]
jg 0x140099251
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 0x140098830
xor r12d, r12d
jmp 0x140098842
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 0x140098876
mov edx, ebp
lea rcx, [rsp + 0x30]
call fcn.140002da0
mov rbx, qword [rsp + 0x30]
cmp rdi, r13
ja 0x14009887f
lea rsi, [rbx + rdi*2]
movsxd rdx, r12d
add rdx, rdx
lea rcx, [rbx + r13*2]
mov r9, rdx
mov r8, rsi
call fcn.1401448d0
test ebp, ebp
js 0x140099246
cmp ebp, dword [rbx - 0xc]
jg 0x140099246
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 0x1400988fe
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140002da0
mov rbx, qword [rsp + 0x30]
cmp rsi, r12
ja 0x140098907
lea rbp, [rbx + rsi*2]
movsxd rdx, r13d
add rdx, rdx
lea rcx, [rbx + r12*2]
mov r9, rdx
mov r8, rbp
call fcn.1401448d0
test edi, edi
js 0x14009923b
cmp edi, dword [rbx - 0xc]
jg 0x14009923b
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 0x140098986
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140002da0
mov rbx, qword [rsp + 0x30]
cmp rsi, r12
ja 0x14009898f
lea rbp, [rbx + rsi*2]
movsxd rdx, r13d
add rdx, rdx
lea rcx, [rbx + r12*2]
mov r9, rdx
mov r8, rbp
call fcn.1401448d0
test edi, edi
js 0x140099230
cmp edi, dword [rbx - 0xc]
jg 0x140099230
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 0x140099211
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x80], rax
test r15d, r15d
je 0x140098e24
mov r15, qword [rsp + 0x38]
mov rax, qword [r15 + 0x20]
bt dword [rax + 0x314], 0xf
jb 0x140098e29
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 0x140098bc6
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x1ac]
call fcn.1400da030
test eax, eax
js 0x140098bc6
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 0x140098bb9
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 0x140098bfa
mov rdx, rbp
lea rcx, [rsp + 0x100]
call fcn.1400db050
mov rdx, qword [rsp + 0x100]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140098bfa
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 0x140098c69
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140098d1c
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140098d1c
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 0x140098ca6
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140098d1c
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140098d1c
cmp word [rsp + 0xb0], 0x13
je 0x140098cd2
lea rcx, [rsp + 0xb0]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140098d1c
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140098d1c
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 0x140098cff
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp edi, ebx
jne 0x140098d1c
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140098e0f
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140098e0f
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 0x140098d59
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140098dd6
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140098dd6
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 0x140098dd2
mov rax, qword [rcx]
call qword [rax + 0x10]
test ebx, ebx
jne 0x140098e0f
lea rdx, [rsp + 0x1c0]
lea rcx, [rsp + 0x110]
call fcn.1400db050
mov rdx, qword [rsp + 0x110]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140098e0f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add r12, 8
sub r13, 1
jne 0x140098ae0
mov rbx, qword [rsp + 0x30]
jmp 0x140098e29
mov r15, qword [rsp + 0x38]
cmp dword [rsp + 0x74], 0
je 0x1400991c0
mov rax, qword [r15 + 0x20]
test byte [rax + 0x316], 1
jne 0x1400991c0
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 0x140098f64
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x198]
call fcn.1400da030
test eax, eax
js 0x140098f64
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 0x140098f57
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 0x140098f98
mov rdx, rbx
lea rcx, [rsp + 0xf8]
call fcn.1400db050
mov rdx, qword [rsp + 0xf8]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140098f98
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 0x140099007
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400990ba
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400990ba
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 0x140099044
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400990ba
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400990ba
cmp word [rsp + 0x98], 0x13
je 0x140099070
lea rcx, [rsp + 0x98]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400990ba
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400990ba
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 0x14009909d
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp edi, ebx
jne 0x1400990ba
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400991ad
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400991ad
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 0x1400990f7
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140099174
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140099174
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 0x140099170
mov rax, qword [rcx]
call qword [rax + 0x10]
test ebx, ebx
jne 0x1400991ad
lea rdx, [rsp + 0x1d8]
lea rcx, [rsp + 0x108]
call fcn.1400db050
mov rdx, qword [rsp + 0x108]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400991ad
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add r12, 8
sub r13, 1
jne 0x140098e80
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x50]
test rsi, rsi
je 0x1400991df
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 0x1400991fc
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 0x14009925c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14009925c
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], r14d
add r14d, 0xffffffff
test r14d, r14d
jg 0x14009922e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x14009925c
mov ecx, 0x80070057
call fcn.140002d80
int3
mov ecx, 0x80070057
call fcn.140002d80
int3
mov ecx, 0x80070057
call fcn.140002d80
int3
mov ecx, 0x80070057
call fcn.140002d80
nop
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.1401447b0
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