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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov r14, rdx
mov rbx, rcx
xor r15d, r15d
mov dword [rbp - 0x41], r15d
mov rax, qword [r8]
lea rdx, [rbp - 0x21]
mov rcx, r8
call qword [rax + 0x30]
nop
mov rdx, rax
lea rcx, [rbp + 0x7f]
call fcn.1401134f0
nop
lea rcx, [rbp - 0x21]
call fcn.140002640
nop
lea r12, [0x140592ed8]
mov rax, qword [rbp + 0x7f]
cmp rax, r12
je 0x1400148e4
mov rdx, r12
mov rcx, rax
call fcn.140017f20
test eax, eax
je 0x1400148e0
lea rsi, [rbx + 8]
lea edx, [r15 + 0x5c]
mov rcx, rsi
call fcn.140134dd0
mov edx, eax
mov rbx, qword [rsi]
lea rdi, [0x140592ec8]
test eax, eax
jns 0x140014700
mov qword [rbp - 0x59], rbx
lea rax, [rbx - 0x10]
cmp rax, rdi
je 0x14001473f
lock inc dword [rax]
mov rbx, qword [rbp - 0x59]
jmp 0x14001473f
movzx ecx, byte [rbx]
test cl, cl
je 0x140014738
inc rbx
test cl, cl
jns 0x140014721
mov al, 0x40
test al, cl
je 0x140014721
cmp al, 8
jbe 0x140014721
inc rbx
shr al, 1
test al, cl
jne 0x140014714
sub edx, 1
jns 0x140014700
mov rdx, rbx
lea rcx, [rbp - 0x59]
call fcn.140018f60
mov rbx, qword [rbp - 0x59]
jmp 0x14001473f
mov rbx, r12
mov qword [rbp - 0x59], rbx
mov r8, rbx
lea rdx, [rbp + 0x77]
lea rcx, [rbp + 0x7f]
call fcn.1401446f0
nop
lea rcx, [rbx - 0x10]
mov ebx, 0xffffffff
cmp rcx, rdi
je 0x14001476f
mov eax, ebx
lock xadd dword [rcx], eax
dec eax
cmp eax, ebx
jne 0x14001476f
call fcn.1400c9d7c
mov rax, qword [rbp + 0x77]
cmp byte [rax], 0
je 0x1400147cd
lea rdx, [rbp + 0x77]
lea rcx, [rbp - 0x39]
call fcn.140016140
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop
cmp eax, 0xffffffff
je 0x1400147cd
mov qword [r14], r15
mov rcx, qword [rbp + 0x77]
add rcx, 0xfffffffffffffff0
cmp rcx, rdi
je 0x1400147b7
mov eax, ebx
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1400147b7
call fcn.1400c9d7c
nop
mov rcx, qword [rbp + 0x7f]
add rcx, 0xfffffffffffffff0
cmp rcx, rdi
je 0x14001490c
jmp 0x1400148fc
mov rdx, rsi
lea rcx, [rbp - 0x31]
call fcn.140016140
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop
test al, 0x10
je 0x1400147fa
cmp eax, 0xffffffff
je 0x1400147fa
lea rdx, [rbp + 0x77]
mov rcx, rsi
call fcn.140145170
jmp 0x140014806
lea rdx, [rbp + 0x77]
mov rcx, rsi
call fcn.140145600
test al, al
je 0x140014842
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.1400c9d40
mov qword [rbp - 0x29], rax
lea rcx, vtable.juce::AndroidDocument::Utils::AndroidDocumentPimplFile.0
mov qword [rax], rcx
mov rcx, qword [rbp + 0x77]
mov qword [rax + 8], rcx
add rcx, 0xfffffffffffffff0
cmp rcx, rdi
je 0x140014836
lock inc dword [rcx]
lea rcx, [rbp - 0x49]
mov qword [rcx], r15
mov qword [r14], rax
jmp 0x14001489e
lea rax, [rbp - 0x51]
mov qword [rax], r15
mov qword [r14], r15
mov esi, 0xf5
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x14001488f
mov rdx, qword [rcx + 8]
add rdx, 0xfffffffffffffff0
cmp rdx, rdi
je 0x140014880
mov eax, ebx
lock xadd dword [rdx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14001487c
mov rcx, rdx
call fcn.1400c9d7c
mov rcx, qword [rbp - 0x51]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.1400c9d7c
and esi, 0xfffffffb
jmp 0x140014894
mov esi, 0xf1
test sil, 2
je 0x140014797
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x140014797
mov rdx, qword [rcx + 8]
add rdx, 0xfffffffffffffff0
cmp rdx, rdi
je 0x1400148d1
mov eax, ebx
lock xadd dword [rdx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1400148cd
mov rcx, rdx
call fcn.1400c9d7c
mov rcx, qword [rbp - 0x49]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.1400c9d7c
jmp 0x140014797
mov rax, qword [rbp + 0x7f]
mov qword [r14], r15
lea rcx, [rax - 0x10]
lea rdi, [0x140592ec8]
cmp rcx, rdi
je 0x14001490c
mov ebx, 0xffffffff
lock xadd dword [rcx], ebx
dec ebx
cmp ebx, 0xffffffff
jne 0x14001490c
call fcn.1400c9d7c
mov rax, r14
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret