Function at 0x140108088
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 [0x140183808]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rdi, rdx
mov qword [rsp + 0x60], rcx
mov r14, rcx
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
cmp rcx, rax
je 0x1401080fa
test dword [rcx + 0x1c], 0x200
je 0x1401080fa
cmp byte [rcx + 0x19], 4
jb 0x1401080fa
mov rcx, qword [rcx + 0x10]
lea r8, [0x140169cd8]
mov edx, 0x4f
call fcn.140004e50
xor r13d, r13d
test r14, r14
jne 0x14010811a
lea r8, str.wszPath
mov edx, 0x630
lea rcx, str.base_stor_blbengine_blbengutils_blbfsutils.cpp
call fcn.14008f4c8
test rdi, rdi
jne 0x140108137
lea r8, str.pullDirSize
mov edx, 0x631
lea rcx, str.base_stor_blbengine_blbengutils_blbfsutils.cpp
call fcn.14008f4c8
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 0x14010816f
test r14, r14
jne 0x140108196
lea r8, str.wszPath
mov edx, 0x101
lea rcx, str.base_stor_blbutil_stringutils.cpp
call fcn.14008f4c8
mov qword [rsp + 0x40], r13
mov r12, r13
test ebx, ebx
je 0x1401081ac
dec ebx
cmp word [r14 + rbx*2], 0x5c
je 0x14010819e
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.14009039c
mov ebx, eax
test eax, eax
js 0x1401081db
mov r12, qword [rsp + 0x40]
mov rcx, r13
jmp 0x1401081e0
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1401081f1
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test ebx, ebx
js 0x14010851c
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
cmp rcx, rax
je 0x140108233
test dword [rcx + 0x1c], 0x200
je 0x140108233
cmp byte [rcx + 0x19], 4
jb 0x140108233
mov rcx, qword [rcx + 0x10]
lea r8, [0x140169cd8]
mov edx, 0x50
mov r9, r12
call fcn.140005f10
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x14010851c
lea r8, [rsp + 0x50]
mov rcx, r12
lea rdx, [0x1401617bc]
call fcn.14009047c
mov r14, qword [rsp + 0x50]
mov ebx, eax
test eax, eax
js 0x14010847b
lea r8, [rsp + 0x38]
mov rcx, r12
lea rdx, [0x14015ab98]
call fcn.14009047c
mov ebx, eax
test eax, eax
js 0x140108476
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 0x140108313
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
cmp rcx, rax
je 0x1401082fb
test dword [rcx + 0x1c], 0x200
je 0x1401082fb
cmp byte [rcx + 0x19], 2
jb 0x1401082fb
mov rcx, qword [rcx + 0x10]
lea edx, [r13 + 0x52]
mov r9, r14
mov dword [rsp + 0x20], edi
lea r8, [0x140169cd8]
call fcn.140005f80
mov rcx, qword [0x140183048]
mov r15, qword [rsp + 0x38]
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
jmp 0x140108482
mov r15, qword [rsp + 0x38]
xor ecx, ecx
test rsi, rsi
je 0x140108337
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 0x14010835e
test ax, ax
je 0x1401083d4
cmp word [rbp - 0x64], 0x2e
jne 0x14010835e
cmp ax, 0x2e
jne 0x14010835e
cmp word [rbp - 0x60], cx
je 0x1401083d4
lea rdx, [0x1401606f0]
lea rcx, [rbp - 0x64]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x1401083d4
lea r8, [rsp + 0x30]
mov rcx, r15
lea rdx, [rbp - 0x64]
call fcn.14009047c
mov rsi, qword [rsp + 0x30]
mov ebx, eax
test eax, eax
js 0x140108451
test byte [rsp + 0x70], 0x10
je 0x1401083be
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.140108088
mov ebx, eax
test eax, eax
js 0x140108451
mov rax, qword [rsp + 0x58]
jmp 0x1401083d1
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 0x14010831a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
cmp eax, 0x12
je 0x140108451
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
cmp rcx, rax
je 0x140108443
test dword [rcx + 0x1c], 0x200
je 0x140108443
cmp byte [rcx + 0x19], 2
jb 0x140108443
mov rcx, qword [rcx + 0x10]
lea r8, [0x140169cd8]
mov edx, 0x52
mov dword [rsp + 0x20], edi
mov r9, r14
call fcn.140005f80
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
test rsi, rsi
je 0x140108465
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 0x14010847b
mov r15, qword [rsp + 0x38]
mov rcx, qword [0x140183048]
test r14, r14
je 0x14010849d
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x140183048]
test r15, r15
je 0x1401084b8
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x140183048]
mov r14, qword [rsp + 0x60]
test r12, r12
je 0x1401084d8
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x140183048]
test ebx, ebx
jns 0x140108525
lea rdi, [0x140183048]
cmp rcx, rdi
je 0x140108555
test dword [rcx + 0x1c], 0x200
je 0x14010852c
cmp byte [rcx + 0x19], 2
jb 0x14010852c
mov rcx, qword [rcx + 0x10]
lea r8, [0x140169cd8]
mov edx, 0x53
mov dword [rsp + 0x20], ebx
mov r9, r14
call fcn.140005f80
mov rcx, qword [0x140183048]
jmp 0x14010852c
mov rcx, qword [0x140183048]
jmp 0x1401084bd
lea rdi, [0x140183048]
cmp rcx, rdi
je 0x140108555
test dword [rcx + 0x1c], 0x200
je 0x140108555
cmp byte [rcx + 0x19], 4
jb 0x140108555
mov rcx, qword [rcx + 0x10]
lea r8, [0x140169cd8]
mov edx, 0x54
call fcn.140004e50
mov eax, ebx
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1401534b0
mov rbx, qword [rsp + 0x320]
add rsp, 0x2d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret