Function at 0x1401006c8
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 r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x14017b608]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rdi, rdx
mov qword [rsp + 0x60], rcx
mov r14, rcx
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x14010073a
test dword [rcx + 0x1c], 0x200
je 0x14010073a
cmp byte [rcx + 0x19], 4
jb 0x14010073a
mov rcx, qword [rcx + 0x10]
lea r8, [0x140162628]
mov edx, 0x4f
call fcn.140004c10
xor r13d, r13d
test r14, r14
jne 0x14010075a
lea r8, str.wszPath
mov edx, 0x630
lea rcx, str.base_stor_blbengine_blbengutils_blbfsutils.cpp
call fcn.140087b08
test rdi, rdi
jne 0x140100777
lea r8, str.pullDirSize
mov edx, 0x631
lea rcx, str.base_stor_blbengine_blbengutils_blbfsutils.cpp
call fcn.140087b08
xor edx, edx
mov qword [rsp + 0x58], r13
mov r8d, 0x250
mov qword [rsp + 0x50], r13
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x38], r13
mov r15, r13
mov qword [rsp + 0x30], r13
mov rsi, r13
mov qword [rdi], r13
call sub.msvcrt.dll_memset
or rbx, 0xffffffffffffffff
mov qword [rsp + 0x48], r13
inc rbx
cmp word [r14 + rbx*2], r13w
jne 0x1401007af
test r14, r14
jne 0x1401007d6
lea r8, str.wszPath
mov edx, 0x101
lea rcx, str.base_stor_blbutil_stringutils.cpp
call fcn.140087b08
mov qword [rsp + 0x40], r13
mov r12, r13
test ebx, ebx
je 0x1401007ec
dec ebx
cmp word [r14 + rbx*2], 0x5c
je 0x1401007de
mov ecx, r13d
mov eax, ebx
lea rdx, [rsp + 0x40]
cmp word [r14 + rax*2], 0x5c
setne cl
lea r8d, [rcx + rbx]
mov rcx, r14
call fcn.1400889dc
mov ebx, eax
test eax, eax
js 0x14010081b
mov r12, qword [rsp + 0x40]
mov rcx, r13
jmp 0x140100820
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140100831
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test ebx, ebx
js 0x140100b5c
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x140100873
test dword [rcx + 0x1c], 0x200
je 0x140100873
cmp byte [rcx + 0x19], 4
jb 0x140100873
mov rcx, qword [rcx + 0x10]
lea r8, [0x140162628]
mov edx, 0x50
mov r9, r12
call fcn.140005cd0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x140100b5c
lea r8, [rsp + 0x50]
mov rcx, r12
lea rdx, [0x14015a10c]
call fcn.140088abc
mov r14, qword [rsp + 0x50]
mov ebx, eax
test eax, eax
js 0x140100abb
lea r8, [rsp + 0x38]
mov rcx, r12
lea rdx, [0x140153978]
call fcn.140088abc
mov ebx, eax
test eax, eax
js 0x140100ab6
lea rdx, [rsp + 0x70]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
nop dword [rax + rax]
mov r13, rax
cmp rax, 0xffffffffffffffff
jne 0x140100953
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x14010093b
test dword [rcx + 0x1c], 0x200
je 0x14010093b
cmp byte [rcx + 0x19], 2
jb 0x14010093b
mov rcx, qword [rcx + 0x10]
lea edx, [r13 + 0x52]
mov r9, r14
mov dword [rsp + 0x20], edi
lea r8, [0x140162628]
call fcn.140005d40
mov rcx, qword [0x14017b048]
mov r15, qword [rsp + 0x38]
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
jmp 0x140100ac2
mov r15, qword [rsp + 0x38]
xor ecx, ecx
test rsi, rsi
je 0x140100977
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
xor ecx, ecx
mov esi, ecx
mov qword [rsp + 0x30], rcx
cmp word [rbp - 0x64], 0x2e
movzx eax, word [rbp - 0x62]
jne 0x14010099e
test ax, ax
je 0x140100a14
cmp word [rbp - 0x64], 0x2e
jne 0x14010099e
cmp ax, 0x2e
jne 0x14010099e
cmp word [rbp - 0x60], cx
je 0x140100a14
lea rdx, [0x140159040]
lea rcx, [rbp - 0x64]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x140100a14
lea r8, [rsp + 0x30]
mov rcx, r15
lea rdx, [rbp - 0x64]
call fcn.140088abc
mov rsi, qword [rsp + 0x30]
mov ebx, eax
test eax, eax
js 0x140100a91
test byte [rsp + 0x70], 0x10
je 0x1401009fe
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.1401006c8
mov ebx, eax
test eax, eax
js 0x140100a91
mov rax, qword [rsp + 0x58]
jmp 0x140100a11
mov eax, dword [rbp - 0x70]
mov dword [rsp + 0x48], eax
mov eax, dword [rbp - 0x74]
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x48]
add qword [rdi], rax
lea rdx, [rsp + 0x70]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [rax + rax]
xor ecx, ecx
test eax, eax
jne 0x14010095a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
cmp eax, 0x12
je 0x140100a91
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x140100a83
test dword [rcx + 0x1c], 0x200
je 0x140100a83
cmp byte [rcx + 0x19], 2
jb 0x140100a83
mov rcx, qword [rcx + 0x10]
lea r8, [0x140162628]
mov edx, 0x52
mov dword [rsp + 0x20], edi
mov r9, r14
call fcn.140005d40
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
test rsi, rsi
je 0x140100aa5
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
jmp 0x140100abb
mov r15, qword [rsp + 0x38]
mov rcx, qword [0x14017b048]
test r14, r14
je 0x140100add
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14017b048]
test r15, r15
je 0x140100af8
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14017b048]
mov r14, qword [rsp + 0x60]
test r12, r12
je 0x140100b18
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14017b048]
test ebx, ebx
jns 0x140100b65
lea rdi, [0x14017b048]
cmp rcx, rdi
je 0x140100b95
test dword [rcx + 0x1c], 0x200
je 0x140100b6c
cmp byte [rcx + 0x19], 2
jb 0x140100b6c
mov rcx, qword [rcx + 0x10]
lea r8, [0x140162628]
mov edx, 0x53
mov dword [rsp + 0x20], ebx
mov r9, r14
call fcn.140005d40
mov rcx, qword [0x14017b048]
jmp 0x140100b6c
mov rcx, qword [0x14017b048]
jmp 0x140100afd
lea rdi, [0x14017b048]
cmp rcx, rdi
je 0x140100b95
test dword [rcx + 0x1c], 0x200
je 0x140100b95
cmp byte [rcx + 0x19], 4
jb 0x140100b95
mov rcx, qword [rcx + 0x10]
lea r8, [0x140162628]
mov edx, 0x54
call fcn.140004c10
mov eax, ebx
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14014bb60
mov rbx, qword [rsp + 0x320]
add rsp, 0x2d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret