Function at 0x210084260
Capabilities:
Set file attributes

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xe0
mov r12, rcx
mov ebx, edx
mov edi, r8d
mov rsi, r9
test byte [rcx + 0x119], 0x20
jne 0x21008428e
test byte [rcx + 0x98], 2
jne 0x2100842f0
cmp ebx, 1
je 0x210084530
mov r13d, 3
cmp ebx, 2
je 0x2100842d5
test ebx, ebx
je 0x2100844e8
test byte [0x210273880], 1
jne 0x2100846f0
mov rax, qword [sym.msys_2.0.dll__impure_ptr]
mov dword [rax], 0x16
call sym.msys_2.0.dll___errno
mov dword [rax], 0x16
mov r13d, 0xffffffff
mov eax, r13d
add rsp, 0xe0
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rax, qword [rcx]
lea r13, [rcx + 0x80]
test edx, edx
je 0x210084388
mov rax, qword [rax + 0x2a0]
lea r14, [method.fhandler_base.get_stat_handle__]
cmp rax, r14
jne 0x210084730
mov rcx, qword [r12 + 0x130]
test rcx, rcx
je 0x2100845f8
cmp ebx, 2
je 0x2100847a0
jg 0x2100845c0
cmp ebx, 1
jne 0x2100845c0
xor ebp, ebp
test rsi, rsi
je 0x210084770
test rcx, rcx
je 0x210084750
mov rdx, r13
mov r9, rsi
mov r8d, edi
call sym.getacl_void__path_conv__int__acl_
mov r13d, eax
cmp eax, 0xffffffff
je 0x2100847d8
test ebp, ebp
je 0x2100842d5
mov rcx, r12
call method.fhandler_base.close__
jmp 0x2100842d5
mov rdx, qword [rax + 0x280]
lea rbx, [method.fhandler_base.get_handle__]
cmp rdx, rbx
jne 0x210084488
cmp qword [rcx + 0x18], 0
je 0x210084498
mov r8, rsi
xor edx, edx
mov ecx, edi
call sym.aclsort32
mov ebp, eax
test eax, eax
jne 0x2100842cf
mov rax, qword [r12]
mov byte [rsp + 0x4f], 0
mov rax, qword [rax + 0x280]
cmp rax, rbx
jne 0x210084760
lea rax, [r12 + 0x18]
lea rdx, [rsp + 0x4f]
mov r9, rsi
mov r8d, edi
mov qword [rsp + 0x20], rdx
mov rcx, qword [rax]
mov rdx, r13
call sym.setacl_void__path_conv__int__acl__bool_
cmp byte [rsp + 0x4f], 0
mov r13d, eax
je 0x210084370
mov eax, dword [r12 + 0x80]
mov edx, pe_nt_image_headers64
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x68], 0
and eax, 0xfffffffe
mov qword [rsp + 0x60], 0
cmove eax, edx
mov dword [rsp + 0x80], eax
mov rax, qword [r12]
mov rax, qword [rax + 0x280]
cmp rax, rbx
jne 0x21008497d
lea rax, [r12 + 0x18]
lea rdx, [rsp + 0x50]
mov r9d, 0x28
lea r8, [rsp + 0x60]
mov dword [rsp + 0x20], 4
mov rcx, qword [rax]
call sym.NtSetInformationFile
jmp 0x210084370
call rdx
cmp qword [rax], 0
jne 0x2100843aa
mov rax, qword [r12]
movzx edx, word [r12 + 8]
xor r8d, r8d
mov rcx, r12
and dx, 0xfe3f
or dh, 1
mov word [r12 + 8], dx
mov edx, 0x10000
call qword [rax + 0x90]
mov ebp, eax
test eax, eax
je 0x2100842cf
xor edx, edx
mov r8, rsi
mov ecx, edi
call sym.aclsort32
test eax, eax
je 0x2100843c0
or r13d, 0xffffffff
jmp 0x210084378
mov rax, qword [r12]
lea rcx, [method.fhandler_base.get_handle__]
mov rdx, qword [rax + 0x280]
cmp rdx, rcx
jne 0x210084860
xor r13d, r13d
cmp qword [r12 + 0x18], 0
jne 0x2100842d5
xor r8d, r8d
mov edx, 0x10001
mov rcx, r12
xor r13d, r13d
call qword [rax + 0x90]
mov ebp, eax
jmp 0x210084370
test rsi, rsi
je 0x210084880
xor ebp, ebp
cmp edi, 2
jle 0x2100847f0
mov rax, qword [r12]
lea rdx, [rsp + 0x60]
mov rcx, r12
mov r13d, 0xffffffff
call qword [rax + 0xc0]
test eax, eax
jne 0x210084370
mov eax, dword [rsp + 0x78]
mov dword [rsi], 1
movabs rdi, 0xffffffff00000020
mov r13d, 3
mov dword [rsi + 0xc], 4
mov dword [rsi + 4], eax
mov eax, dword [rsp + 0x70]
mov qword [rsi + 0x18], rdi
mov edx, eax
shr edx, 6
and edx, 7
mov dword [rsi + 8], edx
mov edx, dword [rsp + 0x7c]
mov dword [rsi + 0x10], edx
mov edx, eax
and eax, 7
shr edx, 3
mov dword [rsi + 0x20], eax
and edx, 7
mov dword [rsi + 0x14], edx
jmp 0x210084370
xor ebp, ebp
test byte [0x210273880], 1
jne 0x210084820
mov rax, qword [sym.msys_2.0.dll__impure_ptr]
mov dword [rax], 0x16
call sym.msys_2.0.dll___errno
mov dword [rax], 0x16
mov r13d, 0xffffffff
jmp 0x210084370
mov rax, qword [r12 + 0x18]
test rax, rax
jne 0x210084648
movzx eax, word [r12 + 8]
xor r8d, r8d
mov edx, 0x10000
mov rcx, r12
and ax, 0xfe3f
or eax, 0x40
mov word [r12 + 8], ax
mov rax, qword [r12]
call qword [rax + 0x90]
mov ebp, eax
test eax, eax
jne 0x21008464a
lea eax, [rbx - 1]
cmp eax, 1
jbe 0x21008428e
jmp 0x2100842cf
xor ebp, ebp
cmp ebx, 2
je 0x210084690
jg 0x2100845c2
cmp ebx, 1
jne 0x2100845c2
test rsi, rsi
je 0x210084770
mov rax, qword [r12]
mov rax, qword [rax + 0x2a0]
cmp rax, r14
je 0x210084970
mov rcx, r12
call rax
mov rcx, rax
jmp 0x210084356
mov rax, qword [r12]
mov rax, qword [rax + 0x2a0]
cmp rax, r14
jne 0x210084740
mov rcx, qword [r12 + 0x130]
test rcx, rcx
jne 0x2100846b6
mov rcx, qword [r12 + 0x18]
mov rdx, r13
xor r9d, r9d
xor r8d, r8d
call sym.getacl_void__path_conv__int__acl_
mov r13d, eax
cmp eax, 0xffffffff
jne 0x210084370
call sym.msys_2.0.dll___errno
mov r13d, 3
cmp dword [rax], 0x58
jne 0x2100845e7
jmp 0x210084370
lea rax, str.virtual_int_fhandler_disk_file::facl_int__int__aclent_t_
mov dword [rsp + 0x30], 0x16
lea r9, [0x21028c231]
mov edx, 0x40
mov dword [rsp + 0x28], 0x3e4
lea r8, [0x21028c248]
lea rcx, [0x210273880]
mov qword [rsp + 0x20], rax
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x2100842b7
mov rcx, r12
call rax
jmp 0x2100845fd
mov rcx, r12
call rax
mov rcx, rax
jmp 0x2100846b6
mov rcx, qword [r12 + 0x18]
jmp 0x210084356
mov rcx, r12
call rax
jmp 0x2100843de
test byte [0x210273880], 1
jne 0x210084930
mov rax, qword [sym.msys_2.0.dll__impure_ptr]
mov r13d, 0xffffffff
mov dword [rax], 0xe
call sym.msys_2.0.dll___errno
mov dword [rax], 0xe
jmp 0x210084370
mov rdx, r13
xor r9d, r9d
xor r8d, r8d
call sym.getacl_void__path_conv__int__acl_
mov r13d, eax
cmp eax, 0xffffffff
jne 0x2100842d5
call sym.msys_2.0.dll___errno
xor ebp, ebp
mov r13d, 3
cmp dword [rax], 0x58
jne 0x2100845e7
jmp 0x2100842d5
call sym.msys_2.0.dll___errno
cmp dword [rax], 0x58
jne 0x210084370
cmp edi, 2
jg 0x210084544
nop
test byte [0x210273880], 1
jne 0x2100848b0
mov rax, qword [sym.msys_2.0.dll__impure_ptr]
mov r13d, 0xffffffff
mov dword [rax], 0x1c
call sym.msys_2.0.dll___errno
mov dword [rax], 0x1c
jmp 0x210084370
lea rax, str.virtual_int_fhandler_disk_file::facl_int__int__aclent_t_
mov dword [rsp + 0x30], 0x16
lea r9, [0x21028c231]
mov edx, 0x40
mov dword [rsp + 0x28], 0x41d
lea r8, [0x21028c248]
lea rcx, [0x210273880]
mov qword [rsp + 0x20], rax
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x2100845cf
mov rcx, r12
xor r13d, r13d
call rdx
cmp qword [rax], 0
jne 0x2100842d5
mov rax, qword [r12]
jmp 0x210084512
test byte [0x210273880], 1
jne 0x2100848f0
mov rax, qword [sym.msys_2.0.dll__impure_ptr]
mov r13d, 0xffffffff
mov dword [rax], 0xe
call sym.msys_2.0.dll___errno
mov dword [rax], 0xe
jmp 0x2100842d5
lea rax, str.virtual_int_fhandler_disk_file::facl_int__int__aclent_t_
mov dword [rsp + 0x30], 0x1c
lea r9, [0x21028c231]
mov edx, 0x40
mov dword [rsp + 0x28], 0x3cd
lea r8, [0x21028c248]
lea rcx, [0x210273880]
mov qword [rsp + 0x20], rax
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x2100847fd
lea rax, str.virtual_int_fhandler_disk_file::facl_int__int__aclent_t_
mov dword [rsp + 0x30], 0xe
lea r9, [0x21028c231]
mov edx, 0x40
mov dword [rsp + 0x28], 0x3cb
lea r8, [0x21028c248]
lea rcx, [0x210273880]
mov qword [rsp + 0x20], rax
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x210084889
lea rax, str.virtual_int_fhandler_disk_file::facl_int__int__aclent_t_
mov dword [rsp + 0x30], 0xe
lea r9, [0x21028c231]
mov edx, 0x40
mov dword [rsp + 0x28], 0x40e
lea r8, [0x21028c248]
lea rcx, [0x210273880]
mov qword [rsp + 0x20], rax
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x21008477d
mov rcx, qword [r12 + 0x130]
jmp 0x21008434d
mov rcx, r12
call rax
jmp 0x21008445e