Function at 0x14000bad0
Capabilities:
Delete registry key

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x28]
sub rsp, 0x110
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x14001d040]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rbp - 0x68], rdx
xor r14d, r14d
mov rdx, qword [rdx + 0x10]
movabs rbx, 0x7ffffffffffffffe
mov rax, rbx
sub rax, rdx
cmp rax, 0x22
jb 0x14000bf2f
mov rax, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14000bb34
mov rax, qword [rdi]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x22
lea r9, str.SYSTEMCurrentControlSetServices_
lea rcx, [rbp - 0x60]
call fcn.14000b300
nop
lea rcx, [0x140018e58]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rsi, rsi
jne 0x14000bc06
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x14000bbae
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14000bba9
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000be96
call fcn.14000c49c
movdqa xmm0, xmmword [0x140019110]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], r14w
mov rdx, qword [rdi + 0x18]
cmp rdx, 7
jbe 0x14000bbff
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
mov rcx, qword [rdi]
jb 0x14000bbfa
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000bf22
mov rcx, r8
call fcn.14000c49c
xor al, al
jmp 0x14000bee9
lea rdx, str.NtUnLoadDriver
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
jne 0x14000bc5e
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rdx, str.ntdll.dll____NtUnLoadDrvier___fail_
lea rcx, [rsp + 0x50]
call fcn.140001820
mov rbx, rax
lea rdx, [0x1400175a4]
lea rcx, [rsp + 0x70]
call fcn.140001820
nop
mov rdx, rbx
mov rcx, rax
call fcn.140004750
jmp 0x14000bb6e
mov rcx, qword [rdi + 0x10]
sub rbx, rcx
cmp rbx, 0x34
jb 0x14000bf29
mov rax, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14000bc7c
mov rax, qword [rdi]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x34
lea r9, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp - 0x40]
call fcn.14000b300
nop
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x20]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rbp - 0x20]
call rsi
test eax, eax
jne 0x14000bd9e
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rdx, str.NtUnLoad___called_Error_
lea rcx, [rsp + 0x70]
call fcn.140001820
mov rbx, rax
lea rdx, [0x1400175a4]
lea rcx, [rsp + 0x50]
call fcn.140001820
nop
mov rdx, rbx
mov rcx, rax
call fcn.140004750
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x14000bd42
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14000bd3d
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000be41
call fcn.14000c49c
movdqa xmm6, xmmword [0x140019110]
mov word [rbp - 0x40], r14w
movdqu xmmword [rbp - 0x30], xmm6
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x14000bd94
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14000bd8f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000be96
call fcn.14000c49c
movdqu xmmword [rbp - 0x50], xmm6
jmp 0x14000bbbb
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rdx, qword [rbp - 0x60]
lea r8, [rbp - 0x70]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x14000bde4
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rdx, str.RegOpenkey___open_failed_
lea rcx, [rsp + 0x70]
call fcn.140001820
mov rbx, rax
jmp 0x14000bce4
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rdx, qword [rbp - 0x60]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x14000be4d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000be48
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000be48
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000c49c
movdqa xmm6, xmmword [0x140019110]
movdqu xmmword [rbp - 0x30], xmm6
mov word [rbp - 0x40], r14w
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x14000bea2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000be9d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000be9d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000c49c
movdqu xmmword [rbp - 0x50], xmm6
mov word [rbp - 0x60], r14w
mov rdx, qword [rdi + 0x18]
cmp rdx, 7
jbe 0x14000bee7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14000bee2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000bf22
mov rcx, r8
call fcn.14000c49c
mov al, 1
mov word [rdi], r14w
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r14
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14000c200
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400012a0
nop
call fcn.1400012a0
int3