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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x14018a090]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rbx, rcx
mov rdx, rcx
cmp qword [rcx + 0x18], 8
jb 0x140025bb0
mov rdx, qword [rcx]
xor esi, esi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], si
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], si
jne 0x140025bd1
lea rcx, [rsp + 0x60]
call fcn.140008ee0
nop
mov qword [rsp + 0x20], rsi
movdqa xmm0, xmmword [0x140167e40]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], si
mov r8d, 1
lea rdx, [0x14015d0e8]
lea rcx, [rsp + 0x20]
call fcn.140008ee0
nop
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140024500
nop
lea rcx, [rsp + 0x60]
cmp rcx, rax
je 0x140025c51
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140025c43
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140008ee0
nop
lea rcx, [rsp + 0x40]
call fcn.140008e70
nop
lea rcx, [rsp + 0x20]
call fcn.140008e70
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
lea rdx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140025dcf
nop
lea rdx, [0x14015d0e0]
lea rcx, [rbp - 0x54]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140025db1
lea rdx, [0x14015d0ec]
lea rcx, [rbp - 0x54]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140025db1
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], si
lea rax, [rbp - 0x54]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140025ce5
lea rdx, [rbp - 0x54]
lea rcx, [rsp + 0x20]
call fcn.140008ee0
nop
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140024500
nop
lea rcx, [rsp + 0x60]
cmp rcx, rax
je 0x140025d38
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140025d2a
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140008ee0
nop
lea rcx, [rsp + 0x40]
call fcn.140008e70
nop
lea rcx, [rsp + 0x20]
call fcn.140008e70
lea rcx, [rsp + 0x60]
test byte [rbp - 0x80], 0x10
je 0x140025d5f
call fcn.140025b70
jmp 0x140025db1
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140025db1
xor r8d, r8d
mov edx, 0x80
lea rcx, [rsp + 0x60]
call fcn.140025970
xor r8d, r8d
mov edx, dword [0x14018acc0]
lea rcx, [rsp + 0x60]
call fcn.140025970
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140025c90
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140025ddc
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp eax, 1
sete dil
je 0x140025e2f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x140025e2f
xor r8d, r8d
lea edx, [rax + 0x7b]
mov rcx, rbx
call fcn.140025970
xor r8d, r8d
mov edx, dword [0x14018acc0]
mov rcx, rbx
call fcn.140025970
cmp qword [rbx + 0x18], 8
jb 0x140025e1f
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp eax, 1
sete dil
lea rcx, [rsp + 0x60]
call fcn.140008e70
movzx eax, dil
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400f9560
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret