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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x408]
sub rsp, 0x500
mov rax, qword [0x140026730]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
xor esi, esi
mov word [rbp - 0x4c], 0x500
lea rax, [rsp + 0x70]
mov dword [rbp - 0x50], esi
mov qword [rsp + 0x50], rax
mov rdi, rcx
mov dword [rsp + 0x48], esi
lea rcx, [rbp - 0x48]
mov dword [rsp + 0x40], esi
xor r9d, r9d
mov dword [rsp + 0x38], esi
xor r8d, r8d
mov dword [rsp + 0x30], esi
mov dl, 1
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
mov dword [rbp - 0x48], esi
mov word [rbp - 0x44], 0x100
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x60], rsi
call qword [sym.imp.ntdll.dll_RtlAllocateAndInitializeSid]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140015aa6
lea rax, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x50], rax
lea r8d, [rsi + 0x12]
mov dword [rsp + 0x48], esi
lea rcx, [rbp - 0x50]
mov dword [rsp + 0x40], esi
mov dl, 1
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.ntdll.dll_RtlAllocateAndInitializeSid]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140015aa6
lea rax, [rsp + 0x60]
mov r9d, 0x220
mov qword [rsp + 0x50], rax
lea r8d, [rsi + 0x20]
mov dword [rsp + 0x48], esi
lea rcx, [rbp - 0x50]
mov dword [rsp + 0x40], esi
mov dl, 2
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.ntdll.dll_RtlAllocateAndInitializeSid]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140015aa6
lea edx, [rsi + 1]
lea rcx, [rbp - 0x78]
call qword [sym.imp.ntdll.dll_RtlCreateSecurityDescriptor]
nop dword [rax + rax]
mov edx, 0x400
lea r8d, [rsi + 2]
lea rcx, [rbp - 0x10]
call qword [sym.imp.ntdll.dll_RtlCreateAcl]
nop dword [rax + rax]
mov r9, qword [rsp + 0x60]
lea edx, [rsi + 2]
mov ebx, 0x100d0000
lea rcx, [rbp - 0x10]
mov r8d, ebx
call qword [sym.imp.ntdll.dll_RtlAddAccessAllowedAce]
nop dword [rax + rax]
mov r9, qword [rsp + 0x68]
lea edx, [rsi + 2]
mov r8d, ebx
lea rcx, [rbp - 0x10]
call qword [sym.imp.ntdll.dll_RtlAddAccessAllowedAce]
nop dword [rax + rax]
xor r9d, r9d
lea r8, [rbp - 0x10]
mov dl, 1
lea rcx, [rbp - 0x78]
call qword [sym.imp.ntdll.dll_RtlSetDaclSecurityDescriptor]
nop dword [rax + rax]
mov rdx, qword [rsp + 0x60]
lea rcx, [rbp - 0x78]
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlSetOwnerSecurityDescriptor]
nop dword [rax + rax]
lea r8, [rbp - 0x78]
mov rcx, rdi
lea edx, [rsi + 4]
call qword [sym.imp.ntdll.dll_NtSetSecurityObject]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140015aa6
lea r9d, [rsi + 0x28]
mov dword [rsp + 0x20], 4
lea r8, [rbp - 0x40]
mov rcx, rdi
lea rdx, [rsp + 0x78]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140015aa6
and dword [rbp - 0x20], 0xfffffff9
lea r9d, [rsi + 0x28]
lea r8, [rbp - 0x40]
mov dword [rsp + 0x20], 4
lea rdx, [rsp + 0x78]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
nop dword [rax + rax]
mov ebx, eax
cmp qword [rsp + 0x70], rsi
je 0x140015acd
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
cmp qword [rsp + 0x68], rsi
je 0x140015af4
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
cmp qword [rsp + 0x60], rsi
je 0x140015b1b
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.140010a60
lea r11, [rsp + 0x500]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret