Function at 0x1401a5570
Capabilities:
Delete file
Enumerate files on windows
Get common file path
Move file

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1550]
mov eax, 0x1650
call fcn.14019f600
sub rsp, rax
mov qword [rbp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x1698], rbx
movzx ebx, dl
mov r15, rcx
lea r13, [rcx + 0x18]
xor edx, edx
mov rcx, r13
call fcn.1401c27ec
test eax, eax
jne 0x1401a5f71
xor eax, eax
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rax
mov dword [rbp + 0x60], eax
lea r8, [rbp + 0x40]
xor edx, edx
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x1401a5f71
mov eax, dword [r15 + 0x220]
test eax, eax
jle 0x1401a5606
cmp dword [rbp + 0x5c], 0
jne 0x1401a560e
shl eax, 0xa
cmp dword [rbp + 0x60], eax
ja 0x1401a560e
test bl, bl
je 0x1401a5f71
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xb00]
call fcn.1401a9b30
xor r9d, r9d
lea r8, [rbp + 0xb00]
mov edx, 0x104
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
xor eax, eax
mov dword [rbp + 0x15a0], eax
mov word [rbp + 0x15a4], ax
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x8f0]
call fcn.1401a9b30
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xd10]
call fcn.1401a9b30
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1130]
call fcn.1401a9b30
mov qword [rsp + 0x40], 0x104
lea rax, [rbp + 0x1130]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0x104
lea rax, [rbp + 0xd10]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x104
lea r9, [rbp + 0x8f0]
mov r8d, 3
lea rdx, [rbp + 0x15a0]
lea rcx, [rbp + 0xb00]
call fcn.1401b0b24
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x4d0]
call fcn.1401a9b30
lea rax, [rbp + 0x8f0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x15a0]
lea r8, str._s_s
mov edx, 0x104
lea rcx, [rbp + 0x4d0]
call fcn.1401a7540
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x6e0]
call fcn.1401a9b30
lea rax, [rbp + 0xd10]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x4d0]
lea r8, str._s_s
mov edx, 0x104
lea rcx, [rbp + 0x6e0]
call fcn.1401a7540
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xf20]
call fcn.1401a9b30
lea rax, str._.log
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x6e0]
lea r8, str._s_s
mov edx, 0x104
lea rcx, [rbp + 0xf20]
call fcn.1401a7540
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp + 0x70]
call fcn.1401a9b30
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0xf20]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
xor r14d, r14d
cmp rax, 0xffffffffffffffff
je 0x1401a5f09
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
lea rcx, [rsp + 0x50]
call fcn.1401a7f70
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x14023a6c0]
movdqu xmmword [rbp - 0x80], xmm1
mov word [rsp + 0x70], r14w
lea rax, [rbp + 0x9c]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1401a5810
lea rdx, [rbp + 0x9c]
lea rcx, [rsp + 0x70]
call fcn.1400084c0
nop
mov rax, qword [rbp + 0x84]
mov qword [rbp - 0x70], rax
movzx eax, byte [rbp + 0x1590]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x70]
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.1401a2db0
nop
lea rcx, [rsp + 0x70]
call fcn.140007ff0
lea rdx, [rbp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1401a5924
movzx ebx, byte [rbp + 0x1590]
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r14w
lea rax, [rbp + 0x9c]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1401a58b0
lea rdx, [rbp + 0x9c]
lea rcx, [rsp + 0x70]
call fcn.1400084c0
nop
mov rax, qword [rbp + 0x84]
mov qword [rbp - 0x70], rax
mov byte [rsp + 0x20], bl
lea r9, [rsp + 0x70]
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.1401a2db0
nop
lea rcx, [rsp + 0x70]
call fcn.140007ff0
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp + 0x70]
call fcn.1401a9b30
lea rdx, [rbp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1401a5881
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rax, qword [rsp + 0x58]
cmp rax, 9
jne 0x1401a59a4
mov rbx, qword [rsp + 0x50]
mov rbx, qword [rbx]
lea rax, [rbx + 0x20]
cmp qword [rax + 0x18], 8
jb 0x1401a594e
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x8f0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x15a0]
lea r8, str._s_s_s
mov edx, 0x104
lea rcx, [rbp + 0x2c0]
call fcn.1401a7540
lea rcx, [rbp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov r8, rbx
lea rdx, [rbp + 0x15a8]
lea rcx, [rsp + 0x50]
call fcn.1401a88a0
mov rax, qword [rsp + 0x58]
lea r12, [rax + 1]
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.1401a7fb0
mov rsi, rax
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x50]
mov rbx, qword [rax]
cmp rbx, rax
je 0x1401a5df2
nop word [rax + rax]
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x6e0]
lea r8, str._s__04d.log
mov edx, 0x104
lea rcx, [rbp + 0x2c0]
call fcn.1401a7540
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r14w
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r14
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], 7
mov word [rbp - 0x20], r14w
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], r14
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], 7
mov word [rbp], r14w
lea rax, [rbp + 0x2c0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1401a5a60
lea rdx, [rbp + 0x2c0]
lea rcx, [rbp]
call fcn.1400084c0
movzx r8d, r12b
lea r9, [rbp + 0x2c0]
lea rdx, str._log_
lea rcx, [rbp + 0x4d0]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea rax, [rbp + 0x2c0]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1401a5ab0
lea rdx, [rbp + 0x2c0]
lea rcx, [rbp - 0x20]
call fcn.1400084c0
lea r14, [rbx + 0x20]
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov r15, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 8
jb 0x1401a5ae7
mov r14, qword [r14]
cmp r15, 8
jae 0x1401a5aff
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x50], 7
jmp 0x1401a5b3f
mov rdi, r15
or rdi, 7
movabs rax, 0x7ffffffffffffffe
cmp rdi, rax
cmova rdi, rax
lea rdx, [rdi + 1]
lea rcx, [rbp - 0x68]
call fcn.140008690
mov qword [rbp - 0x68], rax
lea r8, [r15*2 + 2]
mov rdx, r14
mov rcx, rax
call fcn.1401a96c0
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x58], r15
xor r14d, r14d
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x38], r14
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x38], 7
mov word [rbp + 0x20], r14w
lea rax, [rbp + 0x4d0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], r14w
jne 0x1401a5b70
lea rdx, [rbp + 0x4d0]
lea rcx, [rbp + 0x20]
call fcn.1400084c0
nop
lea r8, [rbp - 0x68]
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.1401a2390
mov rdi, rax
lea rax, [rbp - 0x40]
cmp rax, rdi
je 0x1401a5bd1
lea rcx, [rbp - 0x40]
call fcn.140007ff0
movups xmm0, xmmword [rdi]
movaps xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rdi + 0x10]
movaps xmmword [rbp - 0x30], xmm1
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 7
mov word [rdi], r14w
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x1401a5c12
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401a5c0d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401a5f9b
call fcn.140002de0
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r14w
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x1401a5c64
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401a5c5f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401a5fa1
call fcn.140002de0
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x38], 7
mov word [rbp + 0x20], r14w
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x1401a5cb5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401a5cb0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401a5fa7
call fcn.140002de0
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r14w
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
lea rcx, [rsp + 0x60]
test eax, eax
je 0x1401a5dc3
mov rdi, qword [rsi + 8]
lea r9, [rbp - 0x40]
mov r8, rdi
mov rdx, rsi
call fcn.1401a25e0
movabs rcx, 0x249249249249248
mov rdx, qword [rsp + 0x68]
sub rcx, rdx
cmp rcx, 1
jb 0x1401a5f8e
inc rdx
mov qword [rsp + 0x68], rdx
mov qword [rsi + 8], rax
mov qword [rdi], rax
lea rcx, [rbp]
call fcn.140007ff0
nop
lea rcx, [rbp - 0x20]
call fcn.140007ff0
nop
lea rcx, [rbp - 0x40]
call fcn.140007ff0
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x1401a5d90
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1401a5d8b
cmp rbx, qword [rax + 0x10]
jne 0x1401a5d8b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1401a5d78
mov rbx, rax
jmp 0x1401a5daf
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x1401a5daf
nop dword [rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x1401a5da0
dec r12
mov rsi, qword [rsp + 0x60]
cmp rbx, qword [rsp + 0x50]
je 0x1401a5deb
jmp 0x1401a59e0
call fcn.1401a8650
nop
lea rcx, [rbp]
call fcn.140007ff0
nop
lea rcx, [rbp - 0x20]
call fcn.140007ff0
nop
lea rcx, [rbp - 0x40]
call fcn.140007ff0
mov rsi, qword [rsp + 0x60]
mov r15, qword [rbp + 0x1590]
mov rbx, qword [rsi]
cmp rbx, rsi
je 0x1401a5e2a
nop word [rax + rax]
lea rdx, [rbx + 0x50]
cmp qword [rdx + 0x18], 8
jb 0x1401a5e0e
mov rdx, qword [rdx]
lea rcx, [rbx + 0x30]
cmp qword [rcx + 0x18], 8
jb 0x1401a5e1c
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov rbx, qword [rbx]
cmp rbx, rsi
jne 0x1401a5e00
mov r14, qword [rsi]
mov qword [rsi], rsi
mov qword [rsi + 8], rsi
xor eax, eax
mov qword [rsp + 0x68], rax
cmp r14, rsi
je 0x1401a5e7f
mov rdi, qword [r14]
lea rbx, [r14 + 0x10]
mov qword [rbp + 0x1590], rbx
lea rcx, [rbx + 0x40]
call fcn.140007ff0
nop
lea rcx, [rbx + 0x20]
call fcn.140007ff0
nop
mov rcx, rbx
call fcn.140007ff0
mov edx, VarBstrFromDisp
mov rcx, r14
call fcn.140002de0
mov r14, rdi
cmp rdi, rsi
jne 0x1401a5e40
mov edx, VarBstrFromDisp
mov rcx, rsi
call fcn.140002de0
nop
mov rax, qword [rsp + 0x50]
mov rsi, rax
mov rdi, qword [rax + 8]
mov rbx, rdi
cmp byte [rdi + 0x19], 0
jne 0x1401a5ede
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x50]
call fcn.1401a8190
mov rbx, qword [rbx]
lea rcx, [rdi + 0x20]
mov qword [rbp + 0x1590], rcx
call fcn.140007ff0
mov edx, 0x48
mov rcx, rdi
call fcn.140002de0
mov rdi, rbx
cmp byte [rbx + 0x19], 0
je 0x1401a5ea2
mov rax, qword [rsp + 0x50]
mov qword [rax + 8], rsi
mov rax, qword [rsp + 0x50]
mov qword [rax], rsi
mov rax, qword [rsp + 0x50]
mov qword [rax + 0x10], rsi
xor r14d, r14d
mov qword [rsp + 0x58], r14
lea edx, [r14 + 0x48]
mov rcx, qword [rsp + 0x50]
call fcn.140002de0
xor dil, dil
mov rcx, qword [r15 + 0x230]
test rcx, rcx
je 0x1401a5f27
call fcn.1401b1450
mov qword [r15 + 0x230], r14
mov dil, 1
lea r9, [rbp + 0x6e0]
lea r8, str._s_0001.log
mov edx, 0x104
lea rcx, [rbp + 0x1340]
call fcn.1401a7540
lea rdx, [rbp + 0x1340]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test dil, dil
je 0x1401a5f71
lea r8, str.a_ccsUTF_8
mov rdx, r13
lea rcx, [r15 + 0x230]
call fcn.1401c2794
xor al, al
mov rbx, qword [rsp + 0x1698]
add rsp, 0x1650
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.list_T__too_long
call fcn.1401a1420
nop
call fcn.1401ae974
nop
call fcn.1401ae974
nop
call fcn.1401ae974
int3