Function at 0x1401c6c2c
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xf0
mov rax, qword [0x14044e770]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rbx, rcx
lea r8, [0x14030f790]
xor esi, esi
lea rcx, [rbp - 0x49]
mov qword [rbp - 0x71], rsi
mov rdi, rdx
call fcn.14005a2a0
cmp qword [rbx + 0x18], 8
mov rdx, rbx
jb 0x1401c6c77
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.14005b1c8
xorps xmm0, xmm0
lea rcx, [rbp - 0x49]
movdqu xmmword [rbp - 0x59], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x69], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x59], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
call fcn.14004b500
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x69]
call fcn.1401c760c
mov dword [rbp - 0x79], eax
test eax, eax
je 0x1401c6d7a
call fcn.14004acb4
mov r10, qword [rax + 8]
cmp dword [r10], 3
jbe 0x1401c6d64
cmp qword [rbp - 0x51], 8
lea rax, str.Could_not_open_the_registry_key
mov qword [rbp - 9], rax
lea rdx, [0x14030cae0]
lea rax, [rbp - 0x79]
mov qword [rbp - 1], 0x40
mov qword [rbp + 7], rax
mov rcx, rsi
lea rax, [rbp - 0x69]
mov qword [rbp + 0xf], 4
cmovae rax, qword [rbp - 0x69]
test rax, rax
je 0x1401c6d2d
mov rdx, rax
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], si
jne 0x1401c6d24
lea eax, [rcx*2 + 2]
mov qword [rbp + 0x17], rdx
mov dword [rbp + 0x1f], eax
mov dword [rbp + 0x23], esi
lea rax, [rbp - 0x29]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x14039b95c]
xor r8d, r8d
mov dword [rsp + 0x20], 5
mov rcx, r10
call fcn.140001158
mov eax, dword [rbp - 0x79]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x1401c6f34
mov rcx, qword [rbp - 0x71]
call qword [sym.imp.ntdll.dll_NtDeleteKey]
mov dword [rbp - 0x75], eax
test eax, eax
je 0x1401c6e74
cmp eax, 0xc0000034
je 0x1401c6e74
call fcn.14004acb4
mov r10, qword [rax + 8]
cmp dword [r10], 3
jbe 0x1401c6e68
cmp qword [rbx + 0x18], 8
lea rax, str.Failed_to_delete_registry_subkey
mov qword [rbp - 9], rax
lea rax, [rbp - 0x75]
mov qword [rbp + 7], rax
mov qword [rbp - 1], 0x42
mov qword [rbp + 0xf], 4
jb 0x1401c6dda
mov rbx, qword [rbx]
or rcx, 0xffffffffffffffff
lea rdx, [0x14030cae0]
mov r8, rdx
mov rax, rsi
test rbx, rbx
je 0x1401c6dff
mov r8, rbx
mov rax, rcx
inc rax
cmp word [rbx + rax*2], si
jne 0x1401c6df6
cmp qword [rdi + 0x18], 8
lea eax, [rax*2 + 2]
mov dword [rbp + 0x1f], eax
mov qword [rbp + 0x17], r8
mov dword [rbp + 0x23], esi
jb 0x1401c6e1a
mov rdi, qword [rdi]
mov rax, rsi
test rdi, rdi
je 0x1401c6e31
mov rdx, rdi
mov rax, rcx
inc rax
cmp word [rdi + rax*2], si
jne 0x1401c6e28
lea eax, [rax*2 + 2]
mov qword [rbp + 0x27], rdx
mov dword [rbp + 0x2f], eax
mov dword [rbp + 0x33], esi
lea rax, [rbp - 0x29]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x14039b8ef]
xor r8d, r8d
mov dword [rsp + 0x20], 6
mov rcx, r10
call fcn.140001158
mov ebx, dword [rbp - 0x75]
bts ebx, 0x1c
jmp 0x1401c6f34
call fcn.14004acb4
mov r10, qword [rax + 8]
cmp dword [r10], 4
jbe 0x1401c6f32
cmp qword [rbx + 0x18], 8
lea rax, str.Deleted_registry_subkey
mov qword [rbp - 9], rax
mov qword [rbp - 1], 0x30
jb 0x1401c6ea4
mov rbx, qword [rbx]
or rcx, 0xffffffffffffffff
lea rdx, [0x14030cae0]
mov r8, rdx
mov rax, rsi
test rbx, rbx
je 0x1401c6ec9
mov r8, rbx
mov rax, rcx
inc rax
cmp word [rbx + rax*2], si
jne 0x1401c6ec0
cmp qword [rdi + 0x18], 8
lea eax, [rax*2 + 2]
mov dword [rbp + 0xf], eax
mov qword [rbp + 7], r8
mov dword [rbp + 0x13], esi
jb 0x1401c6ee4
mov rdi, qword [rdi]
mov rax, rsi
test rdi, rdi
je 0x1401c6efb
mov rdx, rdi
mov rax, rcx
inc rax
cmp word [rdi + rax*2], si
jne 0x1401c6ef2
lea eax, [rax*2 + 2]
mov qword [rbp + 0x17], rdx
mov dword [rbp + 0x1f], eax
mov dword [rbp + 0x23], esi
lea rax, [rbp - 0x29]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x14039b8b8]
xor r8d, r8d
mov dword [rsp + 0x20], 5
mov rcx, r10
call fcn.140001158
mov ebx, esi
lea rcx, [rbp - 0x69]
call fcn.14004b500
mov rcx, qword [rbp - 0x71]
test rcx, rcx
je 0x1401c6f4c
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1402ae860
mov rbx, qword [rsp + 0x120]
add rsp, 0xf0
pop rdi
pop rsi
pop rbp
ret