Function at 0x14002aa60
Capabilities:
Delete registry key

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 9], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400fb088]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rdx
xor r15d, r15d
mov dword [rbp - 1], r15d
xor eax, eax
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rax
mov r8, rdx
lea rdx, str._registrymachineSYSTEMCurrentControlSetServices_
lea rcx, [rbp + 0x17]
call fcn.14001e450
nop
lea r14, [rbp + 0x17]
cmp qword [rbp + 0x2f], 8
cmovae r14, qword [rbp + 0x17]
lea ecx, [r15 + 0x20]
call fcn.14006fa7c
mov qword [rbp - 0x19], 0x14
mov qword [rbp - 0x11], 0x1f
movups xmm0, xmmword [str.RtlInitUnicodeString]
movups xmmword [rax], xmm0
mov ecx, dword [0x1400d9b00]
mov dword [rax + 0x10], ecx
mov byte [rax + 0x14], r15b
mov qword [rbp - 0x29], rax
call fcn.140027c70
mov rbx, rax
call fcn.14004af60
lea rsi, [rbx + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
mov qword [rbp - 1], rax
lea r8, [rbp - 0x29]
lea rdx, [rbp - 1]
mov rcx, rbx
call fcn.1400294b0
mov r8, qword [rbp - 1]
mov rcx, rsi
cmp r8, qword [rbx + 8]
je 0x14002ab56
mov rbx, qword [r8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x14002ab5d
mov rdx, r14
lea rcx, [rbp + 7]
call rbx
jmp 0x14002ab5d
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x14002ab98
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ab93
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ad89
call fcn.14006fa74
mov qword [rbp - 0x11], 0xf
mov byte [rbp - 0x29], 0
mov qword [rbp - 0x19], 0xe
mov r8d, 0xe
lea rdx, str.NtUnloadDriver
lea rcx, [rbp - 0x29]
call fcn.14008e170
mov byte [rbp - 0x1b], 0
call fcn.140027c70
mov rbx, rax
call fcn.14004af60
lea rsi, [rbx + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
mov qword [rbp - 1], rax
lea r8, [rbp - 0x29]
lea rdx, [rbp - 1]
mov rcx, rbx
call fcn.1400294b0
mov rdx, qword [rbp - 1]
mov rcx, rsi
cmp rdx, qword [rbx + 8]
je 0x14002ac1c
mov rbx, qword [rdx + 0x30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x14002ac22
lea rcx, [rbp + 7]
call rbx
mov ebx, eax
jmp 0x14002ac27
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 0xc0000138
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x14002ac63
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ac5d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ad89
call fcn.14006fa74
nop
movdqa xmm0, xmmword [0x1400dbdf0]
movdqu xmmword [rbp - 0x19], xmm0
mov word [rbp - 0x29], r15w
mov dword [rbp - 1], 2
lea rsi, [rdi + 0x10]
mov rdx, qword [rsi]
add rdx, 0x22
cmp rdx, 8
jb 0x14002ac9a
lea rcx, [rbp - 0x29]
call fcn.14001eca0
mov qword [rbp - 0x19], r15
mov r8d, 0x22
lea rdx, str.SYSTEMCurrentControlSetServices_
lea rcx, [rbp - 0x29]
call fcn.14000a14c
cmp qword [rdi + 0x18], 8
jb 0x14002acba
mov rdi, qword [rdi]
mov r8, qword [rsi]
mov rdx, rdi
lea rcx, [rbp - 0x29]
call fcn.14000a14c
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rdx, qword [rbp - 0x29]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 8
jb 0x14002ad22
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ad1c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ad8f
call fcn.14006fa74
nop
mov rdx, qword [rbp + 0x2f]
cmp rdx, 8
jb 0x14002ad5e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ad59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ad89
call fcn.14006fa74
mov eax, ebx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14006fa50
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140097f2c
nop
call fcn.140097f2c
int3