Function at 0x1b268
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, [0x000233e0]
lea rcx, [rax - 0x48]
mov ebx, 4
mov dword [rax + 8], ebx
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea r13, [0x0002d5b0]
lea r9, [rsp + 0xa0]
lea rdx, [rsp + 0x50]
mov rcx, r13
mov r8d, ebx
mov dword [rsp + 0x20], ebx
call fcn.000128dc
lea rcx, [0x0002cf20]
call fcn.0001d7bc
lea rcx, [0x0002d170]
call fcn.0001d7bc
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 0x1b350
movzx r8d, word [rsp + 0x42]
xor edx, edx
mov rcx, rax
call fcn.00022a90
mov rax, qword [rsp + 0x48]
movabs r11, 0x5c003f003f005c
mov qword [rax], r11
lea eax, [rbx + 8]
lea rdx, [0x0002d170]
lea rcx, [rsp + 0x40]
mov word [rsp + 0x40], ax
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
lea rcx, [rsp + 0x40]
call fcn.0001d7bc
mov rcx, qword [rsp + 0x48]
cmp rcx, rbx
je 0x1b350
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 0x1b4ce
movzx r8d, word [rsp + 0x32]
xor edx, edx
mov rcx, rax
call fcn.00022a90
lea rcx, [rsp + 0x30]
mov rdx, r13
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
cmp eax, ebx
jl 0x1b413
lea rdx, str.Enum
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeToString]
cmp eax, ebx
jl 0x1b413
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 0x1b413
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.00022a90
lea rcx, [rsp + 0x30]
mov rdx, r13
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
cmp eax, ebx
jl 0x1b4bc
lea rdx, str.Security
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeToString]
cmp eax, ebx
jl 0x1b4bc
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 0x1b4bc
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 0x1b4ce
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 0x1b53e
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