Function at 0x21006a430
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x70
mov r12, rcx
mov rbx, rdx
mov esi, r8d
cmp r8d, 1
jne 0x21006a54a
xor ebp, ebp
test rdx, rdx
jne 0x21006a540
mov rax, qword [r12]
lea rdi, [method.fhandler_base.get_handle__]
mov rax, qword [rax + 0x280]
cmp rax, rdi
jne 0x21006a730
lea r13, [rsp + 0x38]
lea r14, [rsp + 0x40]
mov rcx, qword [r12 + 0x18]
mov dword [rsp + 0x20], 0xe
mov r9d, 8
mov r8, r13
mov rdx, r14
call sym.NtQueryInformationFile
test eax, eax
js 0x21006a763
mov rbx, qword [rsp + 0x38]
add rbx, rbp
mov qword [rsp + 0x38], rbx
test byte [0x210273880], 1
jne 0x21006a585
mov rax, qword [r12]
mov rax, qword [rax + 0x280]
cmp rax, rdi
jne 0x21006a5bd
mov dword [rsp + 0x20], 0xe
mov rcx, qword [r12 + 0x18]
mov r8, r13
mov rdx, r14
mov r9d, 8
call sym.NtSetInformationFile
test eax, eax
js 0x21006a5e6
mov r13, qword [rsp + 0x38]
test byte [r12 + 0x118], 0x80
je 0x21006a670
test byte [r12 + 0x88], 0x40
je 0x21006a670
or byte [r12 + 8], 0x20
cmp esi, 1
je 0x21006a679
mov rax, r13
add rsp, 0x70
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
cmp r8d, 1
je 0x21006a6a0
xor edx, edx
mov r8d, 0xffffffff
mov rcx, r12
call method.fhandler_base.set_readahead_valid_int__int_
test esi, esi
jne 0x21006a610
mov qword [rsp + 0x38], rbx
lea r13, [rsp + 0x38]
lea r14, [rsp + 0x40]
lea rdi, [method.fhandler_base.get_handle__]
test byte [0x210273880], 1
je 0x21006a4c1
mov qword [rsp + 0x20], rbx
lea r9, str.setting_file_pointer_to__U
lea r8, str.virtual_off_t_fhandler_base::lseek_off_t__int_
mov edx, 0x40
lea rcx, [0x210273880]
call method.strace.prntf_unsigned_int__char_const__char_const__..._
mov rax, qword [r12]
mov rax, qword [rax + 0x280]
cmp rax, rdi
je 0x21006a4d5
mov rcx, r12
call rax
mov dword [rsp + 0x20], 0xe
mov r8, r13
mov rdx, r14
mov rcx, qword [rax]
mov r9d, 8
call sym.NtSetInformationFile
test eax, eax
jns 0x21006a4fb
mov r8d, eax
mov edx, 0x469
lea rcx, str._usr_src_MSYS2_packages_msys2_runtime_src_msys2_runtime_winsup_cygwin_fhandler.cc
mov r13, 0xffffffffffffffff
call sym.seterrno_from_nt_status_char_const__int__int_
jmp 0x21006a52d
mov rax, qword [r12]
lea rdi, [method.fhandler_base.get_handle__]
mov rax, qword [rax + 0x280]
cmp rax, rdi
jne 0x21006a6d8
lea r14, [rsp + 0x40]
mov rcx, qword [r12 + 0x18]
lea r8, [rsp + 0x50]
mov dword [rsp + 0x20], 5
mov r9d, 0x18
mov rdx, r14
call sym.NtQueryInformationFile
test eax, eax
js 0x21006a708
add rbx, qword [rsp + 0x58]
lea r13, [rsp + 0x38]
jmp 0x21006a4af
cmp esi, 1
jne 0x21006a52d
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x50]
mov rcx, r12
mov rbx, qword [rax]
mov rax, qword [r12]
call qword [rax + 0x58]
add r13, qword [rax]
sub r13, rbx
jmp 0x21006a52d
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, r12
mov rdi, qword [rax]
mov rax, qword [r12]
call qword [rax + 0x58]
mov r8d, 0xffffffff
xor edx, edx
mov rcx, r12
add rbx, qword [rax]
mov rbp, rbx
sub rbp, rdi
call method.fhandler_base.set_readahead_valid_int__int_
jmp 0x21006a45c
mov rcx, r12
lea r14, [rsp + 0x40]
call rax
mov r9d, 0x18
lea r8, [rsp + 0x50]
mov rdx, r14
mov dword [rsp + 0x20], 5
mov rcx, qword [rax]
call sym.NtQueryInformationFile
test eax, eax
jns 0x21006a658
mov r8d, eax
mov edx, 0x45d
lea rcx, str._usr_src_MSYS2_packages_msys2_runtime_src_msys2_runtime_winsup_cygwin_fhandler.cc
mov r13, 0xffffffffffffffff
call sym.seterrno_from_nt_status_char_const__int__int_
jmp 0x21006a52d
mov rcx, r12
lea r13, [rsp + 0x38]
lea r14, [rsp + 0x40]
call rax
mov dword [rsp + 0x20], 0xe
mov r8, r13
mov rdx, r14
mov rcx, qword [rax]
mov r9d, 8
call sym.NtQueryInformationFile
test eax, eax
jns 0x21006a4a7
mov r8d, eax
mov edx, 0x453
lea rcx, str._usr_src_MSYS2_packages_msys2_runtime_src_msys2_runtime_winsup_cygwin_fhandler.cc
mov r13, 0xffffffffffffffff
call sym.seterrno_from_nt_status_char_const__int__int_
jmp 0x21006a52d