Function at 0x14000a380
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 - 0x1570]
mov eax, 0x1670
call fcn.1401b77b0
sub rsp, rax
mov qword [rbp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x16b8], rbx
movzx ebx, dl
mov r13, rcx
lea rsi, [rcx + 0x18]
mov qword [rbp - 0x80], rsi
xor edx, edx
mov rcx, rsi
call fcn.1401e8ffc
test eax, eax
jne 0x14000aba9
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x30], eax
lea r8, [rbp - 0x50]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x14000aba9
mov eax, dword [r13 + 0x220]
test eax, eax
jle 0x14000a41a
cmp dword [rbp - 0x34], 0
jne 0x14000a422
shl eax, 0xa
cmp dword [rbp - 0x30], eax
ja 0x14000a422
test bl, bl
je 0x14000aba9
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xb20]
call fcn.1401d5b10
xor r9d, r9d
lea r8, [rbp + 0xb20]
mov edx, 0x104
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
xor r14d, r14d
mov word [rbp + 0x15c8], r14w
xor eax, eax
mov dword [rbp + 0x15ca], eax
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x910]
call fcn.1401d5b10
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xd30]
call fcn.1401d5b10
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1150]
call fcn.1401d5b10
mov qword [rsp + 0x40], 0x104
lea rax, [rbp + 0x1150]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0x104
lea rax, [rbp + 0xd30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x104
lea r9, [rbp + 0x910]
lea r8d, [r14 + 3]
lea rdx, [rbp + 0x15c8]
lea rcx, [rbp + 0xb20]
call fcn.1401dbd04
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x4f0]
call fcn.1401d5b10
lea rax, [rbp + 0x910]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x15c8]
lea r8, [0x140277c98]
mov edx, 0x104
lea rcx, [rbp + 0x4f0]
call fcn.14000f890
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x700]
call fcn.1401d5b10
lea rax, [rbp + 0xd30]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x4f0]
lea r8, [0x140277c98]
mov edx, 0x104
lea rcx, [rbp + 0x700]
call fcn.14000f890
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xf40]
call fcn.1401d5b10
lea rax, str._.log
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x700]
lea r8, [0x140277c98]
mov edx, 0x104
lea rcx, [rbp + 0xf40]
call fcn.14000f890
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp + 0x2a0]
call fcn.1401d5b10
lea rdx, [rbp + 0x2a0]
lea rcx, [rbp + 0xf40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000ab41
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
call fcn.14000d450
mov qword [rsp + 0x50], rax
lea rdx, [rbp + 0x2cc]
lea rcx, [rbp - 0x78]
call fcn.1400065b0
nop
mov rax, qword [rbp + 0x2b4]
mov qword [rbp - 0x58], rax
movzx eax, byte [rbp + 0x15b0]
mov byte [rsp + 0x20], al
lea r9, [rbp - 0x78]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.14000e2e0
nop
lea rcx, [rbp - 0x78]
call fcn.140006560
lea rdx, [rbp + 0x2a0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14000a6c5
movzx ebx, byte [rbp + 0x15b0]
nop dword [rax]
nop word [rax + rax]
lea rdx, [rbp + 0x2cc]
lea rcx, [rbp - 0x78]
call fcn.1400065b0
nop
mov rax, qword [rbp + 0x2b4]
mov qword [rbp - 0x58], rax
mov byte [rsp + 0x20], bl
lea r9, [rbp - 0x78]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.14000e2e0
nop
lea rcx, [rbp - 0x78]
call fcn.140006560
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp + 0x2a0]
call fcn.1401d5b10
lea rdx, [rbp + 0x2a0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14000a660
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rax, qword [rsp + 0x58]
cmp rax, 9
jne 0x14000a74a
mov rbx, qword [rsp + 0x50]
mov rbx, qword [rbx]
lea rcx, [rbx + 0x20]
call fcn.140006920
cmp qword [rax + 0x18], 8
jb 0x14000a6f4
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x910]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x15c8]
lea r8, str._s_s_s
mov edx, 0x104
lea rcx, [rbp + 0x90]
call fcn.14000f890
lea rcx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov r8, rbx
lea rdx, [rbp + 0x15c0]
lea rcx, [rsp + 0x50]
call fcn.14000bee0
mov rax, qword [rsp + 0x58]
lea r15, [rax + 1]
mov qword [rsp + 0x60], r14
mov r12, r14
mov qword [rsp + 0x68], r14
xor r8d, r8d
xor edx, edx
call fcn.14000d3f0
mov rsi, rax
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x50]
mov rbx, qword [rax]
cmp rbx, rax
je 0x14000aa64
lea rcx, [rbp - 0x28]
call fcn.140006c00
mov qword [rsp + 0x70], rax
lea rcx, [rbp - 0x28]
call fcn.140006920
mov r13, rax
mov word [rbp + 0x15c0], r14w
lea rcx, [rbp + 0x20]
call fcn.140006920
mov rdi, rax
lea rcx, [rbp]
call fcn.140006920
mov qword [rsp + 0x78], rax
jmp 0x14000a7c3
xor r14d, r14d
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x700]
lea r8, str._s__04d.log
mov edx, 0x104
lea rcx, [rbp + 0x90]
call fcn.14000f890
lea rcx, [rbp]
call fcn.14000abd0
nop
cmp word [rbp + 0x90], 0
jne 0x14000a800
mov r8, r14
jmp 0x14000a81b
lea rax, [rbp + 0x90]
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14000a810
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x40]
call fcn.1400069c0
movzx r8d, r15b
lea r9, [rbp + 0x90]
lea rdx, str._log_
lea rcx, [rbp + 0x4f0]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp word [rbp + 0x90], 0
jne 0x14000a859
mov r8, r14
jmp 0x14000a86f
lea rax, [rbp + 0x90]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14000a864
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x20]
call fcn.1400069c0
lea rcx, [rbp - 0x28]
call fcn.140006930
mov rax, qword [rsp + 0x70]
mov qword [rax], 7
mov qword [r13 + 0x10], 0
cmp qword [r13 + 0x18], 8
jb 0x14000a8a9
mov rcx, qword [r13]
jmp 0x14000a8ac
mov rcx, r13
lea rdx, [rbp + 0x15c0]
call fcn.1400044f0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbx + 0x20]
lea rcx, [rbp - 0x28]
call fcn.140006c10
nop
lea rdx, [rbp + 0x4f0]
lea rcx, [rbp - 0x78]
call fcn.1400065b0
nop
lea r8, [rbp - 0x28]
mov rdx, rax
lea rcx, [rbp + 0x68]
call fcn.14000d720
nop
mov rdx, rax
lea rcx, [rbp]
call fcn.14000c6c0
nop
lea rcx, [rbp + 0x68]
call fcn.140006560
nop
lea rcx, [rbp - 0x78]
call fcn.140006560
nop
lea rcx, [rbp - 0x28]
call fcn.140006560
cmp qword [rdi + 0x18], 8
jb 0x14000a925
mov rcx, qword [rdi]
jmp 0x14000a928
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp qword [rdi + 0x18], 8
jb 0x14000a93a
mov rdx, qword [rdi]
jmp 0x14000a93d
mov rdx, rdi
mov r14, qword [rsp + 0x78]
cmp qword [r14 + 0x18], 8
jb 0x14000a94e
mov rcx, qword [r14]
jmp 0x14000a951
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x14000aa23
lea r9, [rbp]
mov r8, qword [rsi + 8]
mov rdx, rsi
call fcn.14000e500
movabs rcx, 0x249249249249248
sub rcx, r12
cmp rcx, 1
jb 0x14000aa16
inc r12
mov qword [rsp + 0x68], r12
mov qword [rsi + 8], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rax
lea rcx, [rbp + 0x40]
call fcn.140006560
nop
lea rcx, [rbp + 0x20]
call fcn.140006560
nop
lea rcx, [rbp]
call fcn.140006560
cmp byte [rbx + 0x19], 0
jne 0x14000aa06
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14000a9e0
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14000aa06
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14000a9d2
jmp 0x14000aa06
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14000aa03
nop word [rax + rax]
cmp rbx, qword [rax + 0x10]
jne 0x14000aa03
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14000a9f0
mov rbx, rax
dec r15
cmp rbx, qword [rsp + 0x50]
jne 0x14000a7c0
jmp 0x14000aa5d
lea rcx, str.list_T__too_long
call fcn.1401b8990
int3
mov r9, rsi
mov r8, qword [rsi]
lea rdx, [rbp + 0x15c0]
lea rcx, [rsp + 0x60]
call fcn.14000bd30
nop
lea rcx, [rbp + 0x40]
call fcn.140006560
nop
lea rcx, [rbp + 0x20]
call fcn.140006560
nop
lea rcx, [rbp]
call fcn.140006560
mov rsi, qword [rsp + 0x60]
mov r13, qword [rbp + 0x15b0]
mov rbx, qword [rsi]
cmp rbx, rsi
je 0x14000aaad
nop dword [rax]
lea rcx, [rbx + 0x50]
call fcn.140006920
mov rdi, rax
cmp qword [rax + 0x18], 8
jb 0x14000aa86
mov rdi, qword [rax]
lea rcx, [rbx + 0x30]
call fcn.140006920
cmp qword [rax + 0x18], 8
jb 0x14000aa99
mov rax, qword [rax]
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov rbx, qword [rbx]
cmp rbx, rsi
jne 0x14000aa70
mov r14, qword [rsi]
mov qword [rsi], rsi
mov qword [rsi + 8], rsi
mov qword [rsp + 0x68], 0
cmp r14, rsi
je 0x14000ab0a
nop word [rax + rax]
mov rdi, qword [r14]
lea rbx, [r14 + 0x10]
mov qword [rbp + 0x15b0], rbx
lea rcx, [rbx + 0x40]
call fcn.140006560
nop
lea rcx, [rbx + 0x20]
call fcn.140006560
nop
mov rcx, rbx
call fcn.140006560
mov rcx, r14
call fcn.140010454
mov r14, rdi
cmp rdi, rsi
jne 0x14000aad0
mov rcx, rsi
call fcn.140010454
nop
mov r8, qword [rsp + 0x50]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rbp + 0x15b0]
lea rcx, [rsp + 0x50]
call fcn.14000c950
nop
mov rcx, qword [rsp + 0x50]
call fcn.140010454
mov rsi, qword [rbp - 0x80]
xor r14d, r14d
xor dil, dil
mov rcx, qword [r13 + 0x230]
test rcx, rcx
je 0x14000ab5f
call fcn.1401dc5fc
mov qword [r13 + 0x230], r14
mov dil, 1
lea r9, [rbp + 0x700]
lea r8, str._s_0001.log
mov edx, 0x104
lea rcx, [rbp + 0x1360]
call fcn.14000f890
lea rdx, [rbp + 0x1360]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test dil, dil
je 0x14000aba9
lea r8, str.a_ccsUTF_8
mov rdx, rsi
lea rcx, [r13 + 0x230]
call fcn.1401e8fa4
xor al, al
mov rbx, qword [rsp + 0x16b8]
add rsp, 0x1670
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret