Function at 0x140007150
Capabilities:
Check if file exists
Delete file
Enumerate files on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f8]
sub rsp, 0x6d0
mov rax, qword [0x140094940]
xor rax, rsp
mov qword [rbp + 0x5c0], rax
mov r13d, r8d
mov esi, edx
mov r14, rcx
mov qword [rsp + 0x48], rcx
mov rcx, qword [str.___t_]
lea rdi, str.___t_
cmp rcx, rdi
je 0x1400071c8
test byte [rcx + 0x1c], 4
je 0x1400071c8
cmp byte [rcx + 0x19], 5
jb 0x1400071c8
mov rcx, qword [rcx + 0x10]
lea r8, [0x140081340]
mov edx, 0x89
call fcn.140001010
xor ebx, ebx
lea rdx, [rsp + 0x50]
mov rcx, r14
mov r12d, ebx
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x140007242
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x140007238
mov rax, qword [str.___t_]
cmp rax, rdi
je 0x140007231
test byte [rax + 0x1c], 4
je 0x140007231
cmp byte [rax + 0x19], 3
jb 0x140007231
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140081340]
mov r9d, eax
mov qword [rsp + 0x20], r14
mov edx, 0x8a
mov rcx, qword [rcx + 0x10]
call fcn.140001064
xor eax, eax
jmp 0x14000760f
mov eax, 1
jmp 0x14000760f
lea rdx, [rbp + 0x3b0]
mov rcx, r14
call fcn.140065318
mov edi, eax
test eax, eax
je 0x140007298
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x14000728e
test byte [rcx + 0x1c], 4
je 0x14000728e
cmp byte [rcx + 0x19], 2
jb 0x14000728e
mov rcx, qword [rcx + 0x10]
lea r8, [0x140081340]
mov edx, 0x8b
mov r9d, edi
call fcn.140001030
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140007231
movabs rax, 0xc92a69c000
lea r14, str.___t_
imul rsi, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [rsp + 0x54]
mov edx, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x34]
shl rcx, 0x20
shl rdx, 0x20
or rdx, rax
mov eax, dword [rsp + 0x30]
or rcx, rax
sub rcx, rdx
cmp rcx, rsi
jbe 0x1400074de
lea rax, [rsp + 0x7c]
mov edx, 0x104
lea r9, [rbp + 0x3b0]
mov qword [rsp + 0x20], rax
lea r8, [0x140080e30]
lea rcx, [rbp + 0x1a0]
call fcn.1400028c0
test eax, eax
jns 0x140007350
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x1400074de
test byte [rcx + 0x1c], 4
je 0x1400074de
cmp byte [rcx + 0x19], 2
jb 0x1400074de
mov rcx, qword [rcx + 0x10]
lea r8, [0x140081340]
mov edx, 0x8c
mov r9d, eax
call fcn.140001030
jmp 0x1400074de
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400073b7
mov rax, qword [str.___t_]
cmp rax, r14
je 0x1400074de
test byte [rax + 0x1c], 4
je 0x1400074de
cmp byte [rax + 0x19], 2
jb 0x1400074de
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r9, [rbp + 0x1a0]
mov edx, 0x8d
mov dword [rsp + 0x20], eax
lea r8, [0x140081340]
mov rcx, qword [rcx + 0x10]
call fcn.140001250
jmp 0x1400074de
mov edx, 0x5c
mov qword [rsp + 0x38], rbx
lea rcx, [rbp + 0x1a0]
lea r12d, [rdx - 0x5b]
call qword [sym.imp.msvcrt.dll_wcsrchr]
mov rdi, rax
test rax, rax
je 0x1400074aa
add rdi, 2
je 0x1400074aa
lea r9, [rsp + 0x38]
mov rdx, rdi
lea r8, [rsp + 0x40]
call fcn.14000883c
test eax, eax
je 0x140007443
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x1400074de
test byte [rcx + 0x1c], 4
je 0x1400074de
cmp byte [rcx + 0x19], 2
jb 0x1400074de
mov rcx, qword [rcx + 0x10]
lea r8, [0x140081340]
mov edx, 0x8f
mov dword [rsp + 0x20], eax
mov r9, rdi
call fcn.140001250
jmp 0x1400074de
mov rdi, qword [rsp + 0x38]
mov eax, r13d
mov rcx, qword [rsp + 0x40]
neg eax
mov r9, rdi
mov r8d, r12d
sbb edx, edx
and edx, 0x20
add edx, 0x20
call fcn.140053a8c
test eax, eax
je 0x14000749a
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x14000749a
test byte [rcx + 0x1c], 4
je 0x14000749a
cmp byte [rcx + 0x19], 2
jb 0x14000749a
mov rcx, qword [rcx + 0x10]
lea r8, [0x140081340]
mov edx, 0x90
movzx r9d, ax
call fcn.1400029b0
test rdi, rdi
je 0x1400074de
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400074de
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x1400074de
test byte [rcx + 0x1c], 4
je 0x1400074de
cmp byte [rcx + 0x19], 2
jb 0x1400074de
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0x1a0]
mov edx, 0x8e
lea r8, [0x140081340]
call fcn.1400011f0
lea rdx, [rsp + 0x50]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400072ad
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14, qword [rsp + 0x48]
mov edi, eax
cmp eax, 0x12
je 0x140007544
mov rcx, qword [str.___t_]
lea rsi, str.___t_
cmp rcx, rsi
je 0x14000754b
test byte [rcx + 0x1c], 4
je 0x14000754b
cmp byte [rcx + 0x19], 2
jb 0x14000754b
mov rcx, qword [rcx + 0x10]
lea r8, [0x140081340]
mov edx, SysAllocStringByteLen
mov qword [rsp + 0x20], r14
mov r9d, eax
call fcn.140001064
jmp 0x14000754b
lea rsi, str.___t_
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
jne 0x14000758d
mov rcx, qword [str.___t_]
cmp rcx, rsi
je 0x14000758d
test byte [rcx + 0x1c], 4
je 0x14000758d
cmp byte [rcx + 0x19], 2
jb 0x14000758d
mov rcx, qword [rcx + 0x10]
lea r8, [0x140081340]
mov edx, SysAllocStringByteLen
mov qword [rsp + 0x20], r14
mov r9d, edi
call fcn.140001064
cmp r12d, 1
jne 0x140007607
lea rcx, [0x140098260]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x140098448]
lea rcx, [0x140098260]
or qword [rax + 0x38], 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x140098008]
call qword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x140007607
mov rax, qword [str.___t_]
cmp rax, rsi
je 0x140007607
test byte [rax + 0x1c], 4
je 0x140007607
cmp byte [rax + 0x19], 2
jb 0x140007607
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140081340]
mov r9d, eax
mov edx, SysAllocStringByteLen
mov rcx, qword [rcx + 0x10]
call fcn.1400029b0
cmp edi, 0x12
sete bl
mov eax, ebx
mov rcx, qword [rbp + 0x5c0]
xor rcx, rsp
call fcn.140077900
lea r11, [rsp + 0x6d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret