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

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x14024e020
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rsi, rcx
xor ebx, ebx
mov dword [rbp + 0x30], ebx
cmp byte [rcx + 0x178], bl
je 0x14024e095
mov rax, qword [rcx + 0x170]
mov rcx, qword [rax + 0xd8]
mov eax, dword [rcx + 0x118]
shr eax, 1
test al, 1
je 0x14024e095
xor r8d, r8d
lea rdx, [rbp + 0x30]
call fcn.14027f0f0
mov ebx, 1
mov rcx, qword [rax]
cmp byte [rcx], 0
je 0x14024e095
mov rdx, rax
lea rcx, [rbp + 0x38]
call fcn.140015780
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop
cmp eax, 0xffffffff
je 0x14024e095
movzx r14d, bl
jmp 0x14024e098
xor r14b, r14b
mov edi, 0xffffffff
test bl, 1
je 0x14024e0c5
mov rcx, qword [rbp + 0x30]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14024e0c5
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, edi
jne 0x14024e0c5
call fcn.1400da0f0
test r14b, r14b
je 0x14024e47e
lea rdx, [0x14037fb24]
lea rcx, [rbp + 0x38]
call fcn.140019df0
nop
lea rdx, [rbp + 0x38]
lea rcx, [rbp - 0x28]
call fcn.14017f4e0
nop
mov rcx, qword [rbp + 0x38]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14024e112
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14024e112
call fcn.1400da0f0
nop
lea rdx, str.Overwrite
lea rcx, [rbp + 0x38]
call fcn.140019df0
nop
lea rdx, [rbp + 0x38]
lea rcx, [rbp - 0x30]
call fcn.14017f4e0
nop
mov rcx, qword [rbp + 0x38]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14024e156
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14024e156
call fcn.1400da0f0
nop
lea rdx, str.Are_you_sure_you_want_to_overwrite_it_
lea rcx, [rbp + 0x38]
call fcn.140019df0
nop
lea rdx, [rbp + 0x38]
lea rcx, [rbp - 0x38]
call fcn.14017f4e0
nop
mov rcx, qword [rbp + 0x38]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14024e19a
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14024e19a
call fcn.1400da0f0
nop
mov rcx, qword [rsi + 0x170]
xor r8d, r8d
lea rdx, [rbp - 0x18]
mov rcx, qword [rcx + 0xd8]
call fcn.14027f0f0
mov rbx, rax
lea rdx, str.Theres_already_a_file_called:_FLNM
lea rcx, [rbp + 0x38]
call fcn.140019df0
nop
lea rdx, [rbp + 0x38]
lea rcx, [rbp - 0x40]
call fcn.14017f4e0
nop
mov rcx, qword [rbp + 0x38]
add rcx, 0xfffffffffffffff0
mov edx, dword [rcx]
nop
test edx, 0x30000000
jne 0x14024e1fc
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14024e1fc
call fcn.1400da0f0
nop
mov r9, qword [rbx]
lea r8, str.FLNM
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x40]
call fcn.140167fe0
mov rbx, rax
mov qword [rbp + 0x38], rax
lea r8, [0x14037fbc6]
lea rdx, [0x14037fbc4]
mov rcx, rax
call fcn.1401691c0
mov rdx, qword [rbx]
mov qword [rbp + 0x30], rdx
mov ecx, dword [rdx - 0x10]
nop
test ecx, 0x30000000
jne 0x14024e247
lock inc dword [rdx - 0x10]
mov rcx, qword [rbx]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14024e26a
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14024e26a
call fcn.1400da0f0
lea rax, [rbp + 0x30]
mov qword [rbp + 0x38], rax
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x30]
call fcn.14017f700
mov rcx, qword [rax]
mov qword [rbp + 0x48], rcx
mov eax, dword [rcx - 0x10]
nop
test eax, 0x30000000
jne 0x14024e295
lock inc dword [rcx - 0x10]
mov rcx, qword [rbp + 0x30]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14024e2ba
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14024e2ba
call fcn.1400da0f0
nop
lea rdx, str.File_already_exists
lea rcx, [rbp + 0x38]
call fcn.140019df0
nop
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0x40]
call fcn.14017f4e0
nop
mov rcx, qword [rbp + 0x38]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14024e2fe
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14024e2fe
call fcn.1400da0f0
nop
mov rdx, rsi
lea rcx, [rbp + 0x38]
call fcn.140099a40
nop
lea r14, [0x14024e4a0]
mov qword [rbp - 0x10], r14
mov rbx, qword [rbp + 0x38]
mov qword [rbp - 8], rbx
mov qword [rbp + 0x38], 0
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.1400da124
mov qword [rbp + 0x38], rax
lea rcx, vtable.._AUCallable__1____create_V_lambda_9187841d0506c1a3c680a955d53e60bb____ModalCallbackFunction_juce__SAPEAVCallback_ModalComponentManager_2___QEAV_lambda_9187841d0506c1a3c680a955d53e60bb____Z_.0
mov qword [rax], rcx
mov qword [rax + 8], r14
mov qword [rax + 0x10], rbx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x30]
lea r8, [rbp + 0x48]
lea rdx, [rbp + 0x40]
mov ecx, 2
call fcn.1401fdc70
nop
mov rcx, qword [rbp + 0x40]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14024e395
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14024e395
call fcn.1400da0f0
nop
mov rcx, qword [rbp + 0x48]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14024e3ba
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14024e3ba
call fcn.1400da0f0
nop
mov rcx, qword [rbp - 0x40]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14024e3df
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14024e3df
call fcn.1400da0f0
nop
mov rcx, qword [rbp - 0x18]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14024e404
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14024e404
call fcn.1400da0f0
nop
mov rcx, qword [rbp - 0x38]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14024e429
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14024e429
call fcn.1400da0f0
nop
mov rcx, qword [rbp - 0x30]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14024e44e
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14024e44e
call fcn.1400da0f0
nop
mov rcx, qword [rbp - 0x28]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14024e48b
lock xadd dword [rcx], edi
dec edi
cmp edi, 0xffffffff
jne 0x14024e48b
call fcn.1400da0f0
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov edx, 1
mov rcx, rsi
call fcn.140280120
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret