Function at 0x140006800
Capabilities:
Delete registry key
Unload driver

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x100
mov rax, qword [0x140025010]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov rdi, rcx
xor esi, esi
mov qword [r11 - 0x68], rsi
mov qword [r11 - 0x58], rsi
mov qword [r11 - 0x50], 0xf
mov byte [r11 - 0x68], sil
lea r8d, [rsi + 0x34]
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [r11 - 0x68]
call fcn.140002640
nop
mov rdx, rdi
lea rcx, [rsp + 0xb0]
call fcn.14000a930
lea rdx, [rsp + 0xb0]
cmp qword [rsp + 0xc8], 0x10
cmovae rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0xd0]
call qword [sym.imp.ntdll.dll_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xe0]
call qword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
lea rcx, [rsp + 0xe0]
call qword [sym.imp.ntdll.dll_NtUnloadDriver]
test eax, eax
sete r15b
lea rcx, [rsp + 0x60]
call fcn.140004fa0
nop
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14000af90
nop
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14000a930
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], rsi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x90], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xa0], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], sil
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140006960
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000695b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000695b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400100e0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x1400069b8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400069b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400069b3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400100e0
movdqa xmm0, xmmword [0x14001ff20]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], si
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140025b50], eax
jle 0x140006a4a
lea rcx, [0x140025b50]
call fcn.140010530
cmp dword [0x140025b50], 0xffffffff
jne 0x140006a4a
mov qword [0x140025b70], rsi
movdqa xmm0, xmmword [0x14001ff30]
movdqu xmmword [0x140025b80], xmm0
mov r8d, 0x22
lea rdx, str.SystemCurrentControlSetServices_
lea rbx, [0x140025b70]
mov rcx, rbx
call fcn.140002640
lea rcx, [0x140011c40]
call fcn.14001035c
nop
lea rcx, [0x140025b50]
call fcn.1400104d0
jmp 0x140006a51
lea rbx, [0x140025b70]
cmp qword [0x140025b88], 0x10
cmovae rbx, qword [0x140025b70]
lea r8, [rsp + 0x80]
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp qword [rdi + 0x18], 0x10
jb 0x140006a83
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x140006aaf
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x140006aaf
mov r14b, 1
jmp 0x140006ab2
xor r14b, r14b
mov rdi, qword [rsp + 0xa0]
lea rbx, [rsp + 0x90]
cmp qword [rsp + 0xa8], 0x10
cmovae rbx, qword [rsp + 0x90]
call fcn.14000f930
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rdi
lea r8, [rsp + 0x80]
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.1400040a0
nop
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
call fcn.14000ff50
shr rax, 0x20
test eax, eax
jne 0x140006cf5
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140006b66
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006b60
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006b60
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400100e0
nop
test r14b, r14b
je 0x140006b74
test r15b, r15b
je 0x140006b74
mov bl, 1
jmp 0x140006b76
xor bl, bl
mov rdx, qword [rsp + 0xa8]
cmp rdx, 0x10
jb 0x140006bb9
inc rdx
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006bb4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006c5a
call fcn.1400100e0
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], 0xf
mov byte [rsp + 0x90], 0
mov rdx, qword [rsp + 0xc8]
cmp rdx, 0x10
jb 0x140006c18
inc rdx
mov rcx, qword [rsp + 0xb0]
mov r8, rcx
cmp rdx, 0x1000
jb 0x140006c13
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x140006cbe
call fcn.1400100e0
movzx eax, bl
jmp 0x140006ccc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1400100c0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, str.remove
call fcn.140004c50
int3