Function at 0x140024840
Capabilities:
Delete registry key

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400f4080]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rdx
xor r15d, r15d
mov dword [rbp - 9], r15d
xor eax, eax
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rax
mov r8, rdx
lea rdx, str._registrymachineSYSTEMCurrentControlSetServices_
lea rcx, [rbp + 0x17]
call fcn.1400183e0
nop
call fcn.140021910
mov rbx, rax
lea rsi, [rbp + 0x17]
cmp qword [rbp + 0x2f], 8
cmovae rsi, qword [rbp + 0x17]
lea ecx, [r15 + 0x20]
call fcn.14006967c
mov qword [rbp - 0x19], 0x14
mov qword [rbp - 0x11], 0x1f
movups xmm0, xmmword [str.RtlInitUnicodeString]
movups xmmword [rax], xmm0
mov ecx, dword [0x1400d4270]
mov dword [rax + 0x10], ecx
mov byte [rax + 0x14], r15b
mov qword [rbp - 0x29], rax
lea rdx, [rbp - 0x29]
mov rcx, rbx
call fcn.1400231f0
test rax, rax
je 0x140024902
mov rdx, rsi
lea rcx, [rbp + 7]
call rax
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x14002493d
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024938
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140024b9f
call fcn.140069674
call fcn.140021910
mov rbx, rax
mov qword [rbp - 0x11], 0xf
mov byte [rbp - 0x29], 0
mov qword [rbp - 0x19], 0xe
mov r8d, 0xe
lea rdx, str.NtUnloadDriver
lea rcx, [rbp - 0x29]
call fcn.140087d20
mov byte [rbp - 0x1b], 0
lea rdx, [rbp - 0x29]
mov rcx, rbx
call fcn.1400231f0
test rax, rax
je 0x14002498f
lea rcx, [rbp + 7]
call rax
mov r14d, eax
jmp 0x140024995
mov r14d, 0xc0000138
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x1400249d1
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400249cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140024ba5
call fcn.140069674
nop
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], 7
mov word [rbp - 0x29], r15w
mov dword [rbp - 9], 2
mov rsi, qword [rdi + 0x10]
add rsi, 0x22
cmp rsi, 8
jb 0x140024aa4
movabs rbx, 0x7ffffffffffffffe
cmp rsi, rbx
ja 0x140024bab
mov rax, rsi
or rax, 7
cmp rax, rbx
ja 0x140024a29
mov rbx, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rbx, rcx
lea rax, [rbx + 1]
lea rdx, [rax + rax]
movabs rcx, 0x7fffffffffffffff
mov r8, 0xffffffffffffffff
cmp rax, rcx
jbe 0x140024a4c
mov rdx, r8
jmp 0x140024a55
cmp rdx, 0x1000
jb 0x140024a7c
lea rcx, [rdx + 0x27]
cmp rcx, rdx
cmovbe rcx, r8
call fcn.14006967c
test rax, rax
je 0x140024bb1
lea rcx, [rax + 0x27]
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
jmp 0x140024a91
test rdx, rdx
je 0x140024a8e
mov rcx, rdx
call fcn.14006967c
mov rcx, rax
jmp 0x140024a91
mov rcx, r15
mov qword [rbp - 0x11], rbx
movzx eax, word [rbp - 0x29]
mov word [rcx], ax
mov qword [rbp - 0x29], rcx
mov qword [rbp - 0x19], r15
mov r8d, 0x22
lea rdx, str.SYSTEMCurrentControlSetServices_
lea rcx, [rbp - 0x29]
call fcn.1400080f4
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 8
jb 0x140024ac8
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rbp - 0x29]
call fcn.1400080f4
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rdx, qword [rbp - 0x29]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 8
jb 0x140024b31
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024b2b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140024bb7
call fcn.140069674
nop
mov rdx, qword [rbp + 0x2f]
cmp rdx, 8
jb 0x140024b6d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024b68
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140024b99
call fcn.140069674
mov eax, r14d
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140069650
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1400927c0
nop
call fcn.1400927c0
nop
call fcn.1400927c0
nop
call fcn.1400080e0
int3
call fcn.1400927c0
nop
call fcn.1400927c0
int3