Function at 0x140006d60
Capabilities:
Delete registry key

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x80], rbx
mov rax, qword [0x140078038]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rdx
xor eax, eax
mov dword [rbp - 0x40], eax
mov qword [rbp - 0x38], rax
movdqa xmm0, xmmword [0x14006ce90]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], al
mov dword [rbp - 0x40], 1
mov rdx, qword [rdx + 0x10]
add rdx, 0x10
lea rcx, [rbp - 0x28]
call fcn.14000ce70
mov r8d, 0x10
lea rdx, str.__del_reg__KEY:
lea rcx, [rbp - 0x28]
call fcn.14000a720
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140006dde
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp - 0x28]
call fcn.14000a720
lea rcx, [rbp - 0x28]
call fcn.140001ec0
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x140006e30
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006e2b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006fea
call fcn.140013ee4
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140006e3d
mov rdx, qword [rbx]
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140006f59
cmp qword [rbx + 0x18], 0x10
jb 0x140006e6e
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ebx, eax
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movdqa xmm0, xmmword [0x14006ce90]
mov byte [rbp - 0x28], 0
lea rcx, [rbp - 0x28]
movdqu xmmword [rbp - 0x18], xmm0
test ebx, ebx
jne 0x140006f00
lea r8d, [rbx + 9]
lea rdx, str.____done.
call fcn.14000a5a0
nop
lea rcx, [rbp - 0x28]
call fcn.140001ec0
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x140006ef9
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006ef4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006ff0
call fcn.140013ee4
mov al, 1
jmp 0x140006fc4
mov r8d, VariantTimeToDosDateTime
lea rdx, str.____failed.
call fcn.14000a5a0
nop
lea rcx, [rbp - 0x28]
call fcn.140001ec0
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x140006fc2
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006fbd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006fe4
jmp 0x140006fbd
movdqa xmm0, xmmword [0x14006ce90]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], 0
mov r8d, 0xd
lea rdx, str.____not_exist
lea rcx, [rbp - 0x28]
call fcn.14000a5a0
nop
lea rcx, [rbp - 0x28]
call fcn.140001ec0
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x140006fc2
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006fbd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006fde
call fcn.140013ee4
xor al, al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140013980
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rbp
ret
call fcn.140022b6c
int3
call fcn.140022b6c
int3
call fcn.140022b6c
int3
call fcn.140022b6c
int3