Function at 0x14006abf0
Capabilities:
Delete directory
Delete registry value
Move file

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0xfa0]
mov eax, 0x10a0
call fcn.1400ec150
sub rsp, rax
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x10d0], rbx
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea rcx, [rsp + 0x70]
call fcn.140016310
cmp qword [rax + 0x18], 8
jb 0x14006ac32
mov rax, qword [rax]
lea rcx, [rbp + 0xfc0]
mov qword [rsp + 0x20], rcx
mov r9d, 0x2021b
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
mov r8, qword [rbp - 0x78]
cmp r8, 8
jb 0x14006ac75
inc r8
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.14000c6f4
test ebx, ebx
je 0x14006ac80
xor al, al
jmp 0x14006b009
mov qword [rsp + 0x68], 7
xor ebx, ebx
mov qword [rsp + 0x60], rbx
mov word [rsp + 0x50], bx
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0xfc0]
call fcn.14006e420
cmp qword [rsp + 0x60], rbx
jne 0x14006acc2
mov rcx, qword [rbp + 0xfc0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor sil, sil
jmp 0x14006afe8
mov edi, 1
mov esi, edi
nop dword [rax]
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
call fcn.140161018
test eax, eax
je 0x14006aebf
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x14
jl 0x14006acd0
xor sil, sil
mov edx, reloc.SHELL32.dll_PathGetShortPath
or r8, 0xffffffffffffffff
lea rcx, [rsp + 0x50]
call fcn.140072a70
inc rax
or r9, 0xffffffffffffffff
mov r8, rax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140072cd0
nop
cmp qword [rbp - 0x80], 0
je 0x14006ae98
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rbx
mov word [rsp + 0x30], bx
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.14000c0fc
lea rcx, [rsp + 0x30]
call fcn.140067f60
test eax, eax
je 0x14006ae05
mov edx, 0xea60
mov r8d, 0x3e8
mov ecx, eax
call fcn.140068300
test al, al
je 0x14006ae98
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
call fcn.140161018
test eax, eax
je 0x14006adfd
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x14
jl 0x14006ad90
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rbx
mov word [rsp + 0x30], bx
cmp word [rdx], 0
jne 0x14006adeb
mov r8, rbx
jmp 0x14006ae4b
or r8, 0xffffffffffffffff
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x14006adf0
jmp 0x14006ae4b
mov sil, 1
jmp 0x14006ae98
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rbx
mov word [rsp + 0x30], bx
cmp word [rdx], 0
jne 0x14006ae34
mov r8, rbx
jmp 0x14006ae4b
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x14006ae40
lea rcx, [rsp + 0x30]
call fcn.14000b804
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
mov r8d, 4
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne sil
mov r8, qword [rsp + 0x48]
cmp r8, 8
jb 0x14006ae98
inc r8
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.14000c6f4
nop
mov r8, qword [rbp - 0x78]
cmp r8, 8
jb 0x14006aeb4
inc r8
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.14000c6f4
test sil, sil
je 0x14006afda
jmp 0x14006aec3
movzx esi, dil
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x60]
lea r8, [rdx + rax*2]
lea rdx, [rsp + 0x50]
cmovae rdx, qword [rsp + 0x50]
sub r8, rdx
lea rcx, [rbp - 0x60]
call fcn.14011c9b0
mov rax, qword [rsp + 0x60]
mov word [rbp + rax*2 - 0x60], bx
lea rcx, [rbp - 0x60]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
test al, al
jne 0x14006af95
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rbx
mov word [rsp + 0x30], bx
cmp word [rbp - 0x60], 0
je 0x14006af4a
lea rax, [rbp - 0x60]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14006af40
mov r8, rbx
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x30]
call fcn.14000b804
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
xor edx, edx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov r8, qword [rsp + 0x48]
cmp r8, 8
jb 0x14006af95
inc r8
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.14000c6f4
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [rsp + 0x70]
call fcn.140016310
cmp qword [rax + 0x18], 8
jb 0x14006afae
mov rax, qword [rax]
mov rdx, rax
mov rcx, qword [rbp + 0xfc0]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov r8, qword [rbp - 0x78]
cmp r8, 8
jb 0x14006afda
inc r8
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.14000c6f4
mov rcx, qword [rbp + 0xfc0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov r8, qword [rsp + 0x68]
cmp r8, 8
jb 0x14006b005
inc r8
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.14000c6f4
movzx eax, sil
mov rbx, qword [rsp + 0x10d0]
add rsp, 0x10a0
pop rdi
pop rsi
pop rbp
ret