Function at 0x14000af90
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x248]
sub rsp, 0x320
mov qword [rbp + 0x18], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402da8d8]
xor rax, rsp
mov qword [rbp + 0x218], rax
mov rsi, rcx
mov qword [rsp + 0x60], rcx
xor edi, edi
mov qword [rsp + 0x40], rdi
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [0x140281148]
xor edx, edx
lea r8d, [rdi + 1]
lea rcx, [0x1402811c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14000b026
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000b086
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x14000b086
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
lea rdx, [rbp - 0x50]
mov qword [rsp + 0x20], rdx
lea r9, [0x1402814c0]
mov r8d, 1
mov rdx, qword [rsi]
call qword [rax + 0x50]
test eax, eax
js 0x14000b014
lea rcx, [rbp - 0x50]
cmp word [rbp - 0x50], 0x13
je 0x14000b061
call qword [sym.imp.ole32.dll_PropVariantClear]
jmp 0x14000b014
mov ebx, dword [rbp - 0x48]
mov dword [rbp - 0x78], ebx
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000b07e
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
test ebx, ebx
jne 0x14000b911
call fcn.14004adf0
mov rcx, rax
test rax, rax
je 0x14000b9be
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x48], rax
call fcn.14004adf0
mov rcx, rax
test rax, rax
je 0x14000b9b3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
mov qword [rbp - 8], rdi
mov dword [rbp], edi
mov qword [rbp + 8], rdi
mov r13, rdi
mov qword [rbp - 0x38], rdi
mov dword [rbp - 0x30], edi
mov qword [rbp - 0x28], rdi
movdqa xmm0, xmmword [0x14028c740]
movdqu xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], 1
lea rax, [0x140280d60]
mov qword [rbp + 0x200], rax
lea rax, str.Music
mov qword [rbp + 0x208], rax
lea rax, str.Game
mov qword [rbp + 0x210], rax
mov dword [rbp + 0x38], 1
mov dword [rbp + 0x3c], 2
mov dword [rbp + 0x40], 4
lea rax, [0x140281268]
mov qword [rbp + 0x60], rax
mov ecx, SafeArrayUnaccessData
mov word [rbp + 0x68], cx
mov qword [rbp + 0x6c], rdi
lea rax, [0x140281250]
mov qword [rbp + 0x78], rax
mov word [rbp + 0x80], cx
mov qword [rbp + 0x84], rdi
lea rax, [0x140281358]
mov qword [rbp + 0x90], rax
mov word [rbp + 0x98], cx
mov qword [rbp + 0x9c], rdi
lea rax, [0x140281340]
mov qword [rbp + 0xa8], rax
mov word [rbp + 0xb0], cx
mov qword [rbp + 0xb4], rdi
lea rax, [0x140281328]
mov qword [rbp + 0xc0], rax
mov word [rbp + 0xc8], cx
mov qword [rbp + 0xcc], rdi
lea rax, [0x140281310]
mov qword [rbp + 0xd8], rax
mov word [rbp + 0xe0], cx
mov qword [rbp + 0xe4], rdi
lea rax, [0x1402812f8]
mov qword [rbp + 0xf0], rax
mov word [rbp + 0xf8], cx
mov qword [rbp + 0xfc], rdi
lea rax, [0x1402812e0]
mov qword [rbp + 0x108], rax
mov word [rbp + 0x110], cx
mov qword [rbp + 0x114], rdi
lea rax, [0x1402812c8]
mov qword [rbp + 0x120], rax
mov word [rbp + 0x128], cx
mov qword [rbp + 0x12c], rdi
lea rax, [0x1402812b0]
mov qword [rbp + 0x138], rax
mov word [rbp + 0x140], cx
mov qword [rbp + 0x144], rdi
lea rax, [0x140281298]
mov qword [rbp + 0x150], rax
mov word [rbp + 0x158], cx
mov qword [rbp + 0x15c], rdi
lea rax, [0x140281280]
mov qword [rbp + 0x168], rax
mov word [rbp + 0x170], cx
mov qword [rbp + 0x174], rdi
lea rax, [0x1402813a0]
mov qword [rbp + 0x180], rax
mov word [rbp + 0x188], cx
mov dword [rbp + 0x18c], edi
mov dword [rbp + 0x190], 1
lea rax, [0x140281388]
mov qword [rbp + 0x198], rax
mov eax, 3
mov word [rbp + 0x1a0], ax
mov dword [rbp + reloc.OLEAUT32.dll_OleTranslateColor], 0xffffffe0
mov dword [rbp + 0x1a8], 1
lea rax, [0x140281370]
mov qword [rbp + 0x1b0], rax
mov word [rbp + 0x1b8], cx
mov dword [rbp + 0x1bc], edi
mov dword [rbp + 0x1c0], 1
lea rax, [0x1402813d0]
mov qword [rbp + 0x1c8], rax
mov word [rbp + 0x1d0], cx
mov qword [rbp + 0x1d4], rdi
lea rax, [0x1402813b8]
mov qword [rbp + 0x1e0], rax
mov word [rbp + 0x1e8], cx
mov qword [rbp + 0x1ec], rdi
lea rdx, str.SOFTWAREDTSPremiumSuitPresets
mov r12, 0xffffffffffffffff
mov rax, r12
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14000b340
mov r8d, eax
lea rcx, [rsp + 0x48]
call fcn.1400054e0
mov r9d, 0x20019
mov r8, qword [rsp + 0x48]
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 8]
call fcn.14000e2b0
test eax, eax
jne 0x14000b492
mov r15d, edi
lea r14, [rbp + 0x48]
mov r12, qword [rbp - 8]
lea ebx, [rax + 0xd]
nop dword [rax + rax]
movups xmm0, xmmword [0x1402814c0]
movups xmmword [rbp + 0x20], xmm0
mov eax, dword [0x1402814d0]
cmp dword [r14], 0
je 0x14000b3ae
add eax, 0xbb8
jmp 0x14000b3c1
cmp dword [r14 + 4], 0
je 0x14000b3bc
add eax, 0x3e8
jmp 0x14000b3c1
add eax, 0x7d0
mov dword [rbp + 0x30], eax
mov qword [rbp - 0x68], rdi
mov esi, edi
test r12, r12
je 0x14000b45b
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x20]
call fcn.140011f10
test eax, eax
js 0x14000b439
mov dword [rsp + 0x78], 4
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x7c]
xor r8d, r8d
mov rsi, qword [rbp - 0x68]
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x14000b426
cmp dword [rsp + 0x7c], 4
cmovne edi, ebx
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor esi, esi
test edi, edi
sete sil
xor edi, edi
test esi, esi
mov rsi, qword [rsp + 0x60]
je 0x14000b460
mov r9d, 1
mov r8d, dword [rsp + 0x30]
lea rdx, [rbp + 0x20]
mov rcx, rsi
call fcn.140007030
jmp 0x14000b460
mov rsi, qword [rsp + 0x60]
inc r15d
add r14, 8
cmp r15d, 3
jb 0x14000b390
test r12, r12
mov rbx, qword [rsp + 0x38]
je 0x14000b488
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 8], rdi
mov dword [rbp], edi
mov r12, 0xffffffffffffffff
lea rdx, [0x140281228]
mov rax, r12
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14000b4a0
mov r8d, eax
lea rcx, [rsp + 0x48]
call fcn.140004b30
mov dword [rsp + 0x5c], 0
mov rdi, qword [rsp + 0x48]
lea r15, [rdi - 0x18]
mov qword [rbp + 0x10], r15
mov qword [rsp + 0x70], 0
nop word [rax + rax]
mov dword [rsp + 0x58], 0
lea r14, [rbp + 0x38]
mov qword [rsp + 0x68], r14
lea rax, [rbp + 0x200]
mov qword [rbp - 0x70], rax
nop dword [rax]
add rbx, 0xffffffffffffffe8
cmp r15, rbx
je 0x14000b561
cmp dword [rbx + 0x10], 0
jl 0x14000b550
mov rax, qword [rbx]
cmp qword [r15], rax
jne 0x14000b550
mov rcx, r15
call fcn.140004c20
mov rdi, rax
mov ecx, r12d
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x14000b53c
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rdi + 0x18]
mov qword [rsp + 0x38], rax
mov rdi, qword [rsp + 0x48]
mov r13, qword [rbp - 0x38]
jmp 0x14000b561
mov r8d, dword [rdi - 0x10]
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.1400054e0
mov rax, qword [rsp + 0x70]
lea rcx, str.Internal
mov rdx, qword [rax + rcx]
test rdx, rdx
jne 0x14000b57a
xor eax, eax
jmp 0x14000b58a
mov rax, r12
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14000b580
mov r8d, eax
lea rcx, [rsp + 0x38]
call fcn.140004b30
mov rax, qword [rbp - 0x70]
mov rdx, qword [rax]
test rdx, rdx
jne 0x14000b5a7
xor eax, eax
jmp 0x14000b5ba
mov rax, r12
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14000b5b0
mov r8d, eax
lea rcx, [rsp + 0x38]
call fcn.140004b30
mov r8d, 7
lea rdx, str.Default
lea rcx, [rsp + 0x38]
call fcn.140004b30
mov qword [rbp - 0x60], 0
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rbx, qword [rsp + 0x38]
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000b7b6
test r13, r13
je 0x14000b623
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r13, qword [rbp - 0x60]
mov qword [rbp - 0x38], r13
mov dword [rbp - 0x30], 0
test eax, eax
jne 0x14000b7b6
xor r12d, r12d
lea r15, [rbp + 0x60]
mov rdi, qword [rsp + 0x70]
lea ebx, [rax + 0xd]
nop dword [rax]
cmp dword [rsi + 0x15c], 8
jne 0x14000b664
cmp dword [r15 + 0x10], 0
je 0x14000b774
mov rax, qword [r15]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x20], xmm0
mov eax, dword [rax + 0x10]
mov dword [rbp + 0x30], eax
mov qword [rbp - 0x58], 0
xor r14d, r14d
test r13, r13
je 0x14000b76f
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x20]
call fcn.140011f10
test eax, eax
js 0x14000b6ee
mov dword [rbp - 0x80], 4
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x7c]
xor r8d, r8d
mov r14, qword [rbp - 0x58]
mov rdx, r14
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x14000b6d7
cmp dword [rbp - 0x7c], 4
cmovne esi, ebx
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor r14d, r14d
test esi, esi
sete r14b
mov rsi, qword [rsp + 0x60]
test r14d, r14d
mov r14, qword [rsp + 0x68]
je 0x14000b774
mov ecx, dword [r14]
mov eax, dword [rbp + 0x30]
cmp dword [rbp + rdi + 0x48], 0
je 0x14000b70c
add eax, 0xbb8
jmp 0x14000b71f
cmp dword [rbp + rdi + 0x4c], 0
je 0x14000b71a
add eax, 0x3e8
jmp 0x14000b71f
add eax, 0x7d0
cmp ecx, 4
jne 0x14000b72b
add eax, 0x9c40
jmp 0x14000b73c
cmp ecx, 2
jne 0x14000b737
add eax, 0x4e20
jmp 0x14000b73c
add eax, 0x2710
mov dword [rbp + 0x30], eax
mov eax, 3
mov r8d, dword [rsp + 0x30]
lea rdx, [rbp + 0x20]
mov rcx, rsi
cmp ax, word [r15 + 8]
jne 0x14000b762
add r8d, dword [r15 + 0xc]
call fcn.1400071d0
jmp 0x14000b774
mov r9d, 1
call fcn.140007030
jmp 0x14000b774
mov r14, qword [rsp + 0x68]
inc r12d
add r15, 0x18
cmp r12d, 0x11
jb 0x14000b650
test r13, r13
mov rbx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
je 0x14000b7a4
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r13d, r13d
mov qword [rbp - 0x38], r13
mov dword [rbp - 0x30], 0
mov r15, qword [rbp + 0x10]
mov r12, 0xffffffffffffffff
mov ecx, dword [rsp + 0x58]
inc ecx
mov dword [rsp + 0x58], ecx
add qword [rbp - 0x70], 8
add r14, 4
mov qword [rsp + 0x68], r14
cmp ecx, 3
jb 0x14000b500
mov ecx, dword [rsp + 0x5c]
inc ecx
mov dword [rsp + 0x5c], ecx
add qword [rsp + 0x70], 8
cmp ecx, 3
jb 0x14000b4e0
movups xmm0, xmmword [0x1402814c0]
movups xmmword [rbp + 0x20], xmm0
mov eax, dword [0x1402814d0]
mov dword [rbp + 0x30], eax
cmp dword [rsi + 0x15c], 3
je 0x14000b81d
mov rcx, rsi
call fcn.14000b9d0
test eax, eax
jne 0x14000b81d
xor edi, edi
jmp 0x14000b822
mov edi, 1
mov rcx, rsi
call fcn.14000bab0
test edi, edi
je 0x14000b837
add dword [rbp + 0x30], 0xbb8
jmp 0x14000b84b
test eax, eax
je 0x14000b844
add dword [rbp + 0x30], 0x3e8
jmp 0x14000b84b
add dword [rbp + 0x30], 0x7d0
mov qword [rsp + 0x50], 0
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [0x140281148]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1402811c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14000b941
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000b89e
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov r9d, 1
mov r8d, r9d
lea rdx, [0x1402814c0]
mov rcx, rsi
call fcn.140007030
mov rcx, rsi
call fcn.1400098c0
nop
test r13, r13
je 0x14000b8ce
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x14000b8de
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rdx, [rbx - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000b8f9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lock xadd dword [r15 + 0x10], r12d
sub r12d, 1
jg 0x14000b911
mov rcx, qword [r15]
mov rax, qword [rcx]
mov rdx, r15
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x218]
xor rcx, rsp
call fcn.1401e3920
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea rdx, [rbp - 0x20]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0x20]
mov r8d, 1
mov rdx, qword [rsi]
call qword [rax + 0x50]
test eax, eax
js 0x14000b88e
lea rcx, [rbp - 0x20]
cmp word [rbp - 0x20], 0x13
je 0x14000b980
call qword [sym.imp.ole32.dll_PropVariantClear]
jmp 0x14000b88e
mov edi, dword [rbp - 0x18]
mov dword [rbp - 0x78], edi
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000b99d
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
test edi, edi
je 0x14000b89e
mov r9d, 1
mov r8d, edi
jmp 0x14000b8a7
mov ecx, 0x80004005
call fcn.140005680
nop
mov ecx, 0x80004005
call fcn.140005680
int3