Function at 0x14001f6d0
Capabilities:
Delete file
Get file attributes
Print debug messages
Read file on windows
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
xor r15d, r15d
mov qword [rbp + 0x17], rcx
mov qword [rax - 0x78], r15
lea r9, [rbp - 9]
mov dword [rax - 0x80], 0x800
xorps xmm0, xmm0
mov qword [rsp + 0x60], r15
mov rsi, r8
mov dword [rsp + 0x58], r15d
lea r8, [rbp + 7]
mov dword [rsp + 0x50], r15d
mov r14, rdx
mov qword [rsp + 0x48], r15
mov rdi, rcx
mov dword [rsp + 0x40], 0x60
lea rcx, [rbp + 0x67]
mov dword [rsp + 0x38], 1
mov edx, 0x100181
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
mov qword [rbp + 0x7f], r15
movups xmmword [rbp - 9], xmm0
mov dword [rbp + 7], 0x30
mov qword [rbp + 0xf], r15
mov dword [rbp + 0x1f], 0x40
movdqu xmmword [rbp + 0x27], xmm0
call qword [sym.imp.ntoskrnl.exe_IoCreateFileSpecifyDeviceObjectHint]
test eax, eax
jne 0x14001f962
mov rcx, qword [rbp + 0x67]
lea r9d, [r15 + 0x18]
xorps xmm0, xmm0
mov dword [rsp + 0x20], 5
lea r8, [0x1400230c0]
lea rdx, [rbp - 9]
movups xmmword [rbp - 9], xmm0
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
mov ebx, eax
test eax, eax
jns 0x14001f7bc
lea rcx, [0x140021270]
call sub.ntoskrnl.exe_DbgPrint
mov eax, ebx
jmp 0x14001f962
mov rdx, qword [0x1400230c8]
mov r8d, 0x536558
mov ecx, 0x100
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool2]
mov qword [0x1400230d8], rax
mov rcx, rax
test rax, rax
jne 0x14001f7f9
lea rcx, [0x1400212a0]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 0xc0000001
jmp 0x14001f962
mov eax, dword [0x1400230c8]
xor r9d, r9d
mov qword [rsp + 0x40], r15
xor r8d, r8d
mov qword [rsp + 0x38], r15
xor edx, edx
mov dword [rsp + 0x30], eax
lea rax, [rbp - 9]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rbp + 0x67]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwReadFile]
mov ebx, eax
test eax, eax
jns 0x14001f853
lea rcx, [0x1400212c0]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [0x1400230d8]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x14001f7b5
mov rcx, qword [rbp + 0x67]
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x28], r15
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
test eax, eax
jne 0x14001f962
mov rax, qword [rbp + 0x7f]
mov rcx, qword [rax + 0x28]
mov qword [rcx + 0x10], r15
lea rcx, [rbp + 7]
mov rax, qword [rbp + 0x7f]
mov byte [rax + 0x4c], 1
call qword [sym.imp.ntoskrnl.exe_ZwDeleteFile]
test eax, eax
jne 0x14001f962
mov rcx, qword [rbp + 0x7f]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rcx, qword [rbp + 0x67]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
test eax, eax
jne 0x14001f962
mov dword [rsp + 0x50], r15d
lea r9, [rbp - 9]
mov qword [rsp + 0x48], r15
lea r8, [rbp + 7]
mov dword [rsp + 0x40], 0x20
lea rcx, [rbp + 0x67]
mov dword [rsp + 0x38], 5
xorps xmm0, xmm0
mov dword [rsp + 0x30], r15d
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], r15
movups xmmword [rbp - 9], xmm0
mov dword [rbp + 7], 0x30
mov qword [rbp + 0xf], r15
mov dword [rbp + 0x1f], 0x240
mov qword [rbp + 0x17], rdi
movdqu xmmword [rbp + 0x27], xmm0
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
test eax, eax
jne 0x14001f962
mov rcx, qword [rbp + 0x67]
lea rax, [rbp - 9]
mov qword [rsp + 0x40], r15
xor r9d, r9d
mov qword [rsp + 0x38], r15
xor r8d, r8d
mov dword [rsp + 0x30], esi
xor edx, edx
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwWriteFile]
test eax, eax
jne 0x14001f962
mov rcx, qword [rbp + 0x67]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rbx, qword [rsp + 0xf8]
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret