Function at 0x140004e10
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x740]
sub rsp, 0x840
mov rax, qword [0x14020fe28]
xor rax, rsp
mov qword [rbp + 0x730], rax
lea rax, [0x140120aa0]
xor edx, edx
mov qword [rbp + 0x2e0], rax
lea rcx, [rbp + 0x510]
lea rax, [0x140120aa4]
mov r8d, 0x104
mov qword [rbp + 0x2e8], rax
xor esi, esi
call fcn.1400a7190
xor edx, edx
lea rcx, [rbp + 0x620]
mov r8d, 0x104
call fcn.1400a7190
xor r9d, r9d
mov qword [rsp + 0x20], rsi
mov edx, 0x104
lea r8d, [rsi + 2]
lea rcx, [rbp + 0x510]
call fcn.140014740
lea rcx, [rbp + 0x510]
call fcn.140005e40
xor r14d, r14d
lea r15, [rbp + 0x2e0]
lea r12, [0x140120918]
lea r13, str.Loading_File_REPO__s_n
nop
xor edx, edx
lea rcx, [rbp + 0x90]
mov r8d, 0x104
call fcn.1400a7190
mov r9, qword [r15]
lea r8, [0x140120964]
lea rdx, [rbp + 0x620]
mov ecx, 0x104
call fcn.1400060e0
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x140
call fcn.1400a7190
lea rax, [rbp + 0x620]
mov ecx, 0x104
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x510]
lea r8, [0x14012091c]
mov qword [rsp + 0x20], r12
lea rdx, [rbp + 0x2f0]
call fcn.1400060e0
mov ecx, 0x110
call fcn.1400b45e8
mov rdi, rax
test rax, rax
je 0x140004f63
xor edx, edx
mov r8d, 0x110
mov rcx, rax
call fcn.1400a7190
test rdi, rdi
je 0x1400052cf
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x2f0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rdi], rax
cmp rax, 0xffffffffffffffff
je 0x140005091
nop dword [rax + rax]
lea rax, [rsp + 0x7c]
mov ecx, 0x104
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x510]
lea r8, [0x14012091c]
mov qword [rsp + 0x20], r12
lea rdx, [rbp + 0x2f0]
call fcn.1400060e0
lea rcx, [rbp + 0x2f0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140005030
bt eax, 0xa
jae 0x140005030
lea rcx, [rbp + 0x2f0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000501e
bt eax, 0xa
jae 0x14000501e
lea rcx, [rbp + 0x2f0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140005012
test al, 0x10
je 0x140005012
lea rcx, [rbp + 0x2f0]
call fcn.1400d246c
jmp 0x14000501e
lea rcx, [rbp + 0x2f0]
call fcn.1400b5fcc
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x140
call fcn.1400a7190
cmp byte [rsp + 0x7c], 0
jne 0x140005058
mov rcx, qword [rdi]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x140004f90
cmp byte [rsp + 0x7c], 0
je 0x1400052b1
lea rcx, [rdi + 8]
mov r9, 0xffffffffffffffff
lea r8, [rbp + 0x510]
mov edx, 0x104
call fcn.1400b46b8
mov r9, 0xffffffffffffffff
lea r8, [rsp + 0x7c]
mov edx, 0x104
lea rcx, [rbp + 0x90]
call fcn.1400b46b8
cmp byte [rsp + 0x7c], 0
je 0x1400052b1
nop dword [rax]
cmp dword [0x140212580], 0
jne 0x140005312
mov edx, 2
lea r8, [rbp + 0x90]
lea ecx, [rdx - 1]
call fcn.140007410
mov rbx, rax
test rax, rax
je 0x140005192
cmp dword [0x140209140], 3
jl 0x140005118
test dword [0x1402091a4], 0x400000
je 0x140005118
lea rax, [rbp + 0x90]
mov edx, 3
mov qword [rsp + 0x30], rax
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_LIBSourcesesif_lib_databank.c
mov qword [rsp + 0x28], r13
lea r8, str.DataBank_LoadFileRepos
mov ecx, 0x400000
mov dword [rsp + 0x20], 0x216
call fcn.140077c20
mov rcx, rbx
call fcn.140007bd0
mov esi, eax
test eax, eax
je 0x14000518a
cmp dword [0x140209140], 1
jl 0x140005188
test dword [0x140209174], 0x4000
je 0x140005188
mov ecx, eax
call fcn.140006160
lea rcx, [rbp + 0x90]
mov edx, 1
mov qword [rsp + 0x40], rcx
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_LIBSourcesesif_lib_databank.c
mov dword [rsp + 0x38], esi
lea r8, str.DataBank_LoadFileRepos
mov qword [rsp + 0x30], rax
mov ecx, 0x4000
lea rax, str.REPO_Load_Failed___s___d__:__s_n
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x21d
call fcn.140077c20
xor esi, esi
mov rcx, rbx
call fcn.140007620
xor edx, edx
lea rcx, [rbp + 0x1a0]
mov r8d, 0x140
call fcn.1400a7190
xor edx, edx
lea rcx, [rbp + 0x400]
mov r8d, 0x104
call fcn.1400a7190
nop word [rax + rax]
mov rcx, qword [rdi]
lea rdx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 1
jne 0x140005289
lea rax, [rbp + 0x1cc]
mov ecx, 0x104
mov qword [rsp + 0x28], rax
lea r9, [rdi + 8]
lea r8, [0x14012091c]
mov qword [rsp + 0x20], r12
lea rdx, [rbp + 0x400]
call fcn.1400060e0
lea rcx, [rbp + 0x400]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000527a
bt eax, 0xa
jae 0x14000527a
lea rcx, [rbp + 0x400]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140005266
bt eax, 0xa
jae 0x140005266
lea rcx, [rbp + 0x400]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000525a
test al, 0x10
je 0x14000525a
lea rcx, [rbp + 0x400]
call fcn.1400d246c
jmp 0x140005266
lea rcx, [rbp + 0x400]
call fcn.1400b5fcc
xor edx, edx
lea rcx, [rbp + 0x1a0]
mov r8d, 0x140
call fcn.1400a7190
cmp byte [rbp + 0x1cc], 0
je 0x1400051c0
jmp 0x14000528d
test eax, eax
je 0x1400052b1
mov r9, 0xffffffffffffffff
lea r8, [rbp + 0x1cc]
mov edx, 0x104
lea rcx, [rbp + 0x90]
call fcn.1400b46b8
jmp 0x1400050a0
mov rcx, qword [rdi]
cmp rcx, 0xffffffffffffffff
je 0x1400052c7
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rdi], 0xffffffffffffffff
mov rcx, rdi
call fcn.1400b45d4
inc r14d
add r15, 8
cmp r14d, 2
jb 0x140004ed0
mov eax, esi
mov rcx, qword [rbp + 0x730]
xor rcx, rsp
call fcn.1400a56b0
lea r11, [rsp + 0x840]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rcx, qword [rdi]
cmp rcx, 0xffffffffffffffff
je 0x140005328
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rdi], 0xffffffffffffffff
mov rcx, rdi
call fcn.1400b45d4
cmp dword [0x140209140], 3
jl 0x140005376
test dword [0x1402091a4], 0x400000
je 0x140005376
lea rax, str.Pausing_DV_loading_n
mov edx, 3
mov qword [rsp + 0x28], rax
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_LIBSourcesesif_lib_databank.c
lea r8, str.DataBank_LoadFileRepos
mov dword [rsp + 0x20], 0x20a
mov ecx, 0x400000
call fcn.140077c20
mov eax, 0x68
jmp 0x1400052e2