Function at 0x14000bcc0
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, [0x1400101c8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r12, rax
test rax, rax
je 0x14000c0c0
mov rcx, rdi
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14000bd1e
mov rcx, qword [rdi]
mov rsi, qword [rdi + 0x10]
add rsi, rcx
mov rbx, rdi
cmp rdx, 0x10
jb 0x14000bd31
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 0x14000bd6a
lea rcx, [rbp - 0x29]
call fcn.140006f80
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 0x14000bdbd
movsx r9d, byte [rbx]
cmp rcx, r8
jae 0x14000bda2
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 0x14000bdab
lea rcx, [rbp - 0x29]
call fcn.1400070f0
inc rbx
cmp rbx, rsi
je 0x14000bdbd
mov r8, qword [rbp - 0x11]
mov rcx, qword [rbp - 0x19]
jmp 0x14000bd77
lea r8, [rbp - 0x29]
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp - 0x51]
call fcn.140006d00
mov rbx, rax
lea rax, [rbp - 0x29]
cmp rax, rbx
je 0x14000be49
mov rdx, qword [rbp - 0x11]
cmp rdx, 8
jb 0x14000be19
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000be14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000be80
call fcn.14000d0d4
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 0x14000be8c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000be87
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000be87
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d0d4
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 0x14000c0f3
cmp qword [rdi + 0x18], 0x10
jb 0x14000becc
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 0x14000bf60
mov rbx, r14
or rbx, 0xf
cmp rbx, rcx
jbe 0x14000bef7
mov rbx, rcx
jmp 0x14000bf03
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 0x14000bf4a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000c0ed
mov rcx, rax
call fcn.14000d610
test rax, rax
je 0x14000c05e
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14000bf5c
test rcx, rcx
je 0x14000bf59
call fcn.14000d610
mov rsi, rax
jmp 0x14000bf5c
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 [0x140018ec0]
movups xmmword [rsi + 0x10], xmm1
movzx eax, word [0x140018ed0]
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 0x14000bfc7
cmp eax, 2
sete bl
jmp 0x14000c02c
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 0x14000c007
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 0x14000c02a
xor bl, bl
jmp 0x14000c02c
mov bl, 1
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x14000c06a
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c065
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c065
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d0d4
mov qword [rbp + 7], r13
mov qword [rbp + 0xf], 0xf
mov byte [rbp - 9], 0
mov rdx, qword [rbp - 0x11]
cmp rdx, 8
jb 0x14000c0bd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c0b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c0b8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d0d4
movzx eax, bl
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14000d0b0
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