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

Disassembly:
push rbp
push r14
push r15
lea rbp, [rsp - 0x620]
sub rsp, 0x720
mov rax, qword [0x1400ce568]
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.14005a730
test eax, eax
jne 0x14006b736
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.14005a6d0
mov rax, qword [r14]
mov rbx, qword [rax]
cmp rbx, rax
je 0x14006b72e
mov qword [rsp + 0x748], rsi
mov qword [rsp + 0x750], rdi
mov rcx, qword [rbx + 0x20]
call fcn.14006a670
mov rsi, rax
test rax, rax
je 0x14006b712
cmp dword [rax + 8], 6
je 0x14006b712
lea rcx, [rbx + 0x10]
mov qword [rsp + 0x30], r15
call fcn.140069f30
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.14005a6d0
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 0x14006b3f9
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 0x14006b42f
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 0x14006b4f1
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
call fcn.14004e450
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 0x14006b52b
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 0x14006b5c8
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call fcn.1400725e0
lea r8, [rsp + 0x60]
mov rcx, rbx
sub rcx, r8
lea rax, [rsp + 0x60]
mov edx, 0x104
lea r8, [rcx + 0x2c]
nop
lea rcx, [rdx + 0x7ffffefa]
test rcx, rcx
je 0x14006b583
movzx ecx, word [rax + r8]
test cx, cx
je 0x14006b583
mov word [rax], cx
add rax, 2
sub rdx, 1
jne 0x14006b560
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 0x14006b712
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.1400725e0
shr edi, 0x10
lea rdx, [rsp + 0x60]
movzx ecx, di
mov r8d, 0xa0
call fcn.14006a490
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 4
lea rdx, [0x1400a95c8]
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, [0x1400a9600]
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 0x14006b342
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.14006fd90
add rsp, 0x720
pop r15
pop r14
pop rbp
ret