Function at 0x1400f71f0
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 [0x14016f608]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rdi, rdx
mov qword [rsp + 0x60], rcx
mov rsi, rcx
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400f725a
test dword [rcx + 0x1c], 0x200
je 0x1400f725a
cmp byte [rcx + 0x19], 4
jb 0x1400f725a
mov rcx, qword [rcx + 0x10]
lea r8, [0x140154368]
mov edx, 0x4f
call fcn.1400049d8
xor ebx, ebx
test rsi, rsi
jne 0x1400f7279
lea r8, str.wszPath
mov edx, 0x630
lea rcx, str.base_stor_blbengine_blbengutils_blbfsutils.cpp
call fcn.140082070
test rdi, rdi
jne 0x1400f7296
lea r8, str.pullDirSize
mov edx, 0x631
lea rcx, str.base_stor_blbengine_blbengutils_blbfsutils.cpp
call fcn.140082070
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 0x1400f72d4
test r9, r9
jne 0x1400f7302
lea r8, str.wszPath
mov edx, 0x101
lea rcx, str.base_stor_blbutil_stringutils.cpp
call fcn.140082070
mov r9, qword [rsp + 0x60]
xor ecx, ecx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
test ebx, ebx
je 0x1400f731a
dec ebx
cmp word [r9 + rbx*2], 0x5c
je 0x1400f730c
mov eax, ebx
lea rdx, [rsp + 0x38]
cmp word [r9 + rax*2], 0x5c
setne cl
lea r8d, [rcx + rbx]
mov rcx, r9
call fcn.140082e28
mov ebx, eax
test eax, eax
js 0x1400f734a
mov rax, qword [rsp + 0x38]
xor ecx, ecx
mov qword [rsp + 0x30], rax
jmp 0x1400f734f
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400f735a
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test ebx, ebx
js 0x1400f75f3
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400f739e
test dword [rcx + 0x1c], 0x200
je 0x1400f739e
cmp byte [rcx + 0x19], 4
jb 0x1400f739e
mov r9, qword [rsp + 0x30]
lea r8, [0x140154368]
mov rcx, qword [rcx + 0x10]
mov edx, 0x50
call fcn.1400058d8
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400f75f3
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x48]
lea rdx, [0x14014be4c]
call fcn.140082ef4
mov ebx, eax
test eax, eax
js 0x1400f75bf
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x58]
lea rdx, [0x140145788]
call fcn.140082ef4
mov ebx, eax
test eax, eax
js 0x1400f75bf
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 0x1400f746f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400f745c
test dword [rcx + 0x1c], 0x200
je 0x1400f745c
cmp byte [rcx + 0x19], 2
jb 0x1400f745c
mov r9, qword [rsp + 0x48]
lea r8, [0x140154368]
mov rcx, qword [rcx + 0x10]
mov edx, 0x51
mov dword [rsp + 0x20], edi
call fcn.140005938
mov rcx, qword [0x14016f048]
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
jmp 0x1400f75c6
test rsi, rsi
je 0x1400f7484
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 [0x14014be54]
movzx eax, word [rbp - 0x62]
jne 0x1400f74a2
cmp ax, word [0x14014be56]
je 0x1400f7533
cmp cx, word [0x14014be58]
jne 0x1400f74c1
cmp ax, word [0x14014be5a]
jne 0x1400f74c1
movzx eax, word [rbp - 0x60]
cmp ax, word [0x14014be5c]
je 0x1400f7533
lea rdx, [0x14014ad80]
lea rcx, [rbp - 0x64]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x1400f7533
mov rcx, qword [rsp + 0x58]
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x64]
call fcn.140082ef4
mov rsi, qword [rsp + 0x40]
mov ebx, eax
test eax, eax
js 0x1400f75a6
test byte [rsp + 0x70], 0x10
je 0x1400f751d
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.1400f71f0
mov ebx, eax
test eax, eax
js 0x1400f75a6
mov rax, qword [rsp + 0x68]
jmp 0x1400f7530
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 0x1400f746f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 0x12
je 0x1400f75a6
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400f7598
test dword [rcx + 0x1c], 0x200
je 0x1400f7598
cmp byte [rcx + 0x19], 2
jb 0x1400f7598
mov r9, qword [rsp + 0x48]
lea r8, [0x140154368]
mov rcx, qword [rcx + 0x10]
mov edx, 0x52
mov dword [rsp + 0x20], edi
call fcn.140005938
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
test rsi, rsi
je 0x1400f75b4
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 [0x14016f048]
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x1400f75e0
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x14016f048]
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1400f75fa
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x14016f048]
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x1400f7614
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x14016f048]
test ebx, ebx
jns 0x1400f765a
lea rdi, [0x14016f048]
cmp rcx, rdi
je 0x1400f768a
test dword [rcx + 0x1c], 0x200
je 0x1400f7661
cmp byte [rcx + 0x19], 2
jb 0x1400f7661
mov r9, qword [rsp + 0x60]
lea r8, [0x140154368]
mov rcx, qword [rcx + 0x10]
mov edx, 0x53
mov dword [rsp + 0x20], ebx
call fcn.140005938
mov rcx, qword [0x14016f048]
jmp 0x1400f7661
lea rdi, [0x14016f048]
cmp rcx, rdi
je 0x1400f768a
test dword [rcx + 0x1c], 0x200
je 0x1400f768a
cmp byte [rcx + 0x19], 4
jb 0x1400f768a
mov rcx, qword [rcx + 0x10]
lea r8, [0x140154368]
mov edx, 0x54
call fcn.1400049d8
mov eax, ebx
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14013e290
mov rbx, qword [rsp + 0x300]
add rsp, 0x2d0
pop rdi
pop rsi
pop rbp
ret