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

Disassembly:
push rbp
push r14
push r15
lea rbp, [rsp - 0x420]
sub rsp, 0x520
mov rax, qword [0x1400c24b8]
xor rax, rsp
mov qword [rbp + 0x410], 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.14004f9e0
test eax, eax
jne 0x1400600a6
mov rcx, qword [rsp + 0x38]
lea rdx, str.Hotkeys
mov qword [rsp + 0x540], 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.14004f980
mov rax, qword [r14]
mov rbx, qword [rax]
cmp rbx, rax
je 0x14006009e
mov qword [rsp + 0x548], rsi
mov qword [rsp + 0x550], rdi
mov rcx, qword [rbx + 0x20]
call fcn.14005f0a0
mov rsi, rax
test rax, rax
je 0x140060082
cmp dword [rax + 8], 6
je 0x140060082
lea rcx, [rbx + 0x10]
mov qword [rsp + 0x30], r15
call fcn.14005e960
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.14004f980
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 0x14005fda9
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 0x14005fddf
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 0x14005fe63
mov ecx, dword [rbx + 0x234]
lea rdx, [rsp + 0x60]
mov word [rsp + 0x60], r15w
mov word [rbp - 0x50], r15w
mov word [rbp + 0x1b8], r15w
mov word [rbp + 0x3c4], r15w
mov dword [rbp + 0x3c0], r15d
mov dword [rbp + 0x400], 0x64
mov byte [rbp + 0x404], r15b
call fcn.140044d00
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]
mov eax, dword [rsi + 0xc]
test al, 8
je 0x14005fe9d
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 0x14005ff38
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call fcn.140067170
lea r8, [rsp + 0x60]
mov rcx, rbx
sub rcx, r8
lea rax, [rsp + 0x60]
mov edx, 0x104
lea r8, [rcx + 0x2c]
lea rcx, [rdx + 0x7ffffefa]
test rcx, rcx
je 0x14005fef3
movzx ecx, word [rax + r8]
test cx, cx
je 0x14005fef3
mov word [rax], cx
add rax, 2
sub rdx, 1
jne 0x14005fed0
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 0x140060082
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.140067170
shr edi, 0x10
lea rdx, [rsp + 0x60]
movzx ecx, di
mov r8d, 0xa0
call fcn.14005eec0
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 4
lea rdx, [0x14009def0]
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, [0x14009df28]
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 0x14005fcf2
mov rdi, qword [rsp + 0x550]
mov rsi, qword [rsp + 0x548]
mov rbx, qword [rsp + 0x540]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.140064920
add rsp, 0x520
pop r15
pop r14
pop rbp
ret