Function at 0x140100288
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 [0x14017a608]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rdi, rdx
mov qword [rsp + 0x60], rcx
mov r14, rcx
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x1401002fa
test dword [rcx + 0x1c], 0x200
je 0x1401002fa
cmp byte [rcx + 0x19], 4
jb 0x1401002fa
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401614b8]
mov edx, 0x4f
call fcn.140004b70
xor r13d, r13d
test r14, r14
jne 0x14010031a
lea r8, str.wszPath
mov edx, 0x630
lea rcx, str.base_stor_blbengine_blbengutils_blbfsutils.cpp
call fcn.1400876c8
test rdi, rdi
jne 0x140100337
lea r8, str.pullDirSize
mov edx, 0x631
lea rcx, str.base_stor_blbengine_blbengutils_blbfsutils.cpp
call fcn.1400876c8
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 0x14010036f
test r14, r14
jne 0x140100396
lea r8, str.wszPath
mov edx, 0x101
lea rcx, str.base_stor_blbutil_stringutils.cpp
call fcn.1400876c8
mov qword [rsp + 0x40], r13
mov r12, r13
test ebx, ebx
je 0x1401003ac
dec ebx
cmp word [r14 + rbx*2], 0x5c
je 0x14010039e
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.14008859c
mov ebx, eax
test eax, eax
js 0x1401003db
mov r12, qword [rsp + 0x40]
mov rcx, r13
jmp 0x1401003e0
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1401003f1
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test ebx, ebx
js 0x14010071c
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x140100433
test dword [rcx + 0x1c], 0x200
je 0x140100433
cmp byte [rcx + 0x19], 4
jb 0x140100433
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401614b8]
mov edx, 0x50
mov r9, r12
call fcn.140005c30
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x14010071c
lea r8, [rsp + 0x50]
mov rcx, r12
lea rdx, [0x140158f9c]
call fcn.14008867c
mov r14, qword [rsp + 0x50]
mov ebx, eax
test eax, eax
js 0x14010067b
lea r8, [rsp + 0x38]
mov rcx, r12
lea rdx, [0x140152808]
call fcn.14008867c
mov ebx, eax
test eax, eax
js 0x140100676
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 0x140100513
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x1401004fb
test dword [rcx + 0x1c], 0x200
je 0x1401004fb
cmp byte [rcx + 0x19], 2
jb 0x1401004fb
mov rcx, qword [rcx + 0x10]
lea edx, [r13 + 0x52]
mov r9, r14
mov dword [rsp + 0x20], edi
lea r8, [0x1401614b8]
call fcn.140005ca0
mov rcx, qword [0x14017a048]
mov r15, qword [rsp + 0x38]
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
jmp 0x140100682
mov r15, qword [rsp + 0x38]
xor ecx, ecx
test rsi, rsi
je 0x140100537
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 0x14010055e
test ax, ax
je 0x1401005d4
cmp word [rbp - 0x64], 0x2e
jne 0x14010055e
cmp ax, 0x2e
jne 0x14010055e
cmp word [rbp - 0x60], cx
je 0x1401005d4
lea rdx, [0x140157ed0]
lea rcx, [rbp - 0x64]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x1401005d4
lea r8, [rsp + 0x30]
mov rcx, r15
lea rdx, [rbp - 0x64]
call fcn.14008867c
mov rsi, qword [rsp + 0x30]
mov ebx, eax
test eax, eax
js 0x140100651
test byte [rsp + 0x70], 0x10
je 0x1401005be
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.140100288
mov ebx, eax
test eax, eax
js 0x140100651
mov rax, qword [rsp + 0x58]
jmp 0x1401005d1
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 0x14010051a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
cmp eax, 0x12
je 0x140100651
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x140100643
test dword [rcx + 0x1c], 0x200
je 0x140100643
cmp byte [rcx + 0x19], 2
jb 0x140100643
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401614b8]
mov edx, 0x52
mov dword [rsp + 0x20], edi
mov r9, r14
call fcn.140005ca0
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
test rsi, rsi
je 0x140100665
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 0x14010067b
mov r15, qword [rsp + 0x38]
mov rcx, qword [0x14017a048]
test r14, r14
je 0x14010069d
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
test r15, r15
je 0x1401006b8
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
mov r14, qword [rsp + 0x60]
test r12, r12
je 0x1401006d8
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
test ebx, ebx
jns 0x140100725
lea rdi, [0x14017a048]
cmp rcx, rdi
je 0x140100755
test dword [rcx + 0x1c], 0x200
je 0x14010072c
cmp byte [rcx + 0x19], 2
jb 0x14010072c
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401614b8]
mov edx, 0x53
mov dword [rsp + 0x20], ebx
mov r9, r14
call fcn.140005ca0
mov rcx, qword [0x14017a048]
jmp 0x14010072c
mov rcx, qword [0x14017a048]
jmp 0x1401006bd
lea rdi, [0x14017a048]
cmp rcx, rdi
je 0x140100755
test dword [rcx + 0x1c], 0x200
je 0x140100755
cmp byte [rcx + 0x19], 4
jb 0x140100755
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401614b8]
mov edx, 0x54
call fcn.140004b70
mov eax, ebx
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14014b700
mov rbx, qword [rsp + 0x320]
add rsp, 0x2d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret