Function at 0x14006f690
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, 0x110
mov rax, qword [0x14067e680]
xor rax, rsp
mov qword [rsp + 0x108], rax
mov rbx, rcx
xor r15d, r15d
mov dword [r11 - 0xa8], r15d
xorps xmm0, xmm0
movups xmmword [r11 - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [r11 - 0x58], xmm1
lea r8d, [r15 + 0x34]
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [r11 - 0x68]
call fcn.14005c8f0
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14006f6f9
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rsp + 0xc0]
call fcn.14005c7b0
lea rdx, [rsp + 0xc0]
cmp qword [rsp + 0xd8], 0xf
cmova rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0xe0]
call qword [sym.imp.ntdll.dll_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.ntdll.dll_NtUnloadDriver]
mov r14d, eax
mov qword [rsp + 0x90], r15
lea rax, [0x14067f408]
mov qword [rsp + 0x98], rax
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x40]
call fcn.14006e1e0
mov dword [rsp + 0x80], 1
cmp dword [rsp + 0x90], 0
jne 0x14006fb44
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.14006d680
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14006f7bb
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.14005c7b0
xorps xmm0, xmm0
movups xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], r15
mov qword [rsp + 0xb8], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0xa0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xb0], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x14006f845
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006f840
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006fb5e
call fcn.14025f000
movdqa xmm0, xmmword [0x140654230]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14006f89a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006f895
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006fb64
call fcn.14025f000
movdqa xmm0, xmmword [0x140654220]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r15w
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140689a30], eax
jle 0x14006f92b
lea rcx, [0x140689a30]
call fcn.14025f360
cmp dword [0x140689a30], 0xffffffff
jne 0x14006f92b
xorps xmm0, xmm0
movups xmmword [0x1406899e0], xmm0
xorps xmm1, xmm1
movdqu xmmword [0x1406899f0], xmm1
mov r8d, Ordinal_35
lea rdx, str.SystemCurrentControlSetServices_
lea rdi, [0x1406899e0]
mov rcx, rdi
call fcn.14005c8f0
lea rcx, [0x1402a49d0]
call fcn.14025f26c
nop
lea rcx, [0x140689a30]
call fcn.14025f2f4
jmp 0x14006f932
lea rdi, [0x1406899e0]
cmp qword [0x1406899f8], 0xf
cmova rdi, qword [0x1406899e0]
lea r8, [rsp + 0x80]
mov rdx, rdi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp qword [rbx + 0x18], 0xf
jbe 0x14006f964
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x14006f990
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x14006f990
mov sil, 1
jmp 0x14006f993
xor sil, sil
mov rdi, qword [rsp + 0xb0]
lea rbx, [rsp + 0xa0]
cmp qword [rsp + 0xb8], 0xf
cmova rbx, qword [rsp + 0xa0]
call fcn.14025d464
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x98], rdi
lea r8, [rsp + 0x90]
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.14006d510
nop
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 7
cmova rcx, qword [rsp + 0x20]
call fcn.14025db20
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x14006fb6a
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x14006fa47
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006fa41
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006fb79
call fcn.14025f000
nop
test sil, sil
je 0x14006fa55
test r14d, r14d
jne 0x14006fa55
mov bl, 1
jmp 0x14006fa57
xor bl, bl
mov rdx, qword [rsp + 0xb8]
cmp rdx, 0xf
jbe 0x14006fa9a
inc rdx
mov rcx, qword [rsp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006fa95
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006fb7f
call fcn.14025f000
mov qword [rsp + 0xb0], r15
mov qword [rsp + 0xb8], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xa0], 0
mov rdx, qword [rsp + 0xd8]
cmp rdx, 0xf
jbe 0x14006faf9
inc rdx
mov rcx, qword [rsp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006faf4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006fb85
call fcn.14025f000
movzx eax, bl
jmp 0x14006fb1b
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.14025efe0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x90]
lea rcx, str.temp_directory_path
call fcn.14006e010
nop
call fcn.14026ebe4
nop
call fcn.14026ebe4
nop
shr rdx, 0x20
lea r8, [rsp + 0x20]
call fcn.14006dfa0
nop
call fcn.14026ebe4
nop
call fcn.14026ebe4
nop
call fcn.14026ebe4
int3