Function at 0x140002280
Capabilities:
Allocate or change rwx memory
Create process on windows
Create thread
Inject thread
Resume thread
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov rax, qword [0x14004d040]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov rdi, rcx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], rax
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rax
movups xmmword [rbp - 0x70], xmm0
xor r12d, r12d
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r12
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop
inc r8
cmp byte [rcx + r8], al
jne 0x140002300
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.140004120
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x140046f40]
movdqu xmmword [rbp - 0x80], xmm1
mov byte [rsp + 0x70], 0
lea rdx, [rbp - 0x70]
mov r15, qword [rbp - 0x70]
mov r13, qword [rbp - 0x58]
cmp r13, 0x10
cmovae rdx, r15
mov rax, qword [rbp - 0x60]
cmp rax, 1
jb 0x140002420
dec rax
mov rcx, rbx
cmp rax, rbx
cmovb rcx, rax
add rcx, rdx
cmp byte [rcx], 0x20
jne 0x14000236e
mov eax, r12d
test eax, eax
je 0x14000237c
cmp rcx, rdx
je 0x140002420
dec rcx
jmp 0x140002362
cmp rcx, rdx
jne 0x140002420
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x140046f40]
movdqu xmmword [rbp - 0x40], xmm1
mov byte [rbp - 0x50], 0
mov r8d, 1
lea rdx, [0x140046b60]
lea rcx, [rbp - 0x50]
call fcn.140003650
mov r8, rbx
inc r8
cmp byte [rdi + r8], 0
jne 0x1400023b6
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.140003650
mov r8d, 1
lea rdx, [0x140046b60]
lea rcx, [rbp - 0x50]
call fcn.140003650
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x14000243a
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002419
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002696
call fcn.14000ba50
jmp 0x14000243a
mov r8, rbx
inc r8
cmp byte [rdi + r8], 0
jne 0x140002423
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.140003650
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdx, qword [rsp + 0x70]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x1000014
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1400025da
mov rdi, qword [rsp + 0x58]
mov r9d, 0x104
lea r8, [rbp + 0x40]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
test eax, eax
je 0x1400025a7
lea rcx, [rbp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
test eax, eax
je 0x1400025a7
lea rax, [rbp + 0x40]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x1400024c5
mov dword [rsp + 0x20], 0x40
xor edx, edx
mov r9d, 0x1000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
lea rcx, str.kernelbase.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.SetCurrentDirectoryA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test rsi, rsi
je 0x1400025a7
lea rax, [rbp + 0x40]
mov r9, rbx
nop dword [rax + rax]
inc r9
cmp byte [rax + r9], 0
jne 0x140002520
mov qword [rsp + 0x20], r12
lea r8, [rbp + 0x40]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1400025a7
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], rsi
mov r9, r14
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov r14, rax
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rax, [rbp + 0x40]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140002580
mov r8, rbx
mov r9d, 0x8000
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call fcn.1400020d0
test al, al
je 0x1400025da
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x1400025dc
xor bl, bl
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140002618
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002613
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000269c
call fcn.14000ba50
movdqa xmm0, xmmword [0x140046f40]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
cmp r13, 0x10
jb 0x14000265d
lea rdx, [r13 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x140002655
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002690
mov rcx, r15
call fcn.14000ba50
movzx eax, bl
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.14000ba30
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14001c020
nop
call fcn.14001c020
nop
call fcn.14001c020
int3