Function at 0x140020d30
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 [0x1400c5080]
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.140020980
nop
mov rdx, rdi
lea rcx, [rsp + 0xb0]
call fcn.14002a080
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.14001f050
nop
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140020e05
mov rax, qword [rax]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rcx
call fcn.140096f58
movaps xmm0, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0x80], xmm0
lea r8, [rsp + 0x80]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.14002c5d0
nop
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14002a080
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], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140020ecb
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020ec6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140020ec6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140097750
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140020f23
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020f1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140020f1e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140097750
movdqa xmm0, xmmword [0x1400b8240]
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 [0x1400c61b8], eax
jle 0x140020fb5
lea rcx, [0x1400c61b8]
call fcn.1400978e0
cmp dword [0x1400c61b8], 0xffffffff
jne 0x140020fb5
mov qword [0x1400c61e0], rsi
movdqa xmm0, xmmword [0x1400b8250]
movdqu xmmword [0x1400c61f0], xmm0
mov r8d, Ordinal_35
lea rdx, str.SystemCurrentControlSetServices_
lea rbx, [0x1400c61e0]
mov rcx, rbx
call fcn.140020980
lea rcx, [0x14009a5e0]
call fcn.140097c64
nop
lea rcx, [0x1400c61b8]
call fcn.140097880
jmp 0x140020fbc
lea rbx, [0x1400c61e0]
cmp qword [0x1400c61f8], 0x10
cmovae rbx, qword [0x1400c61e0]
lea r8, [rsp + 0x80]
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp qword [rdi + 0x18], 0x10
jb 0x140020fee
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x14002101a
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x14002101a
mov r14b, 1
jmp 0x14002101d
xor r14b, r14b
mov rdi, qword [rsp + 0xa0]
lea rbx, [rsp + 0x90]
cmp qword [rsp + 0xa8], 0x10
cmovae rbx, qword [rsp + 0x90]
call fcn.140096f58
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rdi
lea r8, [rsp + 0x80]
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.14001e4c0
nop
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
call fcn.140097578
shr rax, 0x20
test eax, eax
jne 0x140021260
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x1400210d1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400210cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400210cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140097750
nop
test r14b, r14b
je 0x1400210df
test r15b, r15b
je 0x1400210df
mov bl, 1
jmp 0x1400210e1
xor bl, bl
mov rdx, qword [rsp + 0xa8]
cmp rdx, 0x10
jb 0x140021124
inc rdx
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002111f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400211c5
call fcn.140097750
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x90], 0
mov rdx, qword [rsp + 0xc8]
cmp rdx, 0x10
jb 0x140021183
inc rdx
mov rcx, qword [rsp + 0xb0]
mov r8, rcx
cmp rdx, 0x1000
jb 0x14002117e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x140021229
call fcn.140097750
movzx eax, bl
jmp 0x140021237
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.140097730
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.14001edf0
int3