Function at 0x1400018ec
Capabilities:
Delete registry key
Delete registry value

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb0
lea r8, [0x1400025f0]
mov rax, qword [rsp + 0xc0]
mov rdx, qword [rax + 8]
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_RtlDeleteRegistryValue]
lea r8, [0x140002610]
mov rax, qword [rsp + 0xc0]
mov rdx, qword [rax + 8]
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_RtlDeleteRegistryValue]
lea r8, [0x140002630]
mov rax, qword [rsp + 0xc0]
mov rdx, qword [rax + 8]
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_RtlDeleteRegistryValue]
lea r8, [0x140002650]
mov rax, qword [rsp + 0xc0]
mov rdx, qword [rax + 8]
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_RtlDeleteRegistryValue]
lea r8, [0x140002660]
mov rax, qword [rsp + 0xc0]
mov rdx, qword [rax + 8]
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_RtlDeleteRegistryValue]
lea r8, [0x140002670]
mov rax, qword [rsp + 0xc0]
mov rdx, qword [rax + 8]
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_RtlDeleteRegistryValue]
mov rax, qword [rsp + 0xc0]
movzx eax, word [rax + 2]
add eax, 0x100
cdqe
mov rdx, rax
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0xc0]
movzx eax, word [rax + 2]
add eax, 0x100
cdqe
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x20]
call fcn.1400024c0
mov rax, qword [rsp + 0xc0]
movzx eax, word [rax]
mov r8d, eax
mov rax, qword [rsp + 0xc0]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0x20]
call fcn.140002200
lea rdx, [0x140002680]
mov rcx, qword [rsp + 0x20]
call sub.ntoskrnl.exe_wcscat
lea r8, [0x140002690]
mov rdx, qword [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_RtlDeleteRegistryValue]
lea r8, [0x1400026b0]
mov rdx, qword [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_RtlDeleteRegistryValue]
lea r8, [0x1400026d0]
mov rdx, qword [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_RtlDeleteRegistryValue]
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov dword [rsp + 0x40], 0x30
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x58], 0x40
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
lea r8, [rsp + 0x40]
mov edx, 0xf003f
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jl 0x140001aef
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ZwDeleteKey]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
xor edx, edx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
mov dword [rsp + 0x70], 0x30
mov qword [rsp + 0x78], 0
mov dword [rsp + 0x88], 0x40
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
lea r8, [rsp + 0x70]
mov edx, 0xf003f
lea rcx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jl 0x140001b94
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ZwDeleteKey]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
xor eax, eax
jmp 0x140001b99
mov eax, 0xc0000001
add rsp, 0xb0
pop rdi
ret