Function at 0x14001f580
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x140075238]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rsi, rcx
xor edi, edi
mov dword [rsp + 0x20], edi
mov rbx, qword [rcx + 0x10]
test rbx, rbx
je 0x14001fa58
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp - 0x70]
call fcn.14002f630
nop
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], di
mov dword [rsp + 0x20], 4
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x48]
call fcn.14000efa0
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14001f616
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x48]
call fcn.14000b0e0
mov r8d, 1
lea rdx, [0x140057260]
lea rcx, [rsp + 0x48]
call fcn.14000b0e0
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
lea rdx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r13, rax
mov ebx, edi
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x14001f69d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f698
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001fa90
call fcn.14002cf0c
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], di
cmp r13, 0xffffffffffffffff
je 0x14001fa58
mov r12d, edi
nop dword [rax]
test byte [rbp - 0x70], 0x10
je 0x14001f93d
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], di
lea rax, [rbp - 0x44]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14001f6f0
lea rdx, [rbp - 0x44]
lea rcx, [rsp + 0x68]
call fcn.14000b3c0
nop
or ebx, 1
mov dword [rsp + 0x20], ebx
lea r8, [rsp + 0x68]
mov r14, qword [rsp + 0x68]
mov r15, qword [rbp - 0x80]
cmp r15, 8
cmovae r8, r14
cmp qword [rsp + 0x78], 1
jne 0x14001f767
mov edx, 1
lea rax, [0x140056e40]
mov rcx, rax
sub r8, rax
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x14001f767
add rcx, 2
sub rdx, 1
jne 0x14001f741
mov r10, qword [rsp + 0x40]
mov r9, qword [rsp + 0x28]
xor dil, dil
jmp 0x14001f7ee
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], di
lea rax, [rbp - 0x44]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14001f785
lea rdx, [rbp - 0x44]
lea rcx, [rsp + 0x28]
call fcn.14000b3c0
or ebx, 2
lea r8, [rsp + 0x28]
mov r9, qword [rsp + 0x28]
mov r10, qword [rsp + 0x40]
cmp r10, 8
cmovae r8, r9
cmp qword [rsp + 0x38], 2
jne 0x14001f7eb
mov edx, 2
lea rax, [0x140057264]
mov rcx, rax
sub r8, rax
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x14001f7eb
add rcx, 2
sub rdx, 1
jne 0x14001f7d2
xor dil, dil
jmp 0x14001f7ee
mov dil, 1
test bl, 2
je 0x14001f832
and ebx, 0xfffffffd
cmp r10, 8
jb 0x14001f832
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x14001f829
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001fa96
mov rcx, r9
call fcn.14002cf0c
nop
test bl, 1
je 0x14001f875
and ebx, 0xfffffffe
cmp r15, 8
jb 0x14001f875
lea rdx, [r15*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x14001f86d
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001fa9c
mov rcx, r14
call fcn.14002cf0c
test dil, dil
je 0x14001f9c9
xor edi, edi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], di
or ebx, 8
mov dword [rsp + 0x20], ebx
mov rdx, qword [rsi + 0x10]
inc rdx
lea rcx, [rsp + 0x28]
call fcn.14000efa0
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14001f8b8
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x28]
call fcn.14000b0e0
mov r8d, 1
lea rdx, [0x140054bf4]
lea rcx, [rsp + 0x28]
call fcn.14000b0e0
lea rcx, [rsp + 0x28]
call fcn.14001f580
mov r12d, eax
and ebx, 0xfffffff7
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x14001f92f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f92a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001faa2
call fcn.14002cf0c
test r12d, r12d
je 0x14001fa1a
jmp 0x14001f9cb
lea r8, [rbp - 0x44]
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.140001c40
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov r12d, eax
mov rdx, qword [rsp + 0x40]
test eax, eax
je 0x14001f9e1
cmp rdx, 8
jb 0x14001f9cb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f9c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001fa8a
call fcn.14002cf0c
jmp 0x14001f9cb
xor edi, edi
lea rdx, [rbp - 0x70]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14001fa1a
jmp 0x14001f6c0
cmp rdx, 8
jb 0x14001fa1a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001fa15
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001fa8a
call fcn.14002cf0c
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14001fa30
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x14001fa53
cmp qword [rsi + 0x18], 8
jb 0x14001fa44
mov rsi, qword [rsi]
xor edx, edx
lea r8d, [rdx + 4]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, r12d
jmp 0x14001fa5a
xor eax, eax
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.14002d580
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14003350c
int3
call fcn.14003350c
nop
call fcn.14003350c
nop
call fcn.14003350c
int3
call fcn.14003350c
int3