Function at 0x1400e3b80
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x1404280e0]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, rcx
lea rcx, [0x1403db3d8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r13, rax
test rax, rax
je 0x1400e3ec0
mov r15, qword [rsi + 0x10]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r15
cmp rax, 0x34
jb 0x1400e3ef3
mov qword [rbp - 0x39], rsi
cmp qword [rsi + 0x18], 8
jb 0x1400e3bfe
mov rax, qword [rsi]
mov qword [rbp - 0x39], rax
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x17], xmm1
lea r12, [r15 + 0x34]
mov ebx, 7
mov edi, ebx
lea r14, [rbp + 7]
lea eax, [rbx + 3]
cmp r12, rbx
jbe 0x1400e3c4b
mov rdi, r12
or rdi, rbx
cmp rdi, rcx
jbe 0x1400e3c34
mov rdi, rcx
jmp 0x1400e3c3b
cmp rdi, rax
cmovb rdi, rax
lea rdx, [rdi + 1]
call fcn.1400a2c60
mov r14, rax
mov qword [rbp + 7], rax
mov qword [rbp + 0x17], r12
mov qword [rbp + 0x1f], rdi
movaps xmm0, xmmword [str.RegistryMachineSystemCurrentControlSetServices_]
movups xmmword [r14], xmm0
movaps xmm1, xmmword [0x1403db4c0]
movups xmmword [r14 + 0x10], xmm1
movaps xmm0, xmmword [0x1403db4d0]
movups xmmword [r14 + 0x20], xmm0
movaps xmm1, xmmword [0x1403db4e0]
movups xmmword [r14 + 0x30], xmm1
movaps xmm0, xmmword [0x1403db4f0]
movups xmmword [r14 + 0x40], xmm0
movaps xmm1, xmmword [0x1403db500]
movups xmmword [r14 + 0x50], xmm1
movsd xmm0, qword [0x1403db510]
movsd qword [r14 + 0x60], xmm0
lea rcx, [r14 + 0x68]
lea r8, [r15 + r15]
mov rdx, qword [rbp - 0x39]
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
mov word [r14 + r12*2], ax
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rdx, qword [rbp + 7]
lea rcx, [rbp - 0x29]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov r15, qword [rsi + 0x10]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r15
cmp rax, 0x22
jb 0x1400e3eed
cmp qword [rsi + 0x18], 8
jb 0x1400e3d00
mov rsi, qword [rsi]
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
lea r14, [r15 + 0x22]
lea rdi, [rbp - 0x19]
cmp r14, 7
jbe 0x1400e3d4b
mov rbx, r14
or rbx, 7
cmp rbx, rcx
jbe 0x1400e3d2e
mov rbx, rcx
jmp 0x1400e3d3b
cmp rbx, 0xa
mov eax, 0xa
cmovb rbx, rax
lea rdx, [rbx + 1]
call fcn.1400a2c60
mov rdi, rax
mov qword [rbp - 0x19], rax
mov qword [rbp - 9], r14
mov qword [rbp - 1], rbx
movaps xmm0, xmmword [str.SYSTEMCurrentControlSetServices_]
movups xmmword [rdi], xmm0
movaps xmm1, xmmword [0x1403db470]
movups xmmword [rdi + 0x10], xmm1
movaps xmm0, xmmword [0x1403db480]
movups xmmword [rdi + 0x20], xmm0
movaps xmm1, xmmword [0x1403db490]
movups xmmword [rdi + 0x30], xmm1
mov eax, dword [0x1403db4a0]
mov dword [rdi + 0x40], eax
lea rcx, [rdi + 0x44]
lea r8, [r15 + r15]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
xor esi, esi
mov word [rdi + r14*2], si
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rdx, qword [rbp - 0x19]
lea r8, [rbp - 0x31]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x1400e3dc9
cmp eax, 2
sete bl
jmp 0x1400e3e26
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.NtUnloadDriver
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp - 0x29]
call rax
lea rdx, [rbp - 0x19]
mov rcx, 0xffffffff80000002
test eax, eax
je 0x1400e3e0c
cmp qword [rbp - 1], 8
cmovae rdx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor bl, bl
jmp 0x1400e3e26
cmp qword [rbp - 1], 8
cmovae rdx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x1400e3e24
xor bl, bl
jmp 0x1400e3e26
mov bl, 1
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x1400e3e69
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e3e64
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e3e64
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402fecf0
movdqa xmm0, xmmword [0x1403fe5d0]
movdqu xmmword [rbp - 9], xmm0
mov word [rbp - 0x19], si
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x1400e3ebd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e3eb8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e3eb8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402fecf0
movzx eax, bl
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1402fecd0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14009a190
nop
call fcn.14009a190
int3