Function at 0x140026ef0
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 [0x140177090]
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.1400ec680
xor r15d, r15d
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], r15w
lea r8d, [r15 + 1]
lea rdx, [0x14014ce68]
lea rcx, [rsp + 0x28]
call fcn.1400088b0
nop
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.140025150
cmp qword [rax + 0x18], 8
jb 0x140026f7c
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.140008840
nop
lea rcx, [rsp + 0x28]
call fcn.140008840
mov edi, r15d
cmp qword [rsi + 0x18], 8
jb 0x140026fae
mov rsi, qword [rsi]
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r15w
mov r8, 0xffffffffffffffff
inc r8
cmp word [rsi + r8*2], di
jne 0x140026fc6
mov rdx, rsi
lea rcx, [rbp - 0x78]
call fcn.1400088b0
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 0x140026ffe
test al, 0x10
jne 0x1400271ce
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 0x1400271ce
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, [0x14014ce5c]
test rax, rax
cmovne rdx, rax
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], r15w
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140027060
lea rcx, [rbp - 0x58]
call fcn.1400088b0
lea r8, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae r8, qword [rbp - 0x58]
mov edx, 0x104
lea rcx, [rbp + 0x1c]
call fcn.1400f04f0
lea rcx, [rbp - 0x58]
call fcn.140008840
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.140026790
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.140025380
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 0x140027120
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x78]
call fcn.140024f90
nop
lea rcx, [rbp - 0x78]
cmp rcx, rax
je 0x1400271c3
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x1400271b6
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.1400088b0
nop
lea rcx, [rbp - 0x38]
call fcn.140008840
jmp 0x1400271d1
xor sil, sil
cmp r14, 0xffffffffffffffff
jne 0x1400271e0
test sil, sil
je 0x14002737c
lea rdx, [0x14014ce64]
lea rcx, [rbp + 0x1c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140027433
lea rdx, [0x14014ce6c]
lea rcx, [rbp + 0x1c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140027433
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], r15w
lea rax, [rbp + 0x1c]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x140027230
lea rdx, [rbp + 0x1c]
lea rcx, [rbp - 0x58]
call fcn.1400088b0
nop
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r15w
lea rax, [rbp + 0x1c]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140027270
lea rdx, [rbp + 0x1c]
lea rcx, [rsp + 0x48]
call fcn.1400088b0
nop
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x78]
call fcn.140025150
nop
lea rcx, [rsp + 0x48]
call fcn.140008840
mov al, 1
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400272c0
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 0x1400272e2
test al, al
je 0x1400272de
mov rax, qword [rcx]
lea rdx, [rbp - 0x58]
call qword [rax]
test eax, eax
je 0x1400272de
mov al, 1
jmp 0x1400272e6
xor al, al
jmp 0x1400272e8
test al, al
je 0x1400272e8
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 0x1400273ad
mov ecx, dword [rbx + 0x10]
sub ecx, 2
je 0x140027346
cmp ecx, 1
je 0x14002732a
mov rdx, qword [rbx + 8]
lea rcx, [rbp + 0x240]
jmp 0x140027351
mov rcx, qword [r8 + 0x38]
test rcx, rcx
je 0x140027457
mov rax, qword [rcx]
lea rdx, [rbp + 0x240]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x140027354
lea rdx, [rbp + 0x240]
mov rcx, qword [rbx + 8]
call r8
cmp eax, 1
jne 0x1400273b0
lea rcx, [rbp - 0x38]
call fcn.140008840
nop
lea rcx, [rbp - 0x58]
call fcn.140008840
cmp r14, 0xffffffffffffffff
je 0x14002737c
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rbp - 0x78]
call fcn.140008840
mov eax, edi
mov rcx, qword [rbp + 0x258]
xor rcx, rsp
call fcn.1400e9d60
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 0x140027420
cmp eax, 2
je 0x140027420
lea rdx, [rbp - 0x38]
mov rcx, rbx
call fcn.140026ef0
add edi, eax
mov qword [rbp + 0x250], r15
mov byte [rbp + 0x248], 0
mov r8, qword [rbx]
test r8, r8
je 0x140027420
mov ecx, dword [rbx + 0x10]
sub ecx, 2
je 0x140027411
cmp ecx, 1
je 0x1400273f9
mov rdx, qword [rbx + 8]
lea rcx, [rbp + 0x240]
jmp 0x14002741c
mov rcx, qword [r8 + 0x38]
test rcx, rcx
je 0x140027457
mov rax, qword [rcx]
lea rdx, [rbp + 0x240]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x140027420
lea rdx, [rbp + 0x240]
mov rcx, qword [rbx + 8]
call r8
nop
lea rcx, [rbp - 0x38]
call fcn.140008840
nop
lea rcx, [rbp - 0x58]
call fcn.140008840
cmp r14, 0xffffffffffffffff
je 0x14002737c
lea rdx, [rbp - 0x10]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140027372
jmp 0x1400271e0
call fcn.1400e75dc
int3