Function at 0x14000c780
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, [0x140281148]
xor edx, edx
lea r8d, [r14 + 1]
lea rcx, [0x1402811c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14000c841
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
lea rdx, [rbp - 0x28]
mov qword [rsp + 0x20], rdx
lea r9, [0x1402814a8]
lea r8d, [r14 + 1]
mov rdx, qword [rsi]
call qword [rax + 0x50]
test eax, eax
js 0x14000c841
lea rcx, [rbp - 0x28]
cmp word [rbp - 0x28], 0x13
je 0x14000d147
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000c851
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
call fcn.14004adf0
mov rcx, rax
test rax, rax
je 0x14000d199
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x60], rax
call fcn.14004adf0
mov rcx, rax
test rax, rax
je 0x14000d18e
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 [0x14028c740]
movdqu xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], 1
lea rax, [0x140280d60]
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, [0x140281268]
mov qword [rbp + 0x90], rax
mov ecx, SafeArrayUnaccessData
mov word [rbp + 0x98], cx
mov qword [rbp + 0x9c], r14
lea rax, [0x140281250]
mov qword [rbp + 0xa8], rax
mov word [rbp + 0xb0], cx
mov qword [rbp + 0xb4], r14
lea rax, [0x140281358]
mov qword [rbp + 0xc0], rax
mov word [rbp + 0xc8], cx
mov qword [rbp + 0xcc], r14
lea rax, [0x140281340]
mov qword [rbp + 0xd8], rax
mov word [rbp + 0xe0], cx
mov qword [rbp + 0xe4], r14
lea rax, [0x140281328]
mov qword [rbp + 0xf0], rax
mov word [rbp + 0xf8], cx
mov qword [rbp + 0xfc], r14
lea rax, [0x140281310]
mov qword [rbp + 0x108], rax
mov word [rbp + 0x110], cx
mov qword [rbp + 0x114], r14
lea rax, [0x1402812f8]
mov qword [rbp + 0x120], rax
mov word [rbp + 0x128], cx
mov qword [rbp + 0x12c], r14
lea rax, [0x1402812e0]
mov qword [rbp + 0x138], rax
mov word [rbp + 0x140], cx
mov qword [rbp + 0x144], r14
lea rax, [0x1402812c8]
mov qword [rbp + 0x150], rax
mov word [rbp + 0x158], cx
mov qword [rbp + 0x15c], r14
lea rax, [0x1402812b0]
mov qword [rbp + 0x168], rax
mov word [rbp + 0x170], cx
mov qword [rbp + 0x174], r14
lea rax, [0x140281298]
mov qword [rbp + 0x180], rax
mov word [rbp + 0x188], cx
mov qword [rbp + 0x18c], r14
lea rax, [0x140281280]
mov qword [rbp + 0x198], rax
mov word [rbp + 0x1a0], cx
mov qword [rbp + reloc.OLEAUT32.dll_OleTranslateColor], r14
lea rax, [0x1402813d0]
mov qword [rbp - 8], rax
mov word [rbp], cx
mov qword [rbp + 4], r14
lea rax, [0x1402813b8]
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 0x14000ca90
mov r8d, eax
mov rdx, rcx
lea rcx, [rsp + 0x60]
call fcn.1400054e0
lea rdx, [0x140281228]
mov rax, r15
inc rax
cmp word [rdx + rax*2], 0
jne 0x14000cab4
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 0x14000cb14
mov r13, qword [rbp - 0x48]
add rbx, 0xffffffffffffffe8
cmp r12, rbx
je 0x14000cb72
cmp dword [rbx + 0x10], 0
jl 0x14000cb61
mov rax, qword [rbx]
cmp qword [r12], rax
jne 0x14000cb61
mov rcx, r12
call fcn.140004c20
mov rdi, rax
mov ecx, r15d
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x14000cb51
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 0x14000cb72
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 0x14000cb86
xor eax, eax
jmp 0x14000cb9a
mov rax, r15
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14000cb90
mov r8d, eax
lea rcx, [rsp + 0x48]
call fcn.140004b30
mov rdx, qword [r13]
test rdx, rdx
jne 0x14000cbb4
xor eax, eax
jmp 0x14000cbca
mov rax, r15
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14000cbc0
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.14000e2b0
mov r13, qword [rbp - 0x78]
test eax, eax
jne 0x14000cf07
mov eax, dword [rsi + 0x178]
bt eax, 0xf
jb 0x14000cd86
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 0x14000cc54
cmp dword [r15 + 0x10], 0
je 0x14000cd65
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 0x14000cd60
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x48]
call fcn.140011f10
test eax, eax
js 0x14000cce3
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 0x14000cccc
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 0x14000cd65
mov ecx, dword [rdi]
mov eax, dword [rbp + 0x58]
cmp dword [rbp + r14 + 0x70], 0
je 0x14000cd01
add eax, 0xbb8
jmp 0x14000cd15
cmp dword [rbp + r14 + 0x74], 0
je 0x14000cd10
add eax, 0x3e8
jmp 0x14000cd15
add eax, 0x7d0
cmp ecx, 4
jne 0x14000cd21
add eax, 0x9c40
jmp 0x14000cd32
cmp ecx, 2
jne 0x14000cd2d
add eax, 0x4e20
jmp 0x14000cd32
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 0x14000cd53
add r8d, dword [r15 + 0xc]
call fcn.1400071d0
jmp 0x14000cd65
mov r9d, 1
call fcn.140007030
jmp 0x14000cd65
mov r14, qword [rsp + 0x50]
inc r12d
add r15, 0x18
cmp r12d, 0xc
jb 0x14000cc40
mov eax, dword [rsi + 0x178]
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x60]
bt eax, 0x10
jb 0x14000cee0
xor r12d, r12d
lea r15, [rbp - 8]
mov rdi, qword [rbp - 0x80]
lea ebx, [r12 + 3]
cmp dword [rsi + 0x15c], 8
jne 0x14000cdb4
cmp dword [r15 + 0x10], 0
je 0x14000cec5
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 0x14000cec0
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x48]
call fcn.140011f10
test eax, eax
js 0x14000ce43
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 0x14000ce2c
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 0x14000cec5
mov ecx, dword [rdi]
mov eax, dword [rbp + 0x58]
cmp dword [rbp + r14 + 0x70], 0
je 0x14000ce61
add eax, 0xbb8
jmp 0x14000ce75
cmp dword [rbp + r14 + 0x74], 0
je 0x14000ce70
add eax, 0x3e8
jmp 0x14000ce75
add eax, 0x7d0
cmp ecx, 4
jne 0x14000ce81
add eax, 0x9c40
jmp 0x14000ce92
cmp ecx, 2
jne 0x14000ce8d
add eax, 0x4e20
jmp 0x14000ce92
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 0x14000ceb3
add r8d, dword [r15 + 0xc]
call fcn.1400071d0
jmp 0x14000cec5
mov r9d, 1
call fcn.140007030
jmp 0x14000cec5
mov r14, qword [rsp + 0x50]
inc r12d
add r15, 0x18
cmp r12d, 2
jb 0x14000cda0
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x60]
test r13, r13
je 0x14000cef5
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 0x14000cb10
mov ecx, dword [rsp + 0x74]
inc ecx
mov dword [rsp + 0x74], ecx
add r14, 8
mov qword [rsp + 0x50], r14
cmp ecx, 3
jb 0x14000caf0
mov qword [rsp + 0x78], 0
mov rdi, qword [rbp - 0x68]
test rdi, rdi
je 0x14000cfc9
cmp qword [rdi], 0
je 0x14000cfbc
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x14000cf71
mov eax, 1
jmp 0x14000cff0
lea rdx, str.RegOpenKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000cfc2
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 0x14000cff0
cmp dword [rdi + 8], 0
jne 0x14000cfc9
mov eax, 1
jmp 0x14000cff0
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 0x14000d0f3
test r13, r13
je 0x14000d006
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 0x14000d0f3
movups xmm0, xmmword [0x1402814a8]
movups xmmword [rbp + 0x48], xmm0
mov eax, dword [0x1402814b8]
mov dword [rbp + 0x58], eax
mov qword [rbp - 0x30], 0
xor esi, esi
test r13, r13
je 0x14000d0e5
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x48]
call fcn.140011f10
test eax, eax
js 0x14000d0aa
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 0x14000d099
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 0x14000d0cd
mov r9d, 1
mov r8d, dword [rsp + 0x40]
lea rdx, [0x1402814a8]
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 0x14000d0f8
mov rdi, qword [rsp + 0x58]
mov dword [rbp - 0x70], 0
jmp 0x14000d0f8
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
call fcn.140008bf0
nop
test r13, r13
je 0x14000d110
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 0x14000d12b
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 0x14000d15e
mov rcx, qword [r12]
mov rax, qword [rcx]
mov rdx, r12
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14000d15e
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000d15e
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [rbp + 0x1c8]
xor rcx, rsp
call fcn.1401e3920
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