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

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x238]
sub rsp, 0x330
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140108708]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov qword [rsp + 0x40], 7
xor esi, esi
mov qword [rsp + 0x38], rsi
mov word [rsp + 0x28], si
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], rsi
mov word [rsp + 0x48], si
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], rsi
mov word [rsp + 0x68], si
cmp word [rcx], si
jne 0x140024c0c
mov r8d, esi
jmp 0x140024c1b
or r8, 0xffffffffffffffff
inc r8
cmp word [rcx + r8*2], 0
jne 0x140024c10
mov rdx, rcx
lea rcx, [rsp + 0x68]
call fcn.140019520
nop
lea r8, str..
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x78]
call fcn.14001df30
mov rbx, rax
lea rax, [rsp + 0x48]
cmp rax, rbx
je 0x140024c89
mov r8, qword [rsp + 0x60]
cmp r8, 8
jb 0x140024c68
inc r8
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.14001b320
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], rsi
mov word [rsp + 0x48], si
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.1400197a0
nop
mov r8, qword [rbp - 0x60]
cmp r8, 8
jb 0x140024ca3
inc r8
mov rdx, qword [rbp - 0x78]
lea rcx, [rbp - 0x78]
call fcn.14001b320
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
lea rdx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140024f4d
nop dword [rax + rax]
cmp word [rbp - 4], 0x2e
je 0x140024e99
mov qword [rsp + 0x38], rsi
lea rax, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rax, qword [rsp + 0x28]
mov word [rax], si
lea r8, [0x1400eed34]
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x58]
call fcn.14001df30
nop
lea r8, [rbp - 4]
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.14001e010
mov rbx, rax
lea rax, [rsp + 0x28]
cmp rax, rbx
je 0x140024d65
mov r8, qword [rsp + 0x40]
cmp r8, 8
jb 0x140024d44
inc r8
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x28]
call fcn.14001b320
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rsi
mov word [rsp + 0x28], si
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.1400197a0
nop
mov rax, qword [rbp - 0x60]
movabs rbx, 0x7fffffffffffffff
cmp rax, 8
jb 0x140024dc9
inc rax
mov rcx, qword [rbp - 0x78]
cmp rax, rbx
ja 0x140024ec8
add rax, rax
cmp rax, 0x1000
jb 0x140024dc4
test cl, 0x1f
jne 0x140024ec2
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x140024ebc
sub rcx, rax
cmp rcx, 8
jb 0x140024eb6
cmp rcx, 0x27
ja 0x140024eb0
mov rcx, rax
call fcn.140077f98
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], rsi
mov word [rbp - 0x78], si
mov rax, qword [rbp - 0x40]
cmp rax, 8
jb 0x140024e33
inc rax
mov rcx, qword [rbp - 0x58]
cmp rax, rbx
ja 0x140024ee6
add rax, rax
cmp rax, 0x1000
jb 0x140024e2e
test cl, 0x1f
jne 0x140024ee0
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x140024eda
sub rcx, rax
cmp rcx, 8
jb 0x140024ed4
cmp rcx, 0x27
ja 0x140024ece
mov rcx, rax
call fcn.140077f98
lea rcx, [rsp + 0x28]
test byte [rbp - 0x30], 0x10
je 0x140024e5b
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call fcn.140024b90
mov ebx, eax
test eax, eax
jne 0x140024f4f
jmp 0x140024e99
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
mov edx, 0x80
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x140024f43
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140024f43
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, 1
jne 0x140024eec
jmp 0x140024cd0
call fcn.14009eefc
int3
call fcn.14009eefc
int3
call fcn.14009eefc
int3
call fcn.14009eefc
int3
call fcn.14009eefc
nop
call fcn.14009eefc
int3
call fcn.14009eefc
int3
call fcn.14009eefc
int3
call fcn.14009eefc
int3
call fcn.14009eefc
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0x12
jne 0x140024f4f
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rcx, qword [rsp + 0x68]
lea edx, [rax + 0x6e]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x140024f29
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x140024f4f
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x140024f4d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x140024f4f
mov ebx, esi
mov r8, qword [rbp - 0x80]
cmp r8, 8
jb 0x140024f6b
inc r8
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x68]
call fcn.14001b320
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], rsi
mov word [rsp + 0x68], si
mov r8, qword [rsp + 0x60]
cmp r8, 8
jb 0x140024f9a
inc r8
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.14001b320
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], rsi
mov word [rsp + 0x48], si
mov r8, qword [rsp + 0x40]
cmp r8, 8
jb 0x140024fca
inc r8
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x28]
call fcn.14001b320
mov eax, ebx
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.140077880
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret