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

Disassembly:
push rbp
push rbx
push r13
lea rbp, [rsp - 0x631c0]
mov eax, 0x632c0
call fcn.140003df0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x631a0], rax
and byte [rbp + 0x18b], 0xf8
lea r9, [rbp + 0x190]
xor r13d, r13d
mov dword [rsp + 0x28], 1
xorps xmm0, xmm0
mov qword [rbp + 0x128], r13
xorps xmm1, xmm1
mov dword [rbp + 0xd4], r13d
lea rdx, [0x14006ac90]
mov dword [rbp + 0x100], r13d
lea r8d, [r13 + 0x20]
mov dword [rbp + 0x124], r13d
lea rcx, [rbp - 0x20]
mov dword [rsp + 0x20], r13d
movups xmmword [rbp + 0x114], xmm0
movups xmmword [rbp + 0x190], xmm1
call fcn.140002470
or byte [rbp + 0x18b], 1
test eax, eax
jne 0x1400010af
lea r8, [rbp + 0x104]
lea rdx, [rbp + 0x190]
lea rcx, [rbp - 0x20]
call fcn.140001550
lea rax, str.d_vFW
mov qword [rsp + 0x632e8], rdi
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0x5a0]
lea rax, [0x14006acb0]
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x20], rax
call fcn.140002e50
movsxd rax, dword [rbp + 0x5dc]
lea rbx, [rbp + 0x5a0]
add rbx, rax
cmp dword [rbx], 0x4550
jne 0x1400012f9
xorps xmm1, xmm1
lea rdx, [rbp + 0x1a0]
xor eax, eax
xorps xmm0, xmm0
mov r8d, 0x104
mov qword [rsp + 0x60], rax
xor ecx, ecx
mov qword [rbp - 0x30], rax
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x70], xmm1
movups xmmword [rbp - 0x80], xmm1
movups xmmword [rbp - 0x70], xmm1
movups xmmword [rbp - 0x60], xmm1
movups xmmword [rbp - 0x50], xmm1
movups xmmword [rbp - 0x40], xmm1
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x1a0]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor edx, edx
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], r13d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1400012f9
mov edx, 8
xor ecx, ecx
mov r8d, 0x1000
lea r9d, [rdx - 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdx, rax
mov rdi, rax
mov dword [rax + 0x30], 0x10000b
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1400012f9
mov r8d, dword [rbx + 0x50]
mov r9d, 0x3000
mov rdx, qword [rbx + 0x30]
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x632f0], r12
mov qword [rsp + 0x632b8], r14
mov qword [rsp + 0x632b0], r15
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r9d, dword [rbx + 0x54]
lea r8, [rbp + 0x5a0]
mov rcx, qword [rsp + 0x50]
mov rdx, rax
mov r15, rax
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r14, r13
cmp r13w, word [rbx + 6]
jae 0x1400012ac
mov qword [rsp + 0x632e0], rsi
mov rsi, r13
movsxd rcx, dword [rbp + 0x5dc]
lea r8, [rbp + 0x5a0]
add rcx, rsi
mov qword [rsp + 0x20], r13
mov eax, dword [rbp + rcx + 0x6bc]
mov edx, dword [rbp + rcx + 0x6b4]
add r8, rax
mov r9d, dword [rbp + rcx + 0x6b8]
add rdx, r15
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [rdi + 0x88]
lea r8, [rbx + 0x30]
mov rcx, qword [rsp + 0x50]
add rdx, 0x10
mov r9d, 8
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx eax, word [rbx + 6]
inc r14
add rsi, 0x28
cmp r14, rax
jb 0x140001232
mov rsi, qword [rsp + 0x632e0]
mov eax, dword [rbx + 0x28]
mov rdx, rdi
add rax, r15
mov qword [rdi + 0x80], rax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x50]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r15, qword [rsp + 0x632b0]
mov r14, qword [rsp + 0x632b8]
mov r12, qword [rsp + 0x632f0]
jmp 0x140001305
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001330
mov rdi, qword [rsp + 0x632e8]
xor eax, eax
mov rcx, qword [rbp + 0x631a0]
xor rcx, rsp
call fcn.1400030f0
add rsp, 0x632c0
pop r13
pop rbx
pop rbp
ret