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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x410]
sub rsp, 0x510
mov rax, qword [0x1404b0028]
xor rax, rsp
mov qword [rbp + 0x400], rax
mov r12, rcx
mov rdx, rcx
lea rcx, [rsp + 0x38]
call fcn.140021ab0
nop
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x48]
call fcn.1402d1c50
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp + 0x198]
call fcn.1402d1c50
mov qword [rbp + 0x3e8], 0
mov edx, 1
lea ecx, [rdx + 9]
call fcn.1402deebc
add rax, 8
mov qword [rbp + 0x3e8], rax
mov qword [rsp + 0x40], 0
mov dword [rbp + 0x3f0], 1
mov edx, 1
lea ecx, [rdx + 9]
call fcn.1402deebc
add rax, 8
mov qword [rsp + 0x30], rax
mov rbx, qword [rsp + 0x38]
lea r15, [rbx - 8]
mov edx, dword [r15]
add edx, 3
lea rcx, [rsp + 0x30]
call fcn.14001e440
mov eax, dword [r15]
add eax, eax
movsxd r8, eax
mov rdx, rbx
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call fcn.1402d15b0
movsxd rax, dword [r15]
lea rcx, [rdi + rax*2]
mov rax, qword [0x140471540]
mov dword [rcx], eax
movzx eax, word [0x140471544]
mov word [rcx + 4], ax
mov rdx, 0xffffffffffffffff
nop dword [rax + rax]
inc rdx
cmp word [rdi + rdx*2], 0
jne 0x140021690
lea rcx, [rbp + 0x3e8]
call fcn.14001e440
mov rcx, qword [rbp + 0x3e8]
mov eax, dword [rcx - 8]
lea eax, [rax*2 + 2]
movsxd r8, eax
mov rdx, rdi
call fcn.1402d15b0
mov edx, 1
lea ecx, [rdx + 9]
call fcn.1402deebc
add rax, 8
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x3e8]
mov edx, dword [rax - 8]
lea rcx, [rsp + 0x20]
call fcn.14001e440
mov rdx, qword [rbp + 0x3e8]
mov eax, dword [rdx - 8]
add eax, eax
movsxd r8, eax
mov rcx, qword [rsp + 0x20]
call fcn.1402d15b0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.14001da90
lea rdx, [rbp + 0x198]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x14002173c
lea rcx, [rax - 8]
call fcn.1402d83b4
mov rdx, qword [rbp + 0x3e8]
lea rcx, [rsp + 0x20]
call fcn.140021d70
mov rbx, rax
mov rcx, qword [rax]
mov edx, dword [rcx - 8]
lea rcx, [rbp + 0x3e8]
call fcn.14001e440
mov rdx, qword [rbx]
mov eax, dword [rdx - 8]
add eax, eax
movsxd r8, eax
mov rcx, qword [rbp + 0x3e8]
call fcn.1402d15b0
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x14002178c
lea rcx, [rax - 8]
call fcn.1402d83b4
cmp qword [rsp + 0x40], 0xffffffffffffffff
jne 0x1400217a0
xor ecx, ecx
mov qword [rsp + 0x40], rcx
jmp 0x140021a15
lea rcx, [rsp + 0x48]
lea rax, [rbp + 0x198]
mov edx, 4
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rdx, 1
jne 0x1400217b1
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
lea rdx, [rbp + 0x198]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov r14d, eax
cmp word [rsp + 0x74], 0x2e
jne 0x140021866
movzx ecx, word [rsp + 0x76]
test cx, cx
je 0x140021a07
cmp cx, 0x2e
jne 0x140021866
cmp word [rsp + 0x78], 0
je 0x140021a07
mov edx, 1
lea ecx, [rdx + 9]
test byte [rsp + 0x48], 0x10
je 0x1400218fd
call fcn.1402deebc
add rax, 8
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x74]
mov rsi, 0xffffffffffffffff
inc rsi
cmp word [rax + rsi*2], 0
jne 0x140021893
mov rax, qword [rbp + 0x3e8]
mov edx, dword [rax - 8]
add edx, esi
lea rcx, [rsp + 0x20]
call fcn.14001e440
mov rdx, qword [rbp + 0x3e8]
mov eax, dword [rdx - 8]
add eax, eax
movsxd r8, eax
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call fcn.1402d15b0
mov rax, qword [rbp + 0x3e8]
movsxd rcx, dword [rax - 8]
lea eax, [rsi + rsi]
movsxd r8, eax
lea rcx, [rbx + rcx*2]
lea rdx, [rsp + 0x74]
call fcn.1402d15b0
nop
mov rcx, rbx
call fcn.140021580
nop
jmp 0x1400219f9
call fcn.1402deebc
add rax, 8
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x74]
mov rsi, 0xffffffffffffffff
nop word [rax + rax]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x140021920
mov rax, qword [rbp + 0x3e8]
mov edx, dword [rax - 8]
add edx, esi
lea rcx, [rsp + 0x20]
call fcn.14001e440
mov rdx, qword [rbp + 0x3e8]
mov eax, dword [rdx - 8]
add eax, eax
movsxd r8, eax
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call fcn.1402d15b0
mov rax, qword [rbp + 0x3e8]
movsxd rcx, dword [rax - 8]
lea eax, [rsi + rsi]
movsxd r8, eax
lea rcx, [rbx + rcx*2]
lea rdx, [rsp + 0x74]
call fcn.1402d15b0
mov rcx, rbx
call fcn.1400214e0
mov edx, 1
lea ecx, [rdx + 9]
call fcn.1402deebc
add rax, 8
mov qword [rsp + 0x20], rax
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rbx + rdx*2], 0
jne 0x1400219a0
lea rcx, [rsp + 0x20]
call fcn.14001e440
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx - 8]
lea eax, [rax*2 + 2]
movsxd r8, eax
mov rdx, rbx
call fcn.1402d15b0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.14001da90
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x1400219f9
lea rcx, [rax - 8]
call fcn.1402d83b4
test rbx, rbx
je 0x140021a07
lea rcx, [rbx - 8]
call fcn.1402d83b4
test r14d, r14d
jne 0x1400217a0
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140021a29
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rsp + 0x40], 0
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, r12
call fcn.14001ddd0
nop
test rdi, rdi
je 0x140021a4c
lea rcx, [rdi - 8]
call fcn.1402d83b4
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140021a5c
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbp + 0x3e8]
test rcx, rcx
je 0x140021a72
add rcx, 0xfffffffffffffff8
call fcn.1402d83b4
nop
mov rcx, r15
call fcn.1402d83b4
mov eax, 1
mov rcx, qword [rbp + 0x400]
xor rcx, rsp
call fcn.140048b40
lea r11, [rsp + 0x510]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret