Function at 0x140002ae0
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 [0x140013010]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov rdi, rcx
xor r14d, r14d
mov qword [r11 - 0x58], r14
mov qword [r11 - 0x48], r14
mov qword [r11 - 0x40], 0xf
mov byte [r11 - 0x58], r14b
lea r8d, [r14 + 0x34]
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [r11 - 0x58]
call fcn.1400026b0
nop
mov rdx, rdi
lea rcx, [rsp + 0xb0]
call fcn.1400051e0
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
setne sil
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14001d990], eax
jle 0x140002c1b
lea rcx, [0x14001d990]
call fcn.14000b608
cmp dword [0x14001d990], 0xffffffff
jne 0x140002c1b
mov qword [0x14001d970], r14
movdqa xmm0, xmmword [0x14000e110]
movdqu xmmword [0x14001d980], xmm0
lea r8d, [r14 + 0x22]
lea rdx, str.SystemCurrentControlSetServices_
lea rbx, [0x14001d970]
mov rcx, rbx
call fcn.1400026b0
lea rcx, [0x14000cbc0]
call fcn.14000b98c
nop
lea rcx, [0x14001d990]
call fcn.14000b5a8
jmp 0x140002c22
lea rbx, [0x14001d970]
cmp qword [0x14001d988], 0x10
cmovae rbx, qword [0x14001d970]
lea r8, [rsp + 0xa0]
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140002c57
mov rdx, qword [rdi]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x140002c78
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0x80]
call fcn.140002510
nop
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140002c94
mov rax, qword [rax]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rcx
call fcn.14000acd0
movaps xmm0, xmmword [rsp + 0xa0]
movdqa xmmword [rsp + 0xa0], xmm0
lea r8, [rsp + 0xa0]
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.1400069b0
nop
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.1400051e0
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x30], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdi, qword [rsp + 0x30]
lea rbx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rbx, qword [rsp + 0x20]
call fcn.14000acd0
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xa8], rdi
lea r8, [rsp + 0xa0]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.140001980
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call fcn.14000b2f0
shr rax, 0x20
test eax, eax
jne 0x140002f74
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140002db2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002dad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002dad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b9ac
movdqa xmm0, xmmword [0x14000e100]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r14w
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140002e06
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002e01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002e01
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b9ac
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x140002e59
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002e54
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002e54
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b9ac
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
mov rdx, qword [rsp + 0x98]
cmp rdx, 8
jb 0x140002eb8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002eb2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002eb2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b9ac
nop
movzx ebx, sil
mov rdx, qword [rsp + 0xc8]
cmp rdx, 0x10
jb 0x140002efb
inc rdx
mov rcx, qword [rsp + 0xb0]
mov r8, rcx
cmp rdx, 0x1000
jb 0x140002ef6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x140002f39
call fcn.14000b9ac
mov eax, ebx
jmp 0x140002f4a
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.14000b460
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
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, str.remove
call fcn.1400022b0
int3