Function at 0x1401a0134
Capabilities:
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x120
mov rax, qword [0x140412700]
xor rax, rsp
mov qword [rbp + 0x18], rax
mov rsi, rcx
xor r13d, r13d
cmp dword [rcx + 0x30], r13d
jne 0x1401a01a0
xor al, al
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.1402194b0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x70], r13
lea rcx, [rbp - 0x70]
call fcn.1400a0bcc
mov r15d, eax
test eax, eax
jns 0x1401a0392
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov r14, r13
mov qword [rbp - 0x30], r13
movups xmmword [rbp - 8], xmm0
mov qword [rbp + 8], rax
mov bl, 1
mov r8b, bl
lea rdx, [rbp - 8]
mov rcx, rsi
call fcn.1401a0044
nop
mov r15d, 0x1000
cmp dword [rsi + 0x30], 3
je 0x1401a028e
xor r8d, r8d
lea rdx, [rbp - 0x28]
mov rcx, rsi
call fcn.1401a0044
nop
lea rcx, [rbp - 0x40]
cmp rcx, rax
je 0x1401a023f
mov rdi, qword [rax]
mov qword [rbp - 0x40], rdi
mov rcx, qword [rax + 8]
mov qword [rbp - 0x38], rcx
mov r14, qword [rax + 0x10]
mov qword [rbp - 0x30], r14
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
jmp 0x1401a0243
mov rdi, qword [rbp - 0x40]
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x1401a0292
mov rax, qword [rbp - 0x18]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, r15
jb 0x1401a027b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401a0700
call fcn.14000e3f0
mov qword [rbp - 0x28], r13
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
jmp 0x1401a0292
mov rdi, qword [rbp - 0x40]
mov rax, qword [rsi + 0x38]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsi + 0x30]
mov dword [rsp + 0x38], ecx
mov rax, qword [rbp - 8]
mov qword [rsp + 0x40], rax
mov rax, r13
cmp ecx, 3
cmovne rax, rdi
mov qword [rsp + 0x48], rax
movzx eax, word [rsi + 0x34]
mov word [rsp + 0x50], ax
mov dword [rsp + 0x54], r13d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [rsp + 0x54]
cmp eax, 0x75
je 0x1401a02e9
test ecx, ecx
je 0x1401a02ee
mov byte [rsi + 0x41], bl
test ecx, ecx
setne cl
test eax, eax
jne 0x1401a02f9
test cl, cl
je 0x1401a02fc
mov bl, r13b
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x1401a0345
mov rax, qword [rbp + 8]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, r15
jb 0x1401a0334
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401a0706
call fcn.14000e3f0
xorps xmm0, xmm0
movdqu xmmword [rbp - 8], xmm0
mov qword [rbp + 8], r13
test rdi, rdi
je 0x1401a06cd
sub r14, rdi
sar r14, 1
lea rdx, [r14 + r14]
mov rax, rdi
cmp rdx, r15
jb 0x1401a0379
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401a070c
mov rcx, rdi
call fcn.14000e3f0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r13
jmp 0x1401a06cd
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1401a06f5
mov rax, qword [rcx]
movzx edx, word [rsi + 0x34]
and edx, 0xfffffffe
mov rax, qword [rax + 0x28]
call qword [case.0x14001d845.0]
mov rdi, qword [rsi]
mov rbx, qword [rsi + 0x18]
cmp rdi, qword [rsi + 8]
jne 0x1401a03ca
cmp rbx, qword [rsi + 0x20]
je 0x1401a062e
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x80], r13
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r13w
cmp rdi, qword [rsi + 8]
je 0x1401a0432
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1401a0416
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14001d845.0]
mov qword [rbp - 0x78], r13
lea r8, [rbp - 0x78]
mov rdx, rdi
call fcn.1401a0714
test eax, eax
js 0x1401a0693
add rdi, 0x20
cmp rbx, qword [rsi + 0x20]
je 0x1401a051e
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.14017b8b4
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x1401a045f
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14001d845.0]
mov qword [rbp - 0x80], r13
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x28]
call fcn.1401a0714
test eax, eax
jns 0x1401a04c5
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x30]
call fcn.1400765a0
nop
mov rcx, rax
call fcn.140222f20
nop
lea rcx, [rsp + 0x30]
call fcn.140222560
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x1401a04ac
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14001d845.0]
mov qword [rbp - 0x80], r13
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x28]
call fcn.1401a0714
test eax, eax
js 0x1401a0689
mov rdx, rbx
lea rcx, [rbp - 8]
call fcn.14017a4ac
mov r14, rax
lea rax, [rbp - 0x60]
cmp rax, r14
je 0x1401a0508
lea rcx, [rbp - 0x60]
call fcn.14000dd24
mov r8d, 0x20
mov rdx, r14
lea rcx, [rbp - 0x60]
call fcn.1402bec40
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], 7
mov word [r14], r13w
lea rcx, [rbp - 8]
call fcn.14000dd24
add rbx, 0x20
lea rcx, [rbp - 0x28]
call fcn.14000dd24
mov ecx, dword [rsi + 0x30]
sub ecx, 1
je 0x1401a05ad
sub ecx, 1
je 0x1401a0594
sub ecx, 1
je 0x1401a056e
cmp ecx, 1
jne 0x1401a05e5
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1401a06ea
mov rax, qword [rcx]
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova r8, qword [rbp - 0x60]
xor r9d, r9d
mov rdx, qword [rbp - 0x78]
mov rax, qword [rax + 0x60]
call qword [case.0x14001d845.0]
jmp 0x1401a05e2
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1401a06ea
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, qword [rbp - 0x78]
mov rax, qword [rax + 0x90]
call qword [case.0x14001d845.0]
jmp 0x1401a05e2
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1401a06ea
mov rax, qword [rcx]
mov rax, qword [rax + 0x80]
jmp 0x1401a05c1
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1401a06ea
mov rax, qword [rcx]
mov rax, qword [rax + 0x70]
lea r9, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
mov qword [rsp + 0x20], r13
cmova r9, qword [rbp - 0x60]
mov r8, qword [rbp - 0x80]
mov rdx, qword [rbp - 0x78]
call qword [case.0x14001d845.0]
mov r15d, eax
test r15d, r15d
js 0x1401a0693
lea rcx, [rbp - 0x60]
call fcn.14000dd24
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x1401a060f
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14001d845.0]
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1401a03ba
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14001d845.0]
jmp 0x1401a03ba
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1401a06f5
mov rax, qword [rcx]
mov rax, qword [rax + 0xa8]
call qword [case.0x14001d845.0]
mov ebx, eax
mov dword [rbp - 0x68], r13d
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1401a06f5
mov rdx, qword [rcx]
mov rax, qword [rdx + 0xb0]
lea rdx, [rbp - 0x68]
call qword [case.0x14001d845.0]
mov ecx, dword [rbp - 0x68]
test ecx, ecx
setne al
mov byte [rsi + 0x41], al
test ebx, ebx
js 0x1401a06ca
test ecx, ecx
jne 0x1401a06ca
mov bl, 1
jmp 0x1401a06cd
lea rcx, [rbp - 0x28]
call fcn.14000dd24
nop
lea rcx, [rbp - 0x60]
call fcn.14000dd24
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x1401a06b4
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14001d845.0]
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1401a06ca
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14001d845.0]
mov bl, r13b
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1401a06e3
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [case.0x14001d845.0]
mov al, bl
jmp 0x1401a0173
mov ecx, 0x80004003
call fcn.140277da0
nop
mov ecx, 0x80004003
call fcn.140277da0
nop
call fcn.140287130
nop
call fcn.140287130
nop
call fcn.140287130
int3