Function at 0x4018b3
Capabilities:
Create tcp socket
Create udp socket
Initialize winsock library
Start tcp server

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1e8
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._CreateGUI
test eax, eax
jne 0x4018d5
mov eax, 1
jmp 0x401b3d
lea eax, [ebp - 0x19c]
mov dword [esp + 4], eax
mov dword [esp], 0x202
call sym._WSAStartup_8
sub esp, 8
test eax, eax
je 0x40191f
call sym._WSAGetLastError_0
mov dword [esp + 8], eax
mov dword [esp + 4], str.____Error_initializing._Error_code:__d_n
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sym._fprintf
mov dword [esp], 1
call sym._exit
mov dword [esp + 8], 6
mov dword [esp + 4], 1
mov dword [esp], 2
call sym._socket_12
sub esp, 0xc
mov dword [ebp - 0xc], eax
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
lea eax, [ebp - 0x1c4]
mov dword [esp], eax
call sym._memset
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
lea eax, [ebp - 0x1d4]
mov dword [esp], eax
call sym._memset
mov word [ebp - 0x1c4], 2
mov dword [esp], 0x22b8
call sym._htons_4
sub esp, 4
mov word [ebp - 0x1c2], ax
mov dword [esp], str.0.0.0.0
call sym._inet_addr_4
sub esp, 4
mov dword [ebp - 0x1c0], eax
mov dword [esp + 8], 0x10
lea eax, [ebp - 0x1c4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._bind_12
sub esp, 0xc
cmp eax, 0xffffffff
jne 0x401a08
call sym._WSAGetLastError_0
mov dword [esp + 8], eax
mov dword [esp + 4], str.____Unable_to_bind._Error_code:__d_n
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sym._fprintf
call sym._WSACleanup_0
mov dword [esp], 1
call sym._exit
mov dword [esp + 4], 1
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._listen_8
sub esp, 8
cmp eax, 0xffffffff
jne 0x401a63
call sym._WSAGetLastError_0
mov dword [esp + 8], eax
mov dword [esp + 4], str.____Unable_to_start_listening._Error_code:__d_n
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sym._fprintf
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._closesocket_4
sub esp, 4
call sym._WSACleanup_0
mov dword [esp], 1
call sym._exit
mov dword [esp + 8], 0x22b8
mov dword [esp + 4], str.0.0.0.0
mov dword [esp], str.___Listening_on___s___d__n
call sym._printf
mov dword [ebp - 0x1b4], 0x10
lea eax, [ebp - 0x1b4]
mov dword [esp + 8], eax
lea eax, [ebp - 0x1d4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._accept_12
sub esp, 0xc
mov dword [0x40fa24], eax
mov eax, dword [0x40fa24]
cmp eax, 0xffffffff
jne 0x401aec
call sym._WSAGetLastError_0
mov dword [esp + 8], eax
mov dword [esp + 4], str.____Unable_to_accept_connection._Error_code:__d_n
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sym._fprintf
call sym._WSACleanup_0
mov dword [esp], 1
call sym._exit
mov dword [esp], str.___Client_connected
call sym._puts
mov eax, dword [ebp - 0x1d0]
mov dword [esp], eax
call sym._inet_ntoa_4
sub esp, 4
mov dword [0x40fa28], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._closesocket_4
sub esp, 4
mov eax, dword [0x40fa24]
mov dword [esp], eax
call sym._closesocket_4
sub esp, 4
call sym._WSACleanup_0
mov dword [esp], 0
call sym._exit
leave
ret 0x10