Function at 0x14006a260
Capabilities:
Delete registry key
Set registry value

Disassembly:
push rbp
push r14
push r15
lea rbp, [rsp - 0x620]
sub rsp, 0x720
mov rax, qword [0x1400cd548]
xor rax, rsp
mov qword [rbp + 0x610], rax
mov r14, rcx
lea rdx, [rsp + 0x38]
xor r15d, r15d
lea rcx, str.SoftwareNVIDIA_CorporationGlobal_nView
xor r9d, r9d
mov qword [rsp + 0x38], r15
mov r8d, 0xf003f
call fcn.140059800
test eax, eax
jne 0x14006a716
mov rcx, qword [rsp + 0x38]
lea rdx, str.Hotkeys
mov qword [rsp + 0x740], rbx
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x50]
mov r9d, 0xf003f
mov qword [rsp + 0x28], r15
lea rdx, str.Hotkeys
mov dword [rsp + 0x20], r15d
call fcn.1400597a0
mov rax, qword [r14]
mov rbx, qword [rax]
cmp rbx, rax
je 0x14006a70e
mov qword [rsp + 0x748], rsi
mov qword [rsp + 0x750], rdi
mov rcx, qword [rbx + 0x20]
call fcn.140069640
mov rsi, rax
test rax, rax
je 0x14006a6f2
cmp dword [rax + 8], 6
je 0x14006a6f2
lea rcx, [rbx + 0x10]
mov qword [rsp + 0x30], r15
call fcn.140068f00
mov rcx, qword [rsp + 0x50]
lea r8, [rsp + 0x30]
mov rdx, rax
mov qword [rsp + 0x28], r15
mov r9d, 0xf003f
mov dword [rsp + 0x20], r15d
call fcn.1400597a0
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x30]
lea rdx, str.Action
add eax, eax
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rax, qword [rsi]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [rsi + 0xc]
test al, 4
je 0x14006a3c9
mov rcx, qword [rsp + 0x30]
lea rax, [rbx + 0x28]
mov dword [rsp + 0x28], 4
lea rdx, str.MonGridID
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [rsi + 0xc]
test al, 0x18
je 0x14006a3ff
mov rcx, qword [rsp + 0x30]
lea rax, [rbx + 0x234]
mov dword [rsp + 0x28], 4
lea rdx, str.Flags
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [rsi + 0xc]
test al, 2
je 0x14006a4c8
mov ecx, dword [rbx + 0x234]
lea rdx, [rsp + 0x60]
mov word [rsp + 0x60], r15w
mov word [rbp + 0x168], r15w
mov word [rbp + 0x1b8], r15w
mov word [rbp + 0x3c0], r15w
mov word [rbp + 0x5cc], r15w
mov dword [rbp + 0x5c8], r15d
mov dword [rbp + 0x608], 0x64
mov byte [rbp + 0x60c], r15b
call fcn.14004e320
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x30]
lea rdx, str.Desktop
add eax, eax
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rcx, [rbp + 0x168]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x30]
lea rdx, str.DesktopGUID
add eax, eax
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rbp + 0x168]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [rsi + 0xc]
test al, 8
je 0x14006a502
lea rdi, [rbx + 0x2c]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x30]
lea rdx, str.Profile
add eax, eax
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [rsi + 0xc]
test al, 1
je 0x14006a5a8
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call fcn.140070390
lea r8, [rsp + 0x60]
mov rcx, rbx
sub rcx, r8
lea rax, [rsp + 0x60]
mov edx, 0x104
lea r8, [rcx + 0x2c]
nop word [rax + rax]
lea rcx, [rdx + 0x7ffffefa]
test rcx, rcx
je 0x14006a563
movzx ecx, word [rax + r8]
test cx, cx
je 0x14006a563
mov word [rax], cx
add rax, 2
sub rdx, 1
jne 0x14006a540
test rdx, rdx
lea rcx, [rax - 2]
cmovne rcx, rax
mov word [rcx], r15w
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x30]
lea rdx, str.Application
add eax, eax
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, dword [rbx + 0x18]
test edi, edi
je 0x14006a6f2
movzx edx, di
lea rcx, [rsp + 0x60]
mov eax, edx
mov r8d, 0xa0
and eax, 1
mov dword [rsp + 0x40], eax
mov eax, edx
shr eax, 1
and eax, 1
mov dword [rsp + 0x44], eax
mov eax, edx
shr edx, 3
and edx, 1
shr eax, 2
mov dword [rsp + 0x4c], edx
and eax, 1
xor edx, edx
mov dword [rsp + 0x48], eax
call fcn.140070390
shr edi, 0x10
lea rdx, [rsp + 0x60]
movzx ecx, di
mov r8d, 0xa0
call fcn.140069460
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 4
lea rdx, [0x1400a81f8]
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x44]
mov dword [rsp + 0x28], 4
lea rdx, str.Ctrl
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x48]
mov dword [rsp + 0x28], 4
lea rdx, str.Shift
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x4c]
mov dword [rsp + 0x28], 4
lea rdx, str.Window
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x30]
lea rdx, [0x1400a8230]
add eax, eax
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rbx, qword [rbx]
cmp rbx, qword [r14]
jne 0x14006a312
mov rdi, qword [rsp + 0x750]
mov rsi, qword [rsp + 0x748]
mov rbx, qword [rsp + 0x740]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov rcx, qword [rbp + 0x610]
xor rcx, rsp
call fcn.14006ed70
add rsp, 0x720
pop r15
pop r14
pop rbp
ret