Function at 0x140026a20
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 [0x140189090]
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.1400fb5b0
xor r15d, r15d
mov qword [rsp + 0x48], r15
movdqa xmm0, xmmword [0x140166ab0]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r15w
lea r8d, [r15 + 1]
lea rdx, [0x14015c098]
lea rcx, [rsp + 0x48]
call fcn.140009050
nop
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.140024c30
cmp qword [rax + 0x18], 8
jb 0x140026ab1
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.140008fe0
nop
lea rcx, [rsp + 0x48]
call fcn.140008fe0
mov edi, r15d
cmp qword [rsi + 0x18], 8
jb 0x140026ae3
mov rsi, qword [rsi]
mov qword [rbp - 0x78], r15
movdqa xmm0, xmmword [0x140166ab0]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], r15w
mov r8, 0xffffffffffffffff
inc r8
cmp word [rsi + r8*2], di
jne 0x140026b00
mov rdx, rsi
lea rcx, [rbp - 0x78]
call fcn.140009050
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 0x140026b38
test al, 0x10
jne 0x140026cfe
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 0x140026cfe
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, [0x14015b7e0]
test rax, rax
cmovne rdx, rax
mov qword [rbp - 0x58], r15
movdqa xmm0, xmmword [0x140166ab0]
movdqu xmmword [rbp - 0x48], xmm0
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140026b92
lea rcx, [rbp - 0x58]
call fcn.140009050
lea r8, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae r8, qword [rbp - 0x58]
mov edx, 0x104
lea rcx, [rbp + 0x1c]
call fcn.140100290
lea rcx, [rbp - 0x58]
call fcn.140008fe0
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.140026280
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.140024e70
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 0x140026c50
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x78]
call fcn.140024a70
nop
lea rcx, [rbp - 0x78]
cmp rcx, rax
je 0x140026cf3
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140026ce6
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.140009050
nop
lea rcx, [rbp - 0x38]
call fcn.140008fe0
jmp 0x140026d01
xor sil, sil
cmp r14, 0xffffffffffffffff
jne 0x140026d10
test sil, sil
je 0x140026eb1
lea rdx, [0x14015c090]
lea rcx, [rbp + 0x1c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140026f6d
lea rdx, [0x14015c09c]
lea rcx, [rbp + 0x1c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140026f6d
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 0x140026d62
lea rdx, [rbp + 0x1c]
lea rcx, [rbp - 0x58]
call fcn.140009050
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 0x140026da0
lea rdx, [rbp + 0x1c]
lea rcx, [rsp + 0x28]
call fcn.140009050
nop
lea r8, [rsp + 0x28]
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x78]
call fcn.140024c30
nop
lea rcx, [rsp + 0x28]
call fcn.140008fe0
mov al, 1
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140026df0
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 0x140026e12
test al, al
je 0x140026e0e
mov rax, qword [rcx]
lea rdx, [rbp - 0x58]
call qword [rax]
test eax, eax
je 0x140026e0e
mov al, 1
jmp 0x140026e16
xor al, al
jmp 0x140026e18
test al, al
je 0x140026e18
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 0x140026ee2
mov ecx, dword [rbx + 0x10]
sub ecx, 1
je 0x140026e7b
sub ecx, 1
je 0x140026e6e
cmp ecx, 1
jne 0x140026e7b
mov rcx, qword [r8 + 0x38]
test rcx, rcx
je 0x140026f91
mov rax, qword [rcx]
lea rdx, [rbp + 0x240]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x140026e89
lea rdx, [rbp + 0x240]
mov rcx, qword [rbx + 8]
jmp 0x140026e86
mov rdx, qword [rbx + 8]
lea rcx, [rbp + 0x240]
call r8
cmp eax, 1
jne 0x140026ee5
lea rcx, [rbp - 0x38]
call fcn.140008fe0
nop
lea rcx, [rbp - 0x58]
call fcn.140008fe0
cmp r14, 0xffffffffffffffff
je 0x140026eb1
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rbp - 0x78]
call fcn.140008fe0
mov eax, edi
mov rcx, qword [rbp + 0x258]
xor rcx, rsp
call fcn.1400f89b0
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 0x140026f5a
cmp eax, 2
je 0x140026f5a
lea rdx, [rbp - 0x38]
mov rcx, rbx
call fcn.140026a20
add edi, eax
mov qword [rbp + 0x250], r15
mov byte [rbp + 0x248], 0
mov r8, qword [rbx]
test r8, r8
je 0x140026f5a
mov ecx, dword [rbx + 0x10]
sub ecx, 1
je 0x140026f4b
sub ecx, 1
je 0x140026f3e
cmp ecx, 1
jne 0x140026f4b
mov rcx, qword [r8 + 0x38]
test rcx, rcx
je 0x140026f91
mov rax, qword [rcx]
lea rdx, [rbp + 0x240]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x140026f5a
lea rdx, [rbp + 0x240]
mov rcx, qword [rbx + 8]
jmp 0x140026f56
mov rdx, qword [rbx + 8]
lea rcx, [rbp + 0x240]
call r8
nop
lea rcx, [rbp - 0x38]
call fcn.140008fe0
nop
lea rcx, [rbp - 0x58]
call fcn.140008fe0
cmp r14, 0xffffffffffffffff
je 0x140026eb1
lea rdx, [rbp - 0x10]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140026ea7
jmp 0x140026d10
call fcn.1400f68dc
int3