Function at 0x14001cb90
Capabilities:
Delete file
Move file

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x14007e040]
xor rax, rsp
mov qword [rbp - 8], rax
mov rsi, r8
mov r14, rdx
mov rdi, rcx
xor r15d, r15d
mov dword [rbp - 0x40], r15d
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov rax, qword [0x14006fe20]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], r15
lea rcx, [rbp - 0x18]
call fcn.140017b50
nop
cmp dword [rdi + 0x68], r15d
je 0x14001cc82
mov rax, qword [0x14006fe20]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], r15
lea rdx, str..temp
lea rcx, [rbp - 0x28]
call fcn.140017b50
nop
lea r8, [rbp - 0x28]
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x38]
call fcn.140017940
mov ebx, 1
mov dword [rbp - 0x40], ebx
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x18]
call fcn.140017c40
and ebx, 0xfffffffe
mov dword [rbp - 0x40], ebx
mov rcx, qword [rbp - 0x38]
mov rax, qword [0x14006fe20]
test rcx, rcx
je 0x14001cc58
cmp rcx, rax
je 0x14001cc58
call fcn.140031938
mov rax, qword [0x14006fe20]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], r15
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14001cc7a
cmp rcx, rax
je 0x14001cc7a
call fcn.140031938
mov rax, qword [0x14006fe20]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], r15
mov rcx, qword [rdi + 0x50]
mov rax, qword [rcx]
mov r8, rsi
mov rbx, qword [rbp - 0x18]
mov rdx, rbx
call qword [rax + 0x60]
mov esi, eax
test eax, eax
je 0x14001cd28
cmp dword [rdi + 0x68], 0
je 0x14001cce2
mov rcx, qword [rdi + 0x58]
mov r8, qword [rcx]
call qword [r8 + 0x30]
mov rcx, qword [rdi + 0x70]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x14001cce2
mov rdx, r14
lea rcx, str.ERROR:_Cannot_modify_the_archive:__ls_n
call fcn.14001d7c0
mov esi, r15d
jmp 0x14001cd93
cmp esi, 1
jne 0x14001cd9d
mov rax, qword [rdi + 0x80]
cmp dword [rax + 0x144], 0
je 0x14001cd9d
cmp dword [rdi + 0x88], 0
jne 0x14001cd9d
mov rax, qword [rdi + 0x10]
cmp dword [rax + 0x4c], 0
jne 0x14001cd9d
lea rdx, [rdi + 0x20]
mov rcx, rdi
call fcn.14001cdf0
jmp 0x14001cd9d
mov rcx, qword [rdi + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x68]
cmp eax, 0xa0000017
je 0x14001cd93
test eax, eax
jne 0x14001cd4e
mov rdx, r14
lea rcx, str.ERROR:_Cannot_create_the_archive:__ls_n
call fcn.14001d7c0
jmp 0x14001cd93
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.14001fb40
nop
mov r8, qword [rax]
mov rdx, r14
lea rcx, str.ERROR:_Cannot_create_the_archive:__ls___ls__n
call fcn.14001d7c0
nop
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14001cd84
cmp rcx, qword [0x14006fe20]
je 0x14001cd84
call fcn.140031938
mov rax, qword [0x14006fe20]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
test rbx, rbx
je 0x14001cdb3
cmp rbx, qword [0x14006fe20]
je 0x14001cdb3
mov rcx, rbx
call fcn.140031938
mov rax, qword [0x14006fe20]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], r15
mov eax, esi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14002ad90
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret