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

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x98
mov rsi, rcx
lea rax, [0x140370a58]
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 r14, [rcx + 0xa0]
mov qword [r14], rax
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x18], rax
mov word [r14 + 0x20], bx
mov byte [r14 + 0x22], bl
mov dword [r14 + 0x24], 0xbb8
mov dword [r14 + 0x28], 2
mov qword [r14 + 0x30], rbx
mov qword [r14 + 0x38], rbx
mov qword [r14 + 0x40], rbx
mov dword [r14 + 0x48], ebx
lea r15, [rcx + 0xf0]
lea rax, vtable.juce::PropertySet.0
mov qword [r15], rax
mov qword [r15 + 8], rbx
mov qword [r15 + 0x10], rbx
mov qword [r15 + 0x18], rbx
mov qword [r15 + 0x20], rbx
mov byte [r15 + 0x28], bl
mov qword [r15 + 0x30], rbx
lea rcx, [r15 + 0x38]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [r15 + 0x68], bl
lea rax, [0x140370a58]
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], rax
mov word [rbp - 0x39], bx
mov byte [rbp - 0x37], bl
mov dword [rbp - 0x35], 0xbb8
mov dword [rbp - 0x31], 2
mov qword [rbp - 0x29], rbx
lea rdx, [0x1402d8400]
lea rcx, [rbp + 0x6f]
call fcn.140019cf0
mov rax, qword [rbp + 0x6f]
mov qword [rbp - 0x59], rax
mov eax, dword [0x140370a48]
nop
mov ebx, 0xffffffff
test eax, 0x30000000
jne 0x14014748c
mov eax, ebx
lock xadd dword [0x140370a48], eax
dec eax
cmp eax, ebx
jne 0x14014748c
lea rcx, [0x140370a48]
call fcn.1400daaa8
lea rdx, [0x1402d83c8]
lea rcx, [rbp + 0x77]
call fcn.140019cf0
mov rax, qword [rbp + 0x77]
mov qword [rbp - 0x49], rax
mov eax, dword [0x140370a48]
nop
test eax, 0x30000000
jne 0x1401474ce
mov eax, ebx
lock xadd dword [0x140370a48], eax
dec eax
cmp eax, ebx
jne 0x1401474ce
lea rcx, [0x140370a48]
call fcn.1400daaa8
lea rdx, str.secure
lea rcx, [rbp + 0x7f]
call fcn.140019cf0
mov rax, qword [rbp + 0x7f]
mov qword [rbp - 0x51], rax
mov eax, dword [0x140370a48]
nop
test eax, 0x30000000
jne 0x140147510
mov eax, ebx
lock xadd dword [0x140370a48], eax
dec eax
cmp eax, ebx
jne 0x140147510
lea rcx, [0x140370a48]
call fcn.1400daaa8
mov byte [rbp - 0x37], 0
lea rdx, [rbp - 0x59]
mov rcx, r14
call fcn.14001dcc0
cmp qword [r14 + 0x38], 0
jne 0x14014752f
mov rcx, r14
call fcn.1401839e0
mov rax, qword [r14 + 0x38]
mov qword [rsi + 0x168], rax
lea rdx, str.settings
lea rcx, [rbp - 0x21]
call fcn.140019cf0
mov rax, qword [rbp - 0x51]
mov rcx, qword [rbp - 0x21]
mov qword [rbp - 0x51], rcx
lea rcx, [rax - 0x10]
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x140147574
lock xadd dword [rcx], ebx
dec ebx
cmp ebx, 0xffffffff
jne 0x140147574
call fcn.1400daaa8
lea rdx, [rbp - 0x59]
lea rcx, [rsi + 0x50]
call fcn.14001dcc0
cmp qword [rsi + 0x88], 0
jne 0x140147594
lea rcx, [rsi + 0x50]
call fcn.1401839e0
mov rax, qword [rsi + 0x88]
mov qword [rsi + 0x160], rax
mov byte [rbp - 0x37], 1
lea rdx, [rbp - 0x59]
mov rcx, rsi
call fcn.14001dcc0
cmp qword [rsi + 0x40], 0
jne 0x1401475c1
mov rcx, rsi
call fcn.1401839e0
mov rdi, qword [rsi + 0x40]
test rdi, rdi
je 0x1401476a9
lea rdx, [rdi + 0xc0]
mov rax, qword [rdx]
cmp byte [rax], 0
je 0x1401475f9
lea rcx, [rbp + 7]
call fcn.140014d10
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop
cmp eax, 0xffffffff
je 0x1401475f9
mov al, 1
jmp 0x1401475fb
xor al, al
test al, al
je 0x140147673
lea rdx, [rdi + 8]
lea rcx, [r15 + 8]
call fcn.140166440
lea rdx, [rdi + 0x18]
lea rcx, [r15 + 0x18]
call fcn.140166440
mov rax, qword [rdi + 0x30]
mov qword [r15 + 0x30], rax
movzx eax, byte [rdi + 0x68]
mov byte [r15 + 0x68], al
mov rax, qword [r15]
mov rcx, r15
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rsi + 0x160]
lea rcx, [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov qword [rbx + 0x30], r15
lea rcx, [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
lea rcx, [rbp - 0x59]
call fcn.14000cd20
nop
mov rax, rsi
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rdx, str.Settings_file_not_found_
lea rcx, [rbp - 0x19]
call fcn.1401810f0
nop
mov rcx, rax
call fcn.140180d80
mov rdx, rax
lea rcx, [rbp - 0x11]
call fcn.14000cc90
lea rdx, [0x140416f88]
lea rcx, [rbp - 0x11]
call fcn.1400dd30c
nop
lea rdx, [0x1402d8338]
lea rcx, [rbp - 0x19]
call fcn.1401810f0
nop
mov rcx, rax
call fcn.140180d80
mov rdx, rax
lea rcx, [rbp - 0x11]
call fcn.14000cc90
lea rdx, [0x140416f88]
lea rcx, [rbp - 0x11]
call fcn.1400dd30c
int3