Function at 0x1400c7cc0
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 [0x14033cf38]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x1403332a0], eax
jle 0x1400c7d33
lea rcx, [0x1403332a0]
call fcn.1402612d8
cmp dword [0x1403332a0], 0xffffffff
jne 0x1400c7d33
lea rdx, [0x1402bb600]
lea rcx, [0x140333298]
call fcn.140013470
lea rcx, [0x1402ad190]
call fcn.140261218
nop
lea rcx, [0x1403332a0]
call fcn.14026126c
nop
lea r8, [0x140333298]
mov rdx, qword [rsp + 0x3b0]
lea rcx, [rsp + 0x38]
call fcn.140039530
nop
lea rcx, [rsp + 0x38]
call fcn.14000f0c0
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 0x1400c7dc8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 2
je 0x1400c7dc8
mov dword [rsp + 0x5c], 0
lea rcx, [rsp + 0x38]
call fcn.1400165c0
nop
mov rcx, qword [rsp + 0x3b0]
call fcn.1400165c0
mov eax, dword [rsp + 0x5c]
jmp 0x1400c8066
cmp qword [rsp + 0x50], 0xffffffffffffffff
je 0x1400c7ffb
lea rax, [rsp + 0x110]
mov qword [rsp + 0x80], rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xb8]
call fcn.140013060
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.1400c6810
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0xd0]
call fcn.1400c6df0
nop
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0x17c]
cmp eax, 0x2e
je 0x1400c7f80
mov eax, dword [rsp + 0x150]
and eax, 0x10
test eax, eax
jne 0x1400c7e66
mov eax, dword [rsp + 0x150]
and eax, 0x400
test eax, eax
jne 0x1400c7e66
mov dword [rsp + 0x40], 0
jmp 0x1400c7e6e
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.1400c7260
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.140039600
nop
lea rcx, [rsp + 0xa0]
call fcn.1400165c0
nop
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1400c7f15
lea rax, [rsp + 0xc0]
mov qword [rsp + 0xa8], rax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xa8]
call fcn.1400133e0
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0xb0]
call fcn.1400c7cc0
nop
jmp 0x1400c7f75
lea rcx, [rsp + 0x48]
call fcn.14000f0c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jne 0x1400c7f75
mov dword [rsp + 0x64], 0
lea rcx, [rsp + 0x48]
call fcn.1400165c0
nop
lea rcx, [rsp + 0xd0]
call fcn.1400c6ff0
nop
lea rcx, [rsp + 0x38]
call fcn.1400165c0
nop
mov rcx, qword [rsp + 0x3b0]
call fcn.1400165c0
mov eax, dword [rsp + 0x64]
jmp 0x1400c8066
lea rcx, [rsp + 0x48]
call fcn.1400165c0
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 0x1400c7fe8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0x12
je 0x1400c7fe6
mov dword [rsp + 0x70], 0
lea rcx, [rsp + 0xd0]
call fcn.1400c6ff0
nop
lea rcx, [rsp + 0x38]
call fcn.1400165c0
nop
mov rcx, qword [rsp + 0x3b0]
call fcn.1400165c0
mov eax, dword [rsp + 0x70]
jmp 0x1400c8066
jmp 0x1400c7fed
jmp 0x1400c7e24
lea rcx, [rsp + 0xd0]
call fcn.1400c6ff0
nop
mov rcx, qword [rsp + 0x3b0]
call fcn.14000f0c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jne 0x1400c8042
mov dword [rsp + 0x78], 0
lea rcx, [rsp + 0x38]
call fcn.1400165c0
nop
mov rcx, qword [rsp + 0x3b0]
call fcn.1400165c0
mov eax, dword [rsp + 0x78]
jmp 0x1400c8066
mov dword [rsp + 0x7c], 1
lea rcx, [rsp + 0x38]
call fcn.1400165c0
nop
mov rcx, qword [rsp + 0x3b0]
call fcn.1400165c0
mov eax, dword [rsp + 0x7c]
add rsp, 0x3a8
ret