Function at 0x140012b50
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.14000f160
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.140025790
test eax, eax
jne 0x140013551
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 0x140013551
mov eax, dword [r15 + 0x220]
test eax, eax
jle 0x140012be6
cmp dword [rbp + 0x5c], 0
jne 0x140012bee
shl eax, 0xa
cmp dword [rbp + 0x60], eax
ja 0x140012bee
test bl, bl
je 0x140013551
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xb00]
call fcn.140017ce0
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.140017ce0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xd10]
call fcn.140017ce0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1130]
call fcn.140017ce0
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.1400256f0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x4d0]
call fcn.140017ce0
lea rax, [rbp + 0x8f0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x15a0]
lea r8, [0x14003b428]
mov edx, 0x104
lea rcx, [rbp + 0x4d0]
call fcn.140014b20
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x6e0]
call fcn.140017ce0
lea rax, [rbp + 0xd10]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x4d0]
lea r8, [0x14003b428]
mov edx, 0x104
lea rcx, [rbp + 0x6e0]
call fcn.140014b20
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xf20]
call fcn.140017ce0
lea rax, str._.log
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x6e0]
lea r8, [0x14003b428]
mov edx, 0x104
lea rcx, [rbp + 0xf20]
call fcn.140014b20
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp + 0x70]
call fcn.140017ce0
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 0x1400134e9
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
lea rcx, [rsp + 0x50]
call fcn.140015550
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x14003a540]
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 0x140012df0
lea rdx, [rbp + 0x9c]
lea rcx, [rsp + 0x70]
call fcn.140002c80
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.140010380
nop
lea rcx, [rsp + 0x70]
call fcn.140002a00
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 0x140012f04
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 0x140012e90
lea rdx, [rbp + 0x9c]
lea rcx, [rsp + 0x70]
call fcn.140002c80
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.140010380
nop
lea rcx, [rsp + 0x70]
call fcn.140002a00
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp + 0x70]
call fcn.140017ce0
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 0x140012e61
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 0x140012f84
mov rbx, qword [rsp + 0x50]
mov rbx, qword [rbx]
lea rax, [rbx + 0x20]
cmp qword [rax + 0x18], 8
jb 0x140012f2e
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.140014b20
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.140015e80
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.140015590
mov rsi, rax
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x50]
mov rbx, qword [rax]
cmp rbx, rax
je 0x1400133d2
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.140014b20
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 0x140013040
lea rdx, [rbp + 0x2c0]
lea rcx, [rbp]
call fcn.140002c80
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 0x140013090
lea rdx, [rbp + 0x2c0]
lea rcx, [rbp - 0x20]
call fcn.140002c80
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 0x1400130c7
mov r14, qword [r14]
cmp r15, 8
jae 0x1400130df
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x50], 7
jmp 0x14001311f
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.140002ab0
mov qword [rbp - 0x68], rax
lea r8, [r15*2 + 2]
mov rdx, r14
mov rcx, rax
call fcn.140017630
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 0x140013150
lea rdx, [rbp + 0x4d0]
lea rcx, [rbp + 0x20]
call fcn.140002c80
nop
lea r8, [rbp - 0x68]
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.14000f960
mov rdi, rax
lea rax, [rbp - 0x40]
cmp rax, rdi
je 0x1400131b1
lea rcx, [rbp - 0x40]
call fcn.140002a00
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 0x1400131f2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400131ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001357b
call fcn.14000e830
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r14w
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x140013244
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001323f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013581
call fcn.14000e830
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x38], 7
mov word [rbp + 0x20], r14w
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x140013295
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013290
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013587
call fcn.14000e830
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.api_ms_win_core_kernel32_legacy_l1_1_0.dll_MoveFileW]
lea rcx, [rsp + 0x60]
test eax, eax
je 0x1400133a3
mov rdi, qword [rsi + 8]
lea r9, [rbp - 0x40]
mov r8, rdi
mov rdx, rsi
call fcn.14000fbb0
movabs rcx, 0x249249249249248
mov rdx, qword [rsp + 0x68]
sub rcx, rdx
cmp rcx, 1
jb 0x14001356e
inc rdx
mov qword [rsp + 0x68], rdx
mov qword [rsi + 8], rax
mov qword [rdi], rax
lea rcx, [rbp]
call fcn.140002a00
nop
lea rcx, [rbp - 0x20]
call fcn.140002a00
nop
lea rcx, [rbp - 0x40]
call fcn.140002a00
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x140013370
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14001336b
cmp rbx, qword [rax + 0x10]
jne 0x14001336b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140013358
mov rbx, rax
jmp 0x14001338f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x14001338f
nop dword [rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140013380
dec r12
mov rsi, qword [rsp + 0x60]
cmp rbx, qword [rsp + 0x50]
je 0x1400133cb
jmp 0x140012fc0
call fcn.140015c30
nop
lea rcx, [rbp]
call fcn.140002a00
nop
lea rcx, [rbp - 0x20]
call fcn.140002a00
nop
lea rcx, [rbp - 0x40]
call fcn.140002a00
mov rsi, qword [rsp + 0x60]
mov r15, qword [rbp + 0x1590]
mov rbx, qword [rsi]
cmp rbx, rsi
je 0x14001340a
nop word [rax + rax]
lea rdx, [rbx + 0x50]
cmp qword [rdx + 0x18], 8
jb 0x1400133ee
mov rdx, qword [rdx]
lea rcx, [rbx + 0x30]
cmp qword [rcx + 0x18], 8
jb 0x1400133fc
mov rcx, qword [rcx]
call qword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_0.dll_MoveFileW]
mov rbx, qword [rbx]
cmp rbx, rsi
jne 0x1400133e0
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 0x14001345f
mov rdi, qword [r14]
lea rbx, [r14 + 0x10]
mov qword [rbp + 0x1590], rbx
lea rcx, [rbx + 0x40]
call fcn.140002a00
nop
lea rcx, [rbx + 0x20]
call fcn.140002a00
nop
mov rcx, rbx
call fcn.140002a00
mov edx, 0x70
mov rcx, r14
call fcn.14000e830
mov r14, rdi
cmp rdi, rsi
jne 0x140013420
mov edx, 0x70
mov rcx, rsi
call fcn.14000e830
nop
mov rax, qword [rsp + 0x50]
mov rsi, rax
mov rdi, qword [rax + 8]
mov rbx, rdi
cmp byte [rdi + 0x19], 0
jne 0x1400134be
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x50]
call fcn.140015770
mov rbx, qword [rbx]
lea rcx, [rdi + 0x20]
mov qword [rbp + 0x1590], rcx
call fcn.140002a00
mov edx, 0x48
mov rcx, rdi
call fcn.14000e830
mov rdi, rbx
cmp byte [rbx + 0x19], 0
je 0x140013482
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.14000e830
xor dil, dil
mov rcx, qword [r15 + 0x230]
test rcx, rcx
je 0x140013507
call fcn.14001f890
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.140014b20
lea rdx, [rbp + 0x1340]
mov rcx, r13
call qword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_0.dll_MoveFileW]
test dil, dil
je 0x140013551
lea r8, str.a_ccsUTF_8
mov rdx, r13
lea rcx, [r15 + 0x230]
call fcn.140020e90
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.14000df60
nop
call fcn.14001bd00
nop
call fcn.14001bd00
nop
call fcn.14001bd00
int3