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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rsi, rcx
lea rax, [0x140379908]
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rax
mov word [rcx + 0x20], 0
mov byte [rcx + 0x22], 0
mov dword [rcx + 0x24], 0xbb8
mov dword [rcx + 0x28], 2
xor ebx, ebx
mov qword [rcx + 0x30], rbx
mov qword [rcx + 0x38], rbx
mov qword [rcx + 0x40], rbx
mov dword [rcx + 0x48], ebx
mov qword [rcx + 0x50], rax
mov qword [rcx + 0x58], rax
mov qword [rcx + 0x60], rax
mov qword [rcx + 0x68], rax
mov word [rcx + 0x70], bx
mov byte [rcx + 0x72], bl
mov dword [rcx + 0x74], 0xbb8
mov dword [rcx + 0x78], 2
mov qword [rcx + 0x80], rbx
mov qword [rcx + 0x88], rbx
mov qword [rcx + 0x90], rbx
mov dword [rcx + 0x98], ebx
lea r15, [rcx + 0xa0]
mov qword [r15], rax
mov qword [r15 + 8], rax
mov qword [r15 + 0x10], rax
mov qword [r15 + 0x18], rax
mov word [r15 + 0x20], bx
mov byte [r15 + 0x22], bl
mov dword [r15 + 0x24], 0xbb8
mov dword [r15 + 0x28], 2
mov qword [r15 + 0x30], rbx
mov qword [r15 + 0x38], rbx
mov qword [r15 + 0x40], rbx
mov dword [r15 + 0x48], ebx
lea r14, [rcx + 0xf0]
lea rax, vtable.juce::PropertySet.0
mov qword [r14], rax
mov qword [r14 + 8], rbx
mov qword [r14 + 0x10], rbx
mov qword [r14 + 0x18], rbx
mov qword [r14 + 0x20], rbx
mov byte [r14 + 0x28], bl
mov qword [r14 + 0x30], rbx
lea rcx, [r14 + 0x38]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [r14 + 0x68], bl
lea rax, [0x140379908]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov word [rbp - 0x18], bx
mov byte [rbp - 0x16], bl
mov dword [rbp - 0x14], 0xbb8
mov dword [rbp - 0x10], 2
mov qword [rbp - 8], rbx
lea rdx, [0x1402d65a8]
lea rcx, [rbp + 0x48]
call fcn.14001a140
mov rax, qword [rbp + 0x48]
mov qword [rbp - 0x38], rax
mov eax, dword [0x1403798f8]
nop
mov ebx, 0xffffffff
test eax, 0x30000000
jne 0x14014551b
mov eax, ebx
lock xadd dword [0x1403798f8], eax
dec eax
cmp eax, ebx
jne 0x14014551b
lea rcx, [0x1403798f8]
call fcn.1400da0f0
lea rdx, [0x1402d65b8]
lea rcx, [rbp + 0x48]
call fcn.14001a140
mov rax, qword [rbp + 0x48]
mov qword [rbp - 0x28], rax
mov eax, dword [0x1403798f8]
nop
test eax, 0x30000000
jne 0x14014555d
mov eax, ebx
lock xadd dword [0x1403798f8], eax
dec eax
cmp eax, ebx
jne 0x14014555d
lea rcx, [0x1403798f8]
call fcn.1400da0f0
lea rdx, str.secure
lea rcx, [rbp + 0x48]
call fcn.14001a140
mov rax, qword [rbp + 0x48]
mov qword [rbp - 0x30], rax
mov eax, dword [0x1403798f8]
nop
test eax, 0x30000000
jne 0x14014559f
mov eax, ebx
lock xadd dword [0x1403798f8], eax
dec eax
cmp eax, ebx
jne 0x14014559f
lea rcx, [0x1403798f8]
call fcn.1400da0f0
mov byte [rbp - 0x16], 0
lea rdx, [rbp - 0x38]
mov rcx, r15
call fcn.14001e890
cmp qword [r15 + 0x38], 0
jne 0x1401455be
mov rcx, r15
call fcn.140181df0
mov rax, qword [r15 + 0x38]
mov qword [rsi + 0x168], rax
lea rdx, str.settings
lea rcx, [rbp + 0x48]
call fcn.14001a140
mov rax, qword [rbp - 0x30]
mov rcx, qword [rbp + 0x48]
mov qword [rbp - 0x30], rcx
lea rcx, [rax - 0x10]
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x140145603
lock xadd dword [rcx], ebx
dec ebx
cmp ebx, 0xffffffff
jne 0x140145603
call fcn.1400da0f0
lea rdx, [rbp - 0x38]
lea rcx, [rsi + 0x50]
call fcn.14001e890
cmp qword [rsi + 0x88], 0
jne 0x140145623
lea rcx, [rsi + 0x50]
call fcn.140181df0
mov rax, qword [rsi + 0x88]
mov qword [rsi + 0x160], rax
mov byte [rbp - 0x16], 1
lea rdx, [rbp - 0x38]
mov rcx, rsi
call fcn.14001e890
cmp qword [rsi + 0x40], 0
jne 0x140145650
mov rcx, rsi
call fcn.140181df0
mov rdi, qword [rsi + 0x40]
test rdi, rdi
je 0x140145749
lea rdx, [rdi + 0xc0]
mov rax, qword [rdx]
cmp byte [rax], 0
je 0x140145713
lea rcx, [rbp + 0x48]
call fcn.140015780
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop
cmp eax, 0xffffffff
je 0x140145713
lea rdx, [rdi + 8]
lea rcx, [r14 + 8]
call fcn.1401644b0
lea rdx, [rdi + 0x18]
lea rcx, [r14 + 0x18]
call fcn.1401644b0
mov rax, qword [rdi + 0x30]
mov qword [r14 + 0x30], rax
movzx eax, byte [rdi + 0x68]
mov byte [r14 + 0x68], al
mov rax, qword [r14]
mov rdx, qword [rax + 8]
lea rax, [method.juce::PropertySet.virtual_8]
cmp rdx, rax
je 0x1401456ce
mov rcx, r14
call rdx
mov rbx, qword [rsi + 0x160]
lea rcx, [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov qword [rbx + 0x30], r14
lea rcx, [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
lea rcx, [rbp - 0x38]
call fcn.14000d0e0
nop
mov rax, rsi
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.Settings_file_not_found_
lea rcx, [rbp + 0x48]
call fcn.14017f5a0
nop
mov rcx, rax
call fcn.14017f220
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.14000d050
lea rdx, [0x14041f2e8]
lea rcx, [rbp - 0x50]
call fcn.1400dca74
nop
lea rdx, [0x1402d6558]
lea rcx, [rbp + 0x48]
call fcn.14017f5a0
nop
mov rcx, rax
call fcn.14017f220
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.14000d050
lea rdx, [0x14041f2e8]
lea rcx, [rbp - 0x50]
call fcn.1400dca74
int3