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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x14041d440]
xor rax, rsp
mov qword [rbp], rax
mov r14, r8
mov rdi, rdx
mov qword [rsp + 0x70], rdx
mov qword [rbp - 0x50], r8
xor r12d, r12d
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
lea rcx, [rsp + 0x70]
call fcn.14017f7a0
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14017fb50
nop
mov rcx, qword [rsp + 0x70]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
lea rbx, [r12 - 1]
test eax, 0x30000000
jne 0x1401310ba
mov eax, ebx
lock xadd dword [rcx], eax
dec eax
cmp eax, ebx
jne 0x1401310ba
call fcn.1400daaa8
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x48], rax
mov ecx, dword [rax - 0x10]
nop
test ecx, 0x30000000
jne 0x1401310d4
lock inc dword [rax - 0x10]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov rdx, r14
lea rcx, [rsp + 0x48]
call fcn.140181250
mov rcx, qword [rax]
mov qword [rsp + 0x58], rcx
mov eax, dword [rcx - 0x10]
nop
test eax, 0x30000000
jne 0x140131102
lock inc dword [rcx - 0x10]
mov rcx, qword [rsp + 0x48]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x140131128
mov eax, ebx
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x140131128
call fcn.1400daaa8
nop
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x40]
call fcn.14017abe0
nop
mov rcx, qword [rsp + 0x58]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14013115d
mov eax, ebx
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14013115d
call fcn.1400daaa8
mov rax, qword [rsp + 0x40]
cmp byte [rax], 0
je 0x140131188
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x48]
call fcn.140014d10
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop
cmp eax, 0xffffffff
je 0x140131188
mov al, 1
jmp 0x14013118a
xor al, al
test al, al
je 0x1401313ac
mov rax, qword [rsp + 0x40]
cmp byte [rax], 0
je 0x1401313ac
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.140014d10
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop
test al, 0x10
jne 0x1401313ac
lea r15, vtable.juce::FileInputStream.0
mov qword [rsp + 0x78], r15
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x80], rax
mov ecx, dword [rax - 0x10]
nop
test ecx, 0x30000000
jne 0x1401311e5
lock inc dword [rax - 0x10]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
lea rax, [0x140370a58]
mov qword [rbp - 0x68], rax
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x38]
call fcn.140014d10
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x8000080
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 7]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x14013123b
mov qword [rbp - 0x78], rax
jmp 0x14013127a
lea rcx, [rbp - 0x58]
call fcn.14014f920
mov rdx, rax
mov rax, qword [rbp - 0x68]
mov rcx, qword [rdx]
mov qword [rbp - 0x68], rcx
mov qword [rdx], rax
mov rcx, qword [rbp - 0x58]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14013127a
mov eax, ebx
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14013127a
call fcn.1400daaa8
nop
mov rax, qword [rbp - 0x68]
cmp byte [rax], 0
jne 0x1401312d2
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x30]
call fcn.140014d10
lea r8, [rbp - 0x28]
xor edx, edx
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x1401312b3
mov esi, dword [rbp - 0xc]
shl rsi, 0x20
mov eax, dword [rbp - 8]
or rsi, rax
jmp 0x1401312b6
mov rsi, r12
mov r8, rbx
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x78]
call fcn.14016e410
cmp rsi, rax
jne 0x1401312d2
mov sil, 1
jmp 0x1401312d5
xor sil, sil
mov qword [rsp + 0x78], r15
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x68]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x140131308
mov eax, ebx
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x140131308
call fcn.1400daaa8
mov rcx, qword [rbp - 0x80]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14013132c
mov eax, ebx
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14013132c
call fcn.1400daaa8
test sil, sil
je 0x1401313ac
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
mov rcx, rdi
call fcn.1401e36e0
nop
mov rcx, qword [rsp + 0x40]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14013136a
mov eax, ebx
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14013136a
call fcn.1400daaa8
nop
mov rcx, qword [rsp + 0x50]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x140131390
mov eax, ebx
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x140131390
call fcn.1400daaa8
nop
mov rcx, qword [rsp + 0x60]
call fcn.1400e1bf4
nop
mov rcx, qword [r14]
sub rcx, 0x10
mov edx, dword [rcx]
test edx, 0x30000000
jmp 0x140131414
mov qword [rdi], r12
mov rcx, qword [rsp + 0x40]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x1401313d5
mov eax, ebx
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1401313d5
call fcn.1400daaa8
nop
mov rcx, qword [rsp + 0x50]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x1401313fb
mov eax, ebx
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1401313fb
call fcn.1400daaa8
nop
mov rcx, qword [rsp + 0x60]
call fcn.1400e1bf4
nop
mov rcx, qword [r14]
sub rcx, 0x10
mov eax, dword [rcx]
test eax, 0x30000000
nop
jne 0x140131427
lock xadd dword [rcx], ebx
dec ebx
cmp ebx, 0xffffffff
jne 0x140131427
call fcn.1400daaa8
mov rax, rdi
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1400da5a0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret