Function at 0x14006df30
Capabilities:
Check os version
Delete registry key
Unload driver

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x140
mov rax, qword [0x14009e680]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rsi, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0xa8], xmm0
xor edi, edi
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xc0], rdi
mov r8d, 0x34
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rsp + 0xa8]
call fcn.1400147d0
nop
mov r14, qword [rsi + 0x10]
mov r9, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x14006dfa6
mov r9, qword [rsi]
mov rcx, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0xc0]
mov rax, rdx
sub rax, rcx
cmp r14, rax
ja 0x14006dffa
lea rax, [r14 + rcx]
mov qword [rsp + 0xb8], rax
lea rbx, [rsp + 0xa8]
cmp rdx, 0xf
cmova rbx, qword [rsp + 0xa8]
add rbx, rcx
mov r8, r14
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + r14], 0
jmp 0x14006e015
mov qword [rsp + 0x20], r14
movzx r8d, byte [rsp + 0x31]
mov rdx, r14
lea rcx, [rsp + 0xa8]
call fcn.140058f60
lea rdx, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 0xf
cmova rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0xf8]
call sub.ntdll.dll_RtlInitAnsiString
mov r8b, 1
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0xe8]
call sub.ntdll.dll_RtlAnsiStringToUnicodeString
lea rcx, [rsp + 0xe8]
call sub.ntdll.dll_NtUnloadDriver
mov dword [rsp + 0x34], eax
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.1400581d0
nop
lea rcx, [rsp + 0x80]
call fcn.14006d6c0
nop
lea r8, [rsp + 0x60]
mov rdx, rax
lea rcx, [rsp + 0xc8]
call fcn.14005b6a0
nop
lea rcx, [rsp + 0x80]
call fcn.1400629f0
nop
lea rcx, [rsp + 0x60]
call fcn.1400629f0
mov ecx, dword [0x1400a0368]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1400a01f8], ecx
jg 0x14006e32c
lea rbx, [0x1400a01d8]
cmp qword [0x1400a01f0], 0xf
cmova rbx, qword [0x1400a01d8]
lea r8, [rsp + 0xa0]
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp qword [rsi + 0x18], 0xf
jbe 0x14006e112
mov rsi, qword [rsi]
mov rdx, rsi
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x14006e13d
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x14006e13d
mov al, 1
jmp 0x14006e13f
xor al, al
mov byte [rsp + 0x31], al
mov byte [rsp + 0x30], 0
mov eax, edi
mov dword [rsp + 0xa0], eax
cmp eax, 5
jge 0x14006e283
lea rcx, [rsp + 0xc8]
cmp qword [rsp + 0xe0], 7
cmova rcx, qword [rsp + 0xc8]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rsp + 0x108]
call fcn.140072874
mov r8d, eax
test eax, eax
jne 0x14006e1e6
mov edx, dword [rsp + 0x118]
test dl, 1
mov ecx, 0x1ff
mov eax, 0x16d
cmovne ecx, eax
mov dword [rsp + 0x44], ecx
mov eax, edx
shr eax, 0xa
test al, 1
je 0x14006e1db
mov eax, dword [rsp + 0x11c]
cmp eax, 0xa000000c
jne 0x14006e1cd
mov edx, 4
jmp 0x14006e209
cmp eax, 0xa0000003
jne 0x14006e1db
mov edx, 0xa
jmp 0x14006e209
shr edx, 4
and edx, 1
or edx, 2
jmp 0x14006e209
mov dword [rsp + 0x44], 0xffff
sub eax, 2
je 0x14006e202
sub eax, 1
je 0x14006e202
sub eax, 0x32
je 0x14006e202
cmp eax, 0x46
jne 0x14006e207
mov edi, 1
mov edx, edi
mov dword [rsp + 0x50], r8d
lea rax, [0x14009e530]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x40], xmm0
test edx, edx
je 0x14006e263
cmp edx, 1
je 0x14006e26c
lea rcx, [rsp + 0xc8]
cmp qword [rsp + 0xe0], 7
cmova rcx, qword [rsp + 0xc8]
call fcn.140072c98
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x14006e394
mov byte [rsp + 0x30], 1
jmp 0x14006e283
test r8d, r8d
jne 0x14006e3ac
mov byte [rsp + 0x30], 1
jmp 0x14006e283
lea rcx, [rsp + 0xe8]
call sub.ntdll.dll_RtlFreeUnicodeString
cmp dword [rsp + 0x34], 0
jne 0x14006e2a9
cmp byte [rsp + 0x31], 0
je 0x14006e2a9
cmp byte [rsp + 0x30], 0
je 0x14006e2a9
mov bl, 1
jmp 0x14006e2ab
xor bl, bl
lea rcx, [rsp + 0xc8]
call fcn.1400629f0
nop
mov rdx, qword [rsp + 0xc0]
cmp rdx, 0xf
jbe 0x14006e2ff
inc rdx
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006e2fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006e2fa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072f0c
movzx eax, bl
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140072fb0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
lea rcx, [0x1400a01f8]
call fcn.1400734a0
cmp dword [0x1400a01f8], 0xffffffff
jne 0x14006e0d9
xorps xmm0, xmm0
movups xmmword [0x1400a01d8], xmm0
xorps xmm1, xmm1
movdqu xmmword [0x1400a01e8], xmm1
mov r8d, 0x22
lea rdx, str.SystemCurrentControlSetServices_
lea rbx, [0x1400a01d8]
mov rcx, rbx
call fcn.1400147d0
lea rcx, [0x140075820]
call fcn.1400733e0
nop
lea rcx, [0x1400a01f8]
call fcn.140073434
jmp 0x14006e0e0
shr rdx, 0x20
lea r8, [rsp + 0xc8]
lea rcx, str.remove
call fcn.140062860
lea r8, [rsp + 0xc8]
lea rdx, [rsp + 0x40]
lea rcx, str.exists
call fcn.140062800
int3