Function at 0x140003890
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 [0x140012080]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov rdi, rcx
xor esi, esi
xorps xmm0, xmm0
movups xmmword [r11 - 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [r11 - 0x48], xmm1
mov r8d, 0x34
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [r11 - 0x58]
call fcn.1400065a0
nop
mov rdx, rdi
lea rcx, [rsp + 0xb0]
call fcn.140005790
lea rdx, [rsp + 0xb0]
cmp qword [rsp + 0xc8], 0xf
cmova 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]
mov r14d, eax
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14001aa98], eax
jle 0x1400039c6
lea rcx, [0x14001aa98]
call fcn.140009c08
cmp dword [0x14001aa98], 0xffffffff
jne 0x1400039c6
xorps xmm0, xmm0
movups xmmword [0x14001aa78], xmm0
xorps xmm1, xmm1
movdqu xmmword [0x14001aa88], xmm1
mov r8d, 0x22
lea rdx, str.SystemCurrentControlSetServices_
lea rbx, [0x14001aa78]
mov rcx, rbx
call fcn.1400065a0
lea rcx, [0x14000b2a0]
call fcn.140009ee4
nop
lea rcx, [0x14001aa98]
call fcn.140009b9c
jmp 0x1400039cd
lea rbx, [0x14001aa78]
cmp qword [0x14001aa90], 0xf
cmova rbx, qword [0x14001aa78]
lea r8, [rsp + 0xa0]
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140003a02
mov rdx, qword [rdi]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x140003a23
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0x80]
call fcn.140002a10
nop
mov rcx, rax
cmp qword [rax + 0x18], 7
jbe 0x140003a3e
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0xa8], rax
call fcn.140009448
movaps xmm0, xmmword [rsp + 0xa0]
movdqa xmmword [rsp + 0xa0], xmm0
lea r8, [rsp + 0xa0]
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.140005f10
nop
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.140005790
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x30], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rax, [rsp + 0x20]
cmp qword [rsp + 0x38], 0xf
cmova rax, qword [rsp + 0x20]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xa8], rax
call fcn.140009448
movaps xmm0, xmmword [rsp + 0xa0]
movdqa xmmword [rsp + 0xa0], xmm0
lea r8, [rsp + 0xa0]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.140001d80
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
call fcn.1400097d4
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x140003d3a
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140003b76
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003b71
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003b71
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009efc
movdqa xmm0, xmmword [0x14000d1b0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], si
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140003bc9
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003bc4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003bc4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009efc
movdqa xmm0, xmmword [0x14000d1c0]
movdqu xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x20], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140003c24
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003c17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003c17
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009efc
movdqa xmm0, xmmword [0x14000d1c0]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
mov rdx, qword [rsp + 0x98]
cmp rdx, 7
jbe 0x140003c7b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003c75
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003c75
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009efc
nop
test r14d, r14d
setne sil
mov rdx, qword [rsp + 0xc8]
cmp rdx, 0xf
jbe 0x140003cc1
inc rdx
mov rcx, qword [rsp + 0xb0]
mov r8, rcx
cmp rdx, 0x1000
jb 0x140003cbc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x140003cff
call fcn.140009efc
mov eax, esi
jmp 0x140003d10
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.140009b40
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 + 0x40]
call fcn.1400027f0
int3