Function at 0x140089bf0
Capabilities:
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov dword [rax + 0x18], r8d
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov r15, rdx
mov rbx, rcx
mov r14, qword [rbp + 0x60]
xor r12d, r12d
mov dword [rbp - 0x50], r12d
lea rax, vtable.juce::ReferenceCountedObject.0
mov qword [rcx], rax
mov dword [rcx + 8], r12d
lea rax, str.Native_Win32_FileChooser
mov qword [rbp - 0x48], rax
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x60]
call fcn.14001b960
nop
lea rdx, [rbp + 0x60]
lea rcx, [rbx + 0x10]
call fcn.140148690
nop
mov rcx, qword [rbp + 0x60]
add rcx, 0xfffffffffffffff0
lea r13, [0x1402be068]
lea edi, [r12 - 1]
cmp rcx, r13
je 0x140089c8b
mov eax, edi
lock xadd dword [rcx], eax
test eax, eax
jne 0x140089c8b
call fcn.14010a370
lea rax, vtable.juce::Win32NativeFileChooser.1.0
mov qword [rbx], rax
lea rax, vtable.juce::Win32NativeFileChooser.0
mov qword [rbx + 0x10], rax
lea rax, [rbx + 0xd0]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rax], r12
mov qword [rax + 8], r12
lea rcx, [rbx + 0xe0]
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x30], rcx
mov rdx, r15
call fcn.14008ee90
nop
mov rax, qword [rbp + 0x68]
mov rcx, qword [rax]
mov qword [rbx + 0xe8], rcx
add rcx, 0xfffffffffffffff0
mov esi, 1
cmp rcx, r13
je 0x140089cf0
mov eax, esi
lock xadd dword [rcx], eax
mov rax, qword [rbp + 0x70]
mov rcx, qword [rax]
mov qword [rbx + 0xf0], rcx
add rcx, 0xfffffffffffffff0
lea rax, [0x1402be068]
cmp rcx, rax
je 0x140089d14
mov eax, esi
lock xadd dword [rcx], eax
mov qword [rbx + 0xf8], r12
lea r15, [0x1402be078]
mov qword [rbx + 0x100], r15
mov qword [rbx + 0x108], r15
mov qword [rbx + 0x110], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x118], rax
lea rcx, [rbx + 0x120]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
mov ecx, dword [rbp + 0x50]
mov eax, ecx
shr eax, 3
and al, 1
mov byte [rbx + 0x14c], al
mov eax, ecx
shr eax, 2
and al, 1
mov byte [rbx + 0x14d], al
mov eax, ecx
shr eax, 1
and al, 1
mov byte [rbx + 0x14e], al
mov eax, ecx
shr eax, 7
and al, 1
mov byte [rbx + 0x14f], al
shr ecx, 4
and cl, 1
mov byte [rbx + 0x150], cl
xor eax, eax
mov qword [rbx + 0x158], rax
mov qword [rbx + 0x160], rax
mov qword [rbx + 0x168], rax
mov dword [rbx + 0x170], eax
lea rdx, [rbp - 0x40]
mov rcx, r14
call fcn.14015e8e0
mov rdx, rax
mov qword [rbp + 0x58], r15
mov r15d, 4
mov dword [rbp - 0x50], r15d
mov rcx, qword [rax]
sub rcx, 0x10
lea r8, [0x1402be068]
cmp rcx, r8
je 0x140089df1
mov eax, esi
lock xadd dword [rcx], eax
mov rax, qword [rdx]
mov qword [rbp - 0x18], rax
xchg qword [rbp + 0x58], rax
lea rcx, [rax - 0x10]
cmp rcx, r8
je 0x140089e14
mov eax, edi
lock xadd dword [rcx], eax
test eax, eax
jne 0x140089e14
call fcn.14010a370
and r15d, 0xfffffffb
mov dword [rbp - 0x50], r15d
mov dword [rbp - 0x50], esi
mov rcx, qword [rbp - 0x40]
add rcx, 0xfffffffffffffff0
lea r15, [0x1402be068]
cmp rcx, r15
je 0x140089e42
mov eax, edi
lock xadd dword [rcx], eax
test eax, eax
jne 0x140089e42
call fcn.14010a370
mov rcx, qword [rbx + 0x158]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, 2
mov ecx, 0x8001
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov qword [rbx + 0x158], rax
mov rdx, r14
lea rcx, [rbp - 0x10]
call fcn.140018b20
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x140089e88
cmp eax, 0xffffffff
je 0x140089e88
mov al, 1
jmp 0x140089e8a
xor al, al
test al, al
jne 0x140089f05
mov rcx, r14
call fcn.14015f200
test al, al
jne 0x140089f05
mov edx, 0x5c
mov rcx, r14
call fcn.14014f7c0
lea r8d, [rax + 1]
lea rdx, [rbp - 0x38]
mov rcx, r14
call fcn.14014d910
mov dword [rbp - 0x50], 9
mov r8d, 0x10000
mov rdx, qword [rbx + 0x158]
mov rcx, rax
call fcn.14014b880
and dword [rbp - 0x50], 0xfffffff7
mov rcx, qword [rbp - 0x38]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x140089ef3
mov eax, edi
lock xadd dword [rcx], eax
test eax, eax
jne 0x140089ef3
call fcn.14010a370
lea rdx, [rbp + 0x58]
lea rcx, [rbx + 0x100]
call fcn.1401520c0
jmp 0x140089f3b
mov rax, qword [r14]
lea rcx, [rax - 0x10]
cmp rcx, r15
je 0x140089f18
lock xadd dword [rcx], esi
mov rax, qword [r14]
mov qword [rbp - 8], rax
xchg qword [rbx + 0x100], rax
lea rcx, [rax - 0x10]
cmp rcx, r15
je 0x140089f3b
mov eax, edi
lock xadd dword [rcx], eax
test eax, eax
jne 0x140089f3b
call fcn.14010a370
cmp byte [rbx + 0x14c], 0
jne 0x14008a00b
mov rcx, qword [rbx + 0x160]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, 2
mov ecx, 0x800
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov qword [rbx + 0x160], rax
mov r8d, 0x1000
mov rdx, rax
lea rcx, [rbx + 0xf0]
call fcn.14014b880
mov r8d, 0xffe
sub r8, rax
shr rax, 1
mov rcx, qword [rbx + 0x160]
lea rdx, [rcx + rax*2]
lea rcx, [rbx + 0xf0]
call fcn.14014b880
xor edx, edx
mov ecx, edx
nop dword [rax + rax]
mov rax, qword [rbx + 0x160]
cmp word [rax + rcx], 0x7c
jne 0x140089fc9
mov word [rcx + rax], dx
mov rax, qword [rbx + 0x160]
cmp word [rax + rcx + 2], 0x7c
jne 0x140089fdd
mov word [rax + rcx + 2], dx
mov rax, qword [rbx + 0x160]
cmp word [rcx + rax + 4], 0x7c
jne 0x140089fea
mov word [rcx + rax + 4], dx
mov rax, qword [rbx + 0x160]
cmp word [rax + rcx + 6], 0x7c
jne 0x140089ffe
mov word [rcx + rax + 6], dx
add rcx, 8
cmp rcx, 0x1000
jb 0x140089fb0
and dword [rbp - 0x50], 0xfffffffe
mov rcx, qword [rbp + 0x58]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x14008a02a
lock xadd dword [rcx], edi
test edi, edi
jne 0x14008a02a
call fcn.14010a370
nop
mov rax, rbx
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret