Function at 0x140026500
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x1400b9080]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rbx, rcx
xor r14d, r14d
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rsi, rax
test rax, rax
je 0x1400268f1
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140026560
add r8, qword [rbx]
mov rdx, qword [rbx]
jmp 0x140026566
add r8, rbx
mov rdx, rbx
lea rcx, [rbp - 0x58]
call fcn.140026990
nop
lea r8, [rbp - 0x58]
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp]
call fcn.140008440
mov rdi, rax
lea rax, [rbp - 0x58]
cmp rax, rdi
je 0x1400265fd
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x1400265cc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400265c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140026634
call fcn.14008bf80
movdqa xmm0, xmmword [0x1400a9ae0]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], r14w
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 7
mov word [rdi], r14w
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x140026640
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002663b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002663b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008bf80
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rdx, qword [rbp - 0x58]
lea rcx, [rbp - 0x18]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov rcx, qword [rbx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0x22
jb 0x14002691a
cmp qword [rbx + 0x18], 0x10
jb 0x14002667d
mov rbx, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], Ordinal_41
lea r9, str.SYSTEMCurrentControlSetServices_
lea rcx, [rbp - 0x38]
call fcn.1400199f0
nop
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0x10
cmovae rdx, qword [rbp - 0x38]
lea r8, [rbp - 0x60]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x1400266cf
cmp eax, 2
sete bl
jmp 0x14002685c
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.NtUnloadDriver
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp - 0x18]
call rax
mov ebx, eax
movabs rdi, 0x9f17361253865c6b
mov qword [rbp], rdi
movabs rsi, 0x444f575f53964ce4
mov qword [rbp + 8], rsi
movabs r14, 0x2a5e95c34f10c45
mov qword [rbp + 0x10], r14
movabs r15, 0xace17a6187acc26e
mov qword [rbp + 0x18], r15
movabs rdx, 0x789d9d66a726503f
mov qword [rbp + 0x20], rdx
movabs rcx, 0x7857cd536a6139d8
mov qword [rbp + 0x28], rcx
movabs rax, 0xf142425c73db7730
mov qword [rsp + 0x40], rax
movabs rax, 0x3226251b37f72388
mov qword [rsp + 0x48], rax
movabs rax, 0x77d1882867d17e20
mov qword [rsp + 0x50], rax
movabs rax, 0xa6991644ff9ce21d
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rcx
movups xmm0, xmmword [rsp + 0x40]
movups xmm1, xmmword [rsp + 0x50]
movups xmm2, xmmword [rsp + 0x60]
xorps xmm0, xmmword [rbp]
movdqa xmmword [rsp + 0x70], xmm0
xorps xmm1, xmmword [rbp + 0x10]
movdqa xmmword [rbp - 0x80], xmm1
xorps xmm2, xmmword [rbp + 0x20]
movdqa xmmword [rbp - 0x70], xmm2
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.140001bb0
test ebx, ebx
je 0x140026837
mov qword [rbp], rdi
mov qword [rbp + 8], rsi
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], r15
movabs rax, 0xe97e445673db7130
mov qword [rsp + 0x70], rax
movabs rax, 0x25203b3106b63e81
mov qword [rsp + 0x78], rax
movabs rax, 0x66c0853555b72c21
mov qword [rbp - 0x80], rax
movabs rax, 0xace17a6187a6e34f
mov qword [rbp - 0x78], rax
movups xmm0, xmmword [rsp + 0x70]
movups xmm1, xmmword [rbp - 0x80]
xorps xmm0, xmmword [rbp]
movdqa xmmword [rsp + 0x40], xmm0
xorps xmm1, xmmword [rbp + 0x10]
movdqa xmmword [rsp + 0x50], xmm1
lea rcx, [rsp + 0x40]
call fcn.140001bb0
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0x10
cmovae rdx, qword [rbp - 0x38]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x14002685a
xor bl, bl
jmp 0x14002685c
mov bl, 1
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14002689a
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140026895
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140026895
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008bf80
movdqa xmm0, xmmword [0x1400a9af0]
movdqu xmmword [rbp - 0x28], xmm0
mov byte [rbp - 0x38], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x1400268ee
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400268e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400268e9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008bf80
movzx eax, bl
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.14008bf60
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140002670
nop