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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xf8
lea rsi, [method.fhandler_base.get_handle__]
mov rax, qword [rcx]
mov rax, qword [rax + 0x280]
mov r12, rcx
mov rbx, rdx
test dword [rcx + 0x10], 0x40000100
je 0x210083370
cmp rax, rsi
jne 0x2100834c0
mov rax, qword [rcx + 0x18]
lea r13, [rsp + 0x80]
mov qword [rsp + 0x70], rax
mov rcx, r12
call method.fhandler_disk_file.fs_ioc_getflags__
mov rdi, rax
xor rdi, rbx
test edi, 0x2127
je 0x210082f25
mov edx, ebx
and eax, 0xffffded8
mov qword [rsp + 0xa8], 0
and edx, 0x2127
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0x90], 0
or eax, edx
jne 0x2100834b0
mov dword [rsp + 0xb0], pe_nt_image_headers64
mov dword [rsp + 0x20], 4
mov rcx, qword [rsp + 0x70]
mov r9d, 0x28
mov rdx, r13
lea rbp, [rsp + 0x90]
mov r8, rbp
call sym.NtSetInformationFile
test eax, eax
js 0x210083670
mov eax, dword [r12 + 0x80]
cmp eax, 0xffffffff
je 0x2100831a0
test al, 0x10
je 0x210082fa8
bt rdi, 0x20
jae 0x210082fb4
mov rax, qword [0x21034b1a0]
test byte [rax + 0x12], 2
je 0x210082f68
test byte [r12 + 0x98], 1
jne 0x210082f68
cmp dword [r12 + 0x94], 3
je 0x2100836b0
test byte [0x210273880], 1
jne 0x210083700
mov rax, qword [sym.msys_2.0.dll__impure_ptr]
mov r14d, 0xffffffff
lea rbp, [rsp + 0x90]
mov dword [rax], 0x86
call sym.msys_2.0.dll___errno
mov rcx, qword [rsp + 0x70]
mov dword [rax], 0x86
jmp 0x210083450
test edi, 0x200
jne 0x2100834e0
test edi, 0x800
je 0x21008311b
mov rax, qword [r12]
mov rax, qword [rax + 0x280]
cmp rax, rsi
jne 0x210083650
mov rcx, qword [rsp + 0x70]
cmp qword [r12 + 0x18], rcx
je 0x210082fe5
call sym.NtClose
mov qword [rsp + 0x70], 0
mov eax, dword [r12 + 0x10]
and eax, 0xc0000000
cmp eax, 0xc0000000
je 0x210083640
mov rax, qword [r12]
mov rax, qword [rax + 0x280]
cmp rax, rsi
jne 0x210083560
mov rdx, qword [r12 + 0x18]
mov eax, dword [r12 + 0x84]
test byte [r12 + 0x98], 0x10
jne 0x210083580
mov dword [rsp + 0xc0], 0x30
mov qword [rsp + 0xc8], rdx
mov dword [rsp + 0xd8], eax
lea rax, [0x210298360]
mov dword [rsp + 0x28], 0x4020
lea r8, [rsp + 0xc0]
lea rcx, [rsp + 0x70]
mov r9, r13
mov dword [rsp + 0x20], 7
mov edx, 0xc0100000
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xe0], 0
mov qword [rsp + 0xe8], 0
call sym.NtOpenFile
mov r8d, eax
test eax, eax
js 0x210083610
mov rcx, qword [rsp + 0x70]
mov rax, rbx
mov dword [rsp + 0x48], 0
xor r8d, r8d
xor edx, edx
shr rax, 0xb
mov qword [rsp + 0x20], r13
xor r9d, r9d
and eax, 1
mov dword [rsp + 0x38], 2
mov word [rsp + 0x6a], ax
lea rax, [rsp + 0x6a]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x9c040
call sym.NtFsControlFile
mov edx, 0xa23
mov r8d, eax
test eax, eax
js 0x210083431
mov eax, dword [r12 + 0x80]
cmp eax, 0xffffffff
je 0x2100831b8
test al, 0x10
je 0x2100831b8
mov dword [rsp + 0x20], 4
mov rcx, qword [rsp + 0x70]
mov rdx, r13
mov r9d, 0x28
lea r8, [rsp + 0x90]
call sym.NtQueryInformationFile
test eax, eax
js 0x210083159
mov eax, dword [rsp + 0xb0]
mov dword [r12 + 0x80], eax
xor r14d, r14d
mov rax, qword [r12]
mov rax, qword [rax + 0x280]
cmp rax, rsi
jne 0x210083494
mov rcx, qword [rsp + 0x70]
cmp qword [r12 + 0x18], rcx
je 0x210083181
call sym.NtClose
mov eax, r14d
add rsp, 0xf8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
test edi, 0x200
jne 0x2100834e0
test edi, 0x800
jne 0x210082fc0
test edi, 0x4000
je 0x210083123
mov rax, qword gs:[0x30]
mov rax, qword [rax + 8]
lea rcx, [rsp + 0x78]
mov eax, dword [rax - 0x2cc8]
mov dword [rsp + 0x78], eax
mov rax, qword gs:[0x30]
mov rax, qword [rax + 8]
mov eax, dword [rax - 0x2cc4]
mov dword [rsp + 0x7c], eax
call method.tmp_pathbuf.w_get__
mov r14, rax
mov rax, qword [r12]
mov rax, qword [rax + 0x280]
cmp rax, rsi
jne 0x2100837e0
mov rcx, qword [r12 + 0x18]
mov r8, qword [rsp + 0x70]
cmp r8, rcx
je 0x210083243
mov rcx, r8
call sym.NtClose
mov rax, qword [r12]
mov rax, qword [rax + 0x280]
cmp rax, rsi
jne 0x2100837d0
mov rcx, qword [r12 + 0x18]
call sym.NtClose
lea r15, [r12 + 0x80]
mov rdx, r14
mov qword [r12 + 0x18], 0
mov rcx, r15
call method.path_conv.get_wide_win32_path_wchar_t_
and bh, 0x40
je 0x210083698
mov rcx, r14
call fcn.21022c130
mov ebx, eax
xor edx, edx
mov rcx, r15
call method.path_conv.get_nt_native_path__UNICODE_STRING_
mov r8, rax
test rax, rax
je 0x2100832f1
mov edx, dword [0x2102d1cd0]
xor eax, eax
mov dword [rsp + 0xc0], 0x30
lea r8, [rsp + 0xc0]
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0xe8], 0
test edx, edx
setne al
add eax, eax
or eax, dword [r12 + 0x84]
mov dword [rsp + 0xd8], eax
lea rax, [r12 + 0xf8]
mov qword [rsp + 0xd0], rax
mov rax, qword [0x2102d1cc8]
mov qword [rsp + 0xe0], rax
mov dword [rsp + 0x28], 0x4020
mov edx, dword [r12 + 0x10]
lea rcx, [rsp + 0x70]
mov r9, r13
mov dword [rsp + 0x20], 7
call sym.NtOpenFile
test eax, eax
js 0x21008389d
mov rcx, qword [rsp + 0x70]
mov qword [r12 + 0x18], rcx
test ebx, ebx
je 0x210083770
mov edx, dword [rsp + 0x78]
xor r14d, r14d
lea rbp, [rsp + 0x90]
mov rax, qword gs:[0x30]
mov rax, qword [rax + 8]
mov dword [rax - 0x2cc8], edx
mov edx, dword [rsp + 0x7c]
mov rax, qword gs:[0x30]
mov rax, qword [rax + 8]
mov dword [rax - 0x2cc4], edx
jmp 0x210083450
cmp rax, rsi
jne 0x2100835b8
mov rdx, qword [rcx + 0x18]
mov eax, dword [rcx + 0x84]
test byte [rcx + 0x98], 0x10
jne 0x2100835d4
mov dword [rsp + 0xc0], 0x30
mov qword [rsp + 0xc8], rdx
mov dword [rsp + 0xd8], eax
lea rax, [0x210298360]
mov dword [rsp + 0x28], 0x4000
lea r13, [rsp + 0x80]
lea r8, [rsp + 0xc0]
mov edx, 0x180
mov dword [rsp + 0x20], 7
lea rcx, [rsp + 0x70]
mov r9, r13
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xe0], 0
mov qword [rsp + 0xe8], 0
call sym.NtOpenFile
mov r8d, eax
test eax, eax
jns 0x210082e91
mov rax, qword [r12]
mov rax, qword [rax + 0x280]
cmp rax, rsi
jne 0x210083750
mov rax, qword [r12 + 0x18]
mov qword [rsp + 0x70], rax
mov edx, 0x9c8
lea rcx, str._usr_src_MSYS2_packages_msys2_runtime_src_msys2_runtime_winsup_cygwin_fhandler_disk_file.cc
mov r14d, 0xffffffff
lea rbp, [rsp + 0x90]
call sym.seterrno_from_nt_status_char_const__int__int_
mov rcx, qword [rsp + 0x70]
mov dword [rsp + 0x20], 4
mov r9d, 0x28
mov r8, rbp
mov rdx, r13
call sym.NtQueryInformationFile
test eax, eax
js 0x21008315c
mov eax, dword [rsp + 0xb0]
mov dword [r12 + 0x80], eax
mov rax, qword [r12]
mov rax, qword [rax + 0x280]
cmp rax, rsi
je 0x210083170
mov rcx, r12
call rax
mov rcx, qword [rsp + 0x70]
cmp qword [rax], rcx
jne 0x21008317c
jmp 0x210083181
mov dword [rsp + 0xb0], eax
jmp 0x210082ef7
call rax
lea r13, [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
jmp 0x210082e91
mov rax, rbx
mov dword [rsp + 0x48], 0
xor r9d, r9d
xor edx, edx
shr rax, 9
mov qword [rsp + 0x20], r13
xor r8d, r8d
mov rcx, qword [rsp + 0x70]
and eax, 1
mov dword [rsp + 0x38], 1
mov byte [rsp + 0x69], al
lea rax, [rsp + 0x69]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x900c4
call sym.NtFsControlFile
test eax, eax
js 0x210083740
mov eax, dword [r12 + 0x80]
cmp eax, 0xffffffff
je 0x2100831ac
test al, 0x10
je 0x210082fb4
jmp 0x210082f3a
mov rcx, r12
call rax
mov rdx, qword [rax]
mov eax, dword [r12 + 0x84]
test byte [r12 + 0x98], 0x10
je 0x210083033
nop
lea rcx, [r12 + 0x80]
xor edx, edx
mov dword [rsp + 0xc0], 0x30
mov qword [rsp + 0xc8], 0
mov dword [rsp + 0xd8], eax
call method.path_conv.get_nt_native_path__UNICODE_STRING_
jmp 0x210083054
call rax
mov rdx, qword [rax]
mov eax, dword [r12 + 0x84]
test byte [r12 + 0x98], 0x10
je 0x210083390
lea rcx, [r12 + 0x80]
xor edx, edx
mov dword [rsp + 0xc0], 0x30
mov qword [rsp + 0xc8], 0
mov dword [rsp + 0xd8], eax
call method.path_conv.get_nt_native_path__UNICODE_STRING_
jmp 0x2100833b1
mov rax, qword [r12]
mov rax, qword [rax + 0x280]
cmp rax, rsi
jne 0x210083800
lea rax, [r12 + 0x18]
mov rax, qword [rax]
mov edx, 0xa18
mov qword [rsp + 0x70], rax
jmp 0x210083431
xor ecx, ecx
jmp 0x2100830ae
mov rcx, r12
call rax
mov rcx, qword [rsp + 0x70]
cmp qword [rax], rcx
jne 0x210082fe0
jmp 0x210082fe5
lea rcx, str._usr_src_MSYS2_packages_msys2_runtime_src_msys2_runtime_winsup_cygwin_fhandler_disk_file.cc
mov r8d, eax
mov edx, 0x9dc
mov r14d, 0xffffffff
call sym.seterrno_from_nt_status_char_const__int__int_
mov rcx, qword [rsp + 0x70]
jmp 0x210083450
xor edx, edx
mov rcx, r14
call fcn.21022c0f0
mov ebx, eax
jmp 0x210083277
mov rax, rbx
mov rcx, qword [rsp + 0x70]
lea r8, [rsp + 0x6c]
mov rdx, r13
mov dword [rsp + 0x20], 0x47
shr rax, 0x20
mov r9d, 4
and eax, 1
mov dword [rsp + 0x6c], eax
call sym.NtSetInformationFile
test eax, eax
js 0x210083814
test edi, 0x800
jne 0x210082fc0
jmp 0x21008310a
lea rax, str.int_fhandler_disk_file::fs_ioc_setflags_uint64_t_
mov dword [rsp + 0x30], 0x86
lea r9, [0x21028c231]
mov edx, 0x40
mov dword [rsp + 0x28], 0xa04
lea r8, [0x21028c248]
lea rcx, [0x210273880]
mov qword [rsp + 0x20], rax
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x210082f75
mov r8d, eax
mov edx, 0x9e7
jmp 0x210083431
mov dword [rsp + 0x5c], r8d
mov rcx, r12
call rax
mov r8d, dword [rsp + 0x5c]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
jmp 0x21008342c
call sym.GetLastError
mov edx, 0xa43
lea rcx, str._usr_src_MSYS2_packages_msys2_runtime_src_msys2_runtime_winsup_cygwin_fhandler_disk_file.cc
mov r14d, 0xffffffff
mov r8d, eax
lea rbp, [rsp + 0x90]
call sym.seterrno_from_win_error_char_const__int__unsigned_int_
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
mov rax, qword gs:[0x30]
mov rax, qword [rax + 8]
mov dword [rax - 0x2cc8], edx
mov edx, dword [rsp + 0x7c]
mov rax, qword gs:[0x30]
mov rax, qword [rax + 8]
mov dword [rax - 0x2cc4], edx
jmp 0x210083450
mov rcx, r12
call rax
mov rcx, qword [rax]
jmp 0x210083243
mov rcx, r12
call rax
mov r8, qword [rsp + 0x70]
cmp qword [rax], r8
jne 0x210083222
jmp 0x21008322a
mov dword [rsp + 0x5c], r8d
mov rcx, r12
call rax
mov r8d, dword [rsp + 0x5c]
jmp 0x210083629
mov r8d, eax
mov edx, 0x9fe
cmp eax, 0xc00004b3
jne 0x210083431
test byte [0x210273880], 1
jne 0x210083860
mov rax, qword [sym.msys_2.0.dll__impure_ptr]
mov r14d, 0xffffffff
lea rbp, [rsp + 0x90]
mov dword [rax], 0x16
call sym.msys_2.0.dll___errno
mov rcx, qword [rsp + 0x70]
mov dword [rax], 0x16
jmp 0x210083450
lea rax, str.int_fhandler_disk_file::fs_ioc_setflags_uint64_t_
mov dword [rsp + 0x30], 0x16
lea r9, [0x21028c231]
mov edx, 0x40
mov dword [rsp + 0x28], 0x9fc
lea r8, [0x21028c248]
lea rcx, [0x210273880]
mov qword [rsp + 0x20], rax
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x210083830
mov r8d, eax
mov edx, 0xa3d
lea rcx, str._usr_src_MSYS2_packages_msys2_runtime_src_msys2_runtime_winsup_cygwin_fhandler_disk_file.cc
or r14d, 0xffffffff
call sym.seterrno_from_nt_status_char_const__int__int_
mov edx, dword [rsp + 0x78]
mov rax, qword gs:[0x30]
mov rax, qword [rax + 8]
mov dword [rax - 0x2cc8], edx
mov edx, dword [rsp + 0x7c]
mov rax, qword gs:[0x30]
mov rax, qword [rax + 8]
mov dword [rax - 0x2cc4], edx
jmp 0x210083181