Function at 0x180002178
Capabilities:
Delete registry key

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov rdi, rcx
xor ebx, ebx
cmp qword [str.360Safe], rbx
je 0x1800021f9
lea rsi, str.360Safe
mov rax, rsi
mov rdx, qword [rax]
test rdx, rdx
je 0x1800021f9
lea rcx, [rbp + 0x48]
call fcn.180003918
nop
lea rcx, [rdi + 0xa8]
lea rdx, [rbp + 0x48]
call fcn.180003e38
nop
mov rdx, qword [rbp + 0x48]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1800021ec
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
inc rbx
lea rax, [rsi + rbx*8]
cmp qword [rax], 0
jne 0x1800021aa
mov r9, qword [rdi + 0xb0]
mov r8, qword [rdi + 0xa8]
mov rdx, qword [rdi + 0x70]
lea rcx, [rdi + 0x68]
call fcn.1800049bc
xor bl, bl
mov r13, 0xffffffff80000001
and qword [rbp + 0x40], 0
mov rax, qword [rdi + 0x28]
cmp dword [rax - 8], 1
jle 0x180002238
mov edx, dword [rax - 0x10]
lea rcx, [rdi + 0x28]
call fcn.180004280
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rdi + 0x28]
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1800022ba
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call qword [rdi + 0x60]
xor bl, bl
mov rax, qword [rdi + 0x28]
cmp dword [rax - 8], 1
jle 0x180002280
mov edx, dword [rax - 0x10]
lea rcx, [rdi + 0x28]
call fcn.180004280
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rdi + 0x28]
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1800022ba
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x18000226a
mov rax, qword [rdi + 0x30]
cmp dword [rax - 8], 1
jle 0x1800022d0
mov edx, dword [rax - 0x10]
lea rcx, [rdi + 0x30]
call fcn.180004280
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rdi + 0x30]
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18000238f
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rbx, [rdi + 0x88]
mov rcx, rbx
call fcn.180003f94
lea rcx, [rdi + 0x68]
call fcn.180003f94
lea rdx, [rdi + 0x18]
lea rcx, [rbp + 0x50]
call fcn.180003c90
lea rdx, [rdi + 0x68]
mov rcx, rax
call fcn.18000245c
lea rdx, [rdi + 0x20]
lea rcx, [rbp + 0x58]
call fcn.180003c90
mov rdx, rbx
mov rcx, rax
call fcn.18000245c
mov r9, qword [rdi + 0xb0]
mov r8, qword [rdi + 0xa8]
mov rdx, qword [rdi + 0x70]
lea rcx, [rdi + 0x68]
call fcn.1800049bc
mov r11, qword [rdi + 0x30]
cmp dword [r11 - 8], 1
jle 0x18000237d
mov edx, dword [r11 - 0x10]
lea rcx, [rdi + 0x30]
call fcn.180004280
mov rdx, qword [rdi + 0x30]
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor bl, bl
call qword [rdi + 0x60]
mov rcx, rdi
call fcn.18000269c
test eax, eax
jne 0x1800023a3
test bl, bl
jne 0x18000243b
mov rax, qword [rdi + 0x90]
sub rax, qword [rdi + 0x88]
test rax, 0xfffffffffffffff8
je 0x18000221d
call qword [rdi + 0x60]
call qword [rdi + 0x40]
test eax, eax
je 0x18000244b
call qword [rdi + 0x48]
test eax, eax
je 0x18000244b
xor ebx, ebx
mov rcx, qword [rdi + 0x88]
mov rax, qword [rdi + 0x90]
sub rax, rcx
sar rax, 3
test rax, rax
je 0x180002432
lea r13, [rcx + rbx*8]
mov rax, qword [r13]
cmp dword [rax - 8], 1
jle 0x180002407
mov edx, dword [rax - 0x10]
mov rcx, r13
call fcn.1800040b0
mov rcx, qword [r13]
call qword [rdi + 0x50]
inc rbx
mov rcx, qword [rdi + 0x88]
mov rax, qword [rdi + 0x90]
sub rax, rcx
sar rax, 3
cmp rbx, rax
jb 0x1800023ee
mov r13, 0xffffffff80000001
call qword [rdi + 0x58]
test eax, eax
je 0x18000244b
mov bl, 1
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x18000221d
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret