Function at 0x140026f60
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 [0x1401c6780]
xor rax, rsp
mov qword [rbp + 0x258], rax
mov rsi, rdx
mov rbx, rcx
xor r15d, r15d
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp - 0x10]
call fcn.140152f80
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
lea r8d, [r15 + 1]
lea rdx, [0x140190ae8]
lea rcx, [rsp + 0x48]
call fcn.14000c0c0
nop
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.140024af0
cmp qword [rax + 0x18], 7
jbe 0x140026fe9
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.140009810
nop
lea rcx, [rsp + 0x48]
call fcn.140009810
mov edi, r15d
cmp qword [rsi + 0x18], 7
jbe 0x14002701b
mov rsi, qword [rsi]
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
mov r8, 0xffffffffffffffff
inc r8
cmp word [rsi + r8*2], di
jne 0x140027031
mov rdx, rsi
lea rcx, [rbp - 0x78]
call fcn.14000c0c0
nop
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 7
cmova rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140027069
test al, 0x10
jne 0x14002722e
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 7
cmova rcx, qword [rbp - 0x78]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x14002722e
movzx esi, al
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 7
cmova rcx, qword [rbp - 0x78]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea rdx, [0x140190230]
test rax, rax
cmovne rdx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400270c1
lea rcx, [rbp - 0x58]
call fcn.14000c0c0
lea r8, [rbp - 0x58]
cmp qword [rbp - 0x40], 7
cmova r8, qword [rbp - 0x58]
mov edx, 0x104
lea rcx, [rbp + 0x1c]
call fcn.140129ccc
lea rcx, [rbp - 0x58]
call fcn.140009810
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 7
cmova rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rbp - 0x10], eax
lea rcx, [rbp - 0x78]
call fcn.1400267d0
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.140024d40
mov r8d, r15d
mov rdx, r15
nop dword [rax]
nop word [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 0x140027180
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x78]
call fcn.1400248f0
nop
lea rcx, [rbp - 0x78]
cmp rcx, rax
je 0x140027223
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x140027216
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.14000a690
nop
lea rcx, [rbp - 0x38]
call fcn.140009810
jmp 0x140027231
xor sil, sil
cmp r14, 0xffffffffffffffff
jne 0x140027240
test sil, sil
je 0x1400273f6
lea rdx, [0x140190adc]
lea rcx, [rbp + 0x1c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1400274b9
lea rdx, [0x140190ae0]
lea rcx, [rbp + 0x1c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1400274b9
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], r15
lea rax, [rbp + 0x1c]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140027290
lea rdx, [rbp + 0x1c]
lea rcx, [rbp - 0x58]
call fcn.14000c0c0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], r15
lea rax, [rbp + 0x1c]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400272d0
lea rdx, [rbp + 0x1c]
lea rcx, [rsp + 0x28]
call fcn.14000c0c0
nop
lea r8, [rsp + 0x28]
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x78]
call fcn.140024af0
nop
lea rcx, [rsp + 0x28]
call fcn.140009810
mov al, 1
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140027327
mov rax, qword [rcx]
lea rdx, [rbp - 0x58]
mov rax, qword [rax]
call qword [case.0x14000aed8.0]
test eax, eax
sete al
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140027350
test al, al
je 0x14002734c
mov rax, qword [rcx]
lea rdx, [rbp - 0x58]
mov rax, qword [rax]
call qword [case.0x14000aed8.0]
test eax, eax
je 0x14002734c
mov al, 1
jmp 0x140027354
xor al, al
jmp 0x140027356
test al, al
je 0x140027356
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 0x140027427
mov ecx, dword [rbx + 0x10]
sub ecx, 1
je 0x1400273ba
sub ecx, 1
je 0x1400273ad
cmp ecx, 1
jne 0x1400273ba
mov rcx, qword [r8 + 0x38]
test rcx, rcx
je 0x1400274dd
mov rax, qword [rcx]
lea rdx, [rbp + 0x240]
mov rax, qword [rax + 0x10]
jmp 0x1400273c8
lea rdx, [rbp + 0x240]
mov rcx, qword [rbx + 8]
jmp 0x1400273c5
mov rdx, qword [rbx + 8]
lea rcx, [rbp + 0x240]
mov rax, r8
call qword [case.0x14000aed8.0]
cmp eax, 1
jne 0x14002742a
lea rcx, [rbp - 0x38]
call fcn.140009810
nop
lea rcx, [rbp - 0x58]
call fcn.140009810
cmp r14, 0xffffffffffffffff
je 0x1400273f6
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rbp - 0x78]
call fcn.140009810
mov eax, edi
mov rcx, qword [rbp + 0x258]
xor rcx, rsp
call fcn.1401219d0
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 0x1400274a6
cmp eax, 2
je 0x1400274a6
lea rdx, [rbp - 0x38]
mov rcx, rbx
call fcn.140026f60
add edi, eax
mov qword [rbp + 0x250], r15
mov byte [rbp + 0x248], 0
mov r8, qword [rbx]
test r8, r8
je 0x1400274a6
mov ecx, dword [rbx + 0x10]
sub ecx, 1
je 0x140027491
sub ecx, 1
je 0x140027484
cmp ecx, 1
jne 0x140027491
mov rcx, qword [r8 + 0x38]
test rcx, rcx
je 0x1400274dd
mov rax, qword [rcx]
lea rdx, [rbp + 0x240]
mov rax, qword [rax + 0x10]
jmp 0x14002749f
lea rdx, [rbp + 0x240]
mov rcx, qword [rbx + 8]
jmp 0x14002749c
mov rdx, qword [rbx + 8]
lea rcx, [rbp + 0x240]
mov rax, r8
call qword [case.0x14000aed8.0]
nop
lea rcx, [rbp - 0x38]
call fcn.140009810
nop
lea rcx, [rbp - 0x58]
call fcn.140009810
cmp r14, 0xffffffffffffffff
je 0x1400273f6
lea rdx, [rbp - 0x10]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140027240
jmp 0x1400273ec
call fcn.14011f4a0
int3