Function at 0x14006cab0
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r14, r9
mov esi, r8d
mov rbp, rdx
mov rbx, rcx
mov rdi, qword [rsp + 0xb0]
xor r12d, r12d
lea rdx, str.Native_Win32_FileChooser
lea rcx, [rsp + 0x38]
call fcn.140018a20
nop
xor r8d, r8d
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.1401486d0
nop
mov rcx, qword [rsp + 0x38]
add rcx, 0xfffffffffffffff0
lea r13, [0x140592ec8]
lea r15d, [r12 - 1]
cmp rcx, r13
je 0x14006cb30
mov eax, r15d
lock xadd dword [rcx], eax
dec eax
cmp eax, r15d
jne 0x14006cb30
call fcn.1400c9d7c
lea rax, vtable.juce::Win32NativeFileChooser.0
mov qword [rbx], rax
mov qword [rbx + 0x210], r12
mov qword [rbx + 0x218], r12
lea rcx, [rbx + 0x220]
mov rdx, rbp
call fcn.1400a5460
nop
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rax]
mov qword [rbx + 0x228], rcx
add rcx, 0xfffffffffffffff0
cmp rcx, r13
je 0x14006cb76
lock inc dword [rcx]
lea rdx, [rbx + 0x230]
mov r9d, 0x3b
lea r8d, [r9 - 0xf]
mov rcx, qword [rsp + 0xc0]
call fcn.140133e40
nop
mov qword [rbx + 0x238], r12
lea rbp, [0x140592ed8]
mov qword [rbx + 0x240], rbp
mov qword [rbx + 0x248], rbp
lea rcx, [rbx + 0x250]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
mov eax, esi
shr eax, 3
and al, 1
mov byte [rbx + 0x280], al
test sil, 2
je 0x14006cbda
test al, al
jne 0x14006cbda
mov al, 1
jmp 0x14006cbdc
xor al, al
mov byte [rbx + 0x281], al
mov eax, esi
shr eax, 7
and al, 1
mov byte [rbx + 0x282], al
shr esi, 4
and sil, 1
mov byte [rbx + 0x283], sil
mov qword [rbx + 0x288], r12
mov qword [rbx + 0x290], r12
mov qword [rbx + 0x298], r12
mov byte [rbx + 0x2a0], 0
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140144ff0
nop
mov rcx, qword [rbx + 0x288]
call fcn.1400d4bdc
mov edx, 2
mov ecx, 0x8001
call fcn.1400d595c
mov qword [rbx + 0x288], rax
mov rdx, rdi
lea rcx, [rsp + 0xb8]
call fcn.140016140
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop
test al, 0x10
je 0x14006cc70
cmp eax, 0xffffffff
jne 0x14006cd4f
mov rcx, rdi
call fcn.140145f20
test al, al
jne 0x14006cd4f
mov edx, 0x5c
mov rcx, rdi
call fcn.140134dd0
mov r8d, eax
mov rdx, qword [rdi]
test eax, eax
jns 0x14006ccb0
mov qword [rsp + 0xb0], rdx
add rdx, 0xfffffffffffffff0
cmp rdx, r13
je 0x14006ccee
lock inc dword [rdx]
jmp 0x14006ccee
movzx ecx, byte [rdx]
test cl, cl
je 0x14006cce6
inc rdx
test cl, cl
jns 0x14006ccd1
mov al, 0x40
test al, cl
je 0x14006ccd1
cmp al, 8
jbe 0x14006ccd1
inc rdx
shr al, 1
test al, cl
jne 0x14006ccc4
sub r8d, 1
jns 0x14006ccb0
lea rcx, [rsp + 0xb0]
call fcn.140018f60
jmp 0x14006ccee
mov qword [rsp + 0xb0], rbp
mov r8d, 0x10000
mov rdx, qword [rbx + 0x288]
lea rcx, [rsp + 0xb0]
call fcn.140131610
mov rcx, qword [rsp + 0xb0]
add rcx, 0xfffffffffffffff0
cmp rcx, r13
je 0x14006cd2c
mov eax, r15d
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14006cd2c
call fcn.1400c9d7c
mov rax, qword [rsp + 0x30]
lea rcx, [rax - 0x10]
cmp rcx, r13
je 0x14006cd42
lock inc dword [rcx]
mov rax, qword [rsp + 0x30]
xchg qword [rbx + 0x240], rax
lea rcx, [rax - 0x10]
jmp 0x14006cd6c
mov rax, qword [rdi]
add rax, 0xfffffffffffffff0
cmp rax, r13
je 0x14006cd5e
lock inc dword [rax]
mov rcx, qword [rdi]
xchg qword [rbx + 0x240], rcx
add rcx, 0xfffffffffffffff0
cmp rcx, r13
je 0x14006cd84
mov eax, r15d
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14006cd84
call fcn.1400c9d7c
cmp byte [rbx + 0x280], 0
jne 0x14006d02f
test r14, r14
je 0x14006ce4a
mov ecx, 0xe8
call fcn.1400c9d40
mov rdi, rax
mov qword [rsp + 0x40], rax
mov rcx, rax
call fcn.140250ac0
nop
lea rax, vtable.juce::Win32NativeFileChooser::CustomComponentHolder.0
mov qword [rdi], rax
mov dl, 1
mov rcx, rdi
call fcn.14025bce0
mov dl, 1
mov rcx, rdi
call fcn.14023a930
mov rax, qword [r14]
mov dl, 1
mov rcx, r14
call qword [rax + 0x58]
mov r8d, r15d
mov rdx, r14
mov rcx, rdi
call fcn.140238b90
mov eax, dword [r14 + 0x44]
mov r9d, dword [r14 + 0x40]
cmp r9d, 0x14
jge 0x14006ce02
mov r9d, reloc.WS2_32.dll_sendto
jmp 0x14006ce0e
mov ecx, 0x320
cmp r9d, ecx
cmovg r9d, ecx
mov dword [rsp + 0x20], eax
mov r8d, dword [rdi + 0x3c]
mov edx, dword [rdi + 0x38]
mov rcx, rdi
call fcn.140239be0
nop
mov rsi, qword [rbx + 0x238]
mov qword [rbx + 0x238], rdi
test rsi, rsi
je 0x14006ce4a
mov rcx, rsi
call fcn.1402507c0
mov edx, 0xe8
mov rcx, rsi
call fcn.1400c9d7c
mov rcx, qword [rbx + 0x290]
call fcn.1400d4bdc
mov edx, 2
mov ecx, 0x800
call fcn.1400d595c
mov rsi, rax
mov qword [rbx + 0x290], rax
mov rcx, qword [rbx + 0x230]
mov ebp, 0xffe
test rax, rax
jne 0x14006ce8a
call fcn.140019a30
jmp 0x14006cfa3
mov rdi, rbp
mov r14d, 4
mov r13d, 0x2800
mov r9d, 0x3ff
mov r10d, 0x2400
nop word [rax + rax]
mov r11, rax
movzx r8d, byte [rcx]
inc rcx
mov edx, r8d
test r8b, r8b
jns 0x14006cf37
mov r9d, 0x7f
mov r8d, 0x40
mov r10d, r12d
test r8b, dl
je 0x14006ceea
cmp r8d, 8
jbe 0x14006ceea
shr r9d, 1
inc r10d
shr r8d, 1
test edx, r8d
jne 0x14006ced6
and edx, r9d
sub r10d, 1
js 0x14006cf2b
nop dword [rax]
nop word [rax + rax]
movzx r9d, byte [rcx]
mov r8d, r9d
and r8b, 0xc0
cmp r8b, 0x80
jne 0x14006cf2b
inc rcx
and r9d, 0x3f
mov r8d, edx
shl r8d, 6
mov edx, r9d
or edx, r8d
sub r10d, 1
jns 0x14006cf00
mov r9d, 0x3ff
mov r10d, 0x2400
mov r8d, 2
cmp edx, 0x10000
cmovae r8, r14
sub rdi, r8
test edx, edx
je 0x14006cf94
test rdi, rdi
js 0x14006cf94
cmp edx, 0x10000
jb 0x14006cf88
lea r8d, [rdx - 0x10000]
mov edx, r8d
shr edx, 0xa
sub dx, r13w
mov word [rax], dx
lea r11, [rax + 2]
and r8w, r9w
sub r8w, r10w
mov word [r11], r8w
lea rax, [r11 + 2]
jmp 0x14006ceb0
mov word [rax], dx
lea rax, [r11 + 2]
jmp 0x14006ceb0
mov word [rax], r12w
sub eax, esi
cdqe
lea r13, [0x140592ec8]
lea r9, [rax + 2]
lea rcx, [rbx + 0x230]
mov rdx, r9
shr rdx, 1
mov rax, qword [rbx + 0x290]
lea rdx, [rax + rdx*2]
sub rbp, r9
mov r8, rbp
call fcn.140131610
mov rcx, r12
nop dword [rax]
mov rax, qword [rbx + 0x290]
cmp word [rcx + rax], 0x7c
jne 0x14006cfe3
mov word [rcx + rax], r12w
mov rax, qword [rbx + 0x290]
cmp word [rcx + rax + 2], 0x7c
jne 0x14006cff8
mov word [rcx + rax + 2], r12w
mov rax, qword [rbx + 0x290]
cmp word [rcx + rax + 4], 0x7c
jne 0x14006d00d
mov word [rcx + rax + 4], r12w
mov rax, qword [rbx + 0x290]
cmp word [rax + rcx + 6], 0x7c
jne 0x14006d022
mov word [rax + rcx + 6], r12w
add rcx, 8
cmp rcx, 0x1000
jb 0x14006cfd0
mov rcx, qword [rsp + 0x30]
add rcx, 0xfffffffffffffff0
cmp rcx, r13
je 0x14006d051
lock xadd dword [rcx], r15d
dec r15d
cmp r15d, 0xffffffff
jne 0x14006d051
call fcn.1400c9d7c
nop
mov rax, rbx
mov rbx, qword [rsp + 0x98]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret