Function at 0x140003eea
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
jmp 0x1400351b0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x5d0
mov rdi, rsp
mov ecx, 0x174
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x5e0]
mov rax, qword [0x1401940e8]
xor rax, rsp
mov qword [rsp + 0x5c8], rax
mov qword [rsp + 0x288], 0xffffffffffffffff
lea rcx, [rsp + 0x298]
call fcn.1400036c5
nop
lea r8, [0x1401474b0]
mov rdx, qword [rsp + 0x5e8]
lea rcx, [rsp + 0x2c8]
call fcn.1400024dc
mov qword [rsp + 0x500], rax
mov rcx, qword [rsp + 0x500]
call fcn.140003567
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x288], rax
lea rcx, [rsp + 0x2c8]
call fcn.1400049d0
cmp qword [rsp + 0x288], 0xffffffffffffffff
jne 0x14003527b
lea rcx, [rsp + 0x298]
call fcn.1400049d0
jmp 0x1400357e9
lea rdx, [rsp + 0x5c]
lea rcx, [rsp + 0x298]
call fcn.140003198
lea rdx, [0x1401474b8]
lea rcx, [rsp + 0x298]
call fcn.140003c88
test eax, eax
je 0x1400352bd
lea rdx, [0x1401474bc]
lea rcx, [rsp + 0x298]
call fcn.140003c88
test eax, eax
jne 0x1400352c7
jmp 0x1400356f2
mov eax, dword [rsp + 0x30]
and eax, 0x10
test eax, eax
je 0x140035643
lea r8, str._
mov rdx, qword [rsp + 0x5e8]
lea rcx, [rsp + 0x2f0]
call fcn.1400024dc
mov qword [rsp + 0x508], rax
mov rax, qword [rsp + 0x508]
mov qword [rsp + 0x510], rax
lea r8, [rsp + 0x298]
mov rdx, qword [rsp + 0x510]
lea rcx, [rsp + 0x318]
call fcn.140002e50
mov qword [rsp + 0x518], rax
mov rax, qword [rsp + 0x518]
mov qword [rsp + 0x520], rax
mov rcx, qword [rsp + 0x520]
call fcn.140003567
mov qword [rsp + 0x4e8], rax
lea rcx, [rsp + 0x4e8]
call fcn.140004e67
test eax, eax
je 0x140035372
mov dword [rsp + 0x528], 1
jmp 0x14003537d
mov dword [rsp + 0x528], 0
movzx eax, byte [rsp + 0x528]
mov byte [rsp + 0x4e0], al
lea rcx, [rsp + 0x318]
call fcn.1400049d0
nop
lea rcx, [rsp + 0x2f0]
call fcn.1400049d0
movzx eax, byte [rsp + 0x4e0]
test eax, eax
je 0x140035592
lea r8, [0x1401474c8]
mov rdx, qword [rsp + 0x5e8]
lea rcx, [rsp + 0x340]
call fcn.1400024dc
mov qword [rsp + 0x530], rax
mov rax, qword [rsp + 0x530]
mov qword [rsp + 0x538], rax
lea r8, [rsp + 0x298]
mov rdx, qword [rsp + 0x538]
lea rcx, [rsp + 0x368]
call fcn.140002e50
mov qword [rsp + 0x540], rax
mov rax, qword [rsp + 0x540]
mov qword [rsp + 0x548], rax
mov rcx, qword [rsp + 0x548]
call fcn.140003567
mov rdx, rax
mov rcx, qword [rsp + 0x5e0]
call fcn.140004b6a
nop
lea rcx, [rsp + 0x368]
call fcn.1400049d0
nop
lea rcx, [rsp + 0x340]
call fcn.1400049d0
lea r8, [0x1401474cc]
mov rdx, qword [rsp + 0x5e8]
lea rcx, [rsp + 0x390]
call fcn.1400024dc
mov qword [rsp + 0x550], rax
mov rax, qword [rsp + 0x550]
mov qword [rsp + 0x558], rax
lea r8, [rsp + 0x298]
mov rdx, qword [rsp + 0x558]
lea rcx, [rsp + 0x3b8]
call fcn.140002e50
mov qword [rsp + 0x560], rax
mov rax, qword [rsp + 0x560]
mov qword [rsp + 0x568], rax
mov r8, qword [rsp + 0x5f0]
mov rdx, qword [rsp + 0x568]
mov rcx, qword [rsp + 0x5e0]
call fcn.140003eea
nop
lea rcx, [rsp + 0x3b8]
call fcn.1400049d0
nop
lea rcx, [rsp + 0x390]
call fcn.1400049d0
lea r8, [0x1401474d0]
mov rdx, qword [rsp + 0x5e8]
lea rcx, [rsp + 0x3e0]
call fcn.1400024dc
mov qword [rsp + 0x570], rax
mov rax, qword [rsp + 0x570]
mov qword [rsp + 0x578], rax
lea r8, [rsp + 0x298]
mov rdx, qword [rsp + 0x578]
lea rcx, [rsp + 0x408]
call fcn.140002e50
mov qword [rsp + 0x580], rax
mov rcx, qword [rsp + 0x580]
call fcn.140003567
mov r8d, 4
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
lea rcx, [rsp + 0x408]
call fcn.1400049d0
nop
lea rcx, [rsp + 0x3e0]
call fcn.1400049d0
jmp 0x14003563e
lea r8, [0x1401474d4]
mov rdx, qword [rsp + 0x5e8]
lea rcx, [rsp + 0x430]
call fcn.1400024dc
mov qword [rsp + 0x588], rax
mov rax, qword [rsp + 0x588]
mov qword [rsp + 0x590], rax
lea r8, [rsp + 0x298]
mov rdx, qword [rsp + 0x590]
lea rcx, [rsp + 0x458]
call fcn.140002e50
mov qword [rsp + 0x598], rax
mov rax, qword [rsp + 0x598]
mov qword [rsp + 0x5a0], rax
mov rcx, qword [rsp + 0x5a0]
call fcn.140003567
mov r8, rax
lea rdx, [0x1401474d8]
mov rax, qword [rsp + 0x5e0]
mov rcx, qword [rax]
call fcn.1400051a0
nop
lea rcx, [rsp + 0x458]
call fcn.1400049d0
nop
lea rcx, [rsp + 0x430]
call fcn.1400049d0
jmp 0x1400356f2
lea r8, [0x140147500]
mov rdx, qword [rsp + 0x5e8]
lea rcx, [rsp + 0x480]
call fcn.1400024dc
mov qword [rsp + 0x5a8], rax
mov rax, qword [rsp + 0x5a8]
mov qword [rsp + 0x5b0], rax
lea r8, [rsp + 0x298]
mov rdx, qword [rsp + 0x5b0]
lea rcx, [rsp + 0x4a8]
call fcn.140002e50
mov qword [rsp + 0x5b8], rax
mov rax, qword [rsp + 0x5b8]
mov qword [rsp + 0x5c0], rax
mov rcx, qword [rsp + 0x5c0]
call fcn.140003567
mov qword [rsp + 0x4f0], rax
lea rdx, [rsp + 0x4f0]
mov rcx, qword [rsp + 0x5e0]
call fcn.140002103
nop
lea rcx, [rsp + 0x4a8]
call fcn.1400049d0
nop
lea rcx, [rsp + 0x480]
call fcn.1400049d0
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x288]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14003527b
mov rcx, qword [rsp + 0x288]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x5e8]
call fcn.140003567
mov qword [rsp + 0x4f8], rax
lea rcx, [rsp + 0x4f8]
call fcn.140004e67
mov dword [rsp + 0x4d0], eax
cmp dword [rsp + 0x4d0], 0
je 0x1400357b4
mov rcx, qword [rsp + 0x5e8]
call fcn.140003567
mov r8d, 4
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x4d0], eax
cmp dword [rsp + 0x4d0], 0
je 0x1400357b2
mov rcx, qword [rsp + 0x5e8]
call fcn.140003567
mov r9d, dword [rsp + 0x4d0]
mov r8, rax
lea rdx, str.Folder_not_deleted_:__s___Reason_:__d
mov rax, qword [rsp + 0x5e0]
mov rcx, qword [rax]
call fcn.1400028b0
jmp 0x1400357dc
mov rcx, qword [rsp + 0x5e8]
call fcn.140003567
mov r8, rax
lea rdx, [0x140147508]
mov rax, qword [rsp + 0x5e0]
mov rcx, qword [rax]
call fcn.1400051a0
nop
lea rcx, [rsp + 0x298]
call fcn.1400049d0
mov rcx, rsp
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.140005466
mov rcx, qword [rsp + 0x5c8]
xor rcx, rsp
call fcn.1400023b0
add rsp, 0x5d0
pop rdi
ret