Function at 0x140002c80
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 [0x14002f010]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov rdi, rcx
xor esi, esi
mov qword [r11 - 0x68], rsi
mov qword [r11 - 0x58], rsi
mov qword [r11 - 0x50], 0xf
mov byte [r11 - 0x68], sil
lea r8d, [rsi + 0x34]
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [r11 - 0x68]
call fcn.140006ae0
nop
mov rdx, rdi
lea rcx, [rsp + 0xb0]
call fcn.140006370
lea rdx, [rsp + 0xb0]
cmp qword [rsp + 0xc8], 0x10
cmovae 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]
test eax, eax
sete r15b
lea rcx, [rsp + 0x60]
call fcn.1400028c0
nop
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140006d30
nop
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140006370
mov qword [rsp + 0x90], rsi
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], sil
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140002de0
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002ddb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002ddb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000da40
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140002e38
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002e33
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002e33
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000da40
movdqa xmm0, xmmword [0x14002b030]
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 [0x14002fa98], eax
jle 0x140002eca
lea rcx, [0x14002fa98]
call fcn.14000dbd0
cmp dword [0x14002fa98], 0xffffffff
jne 0x140002eca
mov qword [0x14002faa0], rsi
movdqa xmm0, xmmword [0x14002b040]
movdqu xmmword [0x14002fab0], xmm0
mov r8d, 0x22
lea rdx, str.SystemCurrentControlSetServices_
lea rbx, [0x14002faa0]
mov rcx, rbx
call fcn.140006ae0
lea rcx, [0x14000f3e0]
call fcn.14000df54
nop
lea rcx, [0x14002fa98]
call fcn.14000db70
jmp 0x140002ed1
lea rbx, [0x14002faa0]
cmp qword [0x14002fab8], 0x10
cmovae rbx, qword [0x14002faa0]
lea r8, [rsp + 0x80]
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp qword [rdi + 0x18], 0x10
jb 0x140002f03
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x140002f2f
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x140002f2f
mov r14b, 1
jmp 0x140002f32
xor r14b, r14b
mov rdi, qword [rsp + 0xa0]
lea rbx, [rsp + 0x90]
cmp qword [rsp + 0xa8], 0x10
cmovae rbx, qword [rsp + 0x90]
call fcn.14000d524
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rdi
lea r8, [rsp + 0x80]
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.140001c90
nop
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
call fcn.14000d8b0
shr rax, 0x20
test eax, eax
jne 0x140003175
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140002fe6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002fe0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002fe0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000da40
nop
test r14b, r14b
je 0x140002ff4
test r15b, r15b
je 0x140002ff4
mov bl, 1
jmp 0x140002ff6
xor bl, bl
mov rdx, qword [rsp + 0xa8]
cmp rdx, 0x10
jb 0x140003039
inc rdx
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003034
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400030da
call fcn.14000da40
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], 0xf
mov byte [rsp + 0x90], 0
mov rdx, qword [rsp + 0xc8]
cmp rdx, 0x10
jb 0x140003098
inc rdx
mov rcx, qword [rsp + 0xb0]
mov r8, rcx
cmp rdx, 0x1000
jb 0x140003093
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x14000313e
call fcn.14000da40
movzx eax, bl
jmp 0x14000314c
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.14000da20
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, str.remove
call fcn.140002660
int3