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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x78
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov rsi, rcx
cmp qword [rcx + 0x108], 0
je 0x140205b36
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call fcn.1400bd614
mov r15, rax
mov qword [rbp - 0x40], rax
mov qword [rbp + 0x48], rax
mov rcx, qword [rsi + 0x108]
mov qword [rax], rcx
or edx, 0xffffffff
call fcn.140164520
mov byte [r15 + 8], al
jmp 0x140205b3d
xor r15d, r15d
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x20], r15
test r15, r15
je 0x140205b55
cmp byte [r15 + 8], 0
jne 0x140205b55
xor dil, dil
jmp 0x140205e37
lea rdx, [rsi + 0xd0]
xor r8d, r8d
lea rcx, [rbp - 0x18]
call fcn.14017ec90
nop
mov ecx, 0x48
call fcn.1400bd614
mov qword [rbp + 0x48], rax
mov r8d, 0x8000
lea rdx, [rbp - 0x18]
mov rcx, rax
call fcn.14017f4e0
nop
mov rcx, qword [rax + 0x20]
cmp byte [rcx], 0
je 0x140205ba3
xor ebx, ebx
mov r8, qword [rax]
lea edx, [rbx + 1]
mov rcx, rax
call qword [r8]
jmp 0x140205ba6
mov rbx, rax
mov qword [rbp - 0x48], rbx
mov r12d, 4
test rbx, rbx
je 0x140205dbf
mov r9, qword [rbx]
lea rdi, [method.juce::OutputStream.virtual_72]
mov rax, qword [r9 + 0x48]
mov rcx, rbx
cmp dword [rsi + 0x100], 1
jne 0x140205c2d
cmp rax, rdi
jne 0x140205bee
mov eax, dword [0x140417684]
mov dword [rbp + 0x48], eax
mov r8d, r12d
lea rdx, [rbp + 0x48]
call qword [r9 + 0x20]
jmp 0x140205bf6
mov edx, dword [0x140417684]
call rax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ecx, 0x28
call fcn.1400bd614
mov qword [rbp + 0x50], rax
mov rdx, rbx
xor ebx, ebx
mov qword [rbp - 0x48], rbx
mov rcx, rax
call fcn.140165fa0
nop
test rax, rax
je 0x140205c50
mov rbx, rax
mov qword [rbp - 0x48], rax
jmp 0x140205c50
cmp rax, rdi
jne 0x140205c48
mov eax, dword [str.PROP]
mov dword [rbp + 0x50], eax
mov r8, r12
lea rdx, [rbp + 0x50]
call qword [r9 + 0x20]
jmp 0x140205c50
mov edx, dword [str.PROP]
call rax
mov r13d, dword [rsi + 0x18]
mov dword [rbp + 0x60], r13d
mov r9, qword [rbx]
mov rax, qword [r9 + 0x48]
mov rcx, rbx
cmp rax, rdi
jne 0x140205c78
mov dword [rbp + 0x58], r13d
mov r8, r12
lea rdx, [rbp + 0x58]
call qword [r9 + 0x20]
jmp 0x140205c7d
mov edx, r13d
call rax
xor r14d, r14d
test r13d, r13d
jle 0x140205d4a
xor r15d, r15d
lea rdi, [method.juce::OutputStream.virtual_152]
cmp r14d, dword [rsi + 0x18]
jae 0x140205ca2
mov rdx, qword [rsi + 8]
add rdx, r15
jmp 0x140205ca9
lea rdx, [0x1404b1f80]
mov r13, qword [rbx]
mov rax, qword [r13 + 0x98]
cmp rax, rdi
jne 0x140205cdf
mov rdi, qword [rdx]
mov qword [rbp - 0x38], rdi
lea rcx, [rbp - 0x38]
call fcn.140046b60
lea r8, [rax + 1]
mov rdx, rdi
mov rcx, rbx
call qword [r13 + 0x20]
lea rdi, [method.juce::OutputStream.virtual_152]
jmp 0x140205ce4
mov rcx, rbx
call rax
cmp r14d, dword [rsi + 0x30]
jae 0x140205cf3
mov rdx, qword [rsi + 0x20]
add rdx, r15
jmp 0x140205cfa
lea rdx, [0x1404b1f80]
mov r13, qword [rbx]
mov rax, qword [r13 + 0x98]
cmp rax, rdi
jne 0x140205d30
mov rdi, qword [rdx]
mov qword [rbp - 0x30], rdi
lea rcx, [rbp - 0x30]
call fcn.140046b60
lea r8, [rax + 1]
mov rdx, rdi
mov rcx, rbx
call qword [r13 + 0x20]
lea rdi, [method.juce::OutputStream.virtual_152]
jmp 0x140205d35
mov rcx, rbx
call rax
inc r14d
add r15, 8
cmp r14d, dword [rbp + 0x60]
jl 0x140205c93
mov r15, qword [rbp - 0x40]
mov rcx, rbx
xor ebx, ebx
mov qword [rbp - 0x48], rbx
test rcx, rcx
je 0x140205d60
mov rax, qword [rcx]
lea edx, [rbx + 1]
call qword [rax]
mov rax, qword [rbp - 0x18]
cmp byte [rax], bl
je 0x140205dbf
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0x60]
call fcn.140040d80
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop
cmp eax, 0xffffffff
je 0x140205dbf
mov edi, r12d
nop word [rax + rax]
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x18]
call fcn.140180df0
test al, al
jne 0x140205db3
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
sub edi, 1
jns 0x140205d90
jmp 0x140205dbf
mov byte [rsi + 0x111], 0
mov dil, 1
jmp 0x140205dc2
xor dil, dil
test rbx, rbx
je 0x140205dd5
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
lea rcx, [rbp - 0x18]
call fcn.140165660
test al, al
jne 0x140205df3
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
sub r12d, 1
jns 0x140205dd5
mov rcx, qword [rbp - 0x10]
add rcx, 0xfffffffffffffff0
lea rbx, [0x1402901c8]
or edx, 0xffffffff
cmp rcx, rbx
je 0x140205e1c
mov eax, edx
lock xadd dword [rcx], eax
test eax, eax
jne 0x140205e1c
call fcn.1400bd658
or edx, 0xffffffff
mov rax, qword [rbp - 0x18]
lea rcx, [rax - 0x10]
cmp rcx, rbx
je 0x140205e37
lock xadd dword [rcx], edx
test edx, edx
jne 0x140205e37
call fcn.1400bd658
nop
test r15, r15
je 0x140205e51
mov rcx, qword [r15]
call fcn.140164490
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rcx, r15
call fcn.1400bd658
movzx eax, dil
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret