Function at 0x1400033d8
Capabilities:
Delete file
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xe0
mov rax, qword [0x1400220f0]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r13, qword [rbp + 0x7f]
mov esi, r9d
mov r12, rdx
shr esi, 3
mov rdi, rcx
mov rdx, rcx
lea rcx, [rbp - 0x61]
and sil, 1
mov r14d, r9d
mov r15, r8
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rbp - 0x61]
call fcn.14000f94c
test eax, eax
jns 0x14000343e
lfence
jmp 0x1400035a7
movzx edx, word [rbp - 0x61]
mov r8d, 0x64526346
mov ecx, dword [0x140022120]
add rdx, 0x20
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
jne 0x14000346a
mov eax, 0xc000009a
jmp 0x1400035a7
and qword [rax], 0
lea rcx, [rbx + 0x1e]
mov rax, qword [r12]
mov rdx, rdi
mov qword [rbx + 8], rax
mov rax, qword [r15]
mov qword [rbx + 0x10], rax
mov dword [rbx + 0x18], r14d
movzx eax, word [rbp - 0x61]
add ax, 2
movzx r8d, ax
mov word [rbx + 0x1c], r8w
call fcn.140015a80
xor r15d, r15d
mov dword [rbp - 0x41], 0x30
mov qword [rbp - 0x39], r15
lea rax, [rbp - 0x61]
mov qword [rbp - 0x31], rax
xorps xmm0, xmm0
mov dword [rbp - 0x29], 0x240
lea r9, [rbp - 0x51]
lea r8, [rbp - 0x41]
mov rcx, rbx
movdqu xmmword [rbp - 0x21], xmm0
test sil, sil
je 0x1400034f0
mov dword [rsp + 0x28], 0x868
mov edx, 0x80000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.ntoskrnl.exe_ZwOpenFile]
jmp 0x140003527
mov dword [rsp + 0x50], r15d
mov edx, 0xc0000000
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x40], 0x868
mov dword [rsp + 0x38], 3
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], r15
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
mov edi, eax
lfence
test eax, eax
jns 0x14000353d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x1400035a5
test sil, sil
jne 0x14000354c
cmp qword [rbp - 0x49], 2
mov sil, 1
je 0x14000354f
mov sil, r15b
mov rcx, qword [rbx]
lea r8, [rbp - 0x11]
mov r9d, 0x28
mov dword [rsp + 0x20], 4
lea rdx, [rbp - 0x51]
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
mov edi, eax
test eax, eax
js 0x140003582
test dword [rbp + 0xf], 0x4800
je 0x1400035ce
mov edi, 0xc00000bb
mov rcx, qword [rbx]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
test sil, sil
je 0x1400035a5
lea rcx, [rbp - 0x41]
call qword [sym.imp.ntoskrnl.exe_ZwDeleteFile]
mov eax, edi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400157c0
mov rbx, qword [rsp + 0x130]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
test sil, sil
je 0x140003616
bts dword [rbx + 0x18], 0x10
test r14b, 4
je 0x14000361c
mov rcx, qword [rbx]
lea rax, [rbp - 0x51]
mov dword [rsp + 0x48], r15d
xor r9d, r9d
mov qword [rsp + 0x40], r15
xor r8d, r8d
mov dword [rsp + 0x38], r15d
xor edx, edx
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x900c4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwFsControlFile]
jmp 0x14000361c
test r14b, 1
jne 0x140003645
lfence
mov rdx, qword [r12]
mov al, sil
mov rcx, qword [rbx]
neg al
sbb r8d, r8d
and r8d, 0xfffffff9
add r8d, 8
call fcn.14000fdbc
mov edi, eax
test eax, eax
js 0x140003582
lfence
mov qword [r13], rbx
jmp 0x1400035a5