Function at 0x2ddd0
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rbp
push rsi
push rdi
push r12
sub rsp, 0xe0
mov rdx, rcx
lea rcx, [rsp + 0x70]
xor edi, edi
mov qword [rax + 0x18], rdi
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [rsp + 0x70]
lea esi, [rdi + 0x30]
lea rcx, [rsp + 0xa8]
mov ebp, 0x240
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xb0], rdi
mov qword [rsp + 0xc8], rdi
mov dword [rsp + 0xa8], esi
mov dword [rsp + 0xc0], ebp
mov qword [rsp + 0xd0], rdi
call qword [sym.imp.ntoskrnl.exe_ZwDeleteFile]
cmp eax, edi
mov ebx, eax
jge 0x2e0bf
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x40], 0x1020
mov dword [rsp + 0xa8], esi
lea esi, [rdi + 1]
lea rax, [rsp + 0x70]
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], edi
lea r12d, [rsi + 0x7f]
lea r9, [rsp + 0x60]
lea r8, [rsp + 0xa8]
lea rcx, [rsp + 0x110]
mov edx, 0x1f01ff
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0xb0], rdi
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0xc0], ebp
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc8], rdi
mov qword [rsp + 0xd0], rdi
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
cmp eax, edi
mov ebx, eax
jge 0x2e0bf
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x40], 0x20
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], edi
lea r9, [rsp + 0x60]
lea r8, [rsp + 0xa8]
lea rcx, [rsp + 0x110]
mov edx, 0x100180
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
cmp eax, edi
mov rcx, qword [rsp + 0x110]
mov ebx, eax
jl 0x2e0c7
lea ebp, [rdi + 4]
lea r9d, [rdi + 0x28]
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
cmp eax, edi
mov ebx, eax
jl 0x2e09f
mov rcx, qword [rsp + 0x110]
lea r9d, [rdi + 0x28]
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x60]
mov dword [rsp + 0xa0], r12d
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ntoskrnl.exe_ZwSetInformationFile]
cmp eax, edi
mov ebx, eax
jl 0x2e09f
mov rcx, qword [rsp + 0x110]
cmp rcx, rdi
je 0x2dfa1
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov qword [rsp + 0x110], rdi
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x40], 0x1020
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], edi
lea r9, [rsp + 0x60]
lea r8, [rsp + 0xa8]
lea rcx, [rsp + 0x110]
mov edx, 0x110002
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
mov ebp, 0xc0000000
mov ebx, eax
and eax, ebp
cmp eax, ebp
jne 0x2e09f
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x40], 0x20
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], edi
lea r9, [rsp + 0x60]
lea r8, [rsp + 0xa8]
lea rcx, [rsp + 0x110]
mov edx, 0x110100
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
cmp eax, edi
mov ebx, eax
jl 0x2e09f
mov rcx, qword [rsp + 0x110]
lea r8, [rsp + 0x108]
lea rdx, [rsp + 0x60]
mov r9d, esi
mov byte [rsp + 0x108], sil
mov dword [rsp + 0x20], 0xd
call qword [sym.imp.ntoskrnl.exe_ZwSetInformationFile]
mov ebx, eax
and eax, ebp
cmp eax, ebp
jne 0x2e09f
mov rcx, qword [rsp + 0x110]
lea r8, [rsp + 0x108]
lea rdx, [rsp + 0x60]
mov r9d, 8
mov dword [rsp + 0x20], 0x14
call qword [sym.imp.ntoskrnl.exe_ZwSetInformationFile]
mov ebx, eax
mov rcx, qword [rsp + 0x110]
cmp rcx, rdi
je 0x2e0d2
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rcx, rdi
mov qword [rsp + 0x110], rcx
jmp 0x2e0c7
mov rcx, qword [rsp + 0x110]
cmp rcx, rdi
je 0x2e0d2
call qword [sym.imp.ntoskrnl.exe_ZwClose]
lea r11, [rsp + 0xe0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret