Function at 0x140027370
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 [0x1400f3080]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rdx
xor r15d, r15d
mov dword [rbp - 1], r15d
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov r8, rdx
lea rdx, str._registrymachineSYSTEMCurrentControlSetServices_
lea rcx, [rbp + 0x17]
call fcn.14001b234
nop
call fcn.140024970
mov rbx, rax
lea r14, [rbp + 0x17]
cmp qword [rbp + 0x2f], 8
cmovae r14, qword [rbp + 0x17]
movdqa xmm0, xmmword [0x1400d76f0]
movdqu xmmword [rbp - 0x19], xmm0
mov byte [rbp - 0x29], r15b
lea rdx, str.RtlInitUnicodeString
lea rcx, [rbp - 0x29]
call fcn.140004d70
nop
call fcn.140046480
lea rsi, [rbx + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov qword [rbp - 1], r15
lea r8, [rbp - 0x29]
lea rdx, [rbp - 1]
mov rcx, rbx
call fcn.140025e20
mov rax, qword [rbp - 1]
mov rcx, rsi
cmp rax, qword [rbx + 8]
je 0x14002744f
mov rbx, qword [rax + 0x30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140027456
mov rdx, r14
lea rcx, [rbp + 7]
call rbx
jmp 0x140027456
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x140027491
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002748c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140027718
call fcn.14006bb24
call fcn.140024970
mov rbx, rax
movdqa xmm0, xmmword [0x1400d76f0]
movdqu xmmword [rbp - 0x19], xmm0
mov byte [rbp - 0x29], 0
lea rdx, str.NtUnloadDriver
lea rcx, [rbp - 0x29]
call fcn.140004d70
nop
call fcn.140046480
lea rsi, [rbx + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov qword [rbp - 1], r15
lea r8, [rbp - 0x29]
lea rdx, [rbp - 1]
mov rcx, rbx
call fcn.140025e20
mov rax, qword [rbp - 1]
mov rcx, rsi
cmp rax, qword [rbx + 8]
je 0x140027507
mov rbx, qword [rax + 0x30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x14002750d
lea rcx, [rbp + 7]
call rbx
mov esi, eax
jmp 0x140027512
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, 0xc0000138
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x14002754e
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027548
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002771e
call fcn.14006bb24
nop
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], 7
mov word [rbp - 0x29], r15w
mov dword [rbp - 1], 2
mov rax, qword [rdi + 0x10]
add rax, 0x22
cmp rax, 8
jb 0x14002761e
movabs rbx, 0x7ffffffffffffffe
cmp rax, rbx
ja 0x140027724
or rax, 7
cmp rax, rbx
ja 0x1400275a3
mov rbx, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rbx, rcx
lea rax, [rbx + 1]
lea rdx, [rax + rax]
movabs rcx, 0x7fffffffffffffff
mov r8, 0xffffffffffffffff
cmp rax, rcx
jbe 0x1400275c6
mov rdx, r8
jmp 0x1400275cf
cmp rdx, 0x1000
jb 0x1400275f6
lea rcx, [rdx + 0x27]
cmp rcx, rdx
cmovbe rcx, r8
call fcn.14006bb2c
test rax, rax
je 0x14002772a
lea rcx, [rax + 0x27]
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
jmp 0x14002760b
test rdx, rdx
je 0x140027608
mov rcx, rdx
call fcn.14006bb2c
mov rcx, rax
jmp 0x14002760b
mov rcx, r15
mov qword [rbp - 0x11], rbx
movzx eax, word [rbp - 0x29]
mov word [rcx], ax
mov qword [rbp - 0x29], rcx
mov qword [rbp - 0x19], r15
mov r8d, 0x22
lea rdx, str.SYSTEMCurrentControlSetServices_
lea rcx, [rbp - 0x29]
call fcn.140009530
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 8
jb 0x140027642
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rbp - 0x29]
call fcn.140009530
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 0x1400276ab
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400276a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140027730
call fcn.14006bb24
nop
mov rdx, qword [rbp + 0x2f]
cmp rdx, 8
jb 0x1400276e7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400276e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140027712
call fcn.14006bb24
mov eax, esi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14006bb00
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.140095014
nop
call fcn.140095014
nop
call fcn.140095014
nop
call fcn.14000951c
int3
call fcn.140095014
nop
call fcn.140095014
int3