Function at 0x14013eed0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x788
mov rax, qword [0x140303f40]
xor rax, rsp
mov qword [rsp + 0x770], rax
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov eax, 0x10
mov eax, eax
mov ecx, dword [0x140316490]
mov rdx, qword gs:[0x58]
add rax, qword [rdx + rcx*8]
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.1402434f0
nop
lea rax, [rsp + 0x560]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rax, [rsp + 0x350]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x7a0]
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x560]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x80]
movzx eax, word [rax]
mov word [rsp + 0x26], ax
mov rax, qword [rsp + 0x50]
movzx ecx, word [rsp + 0x26]
mov word [rax], cx
mov rax, qword [rsp + 0x80]
add rax, 2
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
cmp word [rsp + 0x26], 0
jne 0x14013ef7e
lea rax, [rsp + 0x560]
mov qword [rsp + 0x38], rax
sub qword [rsp + 0x38], 2
add qword [rsp + 0x38], 2
mov rax, qword [rsp + 0x38]
cmp word [rax], 0
jne 0x14013efd8
mov rax, qword [rsp + 0x38]
lea rcx, [0x1402dba38]
mov rdi, rax
mov rsi, rcx
mov ecx, 6
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x7a0]
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x350]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x88]
movzx eax, word [rax]
mov word [rsp + 0x28], ax
mov rax, qword [rsp + 0x58]
movzx ecx, word [rsp + 0x28]
mov word [rax], cx
mov rax, qword [rsp + 0x88]
add rax, 2
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x58]
add rax, 2
mov qword [rsp + 0x58], rax
cmp word [rsp + 0x28], 0
jne 0x14013f02c
lea rax, [rsp + 0x350]
mov qword [rsp + 0x40], rax
sub qword [rsp + 0x40], 2
add qword [rsp + 0x40], 2
mov rax, qword [rsp + 0x40]
cmp word [rax], 0
jne 0x14013f086
mov rax, qword [rsp + 0x40]
lea rcx, [0x1402dba40]
mov rdi, rax
mov rsi, rcx
mov ecx, 4
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x100]
mov rdi, rax
xor eax, eax
mov ecx, 0x250
rep stosb byte [rdi], al
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x560]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0xffffffffffffffff
jne 0x14013f109
mov byte [rsp + 0x21], 0
lea rcx, [rsp + 0xb0]
call fcn.140243630
movzx eax, byte [rsp + 0x21]
jmp 0x14013f432
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0xd8]
call fcn.14013f530
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.14023de80
nop
lea rax, [rsp + 0x350]
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x560]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x90]
movzx eax, word [rax]
mov word [rsp + 0x2a], ax
mov rax, qword [rsp + 0x60]
movzx ecx, word [rsp + 0x2a]
mov word [rax], cx
mov rax, qword [rsp + 0x90]
add rax, 2
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x60]
add rax, 2
mov qword [rsp + 0x60], rax
cmp word [rsp + 0x2a], 0
jne 0x14013f156
lea rdx, [rsp + 0x100]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14013f3b8
lea rdx, [rsp + 0x12c]
lea rcx, [rsp + 0x31]
call fcn.14013f460
movzx eax, al
test eax, eax
je 0x14013f1d6
jmp 0x14013f19d
lea rax, [rsp + 0x350]
mov qword [rsp + 0x48], rax
sub qword [rsp + 0x48], 2
add qword [rsp + 0x48], 2
mov rax, qword [rsp + 0x48]
cmp word [rax], 0
jne 0x14013f1e9
mov rax, qword [rsp + 0x48]
lea rcx, [rsp + 0x12c]
xor edx, edx
movzx edi, word [rcx + rdx*2]
mov word [rax + rdx*2], di
inc rdx
test di, di
jne 0x14013f209
mov eax, dword [rsp + 0x100]
and eax, 0x10
test eax, eax
je 0x14013f2ea
lea rcx, [rsp + 0x350]
call fcn.14013eed0
movzx eax, al
test eax, eax
jne 0x14013f266
mov byte [rsp + 0x22], 0
lea rcx, [rsp + 0x78]
call fcn.14013f5a0
nop
lea rcx, [rsp + 0xb0]
call fcn.140243630
movzx eax, byte [rsp + 0x22]
jmp 0x14013f432
lea rcx, [rsp + 0x350]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea rax, [rsp + 0x560]
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0x350]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xa0]
movzx eax, word [rax]
mov word [rsp + 0x2c], ax
mov rax, qword [rsp + 0x68]
movzx ecx, word [rsp + 0x2c]
mov word [rax], cx
mov rax, qword [rsp + 0xa0]
add rax, 2
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x68]
add rax, 2
mov qword [rsp + 0x68], rax
cmp word [rsp + 0x2c], 0
jne 0x14013f29e
jmp 0x14013f3b6
mov eax, dword [rsp + 0x100]
and eax, 1
test eax, eax
je 0x14013f30c
mov edx, 0x80
lea rcx, [rsp + 0x350]
call qword [sym.imp.ucrtbased.dll__wchmod]
nop
lea rcx, [rsp + 0x350]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14013f345
mov byte [rsp + 0x23], 0
lea rcx, [rsp + 0x78]
call fcn.14013f5a0
nop
lea rcx, [rsp + 0xb0]
call fcn.140243630
movzx eax, byte [rsp + 0x23]
jmp 0x14013f432
lea rax, [rsp + 0x560]
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0x350]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xa8]
movzx eax, word [rax]
mov word [rsp + 0x2e], ax
mov rax, qword [rsp + 0x70]
movzx ecx, word [rsp + 0x2e]
mov word [rax], cx
mov rax, qword [rsp + 0xa8]
add rax, 2
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x70]
add rax, 2
mov qword [rsp + 0x70], rax
cmp word [rsp + 0x2e], 0
jne 0x14013f36f
jmp 0x14013f3e9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x14013f3c5
jmp 0x14013f3ee
mov byte [rsp + 0x24], 0
lea rcx, [rsp + 0x78]
call fcn.14013f5a0
nop
lea rcx, [rsp + 0xb0]
call fcn.140243630
movzx eax, byte [rsp + 0x24]
jmp 0x14013f432
jmp 0x14013f19d
mov rcx, qword [rsp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x14013f407
mov byte [rsp + 0x20], 1
jmp 0x14013f40c
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x25], al
lea rcx, [rsp + 0x78]
call fcn.14013f5a0
nop
lea rcx, [rsp + 0xb0]
call fcn.140243630
movzx eax, byte [rsp + 0x25]
mov rcx, qword [rsp + 0x770]
xor rcx, rsp
call fcn.140254b90
add rsp, 0x788
pop rdi
pop rsi
ret