Function at 0x1800164e0
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, 0x90
mov r14, rdx
mov rbx, rcx
xor r15d, r15d
mov dword [rbp - 0x39], 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.18015a670
nop
lea rcx, [rbp - 0x21]
call fcn.180010310
nop
lea r12, [0x180660030]
mov rax, qword [rbp + 0x7f]
cmp rax, r12
je 0x180016774
mov rdx, r12
mov rcx, rax
call fcn.18001c500
test eax, eax
je 0x180016770
lea rsi, [rbx + 8]
mov edx, 0x5c
mov rcx, rsi
call fcn.18017c8f0
mov edx, eax
mov rbx, qword [rsi]
lea rdi, [0x180660020]
test eax, eax
jns 0x180016590
mov qword [rbp - 0x31], rbx
lea rax, [rbx - 0x10]
cmp rax, rdi
je 0x1800165cf
lock inc dword [rax]
mov rbx, qword [rbp - 0x31]
jmp 0x1800165cf
movzx ecx, byte [rbx]
test cl, cl
je 0x1800165c8
inc rbx
test cl, cl
jns 0x1800165b1
mov al, 0x40
test al, cl
je 0x1800165b1
cmp al, 8
jbe 0x1800165b1
inc rbx
shr al, 1
test cl, al
jne 0x1800165a4
sub edx, 1
jns 0x180016590
mov rdx, rbx
lea rcx, [rbp - 0x31]
call fcn.18001d410
mov rbx, qword [rbp - 0x31]
jmp 0x1800165cf
mov rbx, r12
mov qword [rbp - 0x31], rbx
mov r8, rbx
lea rdx, [rbp + 0x77]
lea rcx, [rbp + 0x7f]
call fcn.18018cdd0
nop
lea rcx, [rbx - 0x10]
mov ebx, 0xffffffff
cmp rcx, rdi
je 0x1800165ff
mov eax, ebx
lock xadd dword [rcx], eax
dec eax
cmp eax, ebx
jne 0x1800165ff
call fcn.18011d9c0
mov rax, qword [rbp + 0x77]
cmp byte [rax], 0
je 0x18001665d
lea rdx, [rbp + 0x77]
lea rcx, [rbp - 0x29]
call fcn.180017f90
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop
cmp eax, 0xffffffff
je 0x18001665d
mov qword [r14], r15
mov rcx, qword [rbp + 0x77]
add rcx, 0xfffffffffffffff0
cmp rcx, rdi
je 0x180016647
mov eax, ebx
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x180016647
call fcn.18011d9c0
nop
mov rcx, qword [rbp + 0x7f]
add rcx, 0xfffffffffffffff0
cmp rcx, rdi
je 0x18001679c
jmp 0x18001678c
mov rdx, rsi
lea rcx, [rbp - 0x29]
call fcn.180017f90
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop
test al, 0x10
je 0x18001668a
cmp eax, 0xffffffff
je 0x18001668a
lea rdx, [rbp + 0x77]
mov rcx, rsi
call fcn.18018d6c0
jmp 0x180016696
lea rdx, [rbp + 0x77]
mov rcx, rsi
call fcn.18018db50
test al, al
je 0x1800166d2
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.18011dae8
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 0x1800166c6
lock inc dword [rcx]
lea rcx, [rbp - 0x29]
mov qword [rcx], r15
mov qword [r14], rax
jmp 0x18001672e
lea rax, [rbp - 0x31]
mov qword [rax], r15
mov qword [r14], r15
mov esi, 0xf5
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x18001671f
mov rdx, qword [rcx + 8]
add rdx, 0xfffffffffffffff0
cmp rdx, rdi
je 0x180016710
mov eax, ebx
lock xadd dword [rdx], eax
dec eax
cmp eax, 0xffffffff
jne 0x18001670c
mov rcx, rdx
call fcn.18011d9c0
mov rcx, qword [rbp - 0x31]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.18011d9c0
and esi, 0xfffffffb
jmp 0x180016724
mov esi, 0xf1
test sil, 2
je 0x180016627
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x180016627
mov rdx, qword [rcx + 8]
add rdx, 0xfffffffffffffff0
cmp rdx, rdi
je 0x180016761
mov eax, ebx
lock xadd dword [rdx], eax
dec eax
cmp eax, 0xffffffff
jne 0x18001675d
mov rcx, rdx
call fcn.18011d9c0
mov rcx, qword [rbp - 0x29]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.18011d9c0
jmp 0x180016627
mov rax, qword [rbp + 0x7f]
mov qword [r14], r15
lea rcx, [rax - 0x10]
lea rdi, [0x180660020]
cmp rcx, rdi
je 0x18001679c
mov ebx, 0xffffffff
lock xadd dword [rcx], ebx
dec ebx
cmp ebx, 0xffffffff
jne 0x18001679c
call fcn.18011d9c0
mov rax, r14
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret