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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rbx, r9
mov r13, r8
mov r15, rdx
mov rdi, rcx
mov dword [rbp - 0x40], 0
call fcn.18015ca50
lea rdx, [rax + 0x10]
mov r8, r13
lea rcx, [rbp - 0x10]
call fcn.18015c8a0
xor edx, edx
lea rcx, [rbp - 0x10]
call fcn.180193250
mov rcx, qword [rax]
mov qword [rbp - 0x28], rcx
lea r14, [rcx - 0x10]
lea rax, [0x180660020]
cmp r14, rax
je 0x18001682d
lock inc dword [r14]
lea rcx, [rbp - 0x10]
call fcn.180009780
mov rcx, qword [rbp - 0x10]
call fcn.180124068
nop
lea r12, [rdi + 8]
mov rbx, qword [rbx]
lea rcx, [rbx - 0x10]
mov rsi, 0xffffffffffffffff
mov rax, qword [rbp - 0x28]
cmp byte [rax], 0
je 0x180016968
mov qword [rbp - 0x30], rbx
lea rdi, [0x180660020]
cmp rcx, rdi
je 0x180016872
lock inc dword [rcx]
lea rax, [rbp - 0x30]
mov qword [rbp - 0x18], rax
lea r8, [0x1805a8745]
lea rdx, str..__
lea rcx, [rbp - 0x30]
call fcn.18017cea0
mov rax, qword [rbp - 0x30]
mov qword [rbp + 0x30], rax
lea rcx, [rax - 0x10]
cmp rcx, rdi
je 0x1800168a9
lock inc dword [rcx]
mov rax, qword [rbp - 0x30]
lea rcx, [rax - 0x10]
cmp rcx, rdi
je 0x1800168c4
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800168c4
call fcn.18011d9c0
lea rax, [rbp + 0x30]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp + 0x30]
cmp byte [rax], 0
jne 0x180016903
cmp r14, rdi
je 0x1800168de
lock inc dword [r14]
mov rcx, qword [rbp - 0x28]
xchg qword [rbp + 0x30], rcx
add rcx, 0xfffffffffffffff0
cmp rcx, rdi
je 0x18001692a
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x18001692a
call fcn.18011d9c0
jmp 0x18001692a
mov rax, qword [rbp - 0x28]
mov r8, rsi
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180016910
mov rdx, qword [rbp - 0x28]
add r8, rdx
lea rcx, [rbp + 0x30]
call fcn.18017cea0
mov rax, qword [rbp + 0x30]
mov qword [rbp - 0x20], rax
mov rbx, rax
lea rcx, [rax - 0x10]
cmp rcx, rdi
je 0x180016945
lock inc dword [rcx]
mov rax, qword [rbp + 0x30]
lea rcx, [rax - 0x10]
cmp rcx, rdi
je 0x180016961
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x180016961
call fcn.18011d9c0
nop
mov edi, 0x1e1
jmp 0x180016980
mov qword [rbp - 0x20], rbx
lea rax, [0x180660020]
cmp rcx, rax
je 0x18001697b
lock inc dword [rcx]
mov edi, 0x62
mov dword [rbp - 0x40], edi
mov r8, rbx
lea rdx, [rbp - 0x38]
mov rcx, r12
call fcn.18018cdd0
nop
lea r12, [0x180660020]
test dil, 2
je 0x1800169c8
and edi, 0xfffffffd
mov dword [rbp - 0x40], edi
mov rcx, qword [rbp - 0x20]
add rcx, 0xfffffffffffffff0
cmp rcx, r12
je 0x1800169c8
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800169c5
call fcn.18011d9c0
mov edi, dword [rbp - 0x40]
test dil, 1
je 0x1800169f6
and edi, 0xfffffffe
mov dword [rbp - 0x40], edi
mov rcx, qword [rbp - 0x20]
add rcx, 0xfffffffffffffff0
cmp rcx, r12
je 0x1800169f6
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800169f3
call fcn.18011d9c0
mov edi, dword [rbp - 0x40]
mov rax, qword [rbp - 0x38]
cmp byte [rax], 0
je 0x180016a1b
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x10]
call fcn.180017f90
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop
cmp eax, 0xffffffff
jne 0x180016a5d
lea rdx, str.vnd.android.document_directory
mov rcx, qword [r13]
call fcn.1800203e0
lea rcx, [rbp - 0x38]
test eax, eax
jne 0x180016a42
lea rdx, [rbp - 0x18]
call fcn.18018c7c0
nop
or edi, 4
jmp 0x180016a4e
lea rdx, [rbp - 0x20]
call fcn.18018c9f0
or edi, 8
mov dword [rbp - 0x40], edi
mov rax, qword [rax]
cmp byte [rax], 0
jne 0x180016a5d
mov bl, 1
jmp 0x180016a5f
xor bl, bl
test dil, 8
je 0x180016a8d
and edi, 0xfffffff7
mov dword [rbp - 0x40], edi
mov rcx, qword [rbp - 0x20]
add rcx, 0xfffffffffffffff0
cmp rcx, r12
je 0x180016a8d
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x180016a8a
call fcn.18011d9c0
mov edi, dword [rbp - 0x40]
test dil, 4
je 0x180016ab2
mov rcx, qword [rbp - 0x18]
add rcx, 0xfffffffffffffff0
cmp rcx, r12
je 0x180016ab2
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x180016ab2
call fcn.18011d9c0
test bl, bl
je 0x180016ae7
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.18011dae8
mov qword [rbp + 0x30], rax
lea rcx, vtable.juce::AndroidDocument::Utils::AndroidDocumentPimplFile.0
mov qword [rax], rcx
mov rcx, qword [rbp - 0x38]
mov qword [rax + 8], rcx
add rcx, 0xfffffffffffffff0
cmp rcx, r12
je 0x180016ae2
lock inc dword [rcx]
mov qword [r15], rax
jmp 0x180016aee
mov qword [r15], 0
mov rcx, qword [rbp - 0x38]
add rcx, 0xfffffffffffffff0
cmp rcx, r12
je 0x180016b0e
mov eax, esi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x180016b0e
call fcn.18011d9c0
nop
cmp r14, r12
je 0x180016b27
lock xadd dword [r14], esi
dec esi
cmp esi, 0xffffffff
jne 0x180016b27
mov rcx, r14
call fcn.18011d9c0
mov rax, r15
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret