Function at 0x441660
Capabilities:
Link many functions at runtime

Disassembly:
push str.ws2_32.dll
call fcn.004406c0
add esp, 4
mov dword [0x4cc4bc], eax
mov dword [0x4cc650], eax
mov ecx, eax
test eax, eax
jne 0x441691
push str.wsock32.dll
call fcn.004406c0
add esp, 4
mov dword [0x4cc4bc], eax
mov ecx, eax
test ecx, ecx
jne 0x4416a7
push str.Unable_to_load_any_WinSock_library
call fcn.00444b20
mov eax, dword [0x4cc4bc]
add esp, 4
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.getaddrinfo
push eax
call esi
test eax, eax
je 0x441742
mov eax, dword [0x4cc4bc]
test eax, eax
je 0x4416d8
push str.getaddrinfo
push eax
call esi
mov ecx, eax
mov eax, dword [0x4cc4bc]
jmp 0x4416da
xor ecx, ecx
mov dword [0x4cc4a8], ecx
test eax, eax
je 0x4416f5
push str.freeaddrinfo
push eax
call esi
mov ecx, eax
mov eax, dword [0x4cc4bc]
jmp 0x4416f7
xor ecx, ecx
mov dword [0x4cc4ac], ecx
test eax, eax
je 0x441712
push str.getnameinfo
push eax
call esi
mov ecx, eax
mov eax, dword [0x4cc4bc]
jmp 0x441714
xor ecx, ecx
mov dword [0x4cc4b0], ecx
test eax, eax
je 0x441738
push str.gai_strerror
push eax
call esi
mov ecx, eax
mov eax, dword [0x4cc4bc]
mov dword [0x4cc4b4], ecx
jmp 0x4417b8
xor ecx, ecx
mov dword [0x4cc4b4], ecx
jmp 0x4417b8
push str.wship6.dll
call fcn.004406c0
add esp, 4
mov dword [0x4cc654], eax
test eax, eax
je 0x4417b3
push str.getaddrinfo
push eax
call esi
mov dword [0x4cc4a8], eax
mov eax, dword [0x4cc654]
test eax, eax
je 0x44177f
push str.freeaddrinfo
push eax
call esi
mov ecx, eax
mov eax, dword [0x4cc654]
jmp 0x441781
xor ecx, ecx
mov dword [0x4cc4ac], ecx
test eax, eax
je 0x4417a2
push str.getnameinfo
push eax
call esi
mov dword [0x4cc4b0], eax
mov eax, dword [0x4cc4bc]
jmp 0x44171a
xor eax, eax
mov dword [0x4cc4b0], eax
mov eax, dword [0x4cc4bc]
jmp 0x44171a
mov eax, dword [0x4cc4bc]
mov ecx, dword [0x4cc650]
test ecx, ecx
je 0x4417d3
push str.WSAAddressToStringA
push ecx
call esi
mov ecx, eax
mov eax, dword [0x4cc4bc]
jmp 0x4417d5
xor ecx, ecx
mov dword [0x4cc4b8], ecx
test eax, eax
je 0x4417f0
push str.WSAAsyncSelect
push eax
call esi
mov ecx, eax
mov eax, dword [0x4cc4bc]
jmp 0x4417f2
xor ecx, ecx
mov dword [0x4ce068], ecx
test eax, eax
je 0x44180d
push str.WSAEventSelect
push eax
call esi
mov ecx, eax
mov eax, dword [0x4cc4bc]
jmp 0x44180f
xor ecx, ecx
mov dword [0x4ce064], ecx
test eax, eax
je 0x44182a
push str.select
push eax
call esi
mov ecx, eax
mov eax, dword [0x4cc4bc]
jmp 0x44182c
xor ecx, ecx
mov dword [0x4ce080], ecx
test eax, eax
je 0x441847
push str.WSAGetLastError
push eax
call esi
mov ecx, eax
mov eax, dword [0x4cc4bc]
jmp 0x441849
xor ecx, ecx
mov dword [0x4ce060], ecx
test eax, eax
je 0x441864
push str.WSAEnumNetworkEvents
push eax
call esi
mov ecx, eax
mov eax, dword [0x4cc4bc]
jmp 0x441866
xor ecx, ecx
mov dword [0x4ce05c], ecx
test eax, eax
je 0x441881
push str.WSAStartup
push eax
call esi
mov ecx, eax
mov eax, dword [0x4cc4bc]
jmp 0x441883
xor ecx, ecx
mov dword [0x4cc444], ecx
test eax, eax
je 0x44189e
push str.WSACleanup
push eax
call esi
mov ecx, eax
mov eax, dword [0x4cc4bc]
jmp 0x4418a0
xor ecx, ecx
mov dword [0x4cc448], ecx
test eax, eax
je 0x4418bb
push str.closesocket
push eax
call esi
mov ecx, eax
mov eax, dword [0x4cc4bc]
jmp 0x4418bd
xor ecx, ecx
mov dword [0x4cc44c], ecx
test eax, eax
je 0x4418d8
push str.ntohl
push eax
call esi
mov ecx, eax
mov eax, dword [0x4cc4bc]
jmp 0x4418da
xor ecx, ecx
mov dword [0x4cc450], ecx
test eax, eax
je 0x4418f5
push str.htonl
push eax
call esi
mov ecx, eax
mov eax, dword [0x4cc4bc]
jmp 0x4418f7
xor ecx, ecx
mov dword [0x4cc454], ecx
test eax, eax
je 0x441912
push str.htons
push eax
call esi
mov ecx, eax
mov eax, dword [0x4cc4bc]
jmp 0x441914
xor ecx, ecx
mov dword [0x4cc458], ecx
test eax, eax
je 0x44192f
push str.ntohs
push eax
call esi
mov ecx, eax
mov eax, dword [0x4cc4bc]
jmp 0x441931
xor ecx, ecx
mov dword [0x4cc45c], ecx
test eax, eax
je 0x44194c
push str.gethostname
push eax
call esi
mov ecx, eax
mov eax, dword [0x4cc4bc]
jmp 0x44194e
xor ecx, ecx
mov dword [0x4cc460], ecx
test eax, eax
je 0x441969
push str.gethostbyname
push eax
call esi
mov ecx, eax
mov eax, dword [0x4cc4bc]
jmp 0x44196b
xor ecx, ecx
mov dword [0x4cc464], ecx
test eax, eax
je 0x441986
push str.getservbyname
push eax
call esi
mov ecx, eax
mov eax, dword [0x4cc4bc]
jmp 0x441988
xor ecx, ecx
mov dword [0x4cc468], ecx
test eax, eax
je 0x4419a3
push str.inet_addr
push eax
call esi
mov ecx, eax
mov eax, dword [0x4cc4bc]
jmp 0x4419a5
xor ecx, ecx
mov dword [0x4cc46c], ecx
test eax, eax
je 0x4419c0
push str.inet_ntoa
push eax
call esi
mov ecx, eax
mov eax, dword [0x4cc4bc]
jmp 0x4419c2
xor ecx, ecx
mov dword [0x4cc470], ecx
test eax, eax
je 0x4419dd
push str.inet_ntop
push eax
call esi
mov ecx, eax
mov eax, dword [0x4cc4bc]
jmp 0x4419df
xor ecx, ecx
mov dword [0x4cc474], ecx
test eax, eax
je 0x4419fa
push str.connect
push eax
call esi
mov ecx, eax
mov eax, dword [0x4cc4bc]
jmp 0x4419fc
xor ecx, ecx
mov dword [0x4cc478], ecx
test eax, eax
je 0x441a17
push str.bind
push eax
call esi
mov ecx, eax
mov eax, dword [0x4cc4bc]
jmp 0x441a19
xor ecx, ecx
mov dword [0x4cc47c], ecx
test eax, eax
je 0x441a34
push str.setsockopt
push eax
call esi
mov ecx, eax
mov eax, dword [0x4cc4bc]
jmp 0x441a36
xor ecx, ecx
mov dword [0x4cc480], ecx
test eax, eax
je 0x441a51
push str.socket
push eax
call esi
mov ecx, eax
mov eax, dword [0x4cc4bc]
jmp 0x441a53
xor ecx, ecx
mov dword [0x4cc484], ecx
test eax, eax
je 0x441a6e
push str.listen
push eax
call esi
mov ecx, eax
mov eax, dword [0x4cc4bc]
jmp 0x441a70
xor ecx, ecx
mov dword [0x4cc488], ecx
test eax, eax
je 0x441a8b
push str.send
push eax
call esi
mov ecx, eax
mov eax, dword [0x4cc4bc]
jmp 0x441a8d
xor ecx, ecx
mov dword [0x4cc48c], ecx
test eax, eax
je 0x441aa8
push str.shutdown
push eax
call esi
mov ecx, eax
mov eax, dword [0x4cc4bc]
jmp 0x441aaa
xor ecx, ecx
mov dword [0x4cc490], ecx
test eax, eax
je 0x441ac5
push str.ioctlsocket
push eax
call esi
mov ecx, eax
mov eax, dword [0x4cc4bc]
jmp 0x441ac7
xor ecx, ecx
mov dword [0x4cc494], ecx
test eax, eax
je 0x441ae2
push str.accept
push eax
call esi
mov ecx, eax
mov eax, dword [0x4cc4bc]
jmp 0x441ae4
xor ecx, ecx
mov dword [0x4cc498], ecx
test eax, eax
je 0x441aff
push str.getpeername
push eax
call esi
mov ecx, eax
mov eax, dword [0x4cc4bc]
jmp 0x441b01
xor ecx, ecx
mov dword [0x4cc49c], ecx
test eax, eax
je 0x441b1c
push str.recv
push eax
call esi
mov ecx, eax
mov eax, dword [0x4cc4bc]
jmp 0x441b1e
xor ecx, ecx
mov dword [0x4cc4a0], ecx
test eax, eax
je 0x441b32
push str.WSAIoctl
push eax
call esi
jmp 0x441b34
xor eax, eax
push 2
push 2
mov dword [0x4cc4a4], eax
call fcn.00442380
add esp, 8
pop esi
test eax, eax
jne 0x441b76
push eax
push 2
call fcn.00442380
add esp, 8
test eax, eax
jne 0x441b76
push 1
push 1
call fcn.00442380
add esp, 8
test eax, eax
jne 0x441b76
push str.Unable_to_initialise_WinSock
call fcn.00444b20
add esp, 4
push 0x440b50
call fcn.0043de80
add esp, 4
mov dword [0x4cc440], eax
ret