Function at 0x14000c570
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1f8]
sub rsp, 0x2d0
mov qword [rbp + 0x28], 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 + 0x1c8], rax
mov rsi, rcx
mov qword [rsp + 0x58], rcx
xor r14d, r14d
mov qword [rsp + 0x68], r14
xor eax, eax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [0x140280f88]
xor edx, edx
lea r8d, [r14 + 1]
lea rcx, [0x140280ff0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14000c631
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
lea rdx, [rbp - 0x28]
mov qword [rsp + 0x20], rdx
lea r9, [0x1402812d8]
lea r8d, [r14 + 1]
mov rdx, qword [rsi]
call qword [rax + 0x50]
test eax, eax
js 0x14000c631
lea rcx, [rbp - 0x28]
cmp word [rbp - 0x28], 0x13
je 0x14000cf37
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000c641
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
call fcn.14004aa80
mov rcx, rax
test rax, rax
je 0x14000cf89
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x60], rax
call fcn.14004aa80
mov rcx, rax
test rax, rax
je 0x14000cf7e
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x48], rbx
mov qword [rbp + 0x30], r14
mov dword [rbp + 0x38], r14d
mov qword [rbp + 0x40], r14
mov qword [rbp - 0x78], r14
mov dword [rbp - 0x70], r14d
mov qword [rbp - 0x68], r14
movdqa xmm0, xmmword [0x14028c540]
movdqu xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], 1
lea rax, [0x140280ba0]
mov qword [rbp + 0x1b0], rax
lea rax, str.Music
mov qword [rbp + 0x1b8], rax
lea rax, str.Game
mov qword [rbp + 0x1c0], rax
mov dword [rbp + 0x60], 1
mov dword [rbp + 0x64], 2
mov dword [rbp + 0x68], 4
lea rax, [0x140281098]
mov qword [rbp + 0x90], rax
mov ecx, SafeArrayUnaccessData
mov word [rbp + 0x98], cx
mov qword [rbp + 0x9c], r14
lea rax, [0x140281080]
mov qword [rbp + 0xa8], rax
mov word [rbp + 0xb0], cx
mov qword [rbp + 0xb4], r14
lea rax, [0x140281188]
mov qword [rbp + 0xc0], rax
mov word [rbp + 0xc8], cx
mov qword [rbp + 0xcc], r14
lea rax, [0x140281170]
mov qword [rbp + 0xd8], rax
mov word [rbp + 0xe0], cx
mov qword [rbp + 0xe4], r14
lea rax, [0x140281158]
mov qword [rbp + 0xf0], rax
mov word [rbp + 0xf8], cx
mov qword [rbp + 0xfc], r14
lea rax, [0x140281140]
mov qword [rbp + 0x108], rax
mov word [rbp + 0x110], cx
mov qword [rbp + 0x114], r14
lea rax, [0x140281128]
mov qword [rbp + 0x120], rax
mov word [rbp + 0x128], cx
mov qword [rbp + 0x12c], r14
lea rax, [0x140281110]
mov qword [rbp + 0x138], rax
mov word [rbp + 0x140], cx
mov qword [rbp + 0x144], r14
lea rax, [0x1402810f8]
mov qword [rbp + 0x150], rax
mov word [rbp + 0x158], cx
mov qword [rbp + 0x15c], r14
lea rax, [0x1402810e0]
mov qword [rbp + 0x168], rax
mov word [rbp + 0x170], cx
mov qword [rbp + 0x174], r14
lea rax, [0x1402810c8]
mov qword [rbp + 0x180], rax
mov word [rbp + 0x188], cx
mov qword [rbp + 0x18c], r14
lea rax, [0x1402810b0]
mov qword [rbp + 0x198], rax
mov word [rbp + 0x1a0], cx
mov qword [rbp + reloc.OLEAUT32.dll_OleTranslateColor], r14
lea rax, [0x140281200]
mov qword [rbp - 8], rax
mov word [rbp], cx
mov qword [rbp + 4], r14
lea rax, [0x1402811e8]
mov qword [rbp + 0x10], rax
mov word [rbp + 0x18], cx
mov qword [rbp + 0x1c], r14
lea rcx, str.SOFTWAREDTSPremiumSuitPresets
mov r15, 0xffffffffffffffff
mov rax, r15
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14000c880
mov r8d, eax
mov rdx, rcx
lea rcx, [rsp + 0x60]
call fcn.1400054e0
lea rdx, [0x140281050]
mov rax, r15
inc rax
cmp word [rdx + rax*2], 0
jne 0x14000c8a4
mov r8d, eax
lea rcx, [rsp + 0x60]
call fcn.140004b30
mov dword [rsp + 0x74], r14d
mov rdi, qword [rsp + 0x60]
lea r12, [rdi - 0x18]
mov qword [rbp - 0x10], r12
mov qword [rsp + 0x50], r14
nop dword [rax]
nop word [rax + rax]
mov dword [rsp + 0x70], 0
lea rax, [rbp + 0x60]
mov qword [rbp - 0x80], rax
lea r13, [rbp + 0x1b0]
mov qword [rbp - 0x48], r13
jmp 0x14000c904
mov r13, qword [rbp - 0x48]
add rbx, 0xffffffffffffffe8
cmp r12, rbx
je 0x14000c962
cmp dword [rbx + 0x10], 0
jl 0x14000c951
mov rax, qword [rbx]
cmp qword [r12], rax
jne 0x14000c951
mov rcx, r12
call fcn.140004c20
mov rdi, rax
mov ecx, r15d
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x14000c941
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 + 0x48], rax
mov rdi, qword [rsp + 0x60]
jmp 0x14000c962
mov r8d, dword [rdi - 0x10]
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.1400054e0
lea rax, str.Internal
mov rdx, qword [r14 + rax]
test rdx, rdx
jne 0x14000c976
xor eax, eax
jmp 0x14000c98a
mov rax, r15
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14000c980
mov r8d, eax
lea rcx, [rsp + 0x48]
call fcn.140004b30
mov rdx, qword [r13]
test rdx, rdx
jne 0x14000c9a4
xor eax, eax
jmp 0x14000c9ba
mov rax, r15
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14000c9b0
mov r8d, eax
lea rcx, [rsp + 0x48]
call fcn.140004b30
mov r8d, 7
lea rdx, str.Default
lea rcx, [rsp + 0x48]
call fcn.140004b30
mov r9d, 0x20019
mov rbx, qword [rsp + 0x48]
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x78]
call fcn.14000ddf0
mov r13, qword [rbp - 0x78]
test eax, eax
jne 0x14000ccf7
mov eax, dword [rsi + 0x178]
bt eax, 0xf
jb 0x14000cb76
xor r12d, r12d
lea r15, [rbp + 0x90]
mov rdi, qword [rbp - 0x80]
lea ebx, [r12 + 3]
nop dword [rax + rax]
cmp dword [rsi + 0x15c], 8
jne 0x14000ca44
cmp dword [r15 + 0x10], 0
je 0x14000cb55
mov rax, qword [r15]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x48], xmm0
mov eax, dword [rax + 0x10]
mov dword [rbp + 0x58], eax
mov qword [rbp - 0x40], 0
xor r14d, r14d
test r13, r13
je 0x14000cb50
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x48]
call fcn.140011a50
test eax, eax
js 0x14000cad3
mov dword [rbp - 0x60], 4
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x5c]
xor r8d, r8d
mov r14, qword [rbp - 0x40]
mov rdx, r14
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x14000cabc
cmp dword [rbp - 0x5c], 4
mov eax, SafeArrayGetDim
cmovne esi, eax
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor r14d, r14d
test esi, esi
sete r14b
mov rsi, qword [rsp + 0x58]
test r14d, r14d
mov r14, qword [rsp + 0x50]
je 0x14000cb55
mov ecx, dword [rdi]
mov eax, dword [rbp + 0x58]
cmp dword [rbp + r14 + 0x70], 0
je 0x14000caf1
add eax, 0xbb8
jmp 0x14000cb05
cmp dword [rbp + r14 + 0x74], 0
je 0x14000cb00
add eax, 0x3e8
jmp 0x14000cb05
add eax, 0x7d0
cmp ecx, 4
jne 0x14000cb11
add eax, 0x9c40
jmp 0x14000cb22
cmp ecx, 2
jne 0x14000cb1d
add eax, 0x4e20
jmp 0x14000cb22
add eax, 0x2710
mov dword [rbp + 0x58], eax
mov r8d, dword [rsp + 0x40]
lea rdx, [rbp + 0x48]
mov rcx, rsi
cmp bx, word [r15 + 8]
jne 0x14000cb43
add r8d, dword [r15 + 0xc]
call fcn.1400071d0
jmp 0x14000cb55
mov r9d, 1
call fcn.140007030
jmp 0x14000cb55
mov r14, qword [rsp + 0x50]
inc r12d
add r15, 0x18
cmp r12d, 0xc
jb 0x14000ca30
mov eax, dword [rsi + 0x178]
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x60]
bt eax, 0x10
jb 0x14000ccd0
xor r12d, r12d
lea r15, [rbp - 8]
mov rdi, qword [rbp - 0x80]
lea ebx, [r12 + 3]
cmp dword [rsi + 0x15c], 8
jne 0x14000cba4
cmp dword [r15 + 0x10], 0
je 0x14000ccb5
mov rax, qword [r15]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x48], xmm0
mov eax, dword [rax + 0x10]
mov dword [rbp + 0x58], eax
mov qword [rbp - 0x38], 0
xor r14d, r14d
test r13, r13
je 0x14000ccb0
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x48]
call fcn.140011a50
test eax, eax
js 0x14000cc33
mov dword [rbp - 0x58], 4
lea rax, [rbp - 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x54]
xor r8d, r8d
mov r14, qword [rbp - 0x38]
mov rdx, r14
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x14000cc1c
cmp dword [rbp - 0x54], 4
mov eax, SafeArrayGetDim
cmovne esi, eax
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor r14d, r14d
test esi, esi
sete r14b
mov rsi, qword [rsp + 0x58]
test r14d, r14d
mov r14, qword [rsp + 0x50]
je 0x14000ccb5
mov ecx, dword [rdi]
mov eax, dword [rbp + 0x58]
cmp dword [rbp + r14 + 0x70], 0
je 0x14000cc51
add eax, 0xbb8
jmp 0x14000cc65
cmp dword [rbp + r14 + 0x74], 0
je 0x14000cc60
add eax, 0x3e8
jmp 0x14000cc65
add eax, 0x7d0
cmp ecx, 4
jne 0x14000cc71
add eax, 0x9c40
jmp 0x14000cc82
cmp ecx, 2
jne 0x14000cc7d
add eax, 0x4e20
jmp 0x14000cc82
add eax, 0x2710
mov dword [rbp + 0x58], eax
mov r8d, dword [rsp + 0x40]
lea rdx, [rbp + 0x48]
mov rcx, rsi
cmp bx, word [r15 + 8]
jne 0x14000cca3
add r8d, dword [r15 + 0xc]
call fcn.1400071d0
jmp 0x14000ccb5
mov r9d, 1
call fcn.140007030
jmp 0x14000ccb5
mov r14, qword [rsp + 0x50]
inc r12d
add r15, 0x18
cmp r12d, 2
jb 0x14000cb90
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x60]
test r13, r13
je 0x14000cce5
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r13d, r13d
mov qword [rbp - 0x78], r13
mov dword [rbp - 0x70], 0
mov r15, 0xffffffffffffffff
mov r12, qword [rbp - 0x10]
mov ecx, dword [rsp + 0x70]
inc ecx
mov dword [rsp + 0x70], ecx
add qword [rbp - 0x48], 8
add qword [rbp - 0x80], 4
cmp ecx, 3
jb 0x14000c900
mov ecx, dword [rsp + 0x74]
inc ecx
mov dword [rsp + 0x74], ecx
add r14, 8
mov qword [rsp + 0x50], r14
cmp ecx, 3
jb 0x14000c8e0
mov qword [rsp + 0x78], 0
mov rdi, qword [rbp - 0x68]
test rdi, rdi
je 0x14000cdb9
cmp qword [rdi], 0
je 0x14000cdac
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x14000cd61
mov eax, 1
jmp 0x14000cde0
lea rdx, str.RegOpenKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000cdb2
mov qword [rsp + 0x30], 0
mov rdx, qword [rdi]
mov qword [rsp + 0x28], rdx
lea r8, [rsp + 0x78]
mov qword [rsp + 0x20], r8
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREDTSPremiumSuitPresets
mov rcx, 0xffffffff80000002
call rax
jmp 0x14000cde0
cmp dword [rdi + 8], 0
jne 0x14000cdb9
mov eax, 1
jmp 0x14000cde0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREDTSPremiumSuitPresets
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000cee3
test r13, r13
je 0x14000cdf6
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r13, qword [rsp + 0x78]
mov qword [rbp - 0x78], r13
mov dword [rbp - 0x70], 0
test eax, eax
jne 0x14000cee3
movups xmm0, xmmword [0x1402812d8]
movups xmmword [rbp + 0x48], xmm0
mov eax, dword [0x1402812e8]
mov dword [rbp + 0x58], eax
mov qword [rbp - 0x30], 0
xor esi, esi
test r13, r13
je 0x14000ced5
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x48]
call fcn.140011a50
test eax, eax
js 0x14000ce9a
mov dword [rbp - 0x50], 4
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x4c]
xor r8d, r8d
mov rsi, qword [rbp - 0x30]
mov rdx, rsi
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x14000ce89
cmp dword [rbp - 0x4c], 4
mov eax, SafeArrayGetDim
cmovne edi, eax
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor esi, esi
test edi, edi
sete sil
mov rdi, qword [rsp + 0x58]
test esi, esi
je 0x14000cebd
mov r9d, 1
mov r8d, dword [rsp + 0x40]
lea rdx, [0x1402812d8]
mov rcx, rdi
call fcn.140007030
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r13d, r13d
mov qword [rbp - 0x78], r13
mov dword [rbp - 0x70], r13d
jmp 0x14000cee8
mov rdi, qword [rsp + 0x58]
mov dword [rbp - 0x70], 0
jmp 0x14000cee8
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
call fcn.1400089e0
nop
test r13, r13
je 0x14000cf00
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rdx, [rbx - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000cf1b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lock xadd dword [r12 + 0x10], r15d
sub r15d, 1
jg 0x14000cf4e
mov rcx, qword [r12]
mov rax, qword [rcx]
mov rdx, r12
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14000cf4e
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000cf4e
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [rbp + 0x1c8]
xor rcx, rsp
call fcn.1401e35b0
lea r11, [rsp + 0x2d0]
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 ecx, 0x80004005
call fcn.140005680
nop
mov ecx, 0x80004005
call fcn.140005680
int3