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

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x310
mov rax, qword [0x1400d6a00]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov rbx, rcx
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rsp + 0xfa]
call fcn.14001ea80
movsd xmm0, qword [0x14001f810]
movsd qword [rsp + 0xf0], xmm0
movzx eax, word [0x14001f818]
mov word [rsp + 0xf8], ax
lea rdx, [rsp + 0xf0]
sub rdx, 2
xor esi, esi
lea rdx, [rdx + 2]
cmp word [rdx], si
jne 0x1400187a5
xor ecx, ecx
movzx eax, word [rbx + rcx*2]
mov word [rdx + rcx*2], ax
inc rcx
test ax, ax
jne 0x1400187b0
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov byte [rsp + 0x60], sil
mov dword [rsp + 0x80], 0x30
mov qword [rsp + 0x88], rsi
mov dword [rsp + 0x98], 0x240
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x90], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xa0], xmm0
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], 0x1020
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x80]
mov edx, 0x110002
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
mov dword [rsp + 0x64], eax
cmp eax, 0xc0000022
jne 0x140018999
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], 0x20
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x80]
mov edx, 0x100180
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
mov dword [rsp + 0x64], eax
test eax, eax
js 0x140018999
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0xc0], xmm0
movups xmmword [rsp + 0xd0], xmm0
mov qword [rsp + 0xe0], rax
mov dword [rsp + 0x20], 4
lea ebx, [rax + 0x28]
mov r9d, ebx
lea r8, [rsp + 0xc0]
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
mov dword [rsp + 0x64], eax
mov dword [rsp + 0xe0], 0x80
mov dword [rsp + 0x20], 4
mov r9d, ebx
lea r8, [rsp + 0xc0]
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_ZwSetInformationFile]
mov dword [rsp + 0x64], eax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], 0x1020
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x80]
mov edx, 0x110002
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
mov dword [rsp + 0x64], eax
mov byte [rsp + 0x60], 1
mov dword [rsp + 0x20], 0xd
mov r9d, 1
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_ZwSetInformationFile]
mov ebx, eax
mov dword [rsp + 0x64], eax
mov rcx, qword [rsp + 0x68]
test eax, eax
jns 0x1400189da
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, ebx
jmp 0x1400189e8
call qword [sym.imp.ntoskrnl.exe_ZwClose]
jmp 0x1400189e6
mov eax, ebx
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.14001e6e0
mov rbx, qword [rsp + 0x328]
add rsp, 0x310
pop rsi
ret