Function at 0x14000bd70
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], 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, 0xb0
mov rax, qword [0x14001e010]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rcx
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r12, rax
test rax, rax
je 0x14000c170
mov rcx, rdi
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14000bdce
mov rcx, qword [rdi]
mov rsi, qword [rdi + 0x10]
add rsi, rcx
mov rbx, rdi
cmp rdx, 0x10
jb 0x14000bde1
mov rbx, qword [rdi]
xor r13d, r13d
mov ecx, r13d
mov qword [rbp - 0x19], rcx
mov r8d, 7
mov qword [rbp - 0x11], r8
mov word [rbp - 0x29], r13w
mov rdx, rsi
sub rdx, rbx
cmp rdx, 8
jb 0x14000be1a
lea rcx, [rbp - 0x29]
call fcn.140006fa0
mov ecx, r13d
mov qword [rbp - 0x19], rcx
mov r8, qword [rbp - 0x11]
lea rax, [rbp - 0x29]
mov qword [rbp - 0x59], rax
cmp rbx, rsi
je 0x14000be6d
movsx r9d, byte [rbx]
cmp rcx, r8
jae 0x14000be52
lea rax, [rcx + 1]
mov qword [rbp - 0x19], rax
lea rax, [rbp - 0x29]
cmp r8, 8
cmovae rax, qword [rbp - 0x29]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r13w
jmp 0x14000be5b
lea rcx, [rbp - 0x29]
call fcn.140007110
inc rbx
cmp rbx, rsi
je 0x14000be6d
mov r8, qword [rbp - 0x11]
mov rcx, qword [rbp - 0x19]
jmp 0x14000be27
lea r8, [rbp - 0x29]
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp - 0x51]
call fcn.140006d20
mov rbx, rax
lea rax, [rbp - 0x29]
cmp rax, rbx
je 0x14000bef9
mov rdx, qword [rbp - 0x11]
cmp rdx, 8
jb 0x14000bec9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bec4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000bf30
call fcn.14000d284
mov qword [rbp - 0x19], r13
mov qword [rbp - 0x11], 7
mov word [rbp - 0x29], r13w
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x29], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x19], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
mov rdx, qword [rbp - 0x39]
cmp rdx, 8
jb 0x14000bf3c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bf37
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bf37
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d284
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rdx, qword [rbp - 0x29]
lea rcx, [rbp + 0x17]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov r15, qword [rdi + 0x10]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r15
cmp rax, 0x22
jb 0x14000c1a3
cmp qword [rdi + 0x18], 0x10
jb 0x14000bf7c
mov rdi, qword [rdi]
mov qword [rbp + 7], r13
mov qword [rbp + 0xf], r13
lea r14, [r15 + 0x22]
mov ebx, 0xf
lea rsi, [rbp - 9]
cmp r14, rbx
jbe 0x14000c010
mov rbx, r14
or rbx, 0xf
cmp rbx, rcx
jbe 0x14000bfa7
mov rbx, rcx
jmp 0x14000bfb3
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
mov rcx, rbx
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, 0x1000
jb 0x14000bffa
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000c19d
mov rcx, rax
call fcn.14000d7c0
test rax, rax
je 0x14000c10e
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14000c00c
test rcx, rcx
je 0x14000c009
call fcn.14000d7c0
mov rsi, rax
jmp 0x14000c00c
mov rsi, r13
mov qword [rbp - 9], rsi
mov qword [rbp + 7], r14
mov qword [rbp + 0xf], rbx
movups xmm0, xmmword [str.SYSTEMCurrentControlSetServices_]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [0x140018f20]
movups xmmword [rsi + 0x10], xmm1
movzx eax, word [0x140018f30]
mov word [rsi + 0x20], ax
lea rcx, [rsi + 0x22]
mov r8, r15
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + r14], 0
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 0x10
cmovae rdx, qword [rbp - 9]
lea r8, [rbp - 0x31]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x14000c077
cmp eax, 2
sete bl
jmp 0x14000c0dc
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.NtUnloadDriver
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp + 0x17]
call rax
mov ebx, eax
mov edx, eax
lea rcx, str.___NtUnloadDriver_Status_0x_lx_n
call fcn.140001040
test ebx, ebx
je 0x14000c0b7
lea rcx, str.____Driver_Unload_Failed___n
call fcn.140001040
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 0x10
cmovae rdx, qword [rbp - 9]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x14000c0da
xor bl, bl
jmp 0x14000c0dc
mov bl, 1
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x14000c11a
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c115
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c115
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d284
mov qword [rbp + 7], r13
mov qword [rbp + 0xf], 0xf
mov byte [rbp - 9], 0
mov rdx, qword [rbp - 0x11]
cmp rdx, 8
jb 0x14000c16d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c168
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c168
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d284
movzx eax, bl
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14000d260
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
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.1400011a0
nop
call fcn.140001240
int3