Function at 0x140130830
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 [0x1402e8100]
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.1400ce290
mov rcx, rax
call fcn.1400cf3e0
mov rdi, rax
mov rcx, rbx
call fcn.1400d1e10
mov rsi, rax
mov rcx, rbx
call fcn.1400d3680
sub rax, rsi
cmp rax, rdi
jb 0x140130c25
mov rcx, rbx
call fcn.1400d3710
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.1401162e0
nop
call fcn.1400f2830
mov rdi, rax
lea rcx, [rbp + 7]
call fcn.1400d3710
mov r15, rax
mov qword [rbp - 0x49], rax
lea rdx, str.RtlInitUnicodeString
lea rcx, [rbp - 0x41]
call fcn.1400caee0
nop
call fcn.1401362a0
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.1400dc9a0
mov rbx, rax
lea rcx, [rbp - 0x41]
call fcn.1400cad10
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 0x1401309d5
mov r12, qword [rax + rcx*8]
nop word [rax + rax]
lea rcx, [rbx + 0x10]
mov rdi, qword [rcx + 0x10]
call fcn.1400cdfd0
mov r15, rax
mov rsi, qword [rbp - 0x31]
lea rcx, [rbp - 0x41]
call fcn.1400cdfd0
cmp rsi, rdi
jne 0x1401309a4
mov r8, rsi
mov rdx, r15
mov rcx, rax
call fcn.14026aaf0
test eax, eax
je 0x1401309af
cmp rbx, r12
je 0x1401309c3
mov rbx, qword [rbx + 8]
jmp 0x140130970
mov rsi, qword [rbp - 0x21]
mov r15, qword [rbp - 0x49]
movabs r12, 0xcbf29ce484222325
jmp 0x1401309d8
mov rsi, qword [rbp - 0x21]
mov r15, qword [rbp - 0x49]
movabs r12, 0xcbf29ce484222325
mov rbx, r14
test rbx, rbx
jne 0x1401309e1
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 0x140130a2c
mov rbx, qword [rax + 0x30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140130a33
mov rdx, r15
lea rcx, [rbp - 9]
call rbx
jmp 0x140130a33
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
lea rcx, [rbp - 0x41]
call fcn.1400cadf0
call fcn.1400f2830
mov rdi, rax
lea rdx, str.NtUnloadDriver
lea rcx, [rbp - 0x41]
call fcn.1400caee0
nop
call fcn.1401362a0
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.1400dc9a0
mov rbx, rax
lea rcx, [rbp - 0x41]
call fcn.1400cad10
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 0x140130af9
mov r12, qword [rax + rcx*8]
lea rcx, [rdi + 0x10]
mov rbx, qword [rcx + 0x10]
call fcn.1400cdfd0
mov r15, rax
mov rsi, qword [rbp - 0x31]
lea rcx, [rbp - 0x41]
call fcn.1400cdfd0
cmp rsi, rbx
jne 0x140130ae7
mov r8, rsi
mov rdx, r15
mov rcx, rax
call fcn.14026aaf0
test eax, eax
je 0x140130af2
cmp rdi, r12
je 0x140130af5
mov rdi, qword [rdi + 8]
jmp 0x140130ab3
mov r14, rdi
mov rsi, qword [rbp - 0x49]
test r14, r14
jne 0x140130b02
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 0x140130b4c
mov rbx, qword [rax + 0x30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140130b52
lea rcx, [rbp - 9]
call rbx
mov edi, eax
jmp 0x140130b57
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, 0xc0000138
lea rcx, [rbp - 0x41]
call fcn.1400cadf0
lea rcx, str.SYSTEMCurrentControlSetServices_
call fcn.1400ce290
mov rcx, rax
call fcn.1400cf3e0
mov rsi, rax
mov rbx, qword [rbp - 0x19]
mov rcx, rbx
call fcn.1400d1e10
mov r14, rax
mov rcx, rbx
call fcn.1400d3680
sub rax, r14
cmp rax, rsi
jb 0x140130c1f
mov rcx, rbx
call fcn.1400d3710
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.1401162e0
lea rcx, [rbp - 0x41]
call fcn.1400d3710
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea rcx, [rbp - 0x41]
call fcn.1400d3780
nop
lea rcx, [rbp + 7]
call fcn.1400d3780
mov eax, edi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1401e1ca0
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.1400be860
nop
call fcn.1400be860
int3