Function at 0x140012bc0
Capabilities:
Allocate or change rwx memory
Create process on windows
Map section object
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov r14, qword [rbp + 0x70]
lea rdi, [rbp - 0x50]
xor r15d, r15d
mov rdx, rcx
xor eax, eax
mov dword [rbp + 0x60], r15d
mov qword [rbp + 0x50], r15
mov ecx, 0x68
rep stosb byte [rdi], al
movsxd rbx, dword [rdx + 0x3c]
xorps xmm0, xmm0
add rbx, rdx
mov qword [rbp + 0x58], r15
mov qword [rsp + 0x70], r15
mov ecx, 0x14c
mov dword [rbp - 0x50], 0x68
mov rsi, r9
movdqu xmmword [rsp + 0x58], xmm0
mov eax, dword [rbx + 0x50]
mov qword [rsp + 0x78], rax
movzx eax, word [rbx + 4]
mov qword [r14], r15
cmp ax, cx
je 0x140012c51
mov ecx, 0x8664
cmp ax, cx
je 0x140012c51
mov eax, 0xc00000bb
jmp 0x140012ef6
mov qword [rsp + 0x30], r15
lea r9, [rsp + 0x78]
mov dword [rsp + 0x28], 0x8000000
lea rcx, [rbp + 0x50]
xor r8d, r8d
mov dword [rsp + 0x20], 0x40
mov edx, 0xf001f
call qword [sym.imp.ntdll.dll_NtCreateSection]
mov edi, eax
test eax, eax
js 0x140012ec5
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rbp - 0x50]
mov rdx, rsi
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x24
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140012cd8
mov edi, 0x40000015
jmp 0x140012ed5
mov rcx, qword [rsp + 0x58]
lea rax, [rbp + 0x60]
mov r9d, 0x30
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x80]
xor edx, edx
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
mov edi, eax
test eax, eax
js 0x140012ec5
mov rdx, qword [rbp - 0x78]
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
lea r8, [rbp + 0x58]
add rdx, 0x10
mov qword [rsp + 0x20], rax
mov r9d, 8
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140012ec0
mov eax, dword [rbx + 0x50]
lea rcx, [rbp + 0x70]
mov dword [rsp + 0x48], 0x40
lea r8, [rsp + 0x50]
mov dword [rsp + 0x40], r15d
xor r9d, r9d
mov dword [rsp + 0x38], 2
mov rdx, 0xffffffffffffffff
mov qword [rsp + 0x30], rcx
mov rcx, qword [rbp + 0x50]
mov qword [rbp + 0x70], rax
mov qword [rsp + 0x50], r15
mov eax, dword [rbx + 0x50]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov edi, eax
test eax, eax
js 0x140012ec5
mov r9d, dword [rbx + 0x50]
lea rax, [rsp + 0x70]
mov r8, qword [rsp + 0x50]
mov rdx, qword [rbp + 0x58]
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140012ec0
mov rdx, qword [rbp + 0x58]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov edi, eax
test eax, eax
js 0x140012ec5
mov eax, dword [rbx + 0x50]
lea rcx, [rbp + 0x70]
mov rdx, qword [rsp + 0x58]
lea r8, [rbp + 0x58]
mov dword [rsp + 0x48], 0x40
xor r9d, r9d
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x30], rcx
mov rcx, qword [rbp + 0x50]
mov qword [rbp + 0x70], rax
mov eax, dword [rbx + 0x50]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov edi, eax
test eax, eax
js 0x140012ec5
mov edx, dword [rbx + 0x28]
lea rcx, [0x1401a2fe0]
movups xmm0, xmmword [rcx]
add rdx, qword [rsp + 0x50]
lea rcx, [rcx + 0x80]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rcx - 0x70]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rdx + 0x60], xmm0
sub rdx, 0xffffffffffffff80
movups xmm0, xmmword [rcx - 0x10]
movups xmmword [rdx - 0x10], xmm0
movups xmm1, xmmword [rcx]
movups xmmword [rdx], xmm1
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rdx + 0x10], xmm0
movups xmm1, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x20], xmm1
mov rax, qword [rcx + 0x30]
mov qword [rdx + 0x30], rax
mov eax, dword [rcx + 0x38]
mov dword [rdx + 0x38], eax
movzx eax, word [rcx + 0x3c]
mov word [rdx + 0x3c], ax
movzx eax, byte [rcx + 0x3e]
mov byte [rdx + 0x3e], al
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rax, qword [rsp + 0x58]
mov qword [r14], rax
jmp 0x140012ed5
mov edi, 0xc00000e9
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140012ed5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x140012ee4
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140012ef4
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rbx, qword [rsp + 0x168]
add rsp, 0x120
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret