Function at 0x1400266a0
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov rax, qword [0x14018a090]
xor rax, rsp
mov qword [rbp + 0x258], rax
mov rsi, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp - 0x10]
call fcn.1400fc160
xor r15d, r15d
mov qword [rsp + 0x48], r15
movdqa xmm0, xmmword [0x140167e40]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r15w
lea r8d, [r15 + 1]
lea rdx, [0x14015d0e8]
lea rcx, [rsp + 0x48]
call fcn.140008ee0
nop
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.140024500
cmp qword [rax + 0x18], 8
jb 0x140026731
mov rax, qword [rax]
lea rdx, [rbp - 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r14, rax
lea rcx, [rsp + 0x68]
call fcn.140008e70
nop
lea rcx, [rsp + 0x48]
call fcn.140008e70
mov edi, r15d
cmp qword [rsi + 0x18], 8
jb 0x140026763
mov rsi, qword [rsi]
mov qword [rbp - 0x78], r15
movdqa xmm0, xmmword [0x140167e40]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], r15w
mov r8, 0xffffffffffffffff
inc r8
cmp word [rsi + r8*2], di
jne 0x140026780
mov rdx, rsi
lea rcx, [rbp - 0x78]
call fcn.140008ee0
nop
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400267b8
test al, 0x10
jne 0x14002697e
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rcx, qword [rbp - 0x78]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x14002697e
movzx esi, al
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rcx, qword [rbp - 0x78]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea rdx, [0x14015c818]
test rax, rax
cmovne rdx, rax
mov qword [rbp - 0x58], r15
movdqa xmm0, xmmword [0x140167e40]
movdqu xmmword [rbp - 0x48], xmm0
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140026812
lea rcx, [rbp - 0x58]
call fcn.140008ee0
lea r8, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae r8, qword [rbp - 0x58]
mov edx, 0x104
lea rcx, [rbp + 0x1c]
call fcn.140100e40
lea rcx, [rbp - 0x58]
call fcn.140008e70
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rbp - 0x10], eax
lea rcx, [rbp - 0x78]
call fcn.140025ef0
mov dword [rbp + 0x10], eax
shr rax, 0x20
mov dword [rbp + 0xc], eax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x240], xmm0
mov qword [rbp + 0x250], rax
lea rax, [rbp - 0xc]
mov qword [rbp - 0x58], rax
lea rax, [rbp - 4]
mov qword [rbp - 0x50], rax
lea rax, [rbp + 4]
mov qword [rbp - 0x48], rax
lea r9, [rbp + 0x250]
lea r8, [rbp + 0x248]
lea rdx, [rbp + 0x240]
lea rcx, [rbp - 0x78]
call fcn.140024740
mov r8d, r15d
mov rdx, r15
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rbp + rdx + 0x240]
mov dword [rsp + 0x20], eax
shr rax, 0x20
mov dword [rsp + 0x24], eax
mov rcx, qword [rbp + rdx - 0x58]
mov rax, qword [rsp + 0x20]
mov qword [rcx], rax
mov rax, qword [rbp + rdx + 0x248]
mov dword [rsp + 0x20], eax
shr rax, 0x20
mov dword [rsp + 0x24], eax
mov rcx, qword [rbp + rdx - 0x50]
mov rax, qword [rsp + 0x20]
mov qword [rcx], rax
mov rax, qword [rbp + rdx + 0x250]
mov dword [rsp + 0x20], eax
shr rax, 0x20
mov dword [rsp + 0x24], eax
mov rcx, qword [rbp + rdx - 0x48]
mov rax, qword [rsp + 0x20]
mov qword [rcx], rax
add r8d, 3
lea rdx, [rdx + 0x18]
cmp r8d, 3
jb 0x1400268d0
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x78]
call fcn.140024330
nop
lea rcx, [rbp - 0x78]
cmp rcx, rax
je 0x140026973
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140026966
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.140008ee0
nop
lea rcx, [rbp - 0x38]
call fcn.140008e70
jmp 0x140026981
xor sil, sil
cmp r14, 0xffffffffffffffff
jne 0x140026990
test sil, sil
je 0x140026b31
lea rdx, [0x14015d0e0]
lea rcx, [rbp + 0x1c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140026bed
lea rdx, [0x14015d0ec]
lea rcx, [rbp + 0x1c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140026bed
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], r15w
lea rax, [rbp + 0x1c]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400269e2
lea rdx, [rbp + 0x1c]
lea rcx, [rbp - 0x58]
call fcn.140008ee0
nop
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], r15w
lea rax, [rbp + 0x1c]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x140026a20
lea rdx, [rbp + 0x1c]
lea rcx, [rsp + 0x28]
call fcn.140008ee0
nop
lea r8, [rsp + 0x28]
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x78]
call fcn.140024500
nop
lea rcx, [rsp + 0x28]
call fcn.140008e70
mov al, 1
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140026a70
mov rax, qword [rcx]
lea rdx, [rbp - 0x58]
call qword [rax]
test eax, eax
sete al
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140026a92
test al, al
je 0x140026a8e
mov rax, qword [rcx]
lea rdx, [rbp - 0x58]
call qword [rax]
test eax, eax
je 0x140026a8e
mov al, 1
jmp 0x140026a96
xor al, al
jmp 0x140026a98
test al, al
je 0x140026a98
inc edi
lea rcx, [rbp - 0x38]
mov qword [rbp + 0x240], rcx
mov byte [rbp + 0x248], al
lea rax, [rbp - 0x10]
mov qword [rbp + 0x250], rax
mov r8, qword [rbx]
test r8, r8
je 0x140026b62
mov ecx, dword [rbx + 0x10]
sub ecx, 1
je 0x140026afb
sub ecx, 1
je 0x140026aee
cmp ecx, 1
jne 0x140026afb
mov rcx, qword [r8 + 0x38]
test rcx, rcx
je 0x140026c11
mov rax, qword [rcx]
lea rdx, [rbp + 0x240]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x140026b09
lea rdx, [rbp + 0x240]
mov rcx, qword [rbx + 8]
jmp 0x140026b06
mov rdx, qword [rbx + 8]
lea rcx, [rbp + 0x240]
call r8
cmp eax, 1
jne 0x140026b65
lea rcx, [rbp - 0x38]
call fcn.140008e70
nop
lea rcx, [rbp - 0x58]
call fcn.140008e70
cmp r14, 0xffffffffffffffff
je 0x140026b31
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rbp - 0x78]
call fcn.140008e70
mov eax, edi
mov rcx, qword [rbp + 0x258]
xor rcx, rsp
call fcn.1400f9560
mov rbx, qword [rsp + 0x3a0]
add rsp, 0x360
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov eax, r15d
test byte [rbp - 0x10], 0x10
je 0x140026bda
cmp eax, 2
je 0x140026bda
lea rdx, [rbp - 0x38]
mov rcx, rbx
call fcn.1400266a0
add edi, eax
mov qword [rbp + 0x250], r15
mov byte [rbp + 0x248], 0
mov r8, qword [rbx]
test r8, r8
je 0x140026bda
mov ecx, dword [rbx + 0x10]
sub ecx, 1
je 0x140026bcb
sub ecx, 1
je 0x140026bbe
cmp ecx, 1
jne 0x140026bcb
mov rcx, qword [r8 + 0x38]
test rcx, rcx
je 0x140026c11
mov rax, qword [rcx]
lea rdx, [rbp + 0x240]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x140026bda
lea rdx, [rbp + 0x240]
mov rcx, qword [rbx + 8]
jmp 0x140026bd6
mov rdx, qword [rbx + 8]
lea rcx, [rbp + 0x240]
call r8
nop
lea rcx, [rbp - 0x38]
call fcn.140008e70
nop
lea rcx, [rbp - 0x58]
call fcn.140008e70
cmp r14, 0xffffffffffffffff
je 0x140026b31
lea rdx, [rbp - 0x10]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140026b27
jmp 0x140026990
call fcn.1400f748c
int3