Function at 0x140001000
Capabilities:
Set file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r14
lea rbp, [rax - 0x258]
sub rsp, 0x340
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov r14, rcx
mov edi, 0x400
mov r12d, 1
mov edx, edi
mov ecx, r12d
mov r8d, 0x74706d64
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool2]
mov rbx, rax
test rax, rax
je 0x140001279
and dword [rsp + 0x50], 0
lea r8, [rbp - 0x48]
and qword [rsp + 0x48], 0
lea rcx, [rsp + 0x68]
and qword [rbp - 0x40], 0
xorps xmm0, xmm0
mov dword [rsp + 0x40], 0x21
xor r9d, r9d
mov dword [rsp + 0x38], r12d
mov edx, 0x120089
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], 0x80
and qword [rsp + 0x20], 0
mov dword [rbp - 0x48], 0x30
mov dword [rbp - 0x30], 0x240
mov qword [rbp - 0x38], r14
movdqu xmmword [rbp - 0x28], xmm0
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
test eax, eax
js 0x14000126e
lea rdx, [0x140001b30]
lea rcx, [rbp - 0x78]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rbp - 0x78]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
test rax, rax
je 0x140001263
mov byte [rsp + 0x50], 0
lea rcx, [rbp - 0x68]
and qword [rsp + 0x48], 0
xor r9d, r9d
mov byte [rsp + 0x40], r12b
xor r8d, r8d
mov dword [rsp + 0x38], r12d
xor edx, edx
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x68]
call qword [0x1400020b8]
lfence
test eax, eax
js 0x140001263
mov rdi, rbx
xorps xmm0, xmm0
lea rsi, [rdi + 0x40]
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x80], rsi
lea rdx, [0x140001b60]
movzx eax, word [rdi + 0x3c]
mov rcx, rsi
mov word [rsp + 0x78], ax
mov word [rsp + 0x7a], ax
call sub.ntoskrnl.exe_wcsstr
test rax, rax
je 0x140001203
and dword [rsp + 0x50], 0
lea r8, [rbp - 0x18]
and qword [rsp + 0x48], 0
lea rcx, [rsp + 0x70]
and dword [rsp + 0x40], 0
xorps xmm0, xmm0
mov rax, qword [rsp + 0x68]
xor r9d, r9d
mov dword [rsp + 0x38], r12d
mov edx, 0x120116
and dword [rsp + 0x30], 0
mov qword [rbp - 0x10], rax
lea rax, [rsp + 0x78]
mov dword [rsp + 0x28], 0x80
and qword [rsp + 0x20], 0
mov dword [rbp - 0x18], 0x30
mov dword [rbp], 0x240
mov qword [rbp - 8], rax
movdqu xmmword [rbp + 8], xmm0
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
test eax, eax
js 0x140001203
mov rcx, qword [rsp + 0x70]
lea r8, [rsp + 0x60]
mov r9d, r12d
mov byte [rsp + 0x60], r12b
lea rdx, [rbp - 0x68]
mov dword [rsp + 0x20], 0xd
call qword [sym.imp.ntoskrnl.exe_ZwSetInformationFile]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [rdi + 0x38]
test al, 0x10
je 0x140001255
mov eax, dword [rdi + 0x3c]
cmp eax, 2
jbe 0x140001255
cmp word [rsi], 0x2e
je 0x140001255
mov r9, qword [r14 + 8]
lea r8, [0x140001b70]
shr rax, 1
lea rcx, [rbp + 0x20]
mov qword [rsp + 0x28], rsi
mov edx, 0x208
mov qword [rsp + 0x20], rax
call fcn.1400012e4
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x58]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rbp - 0x58]
call section..text
mov eax, dword [rdi]
test eax, eax
je 0x140001263
add rdi, rax
jmp 0x140001133
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.140001460
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rbp
ret