Function at 0x140006ea0
Capabilities:
Delete registry key
Unload driver

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x100
mov rax, qword [0x140026040]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rdi, rcx
xor ebx, ebx
xorps xmm0, xmm0
movups xmmword [r11 - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [r11 - 0x50], xmm1
mov r8d, 0x34
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [r11 - 0x60]
call fcn.140002880
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140006eff
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rsp + 0xa8]
call fcn.140002750
lea rdx, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 0xf
cmova rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0xd8]
call qword [sym.imp.ntdll.dll_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0xc8]
call qword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
lea rcx, [rsp + 0xc8]
call qword [sym.imp.ntdll.dll_NtUnloadDriver]
mov dword [rsp + 0x24], eax
mov rcx, qword [rdi + 0x10]
mov rax, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140006f74
mov rax, qword [rdi]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rcx
call fcn.140010160
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.1400043e0
nop
lea rcx, [rsp + 0x60]
call fcn.140005800
nop
lea r8, [rsp + 0x40]
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.140004a80
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x140007006
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007001
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007001
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010b80
movdqa xmm0, xmmword [0x140020d00]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], bx
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140007066
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007059
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007059
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010b80
movdqa xmm0, xmmword [0x140020d00]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], bx
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140026e10], eax
jle 0x1400070ee
lea rcx, [0x140026e10]
call fcn.140010ee0
cmp dword [0x140026e10], 0xffffffff
jne 0x1400070ee
xorps xmm0, xmm0
movups xmmword [0x140026e30], xmm0
xorps xmm1, xmm1
movdqu xmmword [0x140026e40], xmm1
mov r8d, 0x22
lea rdx, str.SystemCurrentControlSetServices_
lea rsi, [0x140026e30]
mov rcx, rsi
call fcn.140002880
lea rcx, [0x1400126b0]
call fcn.140010dec
nop
lea rcx, [0x140026e10]
call fcn.140010e74
jmp 0x1400070f5
lea rsi, [0x140026e30]
cmp qword [0x140026e48], 0xf
cmova rsi, qword [0x140026e30]
lea r8, [rsp + 0x80]
mov rdx, rsi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp qword [rdi + 0x18], 0xf
jbe 0x140007127
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x140007152
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x140007152
mov al, 1
jmp 0x140007154
xor al, al
mov byte [rsp + 0x21], al
mov byte [rsp + 0x20], 0
mov eax, ebx
mov dword [rsp + 0x80], eax
cmp eax, 5
jge 0x1400071c5
lea rcx, [rsp + 0x88]
call fcn.1400056f0
test al, al
je 0x1400071b1
lea rcx, [rsp + 0x88]
cmp qword [rsp + 0xa0], 7
cmova rcx, qword [rsp + 0x88]
call fcn.140010814
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x1400072c6
mov byte [rsp + 0x20], 1
jmp 0x1400071c5
mov byte [rsp + 0x20], 1
jmp 0x1400071c5
lea rcx, [rsp + 0xc8]
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
cmp dword [rsp + 0x24], 0
jne 0x1400071ed
cmp byte [rsp + 0x21], 0
je 0x1400071ed
cmp byte [rsp + 0x20], 0
je 0x1400071ed
mov dil, 1
jmp 0x1400071f0
xor dil, dil
mov rdx, qword [rsp + 0xa0]
cmp rdx, 7
jbe 0x14000723b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007236
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007236
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010b80
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0xa0], 7
mov word [rsp + 0x88], bx
mov rdx, qword [rsp + 0xc0]
cmp rdx, 0xf
jbe 0x14000729d
inc rdx
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007298
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007298
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010b80
movzx eax, dil
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.140010b60
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
shr rdx, 0x20
lea r8, [rsp + 0x88]
call fcn.1400054d0
int3