Function at 0x14001b820
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov rax, qword [0x14007e040]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov r14d, r9d
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rcx, qword [rcx + 0x50]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, rdi
call fcn.140016f20
mov r15d, 1
test eax, eax
je 0x14001ba31
cmp dword [rsi], 0xb
jne 0x14001b8ac
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, rdi
call fcn.140016f20
test eax, eax
je 0x14001b972
mov rdx, rdi
lea rcx, str.ERROR:_Cannot_delete_the_file:__ls_n
call fcn.14001d7c0
xor eax, eax
jmp 0x14001bc4e
mov rcx, qword [rbx + 0x58]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, rdi
call qword [rax + 0x20]
test eax, eax
jne 0x14001b8d6
mov rdx, rdi
lea rcx, str.ERROR:_Cannot_open_the_file_as_archive:__ls_n
call fcn.14001d7c0
xor eax, eax
jmp 0x14001bc4e
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x14001ba1b
mov rax, qword [rcx]
call qword [rax + 0x98]
test eax, eax
je 0x14001ba1b
mov rcx, qword [rbx + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x78]
test eax, eax
jne 0x14001ba1b
mov rcx, qword [rbx + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x180]
test eax, eax
jne 0x14001ba1b
mov rcx, qword [rbx + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x160]
test rax, rax
jne 0x14001ba1b
mov rcx, qword [rbx + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x80]
test eax, eax
jne 0x14001ba1b
cmp qword [rsi + 0xf8], 0
jne 0x14001ba1b
mov dword [rbx + 0x68], r15d
lea rcx, [rbx + 0x70]
mov rdx, rdi
call fcn.140017b50
mov rcx, qword [rbx + 0x50]
mov rax, qword [rcx]
mov rdx, qword [rbx + 0x58]
call qword [rax + 0x70]
mov rdx, qword [rbx + 0x90]
call fcn.1400112f0
mov rax, qword [rbx + 0x90]
mov qword [rax], rax
mov rax, qword [rbx + 0x90]
mov qword [rax + 8], rax
xor edi, edi
mov qword [rbx + 0x98], rdi
mov qword [rbx + 0x80], rsi
lea rcx, [rbp + 0x70]
call fcn.14001b5b0
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov rax, qword [0x14006fe20]
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rdi
movdqa xmm0, xmmword [0x1400743e0]
movdqa xmmword [rsp + 0x30], xmm0
mov rax, qword [rbx + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x60]
lea rdx, [rbp + 0x70]
mov rcx, rsi
call fcn.14001d820
mov eax, dword [rbp + 0x70]
cmp eax, 0x1b
je 0x14001b9fe
add eax, 0xffffffeb
cmp eax, 1
ja 0x14001ba50
cmp dword [rbp + 0x190], 1
jle 0x14001ba50
lea rcx, str.ERROR:_Cannot_archive_multiple_files_n
call fcn.14001d7c0
mov r15d, edi
jmp 0x14001bc25
mov rdx, rdi
lea rcx, str.ERROR:_The_archive_is_not_modifiable:__ls_n
call fcn.14001d7c0
xor eax, eax
jmp 0x14001bc4e
test r14d, r14d
je 0x14001b972
mov rdx, rdi
lea rcx, str.Cannot_open:__ls_n
call fcn.14001d7c0
xor eax, eax
jmp 0x14001bc4e
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
mov rcx, qword [rbx + 0x50]
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
call qword [rax + 0x10]
cmp dword [rsi + 0x58], 0
jl 0x14001bc02
mov rdx, qword [rsi + 0x60]
test rdx, rdx
je 0x14001bc02
cmp word [rdx], 0
je 0x14001bc02
mov eax, dword [rsi + 0xf0]
cmp eax, 7
jne 0x14001bab6
mov r9, 0xffffffffffffffff
nop dword [rax]
inc r9
cmp word [rdx + r9*2], 0
jne 0x14001baa0
add r9d, r9d
mov r8, rdx
jmp 0x14001bc08
cmp eax, 0xa
jne 0x14001bb5b
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], rax
mov r8d, 0xfde9
lea rcx, [rsp + 0x40]
call fcn.140005d20
nop
mov r8, qword [rsp + 0x40]
test r8, r8
je 0x14001bb2c
mov r9, 0xffffffffffffffff
nop dword [rax + rax]
inc r9
cmp byte [r8 + r9], 0
jne 0x14001bb20
jmp 0x14001bb2f
mov r9d, edi
mov rcx, qword [rbx + 0x50]
mov rax, qword [rcx]
lea rdx, [rbp + 0x70]
call qword [rax + 0x20]
nop
lea rax, [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
cmp rcx, rax
je 0x14001bc16
call fcn.140031938
jmp 0x14001bc16
cmp eax, 2
jbe 0x14001bb68
mov r15d, edi
jmp 0x14001bc25
mov rax, qword [rbx + 0x80]
mov r8d, dword [rax + 0xe0]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], rax
lea rax, [rbp - 0x28]
mov qword [rbp - 0x30], rax
cmp r8d, 0xffffffff
cmove r8d, edi
lea rcx, [rbp - 0x30]
call fcn.140005d20
nop
mov r8, qword [rbp - 0x30]
test r8, r8
je 0x14001bbdc
mov r9, 0xffffffffffffffff
nop dword [rax]
inc r9
cmp byte [r8 + r9], 0
jne 0x14001bbd0
jmp 0x14001bbdf
mov r9d, edi
mov rcx, qword [rbx + 0x50]
mov rax, qword [rcx]
lea rdx, [rbp + 0x70]
call qword [rax + 0x20]
nop
lea rax, [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
cmp rcx, rax
je 0x14001bc16
call fcn.140031938
jmp 0x14001bc16
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbx + 0x50]
mov rax, qword [rcx]
lea rdx, [rbp + 0x70]
call qword [rax + 0x20]
mov rcx, qword [rbx + 0x50]
mov rax, qword [rcx]
mov rdx, qword [rbx + 0x10]
call qword [rax + 0x18]
nop
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x14001bc3c
cmp rcx, qword [0x14006fe20]
je 0x14001bc3c
call fcn.140031938
mov rcx, qword [0x14006fe20]
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], rdi
mov eax, r15d
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.14002ad90
mov rbx, qword [rsp + 0x288]
add rsp, 0x240
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret