Function at 0x140006e30
Capabilities:
Delete registry key
Unload driver

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x100
mov rax, qword [0x140026040]
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
mov r8d, 0x34
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [r11 - 0x60]
call fcn.140002870
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140006e8f
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rsp + 0xa8]
call fcn.140002740
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 + 0x24], eax
mov rcx, qword [rdi + 0x10]
mov rax, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140006f04
mov rax, qword [rdi]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rcx
call fcn.1400101c0
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.1400043c0
nop
lea rcx, [rsp + 0x60]
call fcn.140005790
nop
lea r8, [rsp + 0x40]
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.140004a10
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x140006f96
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006f91
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006f91
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010c30
movdqa xmm0, xmmword [0x140020ea0]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], bx
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140006ff6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006fe9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006fe9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010c30
movdqa xmm0, xmmword [0x140020ea0]
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 [0x140026e10], eax
jle 0x14000707e
lea rcx, [0x140026e10]
call fcn.140010f90
cmp dword [0x140026e10], 0xffffffff
jne 0x14000707e
xorps xmm0, xmm0
movups xmmword [0x140026e30], xmm0
xorps xmm1, xmm1
movdqu xmmword [0x140026e40], xmm1
mov r8d, 0x22
lea rdx, str.SystemCurrentControlSetServices_
lea rsi, [0x140026e30]
mov rcx, rsi
call fcn.140002870
lea rcx, [0x140012750]
call fcn.140010e9c
nop
lea rcx, [0x140026e10]
call fcn.140010f24
jmp 0x140007085
lea rsi, [0x140026e30]
cmp qword [0x140026e48], 0xf
cmova rsi, qword [0x140026e30]
lea r8, [rsp + 0x80]
mov rdx, rsi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp qword [rdi + 0x18], 0xf
jbe 0x1400070b7
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x1400070e2
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x1400070e2
mov al, 1
jmp 0x1400070e4
xor al, al
mov byte [rsp + 0x21], al
mov byte [rsp + 0x20], 0
mov eax, ebx
mov dword [rsp + 0x80], eax
cmp eax, 5
jge 0x140007155
lea rcx, [rsp + 0x88]
call fcn.140005680
test al, al
je 0x140007141
lea rcx, [rsp + 0x88]
cmp qword [rsp + 0xa0], 7
cmova rcx, qword [rsp + 0x88]
call fcn.140010874
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x140007256
mov byte [rsp + 0x20], 1
jmp 0x140007155
mov byte [rsp + 0x20], 1
jmp 0x140007155
lea rcx, [rsp + 0xc8]
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
cmp dword [rsp + 0x24], 0
jne 0x14000717d
cmp byte [rsp + 0x21], 0
je 0x14000717d
cmp byte [rsp + 0x20], 0
je 0x14000717d
mov dil, 1
jmp 0x140007180
xor dil, dil
mov rdx, qword [rsp + 0xa0]
cmp rdx, 7
jbe 0x1400071cb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400071c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400071c6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010c30
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0xa0], 7
mov word [rsp + 0x88], bx
mov rdx, qword [rsp + 0xc0]
cmp rdx, 0xf
jbe 0x14000722d
inc rdx
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007228
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007228
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010c30
movzx eax, dil
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.140010c10
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
shr rdx, 0x20
lea r8, [rsp + 0x88]
call fcn.140005460
int3