Function at 0x14009f7f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x230
mov qword [rsp + 0x1d0], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [0x140210348]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov r13d, edx
mov rax, rcx
mov qword [rsp + 0x78], rcx
xor edi, edi
mov qword [r11 - 0x110], rdi
lea rcx, [0x1401ad8f8]
mov qword [r11 - 0x108], rcx
lea rcx, str.Music
mov qword [r11 - 0x100], rcx
mov qword [r11 - 0xf8], rdi
lea rcx, str.Game
mov qword [r11 - 0xf0], rcx
lea rcx, [0x1401a9590]
mov qword [r11 - 0xe8], rcx
lea rcx, [0x1401a95f0]
mov qword [r11 - 0xe0], rcx
lea rcx, [0x1401a9698]
mov qword [r11 - 0xd8], rcx
lea rcx, [0x1401a96b0]
mov qword [r11 - 0xd0], rcx
lea rcx, [0x1401a9638]
mov qword [r11 - 0xc8], rcx
lea rcx, [0x1401a9650]
mov qword [r11 - 0xc0], rcx
lea rcx, [0x1401a9680]
mov qword [r11 - 0xb8], rcx
lea rcx, [0x1401a9548]
mov qword [r11 - 0xb0], rcx
lea rcx, [0x1401a9578]
mov qword [r11 - 0xa8], rcx
lea rcx, [0x1401a9518]
mov qword [r11 - 0xa0], rcx
lea rcx, [0x1401a9560]
mov qword [r11 - 0x138], rcx
cmp edx, 2
je 0x14009f91b
cmp r13d, 1
je 0x14009f91b
cmp r13d, 4
jne 0x1400a043f
mov eax, dword [rax + 0x38]
cmp eax, 3
jg 0x1400a043f
cmp eax, 1
jl 0x1400a043f
mov qword [rsp + 0x80], rdi
call fcn.14013d07c
mov rdx, rax
mov ecx, edi
test rax, rax
setne cl
test ecx, ecx
jne 0x14009f957
mov ecx, 0x80004005
call fcn.140001c00
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x70], rbx
lea rdx, str.SOFTWAREDTSPremiumSuitPresets
or r12, 0xffffffffffffffff
test rdx, 0xffffffffffff0000
jne 0x14009f9a3
movzx edi, dx
mov ecx, edi
call fcn.14013d654
test rax, rax
je 0x14009f9c4
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1400020e0
mov rbx, qword [rsp + 0x70]
jmp 0x14009f9c4
xor eax, eax
mov rcx, r12
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x70]
call fcn.140002390
mov rbx, qword [rsp + 0x70]
xor eax, eax
mov rcx, r12
lea rbp, [0x14019eaf8]
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
lea r15, [rcx - 1]
mov rsi, rbp
sub rsi, rbx
sar rsi, 1
mov r14d, dword [rbx - 0x10]
lea edi, [r14 + rcx - 1]
mov edx, 1
sub edx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, edx
jge 0x14009fa11
mov edx, edi
lea rcx, [rsp + 0x70]
call fcn.140001df0
mov rbx, qword [rsp + 0x70]
cmp rsi, r14
ja 0x14009fa1a
lea rbp, [rbx + rsi*2]
movsxd rdx, r15d
add rdx, rdx
lea rcx, [rbx + r14*2]
mov r9, rdx
mov r8, rbp
call fcn.14015cd30
test edi, edi
js 0x1400a0434
cmp edi, dword [rbx - 0xc]
jg 0x1400a0434
mov dword [rbx - 0x10], edi
movsxd rax, edi
mov word [rbx + rax*2], 0
mov rax, qword [rsp + 0x78]
movsxd rax, dword [rax + 0x38]
lea rbp, str.Internal
mov rbp, qword [rbp + rax*8 - 8]
test rbp, rbp
jne 0x14009fa6b
xor r14d, r14d
jmp 0x14009fa7d
xor eax, eax
mov rcx, r12
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
lea r14, [rcx - 1]
mov rsi, rbp
sub rsi, rbx
sar rsi, 1
mov r15d, dword [rbx - 0x10]
lea edi, [r15 + r14]
mov edx, 1
sub edx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, edx
jge 0x14009fab0
mov edx, edi
lea rcx, [rsp + 0x70]
call fcn.140001df0
mov rbx, qword [rsp + 0x70]
cmp rsi, r15
ja 0x14009fab9
lea rbp, [rbx + rsi*2]
movsxd rdx, r14d
add rdx, rdx
lea rcx, [rbx + r15*2]
mov r9, rdx
mov r8, rbp
call fcn.14015cd30
test edi, edi
js 0x1400a0429
cmp edi, dword [rbx - 0xc]
jg 0x1400a0429
mov dword [rbx - 0x10], edi
movsxd rax, edi
mov word [rbx + rax*2], 0
mov rsi, qword [rsp + r13*8 + 0x158]
test rsi, rsi
jne 0x14009fafd
xor r14d, r14d
jmp 0x14009fb0f
xor eax, eax
mov rcx, r12
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
lea r14, [rcx - 1]
mov rdi, rsi
sub rdi, rbx
sar rdi, 1
mov r15d, dword [rbx - 0x10]
lea ebp, [r15 + r14]
mov edx, 1
sub edx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, ebp
or eax, edx
jge 0x14009fb42
mov edx, ebp
lea rcx, [rsp + 0x70]
call fcn.140001df0
mov rbx, qword [rsp + 0x70]
cmp rdi, r15
ja 0x14009fb4b
lea rsi, [rbx + rdi*2]
movsxd rdx, r14d
add rdx, rdx
lea rcx, [rbx + r15*2]
mov r9, rdx
mov r8, rsi
call fcn.14015cd30
test ebp, ebp
js 0x1400a041e
cmp ebp, dword [rbx - 0xc]
jg 0x1400a041e
mov dword [rbx - 0x10], ebp
movsxd rax, ebp
mov word [rbx + rax*2], 0
xor eax, eax
mov rcx, r12
lea rbp, str.Default
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
lea r15, [rcx - 1]
mov rsi, rbp
sub rsi, rbx
sar rsi, 1
mov r14d, dword [rbx - 0x10]
lea edi, [r14 + rcx - 1]
mov edx, 1
sub edx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, edx
jge 0x14009fbca
mov edx, edi
lea rcx, [rsp + 0x70]
call fcn.140001df0
mov rbx, qword [rsp + 0x70]
cmp rsi, r14
ja 0x14009fbd3
lea rbp, [rbx + rsi*2]
movsxd rdx, r15d
add rdx, rdx
lea rcx, [rbx + r14*2]
mov r9, rdx
mov r8, rbp
call fcn.14015cd30
test edi, edi
js 0x1400a0413
cmp edi, dword [rbx - 0xc]
jg 0x1400a0413
mov dword [rbx - 0x10], edi
movsxd rax, edi
mov word [rbx + rax*2], 0
xor ebp, ebp
mov qword [rsp + 0xe8], rbp
lea rax, [rsp + 0xe8]
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 0x14009fc4b
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rax
jmp 0x14009fcac
mov qword [rsp + 0xd0], rbp
lea rax, [rsp + 0x128]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x20019
mov dword [rsp + 0x20], ebp
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400a03f4
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x80], rax
lea ecx, [r13 + r13*4]
add ecx, ecx
mov dword [rsp + 0x9c], ecx
lea r13, [rsp + 0x180]
mov r14d, 0xa
mov rsi, qword [rsp + 0x78]
lea r15d, [r14 - 9]
mov dword [rsp + 0x88], ebp
mov rbx, qword [r13]
lea rdx, [rsp + 0x1f0]
mov eax, dword [rbx]
mov dword [rdx], eax
mov eax, dword [rbx + 4]
mov dword [rdx + 4], eax
mov eax, dword [rbx + 8]
mov dword [rdx + 8], eax
mov eax, dword [rbx + 0xc]
mov dword [rdx + 0xc], eax
mov eax, dword [rbx + 0x10]
mov dword [rdx + 0x10], eax
mov eax, dword [rsi + 0x38]
add eax, ecx
imul eax, eax, 0x3e8
add dword [rsp + 0x200], eax
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 qword [rsp + 0xe0], rbp
mov esi, ebp
mov rdi, qword [rsp + 0x80]
test rdi, rdi
je 0x14009fdc9
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x1d8]
call fcn.1400ec620
test eax, eax
js 0x14009fdc9
mov dword [rsp + 0xc8], 4
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xc4]
xor r8d, r8d
mov rbp, qword [rsp + 0xe0]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14009fdba
cmp dword [rsp + 0xc4], 4
cmove esi, r15d
mov rcx, rbp
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test esi, esi
jne 0x14009fdff
xor ebp, ebp
mov rdx, rbx
lea rcx, [rsp + 0x148]
call fcn.1400ed630
mov rdx, qword [rsp + 0x148]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14009fe01
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14009fe01
xor ebp, ebp
mov ebx, dword [rsp + 0x88]
mov qword [rsp + 0xa0], rbp
mov qword [rsp + 0x90], rbp
xor eax, eax
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x100], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [0x1401a77d0]
mov r8d, r15d
xor edx, edx
lea rcx, [0x1401a77c0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14009fe7d
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x14009ff4b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rsi, qword [rsp + 0x78]
jmp 0x14009ff50
mov rcx, qword [rsp + 0x90]
mov rax, qword [rcx]
lea rdx, [rsp + 0xf0]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x1f0]
mov r8d, r15d
mov rsi, qword [rsp + 0x78]
mov rdx, qword [rsi + 0x10]
call qword [rax + 0x50]
test eax, eax
jns 0x14009fecc
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x14009ff50
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x14009ff50
cmp word [rsp + 0xf0], 0x13
je 0x14009fefb
lea rcx, [rsp + 0xf0]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x14009ff50
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x14009ff50
mov edi, dword [rsp + 0xf8]
mov dword [rsp + 0x140], edi
lea rcx, [rsp + 0xf0]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x14009ff2b
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp edi, ebx
jne 0x14009ff50
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1400a0052
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a0052
mov rsi, qword [rsp + 0x78]
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
lea r9, [0x1401a77d0]
mov r8d, r15d
xor edx, edx
lea rcx, [0x1401a77c0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14009ff96
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1400a0019
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a0019
xor eax, eax
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x118], rax
mov word [rsp + 0x108], 0x13
mov dword [rsp + 0x110], ebx
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rcx]
lea rdx, [rsp + 0x108]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x1f0]
mov r8d, r15d
mov rdx, qword [rsi + 0x10]
call qword [rax + 0x58]
mov edi, eax
lea rcx, [rsp + 0x108]
call qword [sym.imp.ole32.dll_PropVariantClear]
mov ebx, ebp
test edi, edi
setns bl
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1400a0015
mov rax, qword [rcx]
call qword [rax + 0x10]
test ebx, ebx
jne 0x1400a0052
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0x150]
call fcn.1400ed630
mov rdx, qword [rsp + 0x150]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400a0052
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add r13, 8
sub r14, 1
mov ecx, dword [rsp + 0x9c]
jne 0x14009fcd1
mov dword [rsp + 0x98], ebp
mov r15, rbp
mov dword [rsp + 0xbc], ebp
mov rcx, qword [rsp + r15 + 0x130]
lea rdx, [rsp + 0x208]
mov eax, dword [rcx]
mov dword [rdx], eax
mov eax, dword [rcx + 4]
mov dword [rdx + 4], eax
mov eax, dword [rcx + 8]
mov dword [rdx + 8], eax
mov eax, dword [rcx + 0xc]
mov dword [rdx + 0xc], eax
mov eax, dword [rcx + 0x10]
mov dword [rdx + 0x10], eax
mov eax, dword [rsi + 0x38]
add eax, dword [rsp + 0x9c]
imul eax, eax, 0x3e8
add dword [rsp + 0x218], eax
mov r14, qword [rsp + r15 + 0x180]
lea rcx, [rsp + 0xa8]
mov eax, dword [r14]
mov dword [rcx], eax
mov eax, dword [r14 + 4]
mov dword [rcx + 4], eax
mov eax, dword [r14 + 8]
mov dword [rcx + 8], eax
mov eax, dword [r14 + 0xc]
mov dword [rcx + 0xc], eax
mov eax, dword [r14 + 0x10]
mov dword [rcx + 0x10], eax
mov r13d, ebp
cmp qword [rsp + 0x80], 0
je 0x1400a02d9
call fcn.14013d07c
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
je 0x1400a0390
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0xd8], rax
movzx ecx, byte [rsp + 0xb7]
movzx edx, byte [rsp + 0xb6]
movzx edi, byte [rsp + 0xb5]
movzx r8d, byte [rsp + 0xb4]
movzx r10d, byte [rsp + 0xb3]
movzx r11d, byte [rsp + 0xb2]
movzx ebx, byte [rsp + 0xb1]
movzx esi, byte [rsp + 0xb0]
movzx ebp, word [rsp + 0xae]
movzx r9d, word [rsp + 0xac]
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x60], ecx
mov dword [rsp + 0x58], edx
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x48], r8d
mov dword [rsp + 0x40], r10d
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], ebp
mov r8d, dword [rsp + 0xa8]
lea rdx, str._08X__04X__04X__02X_02X__02X_02X_02X_02X_02X_02X__d
lea rcx, [rsp + 0xd8]
call fcn.140001f50
xor eax, eax
mov rcx, r12
mov rbx, qword [rsp + 0xd8]
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea eax, [rcx + rcx]
mov edi, eax
mov ecx, eax
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov rsi, rax
test rax, rax
je 0x1400a02b1
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.140160e90
xor eax, eax
mov rcx, r12
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov r8d, r8d
add r8, r8
mov rdx, rbx
mov rcx, rsi
call fcn.140161150
nop
lea rdx, [rbx - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400a0246
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dword [rsp + 0xcc], 4
lea rax, [rsp + 0xcc]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xbc]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xc0]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400a029c
cmp dword [rsp + 0xc0], 4
mov eax, 1
cmove r13d, eax
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test r13d, r13d
jne 0x1400a030f
mov rsi, qword [rsp + 0x78]
jmp 0x1400a02d9
lea rdx, [rbx - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400a02d4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rsi, qword [rsp + 0x78]
jmp 0x1400a02d9
mov rsi, qword [rsp + 0x78]
mov rdx, r14
lea rcx, [rsp + 0x138]
call fcn.1400ed630
mov rdx, qword [rsp + 0x138]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400a0314
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400a0314
mov rsi, qword [rsp + 0x78]
mov r9d, 1
mov r8d, dword [rsp + 0x88]
lea rdx, [rsp + 0x208]
mov rcx, rsi
call fcn.1400565b0
test eax, eax
jne 0x1400a036f
lea rdx, [rsp + 0x208]
lea rcx, [rsp + 0x120]
call fcn.1400ed630
mov rdx, qword [rsp + 0x120]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400a036f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edx, dword [rsp + 0x98]
add edx, 1
mov dword [rsp + 0x98], edx
add r15, 8
cmp edx, 1
jae 0x1400a039b
xor ebp, ebp
jmp 0x1400a0071
mov ecx, 0x80004005
call fcn.140001c00
int3
mov rdi, qword [rsp + 0x80]
test rdi, rdi
je 0x1400a03bd
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x80], 0
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r12d
add r12d, 0xffffffff
test r12d, r12d
jg 0x1400a03df
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 0x1400a043f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400a043f
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], r12d
add r12d, 0xffffffff
test r12d, r12d
jg 0x1400a0411
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x1400a043f
mov ecx, 0x80070057
call fcn.140001c00
int3
mov ecx, 0x80070057
call fcn.140001c00
int3
mov ecx, 0x80070057
call fcn.140001c00
int3
mov ecx, 0x80070057
call fcn.140001c00
nop
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.14015d000
mov rbx, qword [rsp + 0x280]
add rsp, 0x230
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret