Function at 0x140132960
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x1402ea100]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rbx, rdx
mov qword [rbp - 0x19], rdx
xor r14d, r14d
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
lea rcx, str._registrymachineSYSTEMCurrentControlSetServices_
call fcn.1400ce070
mov rcx, rax
call fcn.1400cf110
mov rdi, rax
mov rcx, rbx
call fcn.1400d1f90
mov rsi, rax
mov rcx, rbx
call fcn.1400d3800
sub rax, rsi
cmp rax, rdi
jb 0x140132d55
mov rcx, rbx
call fcn.1400d3890
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, str._registrymachineSYSTEMCurrentControlSetServices_
mov r8, rbx
lea rcx, [rbp + 7]
call fcn.140118410
nop
call fcn.1400f4990
mov rdi, rax
lea rcx, [rbp + 7]
call fcn.1400d3890
mov r15, rax
mov qword [rbp - 0x49], rax
lea rdx, str.RtlInitUnicodeString
lea rcx, [rbp - 0x41]
call fcn.1400ca900
nop
call fcn.1401383d0
lea rsi, [rdi + 0x40]
mov qword [rbp - 0x21], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov qword [rbp - 0x11], r14
lea r13, [rdi + 8]
lea rcx, [rbp - 0x41]
call fcn.1400ddef0
mov rbx, rax
lea rcx, [rbp - 0x41]
call fcn.1400ca730
mov r8, rbx
mov rdx, rax
movabs r12, 0xcbf29ce484222325
mov rcx, r12
call fcn.1400721a0
mov rcx, qword [rdi + 0x30]
and rcx, rax
add rcx, rcx
mov rax, qword [rdi + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r13]
je 0x140132b05
mov r12, qword [rax + rcx*8]
nop word [rax + rax]
lea rcx, [rbx + 0x10]
mov rdi, qword [rcx + 0x10]
call fcn.1400cddb0
mov r15, rax
mov rsi, qword [rbp - 0x31]
lea rcx, [rbp - 0x41]
call fcn.1400cddb0
cmp rsi, rdi
jne 0x140132ad4
mov r8, rsi
mov rdx, r15
mov rcx, rax
call fcn.14026cea0
test eax, eax
je 0x140132adf
cmp rbx, r12
je 0x140132af3
mov rbx, qword [rbx + 8]
jmp 0x140132aa0
mov rsi, qword [rbp - 0x21]
mov r15, qword [rbp - 0x49]
movabs r12, 0xcbf29ce484222325
jmp 0x140132b08
mov rsi, qword [rbp - 0x21]
mov r15, qword [rbp - 0x49]
movabs r12, 0xcbf29ce484222325
mov rbx, r14
test rbx, rbx
jne 0x140132b11
mov rbx, qword [r13]
mov qword [rbp - 0x11], rbx
mov rdx, r13
lea rcx, [rbp - 0x11]
call fcn.140072660
mov rax, qword [r13]
mov qword [rbp - 0x49], rax
mov rdx, r13
lea rcx, [rbp - 0x49]
call fcn.140072660
mov rax, qword [rbp - 0x11]
mov rcx, rsi
cmp rax, qword [rbp - 0x49]
je 0x140132b5c
mov rbx, qword [rax + 0x30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140132b63
mov rdx, r15
lea rcx, [rbp - 9]
call rbx
jmp 0x140132b63
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
lea rcx, [rbp - 0x41]
call fcn.1400ca810
call fcn.1400f4990
mov rdi, rax
lea rdx, str.NtUnloadDriver
lea rcx, [rbp - 0x41]
call fcn.1400ca900
nop
call fcn.1401383d0
lea rsi, [rdi + 0x40]
mov qword [rbp - 0x49], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov qword [rbp - 0x11], r14
lea r13, [rdi + 8]
lea rcx, [rbp - 0x41]
call fcn.1400ddef0
mov rbx, rax
lea rcx, [rbp - 0x41]
call fcn.1400ca730
mov r8, rbx
mov rdx, rax
mov rcx, r12
call fcn.1400721a0
mov rcx, qword [rdi + 0x30]
and rcx, rax
add rcx, rcx
mov rax, qword [rdi + 0x18]
mov rdi, qword [rax + rcx*8 + 8]
cmp rdi, qword [r13]
je 0x140132c29
mov r12, qword [rax + rcx*8]
lea rcx, [rdi + 0x10]
mov rbx, qword [rcx + 0x10]
call fcn.1400cddb0
mov r15, rax
mov rsi, qword [rbp - 0x31]
lea rcx, [rbp - 0x41]
call fcn.1400cddb0
cmp rsi, rbx
jne 0x140132c17
mov r8, rsi
mov rdx, r15
mov rcx, rax
call fcn.14026cea0
test eax, eax
je 0x140132c22
cmp rdi, r12
je 0x140132c25
mov rdi, qword [rdi + 8]
jmp 0x140132be3
mov r14, rdi
mov rsi, qword [rbp - 0x49]
test r14, r14
jne 0x140132c32
mov r14, qword [r13]
mov qword [rbp - 0x11], r14
mov rdx, r13
lea rcx, [rbp - 0x11]
call fcn.140072660
mov rax, qword [r13]
mov qword [rbp - 0x49], rax
mov rdx, r13
lea rcx, [rbp - 0x49]
call fcn.140072660
mov rax, qword [rbp - 0x11]
mov rcx, rsi
cmp rax, qword [rbp - 0x49]
je 0x140132c7c
mov rbx, qword [rax + 0x30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140132c82
lea rcx, [rbp - 9]
call rbx
mov edi, eax
jmp 0x140132c87
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, 0xc0000138
lea rcx, [rbp - 0x41]
call fcn.1400ca810
lea rcx, str.SYSTEMCurrentControlSetServices_
call fcn.1400ce070
mov rcx, rax
call fcn.1400cf110
mov rsi, rax
mov rbx, qword [rbp - 0x19]
mov rcx, rbx
call fcn.1400d1f90
mov r14, rax
mov rcx, rbx
call fcn.1400d3800
sub rax, r14
cmp rax, rsi
jb 0x140132d4f
mov rcx, rbx
call fcn.1400d3890
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, str.SYSTEMCurrentControlSetServices_
mov r8, rbx
lea rcx, [rbp - 0x41]
call fcn.140118410
lea rcx, [rbp - 0x41]
call fcn.1400d3890
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea rcx, [rbp - 0x41]
call fcn.1400d3900
nop
lea rcx, [rbp + 7]
call fcn.1400d3900
mov eax, edi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1401e4050
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400beb70
nop
call fcn.1400beb70
int3