Function at 0x140006df0
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, 0x100
mov rax, qword [0x140024040]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov rdi, rcx
xor esi, esi
xorps xmm0, xmm0
movups xmmword [r11 - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [r11 - 0x58], xmm1
lea r8d, [rsi + 0x34]
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [r11 - 0x68]
call fcn.140002750
nop
mov rdx, rdi
lea rcx, [rsp + 0xb0]
call fcn.14000a7b0
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 r15d, eax
lea rcx, [rsp + 0x60]
call fcn.140004f80
nop
mov rcx, rax
cmp qword [rax + 0x18], 7
jbe 0x140006ebe
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], rax
call fcn.14000fab0
movaps xmm0, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0x80], xmm0
lea r8, [rsp + 0x80]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.14000ac50
nop
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14000a7b0
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], rsi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x90], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xa0], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140006f8b
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006f86
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006f86
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010400
movdqa xmm0, xmmword [0x14001fce0]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x140006fe3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006fde
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006fde
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010400
movdqa xmm0, xmmword [0x14001fcd0]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], si
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140029590], eax
jle 0x140007073
lea rcx, [0x140029590]
call fcn.140010760
cmp dword [0x140029590], 0xffffffff
jne 0x140007073
xorps xmm0, xmm0
movups xmmword [0x1400295b0], xmm0
xorps xmm1, xmm1
movdqu xmmword [0x1400295c0], xmm1
mov r8d, 0x22
lea rdx, str.SystemCurrentControlSetServices_
lea rbx, [0x1400295b0]
mov rcx, rbx
call fcn.140002750
lea rcx, [0x140011ca0]
call fcn.14001066c
nop
lea rcx, [0x140029590]
call fcn.1400106f4
jmp 0x14000707a
lea rbx, [0x1400295b0]
cmp qword [0x1400295c8], 0xf
cmova rbx, qword [0x1400295b0]
lea r8, [rsp + 0x80]
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp qword [rdi + 0x18], 0xf
jbe 0x1400070ac
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x1400070d8
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x1400070d8
mov r14b, 1
jmp 0x1400070db
xor r14b, r14b
mov rdi, qword [rsp + 0xa0]
lea rbx, [rsp + 0x90]
cmp qword [rsp + 0xa8], 0xf
cmova rbx, qword [rsp + 0x90]
call fcn.14000fab0
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rdi
lea r8, [rsp + 0x80]
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.1400042e0
nop
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 7
cmova rcx, qword [rsp + 0x20]
call fcn.140010164
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x140007321
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x140007192
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000718c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000718c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010400
nop
test r14b, r14b
je 0x1400071a0
test r15d, r15d
jne 0x1400071a0
mov bl, 1
jmp 0x1400071a2
xor bl, bl
mov rdx, qword [rsp + 0xa8]
cmp rdx, 0xf
jbe 0x1400071e5
inc rdx
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400071e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007286
call fcn.140010400
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], 0xf
mov byte [rsp + 0x90], 0
mov rdx, qword [rsp + 0xc8]
cmp rdx, 0xf
jbe 0x140007244
inc rdx
mov rcx, qword [rsp + 0xb0]
mov r8, rcx
cmp rdx, 0x1000
jb 0x14000723f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x1400072ea
call fcn.140010400
movzx eax, bl
jmp 0x1400072f8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
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.1400103e0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
shr rdx, 0x20
lea r8, [rsp + 0x20]
call fcn.140004d60
int3