Function at 0x140001980
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r15
lea rbp, [rsp - 0x1fd0]
mov eax, 0x20d0
call fcn.140018d20
sub rsp, rax
mov rax, qword [0x140027010]
xor rax, rsp
mov qword [rbp + 0x1fc0], rax
mov rbx, rcx
xor r15d, r15d
mov rdx, rcx
cmp qword [rcx + 0x18], 8
jb 0x1400019c7
mov rdx, qword [rcx]
mov rsi, qword [rcx + 0x10]
lea rdi, [rsi*2 + 2]
mov r8, rdi
lea rcx, [rbp - 0x40]
call fcn.14000f200
cmp rdi, 0x2000
jae 0x140001c79
mov word [rbp + rdi - 0x40], r15w
movabs rax, 0x7ffffffffffffffe
sub rax, rsi
cmp rax, 0x15
jb 0x140001c7f
cmp qword [rbx + 0x18], 8
jb 0x140001a13
mov rbx, qword [rbx]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 0x15
lea r9, str.Fully_clearing_path_
lea rcx, [rbp - 0x80]
call fcn.140008010
nop
mov rdi, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
sub rax, rdi
cmp rax, 3
jb 0x140001a82
lea rax, [rdi + 3]
mov qword [rbp - 0x70], rax
lea rbx, [rbp - 0x80]
cmp rcx, 8
cmovae rbx, qword [rbp - 0x80]
lea rcx, [rbx + rdi*2]
mov r8d, 6
lea rdx, [0x140022040]
call fcn.14000f200
mov word [rbx + rdi*2 + 6], r15w
lea rax, [rbp - 0x80]
jmp 0x140001aa0
mov qword [rsp + 0x20], 3
lea r9, [0x140022040]
mov edx, 3
lea rcx, [rbp - 0x80]
call fcn.140007c60
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
lea rcx, [rbp - 0x60]
call fcn.1400014f0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x140001b0a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001b04
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001c85
call fcn.140009ae0
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140001b4a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001b45
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001c8b
call fcn.140009ae0
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x50], 3
lea rax, [rbp - 0x40]
mov qword [rsp + 0x58], rax
lea rcx, [0x14002207c]
mov qword [rsp + 0x60], rcx
mov eax, 0x414
mov word [rsp + 0x68], ax
mov dword [rsp + 0x6c], r15d
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], rcx
lea rcx, [rsp + 0x48]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je 0x140001c4c
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov edx, 0x20
call fcn.140008160
mov rcx, rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x70], 0x1f
mov qword [rbp - 0x68], 0x1f
movaps xmm0, xmmword [str.Error:_failed_to_clear_path__:_]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x140022090]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x1400220a0]
movups xmmword [rax + 0x20], xmm0
movsd xmm0, qword [0x1400220b0]
movsd qword [rax + 0x30], xmm0
mov eax, dword [0x1400220b8]
mov dword [rcx + 0x38], eax
movzx eax, word [0x1400220bc]
mov word [rcx + 0x3c], ax
mov word [rcx + 0x3e], r15w
lea rcx, [rbp - 0x80]
call fcn.1400014f0
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140001c4c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001c47
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001c73
call fcn.140009ae0
mov rcx, qword [rbp + 0x1fc0]
xor rcx, rsp
call fcn.140009590
lea r11, [rsp + 0x20d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret
call fcn.14000ff34
int3
call fcn.1400096b8
int3
call fcn.140001200
nop
call fcn.14000ff34
nop
call fcn.14000ff34
int3