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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x320]
sub rsp, 0x420
mov rax, qword [0x14017b608]
xor rax, rsp
mov qword [rbp + 0x310], rax
mov rax, qword [rbp + 0x380]
mov rsi, r8
mov r15, qword [rbp + 0x388]
mov r13d, edx
mov qword [rsp + 0x68], rax
mov rdi, rcx
mov qword [rsp + 0x78], r9
mov qword [rsp + 0x70], r8
mov dword [rsp + 0x4c], edx
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x1400f1ed6
test byte [rcx + 0x1c], 1
je 0x1400f1ed6
cmp byte [rcx + 0x19], 5
jb 0x1400f1ed6
mov rcx, qword [rcx + 0x10]
lea r8, [0x140161be8]
mov edx, 0x16
call fcn.140004c10
xor ecx, ecx
lea rax, [rbp - 0x60]
mov qword [rbp - 0x70], rax
mov ebx, ecx
mov eax, dword [rbp - 0x64]
mov r12d, ecx
and eax, 0xfffffffa
mov qword [rsp + 0x58], rcx
or eax, 2
mov qword [rsp + 0x38], rcx
mov dword [rbp - 0x64], eax
lea edx, [rcx + 0x18]
lea rax, [rbp - 0x10]
mov qword [rsp + 0x40], rcx
mov qword [rbp - 0x20], rax
mov r14d, ecx
mov eax, dword [rbp - 0x14]
mov r8d, 0x250
and eax, 0xfffffffa
mov qword [rbp - 0x80], rcx
or eax, 2
mov dword [rbp - 0x78], edx
mov dword [rbp - 0x14], eax
mov eax, r13d
shr eax, 1
and al, 1
mov dword [rbp - 0x68], ecx
mov word [rbp - 0x60], cx
mov qword [rbp - 0x30], rcx
mov dword [rbp - 0x28], edx
xor edx, edx
mov dword [rbp - 0x18], ecx
mov word [rbp - 0x10], cx
mov dword [rsp + 0x34], ecx
lea rcx, [rbp + 0xc0]
mov dword [rsp + 0x50], eax
call sub.msvcrt.dll_memset
mov eax, r13d
mov byte [r15], bl
and eax, 4
mov dword [rsp + 0x48], eax
jne 0x1400f1f78
cmp dword [rdi + 0x10], 0x64
jbe 0x1400f1f78
mov ebx, 0x80070057
jmp 0x1400f24d0
test dword [rdi], 0x400
mov byte [rdi + 0x14], 1
je 0x1400f1fcd
mov rcx, qword [0x14017b048]
lea rsi, [0x14017b048]
cmp rcx, rsi
je 0x1400f24d7
test byte [rcx + 0x1c], 1
je 0x1400f24d7
cmp byte [rcx + 0x19], 5
jb 0x1400f24d7
mov r9, qword [rdi + 8]
lea r8, [0x140161be8]
mov rcx, qword [rcx + 0x10]
mov edx, 0x17
call fcn.140005cd0
jmp 0x1400f24d7
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.1400f187c
mov ebx, eax
test eax, eax
jns 0x1400f2028
mov rcx, qword [0x14017b048]
lea rsi, [0x14017b048]
cmp rcx, rsi
je 0x1400f24d7
test byte [rcx + 0x1c], 1
je 0x1400f24d7
cmp byte [rcx + 0x19], 2
jb 0x1400f24d7
mov rcx, qword [rcx + 0x10]
lea r8, [0x140161be8]
mov edx, 0x18
mov r9d, eax
call fcn.140004c3c
jmp 0x1400f24d7
mov rdx, qword [rdi + 8]
lea rcx, [rbp + 0x70]
call fcn.1400e660c
mov rdx, qword [rsp + 0x58]
lea rcx, [rbp + 0x20]
mov rbx, rax
call fcn.1400e660c
mov rcx, rax
lea r8, [rbp - 0x30]
mov rdx, rbx
call fcn.1400ef354
lea rcx, [rbp + 0x20]
call fcn.1400e692c
lea rcx, [rbp + 0x70]
call fcn.1400e692c
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x30]
call fcn.1400efd28
mov r12, qword [rsp + 0x38]
xor ecx, ecx
mov ebx, eax
test eax, eax
js 0x1400f24d0
or rax, 0xffffffffffffffff
inc rax
cmp word [r12 + rax*2], cx
jne 0x1400f208a
add eax, 0x106
mov r13d, eax
mov qword [rsp + 0x60], r13
lea rbx, [rax*2]
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
jne 0x1400f20ca
mov ebx, 0x8007000e
jmp 0x1400f24d0
mov r8, rbx
xor edx, edx
mov rcx, rsi
call sub.msvcrt.dll_memset
mov r8, r12
mov rdx, r13
mov rcx, rsi
call fcn.14003bd58
xor r9d, r9d
mov ebx, eax
test eax, eax
js 0x1400f24c1
or r8, 0xffffffffffffffff
mov rcx, r8
inc rcx
cmp word [rsi + rcx*2], r9w
jne 0x1400f20f9
mov eax, ecx
mov edx, 0x5c
mov word [rsi + rax*2], dx
lea eax, [rcx + 1]
mov qword [rsp + 0x38], rax
mov word [rsi + rax*2], r9w
test r12, r12
jne 0x1400f212e
mov rax, qword [rbp - 0x70]
mov word [rax], r9w
mov dword [rbp - 0x68], r9d
jmp 0x1400f2144
inc r8
cmp word [r12 + r8*2], r9w
jne 0x1400f212e
mov rdx, r12
lea rcx, [rbp - 0x80]
call fcn.1400e6960
mov r8d, 2
lea rdx, [0x14015a10c]
lea rcx, [rbp - 0x80]
call fcn.1400e6c20
mov rcx, qword [rbp - 0x70]
lea rdx, [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
nop dword [rax + rax]
mov r13, rax
cmp rax, 0xffffffffffffffff
jne 0x1400f21e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
cmp eax, 2
je 0x1400f21db
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x1400f21c8
test byte [rcx + 0x1c], 1
je 0x1400f21c8
cmp byte [rcx + 0x19], 2
jb 0x1400f21c8
mov r9, qword [rbp - 0x70]
lea edx, [r13 + 0x1a]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140161be8]
mov dword [rsp + 0x20], edi
call fcn.140005d40
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
jmp 0x1400f24c1
xor eax, eax
mov ebx, eax
jmp 0x1400f24c1
xor ecx, ecx
cmp word [rbp + 0xec], 0x2e
movzx eax, word [rbp + 0xee]
jne 0x1400f221d
test ax, ax
je 0x1400f23ea
cmp word [rbp + 0xec], 0x2e
jne 0x1400f221d
cmp ax, 0x2e
jne 0x1400f221d
cmp word [rbp + 0xf0], cx
je 0x1400f23ea
mov rax, qword [rsp + 0x38]
lea r8, [rbp + 0xec]
mov rdx, qword [rsp + 0x60]
mov word [rsi + rax*2], cx
mov rcx, rsi
call fcn.140053464
xor ecx, ecx
mov ebx, eax
test eax, eax
js 0x1400f24af
mov edx, dword [rbp + 0xc0]
mov eax, edx
and eax, 0x410
cmp eax, 0x10
jne 0x1400f2367
cmp dword [rsp + 0x48], ecx
jne 0x1400f22bc
cmp dword [rdi + 0x10], 0x64
jne 0x1400f22bc
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x1400f23ea
test byte [rcx + 0x1c], 1
je 0x1400f23ea
cmp byte [rcx + 0x19], 3
jb 0x1400f23ea
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0xec]
mov edx, 0x1a
mov dword [rsp + 0x20], 0x64
lea r8, [0x140161be8]
call fcn.140005d40
jmp 0x1400f23ea
test byte [rsp + 0x4c], 8
jne 0x1400f2314
cmp dword [rsp + 0x34], 0x64
jb 0x1400f2314
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x1400f2307
test byte [rcx + 0x1c], 1
je 0x1400f2307
cmp byte [rcx + 0x19], 4
jb 0x1400f2307
mov rcx, qword [rcx + 0x10]
lea r8, [0x140161be8]
mov edx, 0x1b
mov qword [rsp + 0x20], r12
lea r9d, [rdx + 0x49]
call fcn.1400103b0
mov rax, qword [rsp + 0x68]
mov byte [rax], 1
jmp 0x1400f23ea
mov r8d, dword [rdi + 0x10]
lea r9, [rsp + 0x40]
inc r8d
lea rcx, [rbp + 0xec]
call fcn.1400f13d4
mov r14, qword [rsp + 0x40]
mov ebx, eax
xor eax, eax
test ebx, ebx
js 0x1400f246d
mov rcx, qword [rsp + 0x70]
mov rdx, r14
call fcn.1400f14c8
mov ebx, eax
xor eax, eax
test ebx, ebx
js 0x1400f246d
inc dword [rsp + 0x34]
mov r14d, eax
mov qword [rsp + 0x40], rax
jmp 0x1400f23ea
lea r8, [rsp + 0x30]
mov byte [rsp + 0x30], 1
lea rdx, [rbp + 0xc0]
mov rcx, rsi
call fcn.1400f1b04
xor ecx, ecx
mov ebx, eax
test eax, eax
jns 0x1400f23e2
mov al, byte [rsp + 0x30]
mov byte [r15], al
cmp byte [rsp + 0x50], cl
je 0x1400f2472
test al, al
je 0x1400f2472
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x1400f23dc
test byte [rcx + 0x1c], 1
je 0x1400f23dc
cmp byte [rcx + 0x19], 4
jb 0x1400f23dc
mov rcx, qword [rcx + 0x10]
lea r8, [0x140161be8]
mov edx, 0x1c
mov dword [rsp + 0x20], ebx
mov r9, rsi
call fcn.140005d40
xor eax, eax
mov ebx, eax
jmp 0x1400f23ea
mov rax, qword [rsp + 0x78]
inc qword [rax]
lea rdx, [rbp + 0xc0]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [rax + rax]
xor ecx, ecx
test eax, eax
jne 0x1400f21e6
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
cmp eax, 0x12
je 0x1400f24b2
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x1400f245d
test byte [rcx + 0x1c], 1
je 0x1400f245d
cmp byte [rcx + 0x19], 2
jb 0x1400f245d
mov r9, qword [rbp - 0x70]
lea r8, [0x140161be8]
mov rcx, qword [rcx + 0x10]
mov edx, 0x1e
mov dword [rsp + 0x20], edi
call fcn.140005d40
movzx ebx, di
xor eax, eax
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
mov byte [r15], al
jmp 0x1400f24b2
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x1400f24b2
test byte [rcx + 0x1c], 1
je 0x1400f24b2
cmp byte [rcx + 0x19], 2
jb 0x1400f24b2
mov rcx, qword [rcx + 0x10]
lea r8, [0x140161be8]
mov edx, 0x1d
mov dword [rsp + 0x20], ebx
mov r9, rsi
call fcn.140005d40
jmp 0x1400f24b2
mov byte [r15], cl
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
lea rsi, [0x14017b048]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
mov rcx, r12
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
xor edi, edi
test r14, r14
je 0x1400f251a
mov rcx, qword [r14 + 8]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
mov rcx, r14
mov qword [r14 + 8], rdi
call fcn.14014b728
mov rcx, qword [0x14017b048]
cmp rcx, rsi
je 0x1400f2547
test byte [rcx + 0x1c], 1
je 0x1400f2547
cmp byte [rcx + 0x19], 5
jb 0x1400f2547
mov rcx, qword [rcx + 0x10]
lea r8, [0x140161be8]
mov edx, 0x1f
call fcn.140004c10
lea rcx, [rbp - 0x30]
call fcn.1400e692c
lea rcx, [rbp - 0x80]
call fcn.1400e692c
mov eax, ebx
mov rcx, qword [rbp + 0x310]
xor rcx, rsp
call fcn.14014bb60
mov rbx, qword [rsp + 0x468]
add rsp, 0x420
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret