Function at 0x14012df40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x140425440]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14, r8
mov rdi, rdx
mov qword [rbp - 0x69], rdx
mov qword [rbp - 9], r8
xor r15d, r15d
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x41], r15
lea rcx, [rbp - 0x69]
call fcn.14017d970
nop
mov rdx, rax
lea rcx, [rbp - 0x51]
call fcn.14017e080
nop
mov rcx, qword [rbp - 0x69]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
mov rbx, 0xffffffffffffffff
test eax, 0x30000000
jne 0x14012dfc0
mov eax, ebx
lock xadd dword [rcx], eax
dec eax
cmp eax, ebx
jne 0x14012dfc0
call fcn.1400da0f0
mov rax, qword [rbp - 0x51]
mov qword [rbp - 0x59], rax
mov ecx, dword [rax - 0x10]
nop
test ecx, 0x30000000
jne 0x14012dfd8
lock inc dword [rax - 0x10]
lea rax, [rbp - 0x59]
mov qword [rbp - 0x69], rax
mov rdx, r14
lea rcx, [rbp - 0x59]
call fcn.14017f700
mov rcx, qword [rax]
mov qword [rbp - 0x69], rcx
mov eax, dword [rcx - 0x10]
nop
test eax, 0x30000000
jne 0x14012e002
lock inc dword [rcx - 0x10]
mov rcx, qword [rbp - 0x59]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14012e027
mov eax, ebx
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14012e027
call fcn.1400da0f0
nop
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x61]
call fcn.140178d10
nop
mov rcx, qword [rbp - 0x69]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14012e059
mov eax, ebx
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14012e059
call fcn.1400da0f0
mov rax, qword [rbp - 0x61]
cmp byte [rax], 0
je 0x14012e1f4
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x69]
call fcn.140015780
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop
cmp eax, 0xffffffff
je 0x14012e1f0
mov rax, qword [rbp - 0x61]
cmp byte [rax], 0
je 0x14012e1f4
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x69]
call fcn.140015780
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop
test al, 0x10
jne 0x14012e1f0
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x31]
call fcn.140175e20
nop
mov rax, qword [rbp - 0x11]
cmp byte [rax], 0
jne 0x14012e115
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x69]
call fcn.140015780
lea r8, [rbp - 1]
xor edx, edx
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x14012e0f8
mov esi, dword [rbp + 0x1b]
shl rsi, 0x20
mov eax, dword [rbp + 0x1f]
or rsi, rax
jmp 0x14012e0fb
mov rsi, r15
mov r8, rbx
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x31]
call fcn.14016c3b0
cmp rsi, rax
jne 0x14012e115
mov sil, 1
jmp 0x14012e118
xor sil, sil
lea rax, vtable.juce::FileInputStream.0
mov qword [rbp - 0x31], rax
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x11]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14012e151
mov eax, ebx
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14012e151
call fcn.1400da0f0
mov rcx, qword [rbp - 0x29]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14012e175
mov eax, ebx
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14012e175
call fcn.1400da0f0
test sil, sil
je 0x14012e1f0
mov r8, qword [rbp - 0x41]
mov rdx, qword [rbp - 0x49]
mov rcx, rdi
call fcn.1401e1b70
nop
mov rcx, qword [rbp - 0x61]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14012e1b0
mov eax, ebx
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14012e1b0
call fcn.1400da0f0
nop
mov rcx, qword [rbp - 0x51]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14012e1d5
mov eax, ebx
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14012e1d5
call fcn.1400da0f0
nop
mov rcx, qword [rbp - 0x49]
call fcn.1400e0818
nop
mov rcx, qword [r14]
sub rcx, 0x10
mov edx, dword [rcx]
test edx, 0x30000000
jmp 0x14012e255
mov rax, qword [rbp - 0x61]
mov qword [rdi], r15
lea rcx, [rax - 0x10]
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14012e218
mov eax, ebx
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14012e218
call fcn.1400da0f0
nop
mov rcx, qword [rbp - 0x51]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14012e23d
mov eax, ebx
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14012e23d
call fcn.1400da0f0
nop
mov rcx, qword [rbp - 0x49]
call fcn.1400e0818
nop
mov rcx, qword [r14]
sub rcx, 0x10
mov eax, dword [rcx]
test eax, 0x30000000
nop
jne 0x14012e268
lock xadd dword [rcx], ebx
dec ebx
cmp ebx, 0xffffffff
jne 0x14012e268
call fcn.1400da0f0
mov rax, rdi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400d9d70
mov rbx, qword [rsp + 0xf0]
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret