Function at 0x140006630
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x100
mov rax, qword [0x1401fa010]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], rdi
mov qword [rbp - 0x41], 0xf
lea ecx, [rdi + 0x40]
call fcn.140097a70
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x49], 0x34
mov qword [rbp - 0x41], 0x3f
movups xmm0, xmmword [str.RegistryMachineSystemCurrentControlSetServices_]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x14009d0a0]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x14009d0b0]
movups xmmword [rax + 0x20], xmm0
mov ecx, dword [0x14009d0c0]
mov dword [rax + 0x30], ecx
mov byte [rax + 0x34], dil
lea rbx, [0x1401fa218]
mov rdx, rbx
cmp qword [0x1401fa230], 0x10
cmovae rdx, qword [0x1401fa218]
mov r8, qword [0x1401fa228]
lea rcx, [rbp - 0x59]
call fcn.14000ab10
mov esi, 0x10
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rsi + rcx]
cmp dword [0x1401fb790], eax
jle 0x140006748
lea rcx, [0x1401fb790]
call fcn.140097b98
cmp dword [0x1401fb790], 0xffffffff
jne 0x140006748
lea rcx, [0x14009d0d8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtUnloadDriver
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401fb780], rax
lea rcx, [0x1401fb790]
call fcn.140097b2c
cmp qword [0x1401fb780], 0
je 0x140006a96
lea rdx, [rbp - 0x59]
cmp qword [rbp - 0x41], 0x10
cmovae rdx, qword [rbp - 0x59]
lea rcx, [rbp - 0x79]
call qword [sym.imp.ntdll.dll_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x69]
call qword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
lea rcx, [rbp - 0x69]
call qword [0x1401fb780]
mov r14d, eax
lea rcx, [rbp + 0x27]
call fcn.140005260
nop
lea rdx, [rbp + 7]
mov rcx, rax
call fcn.140004720
nop
mov rdx, rbx
cmp qword [0x1401fa230], 0x10
cmovae rdx, qword [0x1401fa218]
mov r8, qword [0x1401fa228]
mov rcx, rax
call fcn.14000ab10
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x21], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x39], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x29], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x140006830
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000682b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000682b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140097ab4
movdqa xmm0, xmmword [0x1401e9300]
movdqu xmmword [rbp + 0x17], xmm0
mov byte [rbp + 7], 0
mov rdx, qword [rbp + 0x3f]
cmp rdx, 8
jb 0x140006884
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000687f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000687f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140097ab4
movdqa xmm0, xmmword [0x1401e92e0]
movdqu xmmword [rbp + 0x37], xmm0
mov word [rbp + 0x27], di
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rsi + rcx]
cmp dword [0x1401fb720], eax
jle 0x140006949
lea rcx, [0x1401fb720]
call fcn.140097b98
cmp dword [0x1401fb720], 0xffffffff
jne 0x140006949
xorps xmm0, xmm0
movups xmmword [0x1401fb728], xmm0
mov qword [0x1401fb738], rdi
mov qword [0x1401fb740], 0xf
mov ecx, 0x30
call fcn.140097a70
mov qword [0x1401fb728], rax
mov qword [0x1401fb738], 0x22
mov qword [0x1401fb740], 0x2f
movups xmm0, xmmword [str.SystemCurrentControlSetServices_]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x14009d010]
movups xmmword [rax + 0x10], xmm1
movzx edx, word [0x14009d020]
mov word [rax + 0x20], dx
mov byte [rax + 0x22], 0
lea rcx, [0x14009b6c0]
call fcn.140097e48
nop
lea rcx, [0x1401fb720]
call fcn.140097b2c
lea rdx, [0x1401fb728]
cmp qword [0x1401fb740], 0x10
cmovae rdx, qword [0x1401fb728]
lea r8, [rsp + 0x20]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp qword [0x1401fa230], 0x10
cmovae rbx, qword [0x1401fa218]
mov rdx, rbx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x1400069a8
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x1400069a8
mov sil, 1
jmp 0x1400069ab
xor sil, sil
mov rdi, qword [rbp - 0x29]
lea rbx, [rbp - 0x39]
cmp qword [rbp - 0x21], 0x10
cmovae rbx, qword [rbp - 0x39]
call fcn.140096ee4
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rdi
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rbp - 0x19]
call fcn.1400045c0
nop
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rcx, qword [rbp - 0x19]
call fcn.1400976c4
mov rbx, rax
shr rax, 0x20
test eax, eax
jne 0x140006b02
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x140006a42
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006a3d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006a3d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140097ab4
test r14d, r14d
jne 0x140006a54
test sil, sil
je 0x140006a54
test bl, bl
je 0x140006a54
mov bl, 1
jmp 0x140006a56
xor bl, bl
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x140006a98
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006a8f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006a8f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140097ab4
jmp 0x140006a98
xor bl, bl
mov rdx, qword [rbp - 0x41]
cmp rdx, 0x10
jb 0x140006ad6
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006ad1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006ad1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140097ab4
movzx eax, bl
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140097a50
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
shr rbx, 0x20
lea r8, [rbp - 0x19]
mov edx, ebx
lea rcx, str.remove
call fcn.140005000
int3