Function at 0x1400bbf40
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x3a8
mov eax, 4
mov eax, eax
mov ecx, dword [0x1402c15e0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x1402b7818], eax
jle 0x1400bbfb3
lea rcx, [0x1402b7818]
call fcn.14020d554
cmp dword [0x1402b7818], 0xffffffff
jne 0x1400bbfb3
lea rdx, [0x140262320]
lea rcx, [0x1402b7810]
call fcn.14001f5f0
lea rcx, [0x140252ab0]
call fcn.14020d494
nop
lea rcx, [0x1402b7818]
call fcn.14020d4e8
nop
lea r8, [0x1402b7810]
mov rdx, qword [rsp + 0x3b0]
lea rcx, [rsp + 0x38]
call fcn.14002b980
nop
lea rcx, [rsp + 0x38]
call fcn.140013ae0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x150]
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0xffffffffffffffff
jne 0x1400bc048
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 2
je 0x1400bc048
mov dword [rsp + 0x5c], 0
lea rcx, [rsp + 0x38]
call fcn.140026cc0
nop
mov rcx, qword [rsp + 0x3b0]
call fcn.140026cc0
mov eax, dword [rsp + 0x5c]
jmp 0x1400bc2e6
cmp qword [rsp + 0x50], 0xffffffffffffffff
je 0x1400bc27b
lea rax, [rsp + 0x110]
mov qword [rsp + 0x80], rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xb8]
call fcn.14001eac0
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.1400ba460
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0xd0]
call fcn.1400bab10
nop
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0x17c]
cmp eax, 0x2e
je 0x1400bc200
mov eax, dword [rsp + 0x150]
and eax, 0x10
test eax, eax
jne 0x1400bc0e6
mov eax, dword [rsp + 0x150]
and eax, 0x400
test eax, eax
jne 0x1400bc0e6
mov dword [rsp + 0x40], 0
jmp 0x1400bc0ee
mov dword [rsp + 0x40], 1
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x30], al
mov r8w, 0x5c
mov rdx, qword [rsp + 0x3b0]
lea rcx, [rsp + 0xa0]
call fcn.1400bb110
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
lea r8, [rsp + 0x17c]
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x48]
call fcn.14002ba50
nop
lea rcx, [rsp + 0xa0]
call fcn.140026cc0
nop
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1400bc195
lea rax, [rsp + 0xc0]
mov qword [rsp + 0xa8], rax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xa8]
call fcn.14001f4d0
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0xb0]
call fcn.1400bbf40
nop
jmp 0x1400bc1f5
lea rcx, [rsp + 0x48]
call fcn.140013ae0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jne 0x1400bc1f5
mov dword [rsp + 0x64], 0
lea rcx, [rsp + 0x48]
call fcn.140026cc0
nop
lea rcx, [rsp + 0xd0]
call fcn.1400bae70
nop
lea rcx, [rsp + 0x38]
call fcn.140026cc0
nop
mov rcx, qword [rsp + 0x3b0]
call fcn.140026cc0
mov eax, dword [rsp + 0x64]
jmp 0x1400bc2e6
lea rcx, [rsp + 0x48]
call fcn.140026cc0
nop
lea rdx, [rsp + 0x150]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
jne 0x1400bc268
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0x12
je 0x1400bc266
mov dword [rsp + 0x70], 0
lea rcx, [rsp + 0xd0]
call fcn.1400bae70
nop
lea rcx, [rsp + 0x38]
call fcn.140026cc0
nop
mov rcx, qword [rsp + 0x3b0]
call fcn.140026cc0
mov eax, dword [rsp + 0x70]
jmp 0x1400bc2e6
jmp 0x1400bc26d
jmp 0x1400bc0a4
lea rcx, [rsp + 0xd0]
call fcn.1400bae70
nop
mov rcx, qword [rsp + 0x3b0]
call fcn.140013ae0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jne 0x1400bc2c2
mov dword [rsp + 0x78], 0
lea rcx, [rsp + 0x38]
call fcn.140026cc0
nop
mov rcx, qword [rsp + 0x3b0]
call fcn.140026cc0
mov eax, dword [rsp + 0x78]
jmp 0x1400bc2e6
mov dword [rsp + 0x7c], 1
lea rcx, [rsp + 0x38]
call fcn.140026cc0
nop
mov rcx, qword [rsp + 0x3b0]
call fcn.140026cc0
mov eax, dword [rsp + 0x7c]
add rsp, 0x3a8
ret