Function at 0x14002a0e0
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.140026930
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.14005a0f0
test eax, eax
jne 0x14002aae1
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 0x14002aae1
mov eax, dword [r15 + 0x220]
test eax, eax
jle 0x14002a176
cmp dword [rbp + 0x5c], 0
jne 0x14002a17e
shl eax, 0xa
cmp dword [rbp + 0x60], eax
ja 0x14002a17e
test bl, bl
je 0x14002aae1
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xb00]
call fcn.14004b830
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.14004b830
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xd10]
call fcn.14004b830
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1130]
call fcn.14004b830
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.14005a050
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x4d0]
call fcn.14004b830
lea rax, [rbp + 0x8f0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x15a0]
lea r8, [0x140082e78]
mov edx, 0x104
lea rcx, [rbp + 0x4d0]
call fcn.14002c0b0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x6e0]
call fcn.14004b830
lea rax, [rbp + 0xd10]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x4d0]
lea r8, [0x140082e78]
mov edx, 0x104
lea rcx, [rbp + 0x6e0]
call fcn.14002c0b0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xf20]
call fcn.14004b830
lea rax, str._.log
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x6e0]
lea r8, [0x140082e78]
mov edx, 0x104
lea rcx, [rbp + 0xf20]
call fcn.14002c0b0
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp + 0x70]
call fcn.14004b830
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 0x14002aa79
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
lea rcx, [rsp + 0x50]
call fcn.14002cae0
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x1400739d0]
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 0x14002a380
lea rdx, [rbp + 0x9c]
lea rcx, [rsp + 0x70]
call fcn.14000fea0
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.140027a90
nop
lea rcx, [rsp + 0x70]
call fcn.14000f7d0
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 0x14002a494
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 0x14002a420
lea rdx, [rbp + 0x9c]
lea rcx, [rsp + 0x70]
call fcn.14000fea0
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.140027a90
nop
lea rcx, [rsp + 0x70]
call fcn.14000f7d0
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp + 0x70]
call fcn.14004b830
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 0x14002a3f1
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 0x14002a514
mov rbx, qword [rsp + 0x50]
mov rbx, qword [rbx]
lea rax, [rbx + 0x20]
cmp qword [rax + 0x18], 8
jb 0x14002a4be
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.14002c0b0
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.14002d410
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.14002cb20
mov rsi, rax
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x50]
mov rbx, qword [rax]
cmp rbx, rax
je 0x14002a962
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.14002c0b0
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 0x14002a5d0
lea rdx, [rbp + 0x2c0]
lea rcx, [rbp]
call fcn.14000fea0
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 0x14002a620
lea rdx, [rbp + 0x2c0]
lea rcx, [rbp - 0x20]
call fcn.14000fea0
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 0x14002a657
mov r14, qword [r14]
cmp r15, 8
jae 0x14002a66f
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x50], 7
jmp 0x14002a6af
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.14000fc40
mov qword [rbp - 0x68], rax
lea r8, [r15*2 + 2]
mov rdx, r14
mov rcx, rax
call fcn.14004b3c0
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 0x14002a6e0
lea rdx, [rbp + 0x4d0]
lea rcx, [rbp + 0x20]
call fcn.14000fea0
nop
lea r8, [rbp - 0x68]
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.140013f40
mov rdi, rax
lea rax, [rbp - 0x40]
cmp rax, rdi
je 0x14002a741
lea rcx, [rbp - 0x40]
call fcn.14000f7d0
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 0x14002a782
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a77d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ab0b
call fcn.140025d80
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r14w
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x14002a7d4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a7cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ab11
call fcn.140025d80
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x38], 7
mov word [rbp + 0x20], r14w
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x14002a825
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a820
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ab17
call fcn.140025d80
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 0x14002a933
mov rdi, qword [rsi + 8]
lea r9, [rbp - 0x40]
mov r8, rdi
mov rdx, rsi
call fcn.1400272c0
movabs rcx, 0x249249249249248
mov rdx, qword [rsp + 0x68]
sub rcx, rdx
cmp rcx, 1
jb 0x14002aafe
inc rdx
mov qword [rsp + 0x68], rdx
mov qword [rsi + 8], rax
mov qword [rdi], rax
lea rcx, [rbp]
call fcn.14000f7d0
nop
lea rcx, [rbp - 0x20]
call fcn.14000f7d0
nop
lea rcx, [rbp - 0x40]
call fcn.14000f7d0
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x14002a900
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14002a8fb
cmp rbx, qword [rax + 0x10]
jne 0x14002a8fb
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14002a8e8
mov rbx, rax
jmp 0x14002a91f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x14002a91f
nop dword [rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x14002a910
dec r12
mov rsi, qword [rsp + 0x60]
cmp rbx, qword [rsp + 0x50]
je 0x14002a95b
jmp 0x14002a550
call fcn.14002d1c0
nop
lea rcx, [rbp]
call fcn.14000f7d0
nop
lea rcx, [rbp - 0x20]
call fcn.14000f7d0
nop
lea rcx, [rbp - 0x40]
call fcn.14000f7d0
mov rsi, qword [rsp + 0x60]
mov r15, qword [rbp + 0x1590]
mov rbx, qword [rsi]
cmp rbx, rsi
je 0x14002a99a
nop word [rax + rax]
lea rdx, [rbx + 0x50]
cmp qword [rdx + 0x18], 8
jb 0x14002a97e
mov rdx, qword [rdx]
lea rcx, [rbx + 0x30]
cmp qword [rcx + 0x18], 8
jb 0x14002a98c
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 0x14002a970
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 0x14002a9ef
mov rdi, qword [r14]
lea rbx, [r14 + 0x10]
mov qword [rbp + 0x1590], rbx
lea rcx, [rbx + 0x40]
call fcn.14000f7d0
nop
lea rcx, [rbx + 0x20]
call fcn.14000f7d0
nop
mov rcx, rbx
call fcn.14000f7d0
mov edx, 0x70
mov rcx, r14
call fcn.140025d80
mov r14, rdi
cmp rdi, rsi
jne 0x14002a9b0
mov edx, 0x70
mov rcx, rsi
call fcn.140025d80
nop
mov rax, qword [rsp + 0x50]
mov rsi, rax
mov rdi, qword [rax + 8]
mov rbx, rdi
cmp byte [rdi + 0x19], 0
jne 0x14002aa4e
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x50]
call fcn.14002cd00
mov rbx, qword [rbx]
lea rcx, [rdi + 0x20]
mov qword [rbp + 0x1590], rcx
call fcn.14000f7d0
mov edx, 0x48
mov rcx, rdi
call fcn.140025d80
mov rdi, rbx
cmp byte [rbx + 0x19], 0
je 0x14002aa12
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.140025d80
xor dil, dil
mov rcx, qword [r15 + 0x230]
test rcx, rcx
je 0x14002aa97
call fcn.140050d50
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.14002c0b0
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 0x14002aae1
lea r8, str.a_ccsUTF_8
mov rdx, r13
lea rcx, [r15 + 0x230]
call fcn.140054850
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.140022d30
nop
call fcn.14004e3b0
nop
call fcn.14004e3b0
nop
call fcn.14004e3b0
int3