Function at 0x1400febcc
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
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x140178010]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rdi, rdx
mov qword [rsp + 0x60], rcx
mov rsi, rcx
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x1400fec36
test dword [rcx + 0x1c], 0x200
je 0x1400fec36
cmp byte [rcx + 0x19], 4
jb 0x1400fec36
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e268]
mov edx, 0x4f
call fcn.140004c6c
xor ebx, ebx
test rsi, rsi
jne 0x1400fec55
lea r8, str.wszPath
mov edx, 0x630
lea rcx, str.base_stor_blbengine_blbengutils_blbfsutils.cpp
call fcn.14008624c
test rdi, rdi
jne 0x1400fec72
lea r8, str.pullDirSize
mov edx, 0x631
lea rcx, str.base_stor_blbengine_blbengutils_blbfsutils.cpp
call fcn.14008624c
xor edx, edx
mov qword [rsp + 0x68], rbx
mov r8d, 0x250
mov qword [rsp + 0x48], rbx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x58], rbx
mov rsi, rbx
mov qword [rsp + 0x40], rbx
mov qword [rdi], rbx
call sub.msvcrt.dll_memset
mov r9, qword [rsp + 0x60]
mov qword [rsp + 0x50], rbx
or rbx, 0xffffffffffffffff
xor ecx, ecx
inc rbx
cmp word [r9 + rbx*2], cx
jne 0x1400fecae
test r9, r9
jne 0x1400fecdc
lea r8, str.wszPath
mov edx, 0x101
lea rcx, str.base_stor_blbutil_stringutils.cpp
call fcn.14008624c
mov r9, qword [rsp + 0x60]
xor ecx, ecx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rcx
test ebx, ebx
je 0x1400fecf4
dec ebx
cmp word [r9 + rbx*2], 0x5c
je 0x1400fece6
mov eax, ebx
lea rdx, [rsp + 0x30]
cmp word [r9 + rax*2], 0x5c
setne cl
lea r8d, [rcx + rbx]
mov rcx, r9
call fcn.14008704c
mov ebx, eax
test eax, eax
js 0x1400fed24
mov rax, qword [rsp + 0x30]
xor ecx, ecx
mov qword [rsp + 0x38], rax
jmp 0x1400fed29
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400fed34
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test ebx, ebx
js 0x1400fefcd
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x1400fed78
test dword [rcx + 0x1c], 0x200
je 0x1400fed78
cmp byte [rcx + 0x19], 4
jb 0x1400fed78
mov r9, qword [rsp + 0x38]
lea r8, [0x14015e268]
mov rcx, qword [rcx + 0x10]
mov edx, 0x50
call fcn.140005c6c
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400fefcd
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x48]
lea rdx, [0x14015592c]
call fcn.140087120
mov ebx, eax
test eax, eax
js 0x1400fef99
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x58]
lea rdx, [0x14014d7b8]
call fcn.140087120
mov ebx, eax
test eax, eax
js 0x1400fef99
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x30], rax
cmp rax, 0xffffffffffffffff
jne 0x1400fee49
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x1400fee36
test dword [rcx + 0x1c], 0x200
je 0x1400fee36
cmp byte [rcx + 0x19], 2
jb 0x1400fee36
mov r9, qword [rsp + 0x48]
lea r8, [0x14015e268]
mov rcx, qword [rcx + 0x10]
mov edx, 0x51
mov dword [rsp + 0x20], edi
call fcn.140005ce8
mov rcx, qword [0x1401782b0]
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
jmp 0x1400fefa0
test rsi, rsi
je 0x1400fee5e
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor esi, esi
mov qword [rsp + 0x40], rsi
movzx ecx, word [rbp - 0x64]
cmp cx, word [0x140155934]
movzx eax, word [rbp - 0x62]
jne 0x1400fee7c
cmp ax, word [0x140155936]
je 0x1400fef0d
cmp cx, word [0x140155938]
jne 0x1400fee9b
cmp ax, word [0x14015593a]
jne 0x1400fee9b
movzx eax, word [rbp - 0x60]
cmp ax, word [0x14015593c]
je 0x1400fef0d
lea rdx, [0x140154840]
lea rcx, [rbp - 0x64]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x1400fef0d
mov rcx, qword [rsp + 0x58]
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x64]
call fcn.140087120
mov rsi, qword [rsp + 0x40]
mov ebx, eax
test eax, eax
js 0x1400fef80
test byte [rsp + 0x70], 0x10
je 0x1400feef7
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.1400febcc
mov ebx, eax
test eax, eax
js 0x1400fef80
mov rax, qword [rsp + 0x68]
jmp 0x1400fef0a
mov eax, dword [rbp - 0x70]
mov dword [rsp + 0x50], eax
mov eax, dword [rbp - 0x74]
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x50]
add qword [rdi], rax
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400fee49
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 0x12
je 0x1400fef80
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x1400fef72
test dword [rcx + 0x1c], 0x200
je 0x1400fef72
cmp byte [rcx + 0x19], 2
jb 0x1400fef72
mov r9, qword [rsp + 0x48]
lea r8, [0x14015e268]
mov rcx, qword [rcx + 0x10]
mov edx, 0x52
mov dword [rsp + 0x20], edi
call fcn.140005ce8
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
test rsi, rsi
je 0x1400fef8e
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [0x1401782b0]
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x1400fefba
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x1401782b0]
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1400fefd4
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x1401782b0]
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1400fefee
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x1401782b0]
test ebx, ebx
jns 0x1400ff034
lea rdi, [0x1401782b0]
cmp rcx, rdi
je 0x1400ff064
test dword [rcx + 0x1c], 0x200
je 0x1400ff03b
cmp byte [rcx + 0x19], 2
jb 0x1400ff03b
mov r9, qword [rsp + 0x60]
lea r8, [0x14015e268]
mov rcx, qword [rcx + 0x10]
mov edx, 0x53
mov dword [rsp + 0x20], ebx
call fcn.140005ce8
mov rcx, qword [0x1401782b0]
jmp 0x1400ff03b
lea rdi, [0x1401782b0]
cmp rcx, rdi
je 0x1400ff064
test dword [rcx + 0x1c], 0x200
je 0x1400ff064
cmp byte [rcx + 0x19], 4
jb 0x1400ff064
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e268]
mov edx, 0x54
call fcn.140004c6c
mov eax, ebx
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1401474d0
mov rbx, qword [rsp + 0x300]
add rsp, 0x2d0
pop rdi
pop rsi
pop rbp
ret