Function at 0x140007410
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x1400a20c0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rbx, r8
mov rsi, rcx
xor edi, edi
mov r14, rcx
cmp qword [rcx + 0x18], 7
jbe 0x14000744d
mov r14, qword [rcx]
mov rcx, r14
test edx, edx
je 0x14000768d
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x140007470
and eax, 0xfffffffe
mov edx, eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm1
xor r8d, r8d
lea rdx, [0x140092c54]
lea rcx, [rbp - 9]
call fcn.140026400
nop
mov rax, qword [rsi + 0x10]
mov r10, rsi
cmp qword [rsi + 0x18], 7
jbe 0x1400074a4
mov r10, qword [rsi]
cmp rax, 1
jb 0x140007524
lea r11, [r10 + rax*2]
mov r8, r10
lea rbx, [0x140092c50]
nop dword [rax + rax]
mov rax, r11
sub rax, r8
sar rax, 1
mov rcx, rdi
je 0x1400074ec
cmp word [r8], 0x5c
je 0x1400074e9
cmp rax, 1
je 0x1400074ec
dec rax
add r8, 2
cmp word [r8], 0x5c
jne 0x1400074d5
mov rcx, r8
mov r8, rcx
test rcx, rcx
je 0x140007524
mov edx, 1
mov rcx, rbx
mov r9, r8
sub r9, rbx
movzx eax, word [r9 + rcx]
cmp ax, word [rcx]
jne 0x14000751e
add rcx, 2
sub rdx, 1
jne 0x140007502
sub r8, r10
sar r8, 1
jmp 0x14000752b
add r8, 2
jmp 0x1400074c0
mov r8, 0xffffffffffffffff
cmp r8, 0xffffffffffffffff
je 0x1400075b0
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x27], xmm1
cmp qword [rsi + 0x10], r8
cmovb r8, qword [rsi + 0x10]
mov rdx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140007556
mov rdx, qword [rsi]
lea rcx, [rbp + 0x17]
call fcn.140026400
mov rdx, qword [rbp + 0xf]
cmp rdx, 7
jbe 0x14000759f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000759a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007778
call fcn.140054120
movups xmm0, xmmword [rbp + 0x17]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rbp + 0x27]
movups xmmword [rbp + 7], xmm1
nop
lea rcx, [rbp + 0x17]
call fcn.1400071e0
nop
lea rax, [rbp - 0x49]
mov qword [rbp - 0x59], rax
mov rdx, rsi
lea rcx, [rbp - 0x49]
call fcn.140022560
mov rbx, rax
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x29]
call fcn.140022560
nop
mov rdx, rbx
mov rcx, rax
call fcn.140004950
nop
mov rdx, qword [rbp + 0x2f]
cmp rdx, 7
jbe 0x14000762b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007626
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007784
call fcn.140054120
inc edi
cmp edi, 4
jl 0x1400075b0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
test eax, eax
setne bl
mov rdx, qword [rbp + 0xf]
cmp rdx, 7
jbe 0x140007685
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007680
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000777e
call fcn.140054120
movzx eax, bl
jmp 0x14000774e
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140007737
test al, 0x10
je 0x140007737
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm1
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [r14 + r8*2], di
jne 0x1400076c0
mov rdx, r14
lea rcx, [rbp - 9]
call fcn.140026400
nop
lea rcx, [rbp - 9]
call fcn.140006ee0
movzx edi, al
mov rdx, qword [rbp + 0xf]
cmp rdx, 7
jbe 0x14000771f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000771a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007772
call fcn.140054120
test dil, dil
je 0x140007728
mov al, 1
jmp 0x14000774e
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str.Failed_Delete_Action.
jmp 0x140007744
mov r8d, CloseCompressor
lea rdx, str.There_isnt_specified_Directory_
mov rcx, rbx
call fcn.140024400
xor al, al
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140054100
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.14006a6c0
nop
call fcn.14006a6c0
nop
call fcn.14006a6c0
nop
call fcn.14006a6c0
int3