Function at 0x140019c40
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.14001e570
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.140046664
test eax, eax
jne 0x14001a641
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.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesExW]
test eax, eax
je 0x14001a641
mov eax, dword [r15 + 0x220]
test eax, eax
jle 0x140019cd6
cmp dword [rbp + 0x5c], 0
jne 0x140019cde
shl eax, 0xa
cmp dword [rbp + 0x60], eax
ja 0x140019cde
test bl, bl
je 0x14001a641
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xb00]
call fcn.14003c660
xor r9d, r9d
lea r8, [rbp + 0xb00]
mov edx, 0x104
mov rcx, r13
call qword [sym.imp.api_ms_win_core_file_l1_1_0.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.14003c660
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xd10]
call fcn.14003c660
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1130]
call fcn.14003c660
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.140045a44
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x4d0]
call fcn.14003c660
lea rax, [rbp + 0x8f0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x15a0]
lea r8, [0x1400662f8]
mov edx, 0x104
lea rcx, [rbp + 0x4d0]
call fcn.140010160
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x6e0]
call fcn.14003c660
lea rax, [rbp + 0xd10]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x4d0]
lea r8, [0x1400662f8]
mov edx, 0x104
lea rcx, [rbp + 0x6e0]
call fcn.140010160
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xf20]
call fcn.14003c660
lea rax, str._.log
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x6e0]
lea r8, [0x1400662f8]
mov edx, 0x104
lea rcx, [rbp + 0xf20]
call fcn.140010160
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp + 0x70]
call fcn.14003c660
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0xf20]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileW]
mov rdi, rax
xor r14d, r14d
cmp rax, 0xffffffffffffffff
je 0x14001a5d9
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
lea rcx, [rsp + 0x50]
call fcn.14001c570
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x14007f2b0]
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 0x140019ee0
lea rdx, [rbp + 0x9c]
lea rcx, [rsp + 0x70]
call fcn.140006690
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.1400175e0
nop
lea rcx, [rsp + 0x70]
call fcn.1400064d0
lea rdx, [rbp + 0x70]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
test eax, eax
je 0x140019ff4
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 0x140019f80
lea rdx, [rbp + 0x9c]
lea rcx, [rsp + 0x70]
call fcn.140006690
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.1400175e0
nop
lea rcx, [rsp + 0x70]
call fcn.1400064d0
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp + 0x70]
call fcn.14003c660
lea rdx, [rbp + 0x70]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
test eax, eax
jne 0x140019f51
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
mov rax, qword [rsp + 0x58]
cmp rax, 9
jne 0x14001a074
mov rbx, qword [rsp + 0x50]
mov rbx, qword [rbx]
lea rax, [rbx + 0x20]
cmp qword [rax + 0x18], 8
jb 0x14001a01e
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.140010160
lea rcx, [rbp + 0x2c0]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
mov r8, rbx
lea rdx, [rbp + 0x15a8]
lea rcx, [rsp + 0x50]
call fcn.14001cea0
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.14001c5b0
mov rsi, rax
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x50]
mov rbx, qword [rax]
cmp rbx, rax
je 0x14001a4c2
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.140010160
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 0x14001a130
lea rdx, [rbp + 0x2c0]
lea rcx, [rbp]
call fcn.140006690
movzx r8d, r12b
lea r9, [rbp + 0x2c0]
lea rdx, str._log_
lea rcx, [rbp + 0x4d0]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetTempFileNameW]
lea rax, [rbp + 0x2c0]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14001a180
lea rdx, [rbp + 0x2c0]
lea rcx, [rbp - 0x20]
call fcn.140006690
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 0x14001a1b7
mov r14, qword [r14]
cmp r15, 8
jae 0x14001a1cf
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x50], 7
jmp 0x14001a20f
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.140006820
mov qword [rbp - 0x68], rax
lea r8, [r15*2 + 2]
mov rdx, r14
mov rcx, rax
call fcn.14003c1f0
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 0x14001a240
lea rdx, [rbp + 0x4d0]
lea rcx, [rbp + 0x20]
call fcn.140006690
nop
lea r8, [rbp - 0x68]
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.140006f20
mov rdi, rax
lea rax, [rbp - 0x40]
cmp rax, rdi
je 0x14001a2a1
lea rcx, [rbp - 0x40]
call fcn.1400064d0
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 0x14001a2e2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a2dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a66b
call fcn.14001e178
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r14w
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x14001a334
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a32f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a671
call fcn.14001e178
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x38], 7
mov word [rbp + 0x20], r14w
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x14001a385
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a380
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a677
call fcn.14001e178
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.api_ms_win_core_file_l1_1_0.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 0x14001a493
mov rdi, qword [rsi + 8]
lea r9, [rbp - 0x40]
mov r8, rdi
mov rdx, rsi
call fcn.140016e10
movabs rcx, 0x249249249249248
mov rdx, qword [rsp + 0x68]
sub rcx, rdx
cmp rcx, 1
jb 0x14001a65e
inc rdx
mov qword [rsp + 0x68], rdx
mov qword [rsi + 8], rax
mov qword [rdi], rax
lea rcx, [rbp]
call fcn.1400064d0
nop
lea rcx, [rbp - 0x20]
call fcn.1400064d0
nop
lea rcx, [rbp - 0x40]
call fcn.1400064d0
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x14001a460
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14001a45b
cmp rbx, qword [rax + 0x10]
jne 0x14001a45b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14001a448
mov rbx, rax
jmp 0x14001a47f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x14001a47f
nop dword [rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x14001a470
dec r12
mov rsi, qword [rsp + 0x60]
cmp rbx, qword [rsp + 0x50]
je 0x14001a4bb
jmp 0x14001a0b0
call fcn.14001cc50
nop
lea rcx, [rbp]
call fcn.1400064d0
nop
lea rcx, [rbp - 0x20]
call fcn.1400064d0
nop
lea rcx, [rbp - 0x40]
call fcn.1400064d0
mov rsi, qword [rsp + 0x60]
mov r15, qword [rbp + 0x1590]
mov rbx, qword [rsi]
cmp rbx, rsi
je 0x14001a4fa
nop word [rax + rax]
lea rdx, [rbx + 0x50]
cmp qword [rdx + 0x18], 8
jb 0x14001a4de
mov rdx, qword [rdx]
lea rcx, [rbx + 0x30]
cmp qword [rcx + 0x18], 8
jb 0x14001a4ec
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov rbx, qword [rbx]
cmp rbx, rsi
jne 0x14001a4d0
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 0x14001a54f
mov rdi, qword [r14]
lea rbx, [r14 + 0x10]
mov qword [rbp + 0x1590], rbx
lea rcx, [rbx + 0x40]
call fcn.1400064d0
nop
lea rcx, [rbx + 0x20]
call fcn.1400064d0
nop
mov rcx, rbx
call fcn.1400064d0
mov edx, 0x70
mov rcx, r14
call fcn.14001e178
mov r14, rdi
cmp rdi, rsi
jne 0x14001a510
mov edx, 0x70
mov rcx, rsi
call fcn.14001e178
nop
mov rax, qword [rsp + 0x50]
mov rsi, rax
mov rdi, qword [rax + 8]
mov rbx, rdi
cmp byte [rdi + 0x19], 0
jne 0x14001a5ae
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x50]
call fcn.14001c790
mov rbx, qword [rbx]
lea rcx, [rdi + 0x20]
mov qword [rbp + 0x1590], rcx
call fcn.1400064d0
mov edx, 0x48
mov rcx, rdi
call fcn.14001e178
mov rdi, rbx
cmp byte [rbx + 0x19], 0
je 0x14001a572
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.14001e178
xor dil, dil
mov rcx, qword [r15 + 0x230]
test rcx, rcx
je 0x14001a5f7
call fcn.140045c54
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.140010160
lea rdx, [rbp + 0x1340]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test dil, dil
je 0x14001a641
lea r8, str.a_ccsUTF_8
mov rdx, r13
lea rcx, [r15 + 0x230]
call fcn.140045b78
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.1400147b0
nop
call fcn.1400416f8
nop
call fcn.1400416f8
nop
call fcn.1400416f8
int3