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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x918
mov rax, qword [0x14003d040]
xor rax, rsp
mov qword [rsp + 0x900], rax
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x54], 0
cmp qword [rsp + 0x920], 0
je 0x14001a469
cmp qword [rsp + 0x928], 0
je 0x14001a469
cmp qword [rsp + 0x930], 0
jne 0x14001a472
mov eax, dword [rsp + 0x50]
jmp 0x14001a8c6
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0x98], 0
lea rdx, [0x140027864]
lea rcx, [rsp + 0xc0]
call fcn.140009510
nop
mov edx, 0x400
lea rcx, [rsp + 0x100]
call fcn.140018b30
mov dword [rsp + 0x68], eax
lea rdx, [0x140027868]
lea rcx, [rsp + 0xe0]
call fcn.140009510
nop
cmp dword [rsp + 0x68], 0
je 0x14001a525
mov qword [rsp + 0x70], 0xffffffff80000003
lea rdx, str.USERS_
lea rcx, [rsp + 0xe0]
call fcn.14000d650
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0xc0]
call fcn.14000d650
lea rdx, [0x140027880]
lea rcx, [rsp + 0xc0]
call fcn.14000d650
jmp 0x14001a542
mov qword [rsp + 0x70], 0xffffffff80000001
lea rdx, str.CURRENT_USER_
lea rcx, [rsp + 0xe0]
call fcn.14000d650
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_
lea rcx, [rsp + 0xc0]
call fcn.14000d650
mov rdx, qword [rsp + 0x920]
lea rcx, [rsp + 0xc0]
call fcn.14000d650
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0xe0]
call fcn.1400126c0
lea rdx, [0x140027930]
lea rcx, [rsp + 0xe0]
call fcn.14000d650
lea rcx, [rsp + 0xc0]
call fcn.1400093c0
lea rcx, [rsp + 0x98]
mov qword [rsp + 0x20], rcx
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001a695
mov qword [rsp + 0xb8], 0
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [0x140027948]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001a687
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0xe0]
call fcn.1400093c0
lea rcx, [rsp + 0xb0]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0xa8]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 4
mov edx, 4
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
lea rdx, [0x140027960]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x14001a687
mov dword [rsp + 0x54], 1
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x54], 0
jne 0x14001a873
mov qword [rsp + 0xa0], 0
lea rdx, str.UserChoice
lea rcx, [rsp + 0xc0]
call fcn.14000d650
lea rcx, [rsp + 0xc0]
call fcn.1400093c0
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14001a873
cmp qword [rsp + 0xa8], 0
je 0x14001a77f
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x78], rax
xor edx, edx
lea rcx, [rsp + 0xe0]
call fcn.140011330
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 4
mov edx, 4
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov rax, qword [rsp + 0x928]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x58], 0xffffffffffffffff
inc qword [rsp + 0x58]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x58]
cmp word [rax + rcx*2], 0
jne 0x14001a798
mov rax, qword [rsp + 0x58]
lea rax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x928]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.Progid
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14001a865
mov rax, qword [rsp + 0x930]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x60], 0xffffffffffffffff
inc qword [rsp + 0x60]
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x60]
cmp word [rax + rcx*2], 0
jne 0x14001a807
mov rax, qword [rsp + 0x60]
lea rax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x930]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.Hash
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14001a865
mov dword [rsp + 0x50], 1
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x8000000
call qword [sym.imp.SHELL32.dll_SHChangeNotify]
cmp qword [rsp + 0xb0], 0
je 0x14001a89f
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x6c], eax
lea rcx, [rsp + 0xe0]
call fcn.140009460
nop
lea rcx, [rsp + 0xc0]
call fcn.140009460
mov eax, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x900]
xor rcx, rsp
call fcn.14001f370
add rsp, 0x918
ret