Function at 0x1400f67b0
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 [0x14016d608]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rdi, rdx
mov qword [rsp + 0x60], rcx
mov rsi, rcx
mov rcx, qword [0x14016d090]
lea rax, [0x14016d090]
cmp rcx, rax
je 0x1400f681a
test dword [rcx + 0x1c], 0x200
je 0x1400f681a
cmp byte [rcx + 0x19], 4
jb 0x1400f681a
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401533a8]
mov edx, 0x4f
call fcn.140004968
xor ebx, ebx
test rsi, rsi
jne 0x1400f6839
lea r8, str.wszPath
mov edx, 0x630
lea rcx, str.base_stor_blbengine_blbengutils_blbfsutils.cpp
call fcn.140081b60
test rdi, rdi
jne 0x1400f6856
lea r8, str.pullDirSize
mov edx, 0x631
lea rcx, str.base_stor_blbengine_blbengutils_blbfsutils.cpp
call fcn.140081b60
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]
xor eax, eax
or rbx, 0xffffffffffffffff
mov qword [rsp + 0x50], rax
xor ecx, ecx
inc rbx
cmp word [r9 + rbx*2], cx
jne 0x1400f6894
test r9, r9
jne 0x1400f68c2
lea r8, str.wszPath
mov edx, 0x101
lea rcx, str.base_stor_blbutil_stringutils.cpp
call fcn.140081b60
mov r9, qword [rsp + 0x60]
xor ecx, ecx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
test ebx, ebx
je 0x1400f68da
dec ebx
cmp word [r9 + rbx*2], 0x5c
je 0x1400f68cc
mov eax, ebx
lea rdx, [rsp + 0x38]
cmp word [r9 + rax*2], 0x5c
setne cl
lea r8d, [rcx + rbx]
mov rcx, r9
call fcn.14008290c
mov ebx, eax
test eax, eax
js 0x1400f690a
mov rax, qword [rsp + 0x38]
xor ecx, ecx
mov qword [rsp + 0x30], rax
jmp 0x1400f690f
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400f691a
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test ebx, ebx
js 0x1400f6bb3
mov rcx, qword [0x14016d090]
lea rax, [0x14016d090]
cmp rcx, rax
je 0x1400f695e
test dword [rcx + 0x1c], 0x200
je 0x1400f695e
cmp byte [rcx + 0x19], 4
jb 0x1400f695e
mov r9, qword [rsp + 0x30]
lea r8, [0x1401533a8]
mov rcx, qword [rcx + 0x10]
mov edx, 0x50
call fcn.140005868
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400f6bb3
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x48]
lea rdx, [0x14014ae8c]
call fcn.1400829d8
mov ebx, eax
test eax, eax
js 0x1400f6b7f
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x58]
lea rdx, [0x1401447d4]
call fcn.1400829d8
mov ebx, eax
test eax, eax
js 0x1400f6b7f
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x38], rax
cmp rax, 0xffffffffffffffff
jne 0x1400f6a2f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [0x14016d090]
lea rax, [0x14016d090]
cmp rcx, rax
je 0x1400f6a1c
test dword [rcx + 0x1c], 0x200
je 0x1400f6a1c
cmp byte [rcx + 0x19], 2
jb 0x1400f6a1c
mov r9, qword [rsp + 0x48]
lea r8, [0x1401533a8]
mov rcx, qword [rcx + 0x10]
mov edx, 0x51
mov dword [rsp + 0x20], edi
call fcn.1400058c8
mov rcx, qword [0x14016d090]
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
jmp 0x1400f6b86
test rsi, rsi
je 0x1400f6a44
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 [0x14014ae94]
movzx eax, word [rbp - 0x62]
jne 0x1400f6a62
cmp ax, word [0x14014ae96]
je 0x1400f6af3
cmp cx, word [0x14014ae98]
jne 0x1400f6a81
cmp ax, word [0x14014ae9a]
jne 0x1400f6a81
movzx eax, word [rbp - 0x60]
cmp ax, word [0x14014ae9c]
je 0x1400f6af3
lea rdx, [0x140149db0]
lea rcx, [rbp - 0x64]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x1400f6af3
mov rcx, qword [rsp + 0x58]
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x64]
call fcn.1400829d8
mov rsi, qword [rsp + 0x40]
mov ebx, eax
test eax, eax
js 0x1400f6b66
test byte [rsp + 0x70], 0x10
je 0x1400f6add
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.1400f67b0
mov ebx, eax
test eax, eax
js 0x1400f6b66
mov rax, qword [rsp + 0x68]
jmp 0x1400f6af0
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 + 0x38]
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400f6a2f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 0x12
je 0x1400f6b66
mov rcx, qword [0x14016d090]
lea rax, [0x14016d090]
cmp rcx, rax
je 0x1400f6b58
test dword [rcx + 0x1c], 0x200
je 0x1400f6b58
cmp byte [rcx + 0x19], 2
jb 0x1400f6b58
mov r9, qword [rsp + 0x48]
lea r8, [0x1401533a8]
mov rcx, qword [rcx + 0x10]
mov edx, 0x52
mov dword [rsp + 0x20], edi
call fcn.1400058c8
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
test rsi, rsi
je 0x1400f6b74
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [0x14016d090]
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x1400f6ba0
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x14016d090]
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1400f6bba
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x14016d090]
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x1400f6bd4
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x14016d090]
test ebx, ebx
jns 0x1400f6c1a
lea rdi, [0x14016d090]
cmp rcx, rdi
je 0x1400f6c4a
test dword [rcx + 0x1c], 0x200
je 0x1400f6c21
cmp byte [rcx + 0x19], 2
jb 0x1400f6c21
mov r9, qword [rsp + 0x60]
lea r8, [0x1401533a8]
mov rcx, qword [rcx + 0x10]
mov edx, 0x53
mov dword [rsp + 0x20], ebx
call fcn.1400058c8
mov rcx, qword [0x14016d090]
jmp 0x1400f6c21
lea rdi, [0x14016d090]
cmp rcx, rdi
je 0x1400f6c4a
test dword [rcx + 0x1c], 0x200
je 0x1400f6c4a
cmp byte [rcx + 0x19], 4
jb 0x1400f6c4a
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401533a8]
mov edx, 0x54
call fcn.140004968
mov eax, ebx
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14013cc00
mov rbx, qword [rsp + 0x300]
add rsp, 0x2d0
pop rdi
pop rsi
pop rbp
ret