Function at 0x1400bb180
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 [0x1402b75c0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x1402ad818], eax
jle 0x1400bb1f3
lea rcx, [0x1402ad818]
call fcn.1402046a4
cmp dword [0x1402ad818], 0xffffffff
jne 0x1400bb1f3
lea rdx, [0x140259280]
lea rcx, [0x1402ad810]
call fcn.14001f550
lea rcx, [0x140248f70]
call fcn.1402045e4
nop
lea rcx, [0x1402ad818]
call fcn.140204638
nop
lea r8, [0x1402ad810]
mov rdx, qword [rsp + 0x3b0]
lea rcx, [rsp + 0x38]
call fcn.14002b8d0
nop
lea rcx, [rsp + 0x38]
call fcn.140013a90
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 0x1400bb288
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 2
je 0x1400bb288
mov dword [rsp + 0x5c], 0
lea rcx, [rsp + 0x38]
call fcn.140026c10
nop
mov rcx, qword [rsp + 0x3b0]
call fcn.140026c10
mov eax, dword [rsp + 0x5c]
jmp 0x1400bb526
cmp qword [rsp + 0x50], 0xffffffffffffffff
je 0x1400bb4bb
lea rax, [rsp + 0x110]
mov qword [rsp + 0x80], rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xb8]
call fcn.14001e780
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.1400b96a0
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0xd0]
call fcn.1400b9d50
nop
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0x17c]
cmp eax, 0x2e
je 0x1400bb440
mov eax, dword [rsp + 0x150]
and eax, 0x10
test eax, eax
jne 0x1400bb326
mov eax, dword [rsp + 0x150]
and eax, 0x400
test eax, eax
jne 0x1400bb326
mov dword [rsp + 0x40], 0
jmp 0x1400bb32e
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.1400ba350
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.14002b9a0
nop
lea rcx, [rsp + 0xa0]
call fcn.140026c10
nop
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1400bb3d5
lea rax, [rsp + 0xc0]
mov qword [rsp + 0xa8], rax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xa8]
call fcn.14001f430
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0xb0]
call fcn.1400bb180
nop
jmp 0x1400bb435
lea rcx, [rsp + 0x48]
call fcn.140013a90
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jne 0x1400bb435
mov dword [rsp + 0x64], 0
lea rcx, [rsp + 0x48]
call fcn.140026c10
nop
lea rcx, [rsp + 0xd0]
call fcn.1400ba0b0
nop
lea rcx, [rsp + 0x38]
call fcn.140026c10
nop
mov rcx, qword [rsp + 0x3b0]
call fcn.140026c10
mov eax, dword [rsp + 0x64]
jmp 0x1400bb526
lea rcx, [rsp + 0x48]
call fcn.140026c10
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 0x1400bb4a8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0x12
je 0x1400bb4a6
mov dword [rsp + 0x70], 0
lea rcx, [rsp + 0xd0]
call fcn.1400ba0b0
nop
lea rcx, [rsp + 0x38]
call fcn.140026c10
nop
mov rcx, qword [rsp + 0x3b0]
call fcn.140026c10
mov eax, dword [rsp + 0x70]
jmp 0x1400bb526
jmp 0x1400bb4ad
jmp 0x1400bb2e4
lea rcx, [rsp + 0xd0]
call fcn.1400ba0b0
nop
mov rcx, qword [rsp + 0x3b0]
call fcn.140013a90
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jne 0x1400bb502
mov dword [rsp + 0x78], 0
lea rcx, [rsp + 0x38]
call fcn.140026c10
nop
mov rcx, qword [rsp + 0x3b0]
call fcn.140026c10
mov eax, dword [rsp + 0x78]
jmp 0x1400bb526
mov dword [rsp + 0x7c], 1
lea rcx, [rsp + 0x38]
call fcn.140026c10
nop
mov rcx, qword [rsp + 0x3b0]
call fcn.140026c10
mov eax, dword [rsp + 0x7c]
add rsp, 0x3a8
ret