Function at 0x1b9a8
Capabilities:
Delete registry key

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], r12
push r13
sub rsp, 0x90
lea rdx, [0x00023c90]
lea rcx, [rax - 0x48]
mov ebx, 4
mov dword [rax + 8], ebx
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea r13, [0x0002d800]
lea r9, [rsp + 0xa0]
lea rdx, [rsp + 0x50]
mov rcx, r13
mov r8d, ebx
mov dword [rsp + 0x20], ebx
call fcn.000128b8
lea rcx, [0x0002cf40]
call fcn.0001df10
lea rcx, [0x0002d190]
call fcn.0001df10
mov r12d, 0x400
xor ebx, ebx
mov rdx, r12
xor ecx, ecx
mov word [rsp + 0x40], bx
mov word [rsp + 0x42], r12w
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [rsp + 0x48], rax
cmp rax, rbx
je 0x1ba90
movzx r8d, word [rsp + 0x42]
xor edx, edx
mov rcx, rax
call fcn.000231f0
mov rax, qword [rsp + 0x48]
movabs r11, 0x5c003f003f005c
mov qword [rax], r11
lea eax, [rbx + 8]
lea rdx, [0x0002d190]
lea rcx, [rsp + 0x40]
mov word [rsp + 0x40], ax
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
lea rcx, [rsp + 0x40]
call fcn.0001df10
mov rcx, qword [rsp + 0x48]
cmp rcx, rbx
je 0x1ba90
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rdx, r12
xor ecx, ecx
mov word [rsp + 0x30], bx
mov word [rsp + 0x32], r12w
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [rsp + 0x38], rax
cmp rax, rbx
je 0x1bc0e
movzx r8d, word [rsp + 0x32]
xor edx, edx
mov rcx, rax
call fcn.000231f0
lea rcx, [rsp + 0x30]
mov rdx, r13
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
cmp eax, ebx
jl 0x1bb53
lea rdx, str.Enum
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeToString]
cmp eax, ebx
jl 0x1bb53
lea rax, [rsp + 0x30]
lea r8, [rsp + 0x60]
lea rcx, [rsp + 0xa8]
mov edx, 0xf003f
mov dword [rsp + 0x60], 0x30
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x240
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rbx
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
cmp eax, ebx
jl 0x1bb53
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ntoskrnl.exe_ZwDeleteKey]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rcx, qword [rsp + 0x38]
mov r8, r12
xor edx, edx
mov word [rsp + 0x30], bx
mov word [rsp + 0x32], r12w
call fcn.000231f0
lea rcx, [rsp + 0x30]
mov rdx, r13
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
cmp eax, ebx
jl 0x1bbfc
lea rdx, str.Security
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeToString]
cmp eax, ebx
jl 0x1bbfc
lea rax, [rsp + 0x30]
lea r8, [rsp + 0x60]
lea rcx, [rsp + 0xa8]
mov edx, 0xf003f
mov dword [rsp + 0x60], 0x30
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x240
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rbx
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
cmp eax, ebx
jl 0x1bbfc
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ntoskrnl.exe_ZwDeleteKey]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rcx, qword [rsp + 0x38]
cmp rcx, rbx
je 0x1bc0e
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
lea r8, [rsp + 0x60]
lea rcx, [rsp + 0xa8]
mov edx, 0xf003f
mov dword [rsp + 0x60], 0x30
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x78], 0x240
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rbx
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
cmp eax, ebx
jl 0x1bc7e
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ntoskrnl.exe_ZwDeleteKey]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ntoskrnl.exe_ZwFlushKey]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov r12, qword [r11 + 0x28]
mov rsp, r11
pop r13
ret