Function at 0x140007350
Capabilities:
Delete registry key
Unload driver

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x100
mov rax, qword [0x140027040]
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
lea r8d, [rbx + 0x34]
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [r11 - 0x60]
call fcn.140002750
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1400073b2
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rsp + 0xa8]
call fcn.140002620
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 + 0x28], eax
mov r14, qword [rdi + 0x10]
mov rsi, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140007427
mov rsi, qword [rdi]
call fcn.140010df0
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], r14
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.1400043d0
nop
lea rcx, [rsp + 0x60]
call fcn.140005670
nop
lea r8, [rsp + 0x40]
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.140004a30
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x1400074ae
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400074a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400074a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011810
movdqa xmm0, xmmword [0x140021f10]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], bx
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140007506
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007501
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007501
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011810
movdqa xmm0, xmmword [0x140021f10]
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 [0x140027b80], eax
jle 0x140007596
lea rcx, [0x140027b80]
call fcn.140011b70
cmp dword [0x140027b80], 0xffffffff
jne 0x140007596
xorps xmm0, xmm0
movups xmmword [0x140027ba0], xmm0
xorps xmm1, xmm1
movdqu xmmword [0x140027bb0], xmm1
mov r8d, 0x22
lea rdx, str.SystemCurrentControlSetServices_
lea rsi, [0x140027ba0]
mov rcx, rsi
call fcn.140002750
lea rcx, [0x1400132b0]
call fcn.140011a7c
nop
lea rcx, [0x140027b80]
call fcn.140011b04
jmp 0x14000759d
lea rsi, [0x140027ba0]
cmp qword [0x140027bb8], 0xf
cmova rsi, qword [0x140027ba0]
lea r8, [rsp + 0x80]
mov rdx, rsi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp qword [rdi + 0x18], 0xf
jbe 0x1400075cf
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x1400075fb
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov byte [rsp + 0x21], 1
je 0x140007600
mov byte [rsp + 0x21], 0
mov byte [rsp + 0x20], 0
mov eax, ebx
mov dword [rsp + 0x24], eax
cmp eax, 5
jge 0x140007667
lea rcx, [rsp + 0x88]
call fcn.140005560
test al, al
je 0x140007656
lea rcx, [rsp + 0x88]
cmp qword [rsp + 0xa0], 7
cmova rcx, qword [rsp + 0x88]
call fcn.1400114a4
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x14000776d
mov byte [rsp + 0x20], 1
jmp 0x140007667
mov byte [rsp + 0x20], 1
jmp 0x140007667
lea rcx, [rsp + 0xc8]
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
cmp dword [rsp + 0x28], 0
jne 0x14000768f
cmp byte [rsp + 0x21], 0
je 0x14000768f
cmp byte [rsp + 0x20], 0
je 0x14000768f
mov dil, 1
jmp 0x140007692
xor dil, dil
mov rdx, qword [rsp + 0xa0]
cmp rdx, 7
jbe 0x1400076dd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400076d8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400076d8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011810
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0xa0], 7
mov word [rsp + 0x88], bx
mov rdx, qword [rsp + 0xc0]
cmp rdx, 0xf
jbe 0x14000773f
inc rdx
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000773a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000773a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011810
movzx eax, dil
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1400117f0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
shr rdx, 0x20
lea r8, [rsp + 0x88]
call fcn.140005340
int3