Function at 0x10000260c
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
sub rsp, 0x2d0
mov rax, qword [0x100005120]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov rsi, rcx
mov rcx, rdx
mov qword [rsp + 0x68], rdx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
xor edi, edi
mov rcx, rsi
cmp eax, edi
jne 0x10000275b
lea ebp, [rdi + 1]
mov word [rsp + 0x48], bp
call fcn.1000019b0
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x100002680
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
mov edx, eax
call fcn.100001538
cmp byte [0x1000056f1], dil
setne al
jmp 0x100002a75
mov rdx, rsi
mov ecx, 9
call fcn.100001458
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x48]
mov r9d, 2
mov edx, 0x9c040
mov rcx, rbx
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, edi
jne 0x10000272f
mov al, byte [0x1000056f3]
cmp al, dil
je 0x1000026d8
mov dl, byte [0x1000056f1]
cmp dl, dil
jne 0x1000026ee
mov ecx, 2
call fcn.100001458
mov dl, byte [0x1000056f1]
mov al, byte [0x1000056f3]
cmp al, dil
jne 0x100002721
cmp dl, dil
jne 0x100002721
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebp
jne 0x100002711
mov rdx, rsi
mov ecx, 0x1a
call fcn.100001458
jmp 0x100002721
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
mov edx, eax
call fcn.100001538
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100002671
cmp byte [0x1000056f3], dil
jne 0x10000273f
mov ecx, ebp
call fcn.100001458
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add qword [0x100005948], rbp
add qword [0x100006170], rbp
jmp 0x100002a72
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
lea rbx, [rsi + rcx*2]
mov rcx, rsi
mov qword [rsp + 0x50], rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100002661
bt eax, 0xb
mov rdx, rsi
mov ecx, 0xa
jb 0x100002792
mov ecx, 0xb
call fcn.100001458
mov rcx, qword [rsp + 0x68]
sub rbx, rsi
sar rbx, 1
mov ebp, 1
add qword [0x100005948], rbp
mov qword [rsp + 0x58], rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
mov eax, 0x104
add rcx, rbx
cmp rcx, rax
jge 0x100002935
mov r8, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
sub rax, rbx
mov rdx, rax
mov qword [rsp + 0x60], rax
call fcn.100003cfe
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x40], rax
cmp rax, 0xffffffffffffffff
je 0x100002935
mov rbx, rax
lea rdx, [0x1000012a4]
lea rcx, [rsp + 0x9c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
cmp eax, edi
je 0x100002911
lea rdx, [0x100001314]
lea rcx, [rsp + 0x9c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
cmp eax, edi
je 0x100002911
lea rcx, [rsp + 0x9c]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
add rcx, qword [rsp + 0x58]
cmp rcx, 0x104
jge 0x100002911
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
lea r8, [rsp + 0x9c]
call fcn.100003cfe
lea rcx, [0x1000012b0]
mov rdx, rsi
call fcn.100001648
cmp al, dil
jne 0x100002abb
lea rcx, [0x1000012c0]
mov rdx, rsi
call fcn.100001648
cmp al, dil
jne 0x100002abb
lea rcx, [0x1000012d0]
mov rdx, rsi
call fcn.100001648
cmp al, dil
jne 0x100002abb
mov rcx, rsi
call fcn.1000019b0
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x100002a98
cmp byte [0x1000056f3], dil
je 0x1000028ea
cmp byte [0x1000056f1], dil
jne 0x10000290c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x9c]
mov edx, eax
call fcn.100001538
cmp byte [0x1000056f1], dil
je 0x100002adc
mov rbx, qword [rsp + 0x40]
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, edi
jne 0x100002807
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rbx, qword [rsp + 0x58]
cmp byte [0x1000056f0], dil
je 0x100002a72
lea rcx, [0x10000131c]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
mov eax, 0x104
add rcx, rbx
cmp rcx, rax
jge 0x100002a72
mov rcx, qword [rsp + 0x50]
sub rax, rbx
lea r8, [0x10000131c]
mov rdx, rax
mov qword [rsp + 0x60], rax
call fcn.100003cfe
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x40], rax
cmp rax, 0xffffffffffffffff
je 0x100002a72
mov rbx, rax
lea rdx, [0x1000012a4]
lea rcx, [rsp + 0x9c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
cmp eax, edi
je 0x100002a53
lea rdx, [0x100001314]
lea rcx, [rsp + 0x9c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
cmp eax, edi
je 0x100002a53
test byte [rsp + 0x70], 0x10
je 0x100002a53
lea rcx, [0x100001320]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsp + 0x9c]
movsxd rbx, eax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
add rcx, qword [rsp + 0x58]
add rcx, rbx
mov ebx, 0x104
cmp rcx, rbx
jge 0x100002a4e
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
lea r8, [rsp + 0x9c]
call fcn.100003cfe
lea r8, [0x100001320]
mov rdx, rbx
mov rcx, rsi
call fcn.100003cf2
mov rdx, qword [rsp + 0x68]
mov rcx, rsi
call fcn.10000260c
cmp al, dil
je 0x100002af1
mov rbx, qword [rsp + 0x40]
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, edi
jne 0x10000299f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov al, bpl
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.100003cc0
mov rbx, qword [rsp + 0x300]
add rsp, 0x2d0
pop rdi
pop rsi
pop rbp
ret
lea r8, [rsp + 0x70]
mov rdx, rsi
mov rcx, rax
call fcn.10000224c
mov rcx, rbx
cmp al, dil
je 0x100002aeb
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10000290c
cmp byte [0x1000056f3], dil
jne 0x100002911
mov rdx, qword [rsp + 0x50]
mov ecx, 0x14
call fcn.100001458
jmp 0x100002911
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
jmp 0x100002a75
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x100002671