Function at 0x140037f30
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push r12
sub rsp, 0x80
mov r12, qword [0x14027d290]
mov rcx, r12
mov qword [rsp + 0x90], r12
call fcn.140038be0
test eax, eax
jne 0x14003818e
mov qword [rsp + 0x78], rdi
xor edi, edi
mov qword [rsp + 0x68], r14
xor r14d, r14d
cmp qword [0x14027d270], rdi
je 0x14003815c
mov qword [rsp + 0x98], rbx
lea r12, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_LIBSourcesesif_lib_databank.c
mov qword [rsp + 0xa8], rsi
xor ebx, ebx
mov qword [rsp + 0x70], r13
lea r13, [0x14027d270]
mov qword [rsp + 0x60], r15
mov rsi, r13
mov qword [rsp + 0xa0], rbp
nop dword [rax]
cmp byte [rbx + r13 + 0x18], 0
lea r15, [rbx + r13]
jne 0x140038119
mov r8, qword [rsi]
mov edx, 1
xor ecx, ecx
call fcn.14003ac00
mov rbp, rax
test rax, rax
je 0x140038119
cmp dword [0x140274810], 3
jl 0x140037ff7
test dword [0x140274874], 0x400000
je 0x140037ff7
mov edi, 1
jmp 0x140037ff9
xor edi, edi
mov edx, 3
mov ecx, 0x400000
call fcn.1400e1c40
test edi, edi
jne 0x140038010
test eax, eax
je 0x140038052
mov rcx, qword [rsi]
mov r9d, 3
mov qword [rsp + 0x40], rcx
mov r8d, 0x400000
lea rcx, str.Loading_Static_REPO__s_n
mov edx, eax
mov qword [rsp + 0x38], rcx
lea rcx, str.DataBank_LoadStaticRepos
mov dword [rsp + 0x30], 0x1d4
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rcx
mov ecx, edi
call fcn.1400ba210
mov r9, qword [rbx + r13 + 0x10]
mov edx, 1
mov r8, qword [rbx + r13 + 8]
mov rcx, qword [rbp + 0x108]
call fcn.140044a10
mov rcx, rbp
call fcn.14003b530
mov edi, eax
test eax, eax
je 0x14003810c
cmp dword [0x140274810], 1
jl 0x14003809b
test dword [0x140274844], 0x4000
je 0x14003809b
mov ebx, 1
jmp 0x14003809d
xor ebx, ebx
mov edx, 1
mov ecx, 0x4000
call fcn.1400e1c40
mov r10d, eax
test ebx, ebx
jne 0x1400380b7
test eax, eax
je 0x14003810a
mov ecx, edi
call fcn.140039950
mov rcx, qword [rsi]
mov r9d, 1
mov qword [rsp + 0x50], rcx
mov r8d, 0x4000
mov dword [rsp + 0x48], edi
mov edx, r10d
mov qword [rsp + 0x40], rax
mov ecx, ebx
lea rax, str.REPO_Load_Failed___s___d__:__s_n
mov qword [rsp + 0x38], rax
lea rax, str.DataBank_LoadStaticRepos
mov dword [rsp + 0x30], 0x1e1
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
call fcn.1400ba210
xor edi, edi
mov rcx, rbp
call fcn.14003ae10
mov byte [r15 + 0x18], 1
inc r14d
mov ebx, r14d
shl rbx, 5
cmp qword [rbx + r13], 0
lea rsi, [rbx + r13]
jne 0x140037fb0
mov r12, qword [rsp + 0x90]
mov r15, qword [rsp + 0x60]
mov r13, qword [rsp + 0x70]
mov rsi, qword [rsp + 0xa8]
mov rbp, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x98]
mov r14, qword [rsp + 0x68]
test edi, edi
jne 0x140038187
mov rcx, r12
call fcn.1400387b0
test eax, eax
jne 0x140038189
mov rcx, r12
mov rdi, qword [rsp + 0x78]
add rsp, 0x80
pop r12
jmp 0x1400381a0
mov eax, edi
mov rdi, qword [rsp + 0x78]
add rsp, 0x80
pop r12
ret
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 - 0x750]
sub rsp, 0x850
mov rax, qword [0x14027aef8]
xor rax, rsp
mov qword [rbp + 0x740], rax
lea rax, [0x14017d760]
xor edx, edx
mov qword [rbp + 0x2f0], rax
lea rcx, [rbp + 0x520]
lea rax, [0x14017d764]
mov r8d, 0x104
mov qword [rbp + 0x2f8], rax
xor r14d, r14d
call fcn.140102230
xor edx, edx
lea rcx, [rbp + 0x630]
mov r8d, 0x104
call fcn.140102230
xor r9d, r9d
mov qword [rsp + 0x20], r14
mov edx, 0x104
lea r8d, [r14 + 2]
lea rcx, [rbp + 0x520]
call fcn.140047820
lea rcx, [rbp + 0x520]
call fcn.140039630
xor r12d, r12d
lea r13, [rbp + 0x2f0]
lea rbx, [0x14017d5dc]
lea r15d, [r14 + 1]
nop dword [rax]
xor edx, edx
lea rcx, [rbp + 0xa0]
mov r8d, 0x104
call fcn.140102230
mov r9, qword [r13]
lea r8, [0x14017d624]
lea rdx, [rbp + 0x630]
mov ecx, 0x104
call fcn.1400398d0
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x140
call fcn.140102230
lea rax, [rbp + 0x630]
mov ecx, 0x104
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x520]
lea r8, [0x14017d5e0]
mov qword [rsp + 0x20], rbx
lea rdx, [rbp + 0x300]
call fcn.1400398d0
mov ecx, 0x110
call fcn.140110008
mov rsi, rax
test rax, rax
je 0x1400382f4
xor edx, edx
mov r8d, 0x110
mov rcx, rax
call fcn.140102230
test rsi, rsi
je 0x1400386cf
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x300]
call qword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov qword [rsi], rax
cmp rax, 0xffffffffffffffff
je 0x14003841d
nop dword [rax]
lea rax, [rbp - 0x74]
mov ecx, 0x104
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x520]
lea r8, [0x14017d5e0]
mov qword [rsp + 0x20], rbx
lea rdx, [rbp + 0x300]
call fcn.1400398d0
lea rcx, [rbp + 0x300]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400383bf
bt eax, 0xa
jae 0x1400383bf
lea rcx, [rbp + 0x300]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400383ad
bt eax, 0xa
jae 0x1400383ad
lea rcx, [rbp + 0x300]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400383a1
test al, 0x10
je 0x1400383a1
lea rcx, [rbp + 0x300]
call fcn.14012db94
jmp 0x1400383ad
lea rcx, [rbp + 0x300]
call fcn.14011295c
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x140
call fcn.140102230
cmp byte [rbp - 0x74], 0
jne 0x1400383e5
mov rcx, qword [rsi]
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
je 0x140038320
cmp byte [rbp - 0x74], 0
je 0x1400386b1
lea rcx, [rsi + 8]
mov r9, 0xffffffffffffffff
lea r8, [rbp + 0x520]
mov edx, 0x104
call fcn.1401100d8
mov r9, 0xffffffffffffffff
lea r8, [rbp - 0x74]
mov edx, 0x104
lea rcx, [rbp + 0xa0]
call fcn.1401100d8
cmp byte [rbp - 0x74], 0
je 0x1400386b1
nop word [rax + rax]
cmp dword [0x14027d2a0], 0
jne 0x140038713
lea r8, [rbp + 0xa0]
mov edx, 2
mov ecx, r15d
call fcn.14003ac00
mov rdi, rax
test rax, rax
je 0x140038593
cmp dword [0x140274810], 3
jl 0x140038477
test dword [0x140274874], 0x400000
je 0x140038477
mov ebx, r15d
jmp 0x140038479
xor ebx, ebx
mov edx, 3
mov ecx, 0x400000
call fcn.1400e1c40
test ebx, ebx
jne 0x140038490
test eax, eax
je 0x1400384dd
lea rcx, [rbp + 0xa0]
mov r9d, 3
mov qword [rsp + 0x40], rcx
mov r8d, 0x400000
lea rcx, str.Loading_File_REPO__s_n
mov edx, eax
mov qword [rsp + 0x38], rcx
lea rcx, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_LIBSourcesesif_lib_databank.c
mov dword [rsp + 0x30], 0x216
mov qword [rsp + 0x28], rcx
lea rcx, str.DataBank_LoadFileRepos
mov qword [rsp + 0x20], rcx
mov ecx, ebx
call fcn.1400ba210
mov rcx, rdi
call fcn.14003b530
mov r14d, eax
test eax, eax
je 0x140038584
cmp dword [0x140274810], r15d
jl 0x14003850a
test dword [0x140274844], 0x4000
je 0x14003850a
mov ebx, r15d
jmp 0x14003850c
xor ebx, ebx
mov edx, r15d
mov ecx, 0x4000
call fcn.1400e1c40
mov r10d, eax
test ebx, ebx
jne 0x140038524
test eax, eax
je 0x140038581
mov ecx, r14d
call fcn.140039950
lea rcx, [rbp + 0xa0]
mov r9d, r15d
mov qword [rsp + 0x50], rcx
mov r8d, 0x4000
mov dword [rsp + 0x48], r14d
mov edx, r10d
mov qword [rsp + 0x40], rax
mov ecx, ebx
lea rax, str.REPO_Load_Failed___s___d__:__s_n
mov qword [rsp + 0x38], rax
lea rax, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_LIBSourcesesif_lib_databank.c
mov dword [rsp + 0x30], 0x21d
mov qword [rsp + 0x28], rax
lea rax, str.DataBank_LoadFileRepos
mov qword [rsp + 0x20], rax
call fcn.1400ba210
xor r14d, r14d
mov rcx, rdi
call fcn.14003ae10
lea rbx, [0x14017d5dc]
xor edx, edx
lea rcx, [rbp + 0x1b0]
mov r8d, 0x140
call fcn.140102230
xor edx, edx
lea rcx, [rbp + 0x410]
mov r8d, 0x104
call fcn.140102230
nop dword [rax + rax]
mov rcx, qword [rsi]
lea rdx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.DLL_FindNextFileA]
cmp eax, r15d
jne 0x140038689
lea rax, [rbp + 0x1dc]
mov ecx, 0x104
mov qword [rsp + 0x28], rax
lea r9, [rsi + 8]
lea r8, [0x14017d5e0]
mov qword [rsp + 0x20], rbx
lea rdx, [rbp + 0x410]
call fcn.1400398d0
lea rcx, [rbp + 0x410]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14003867a
bt eax, 0xa
jae 0x14003867a
lea rcx, [rbp + 0x410]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140038666
bt eax, 0xa
jae 0x140038666
lea rcx, [rbp + 0x410]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14003865a
test al, 0x10
je 0x14003865a
lea rcx, [rbp + 0x410]
call fcn.14012db94
jmp 0x140038666
lea rcx, [rbp + 0x410]
call fcn.14011295c
xor edx, edx
lea rcx, [rbp + 0x1b0]
mov r8d, 0x140
call fcn.140102230
cmp byte [rbp + 0x1dc], 0
je 0x1400385c0
jmp 0x14003868d
test eax, eax
je 0x1400386b1
mov r9, 0xffffffffffffffff
lea r8, [rbp + 0x1dc]
mov edx, 0x104
lea rcx, [rbp + 0xa0]
call fcn.1401100d8
jmp 0x140038430
mov rcx, qword [rsi]
cmp rcx, 0xffffffffffffffff
je 0x1400386c7
call qword [sym.imp.KERNEL32.DLL_FindClose]
mov qword [rsi], 0xffffffffffffffff
mov rcx, rsi
call fcn.14010fff4
inc r12d
add r13, 8
cmp r12d, 2
jb 0x140038260
mov eax, r14d
mov rcx, qword [rbp + 0x740]
xor rcx, rsp
call fcn.140100920
lea r11, [rsp + 0x850]
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 [rsi]
cmp rcx, 0xffffffffffffffff
je 0x140038729
call qword [sym.imp.KERNEL32.DLL_FindClose]
mov qword [rsi], 0xffffffffffffffff
mov rcx, rsi
call fcn.14010fff4
cmp dword [0x140274810], 3
jl 0x140038746
test dword [0x140274874], 0x400000
jne 0x140038749
xor r15d, r15d
mov edx, 3
mov ecx, 0x400000
call fcn.1400e1c40
test r15d, r15d
jne 0x140038761
test eax, eax
je 0x1400387a3
lea rcx, str.Pausing_DV_loading_n
mov r9d, 3
mov qword [rsp + 0x38], rcx
mov r8d, 0x400000
lea rcx, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_LIBSourcesesif_lib_databank.c
mov dword [rsp + 0x30], 0x20a
mov qword [rsp + 0x28], rcx
mov edx, eax
lea rcx, str.DataBank_LoadFileRepos
mov qword [rsp + 0x20], rcx
mov ecx, r15d
call fcn.1400ba210
mov eax, 0x68
jmp 0x1400386e3