Function at 0x1400240c0
Capabilities:
Allocate or change rwx memory
Create thread
Enumerate process modules
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 - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x1401cea50]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
movzx r14d, r8b
mov r15, rdx
mov r8d, ecx
mov ebx, ecx
mov ecx, 0x1fffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140024325
xor esi, esi
mov edx, ebx
lea ecx, [rsi + 0x18]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140024171
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x238
mov rcx, rax
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x140024171
lea rdx, [0x14013a2d8]
lea rcx, [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14002416c
lea rdx, [rsp + 0x50]
mov rcx, rbx
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x140024144
jmp 0x140024171
mov rsi, qword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rsi, rsi
je 0x140024325
lea r8, str.SetWindowDisplayAffinity
mov rdx, rsi
mov rcx, rdi
call fcn.140023d70
mov rcx, rax
test rax, rax
je 0x140024325
mov eax, dword [0x14010a178]
neg r14b
movaps xmm0, xmmword [0x14010a130]
mov r9d, 0x3000
movaps xmm1, xmmword [0x14010a140]
mov dword [rbp + 0x1d8], eax
movzx eax, word [0x14010a17c]
mov word [rbp + 0x1dc], ax
movzx eax, byte [0x14010a17e]
mov byte [rbp + 0x1de], al
sbb eax, eax
movaps xmmword [rbp + 0x190], xmm0
xor edx, edx
movaps xmm0, xmmword [0x14010a150]
and eax, 0x11
movaps xmmword [rbp + 0x1b0], xmm0
movsd xmm0, qword [0x14010a170]
movaps xmmword [rbp + 0x1a0], xmm1
lea r8d, [rdx + 0x4f]
movaps xmm1, xmmword [0x14010a160]
movaps xmmword [rbp + 0x1c0], xmm1
mov qword [rbp + 0x1bb], rcx
mov rcx, rdi
movsd qword [rbp + 0x1d0], xmm0
mov qword [rbp + 0x1aa], r15
mov dword [rbp + 0x1b5], eax
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbx, rax
test rax, rax
je 0x140024325
lea rax, [rsp + 0x40]
mov r9d, reloc.WLDAP32.dll_Ordinal_79
lea r8, [rbp + 0x190]
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140024325
mov qword [rsp + 0x30], 0
mov r9, rbx
mov dword [rsp + 0x28], 0
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140024325
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
lea r8, [rbp + 0x190]
xorps xmm0, xmm0
mov qword [rbp + 0x1d0], rax
mov dword [rbp + 0x1d8], eax
mov r9d, reloc.WLDAP32.dll_Ordinal_79
mov word [rbp + 0x1dc], ax
mov rdx, rbx
mov byte [rbp + 0x1de], al
mov rcx, rdi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
movups xmmword [rbp + 0x190], xmm0
movups xmmword [rbp + 0x1a0], xmm0
movups xmmword [rbp + 0x1b0], xmm0
movups xmmword [rbp + 0x1c0], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140024325
mov al, 1
jmp 0x140024327
xor al, al
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140102810
mov rbx, qword [rsp + 0x338]
add rsp, 0x2f0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret