Function at 0x441660
Capabilities:
Link many functions at runtime

Disassembly:
push str.ws2_32.dll
call fcn.004406c0
add esp, 4
mov dword [0x4beb3c], eax
mov dword [0x4becd0], eax
mov ecx, eax
test eax, eax
jne 0x441691
push str.wsock32.dll
call fcn.004406c0
add esp, 4
mov dword [0x4beb3c], eax
mov ecx, eax
test ecx, ecx
jne 0x4416a7
push str.Unable_to_load_any_WinSock_library
call fcn.00444910
mov eax, dword [0x4beb3c]
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 [0x4beb3c]
test eax, eax
je 0x4416d8
push str.getaddrinfo
push eax
call esi
mov ecx, eax
mov eax, dword [0x4beb3c]
jmp 0x4416da
xor ecx, ecx
mov dword [0x4beb28], ecx
test eax, eax
je 0x4416f5
push str.freeaddrinfo
push eax
call esi
mov ecx, eax
mov eax, dword [0x4beb3c]
jmp 0x4416f7
xor ecx, ecx
mov dword [0x4beb2c], ecx
test eax, eax
je 0x441712
push str.getnameinfo
push eax
call esi
mov ecx, eax
mov eax, dword [0x4beb3c]
jmp 0x441714
xor ecx, ecx
mov dword [0x4beb30], ecx
test eax, eax
je 0x441738
push str.gai_strerror
push eax
call esi
mov ecx, eax
mov eax, dword [0x4beb3c]
mov dword [0x4beb34], ecx
jmp 0x4417b8
xor ecx, ecx
mov dword [0x4beb34], ecx
jmp 0x4417b8
push str.wship6.dll
call fcn.004406c0
add esp, 4
mov dword [0x4becd4], eax
test eax, eax
je 0x4417b3
push str.getaddrinfo
push eax
call esi
mov dword [0x4beb28], eax
mov eax, dword [0x4becd4]
test eax, eax
je 0x44177f
push str.freeaddrinfo
push eax
call esi
mov ecx, eax
mov eax, dword [0x4becd4]
jmp 0x441781
xor ecx, ecx
mov dword [0x4beb2c], ecx
test eax, eax
je 0x4417a2
push str.getnameinfo
push eax
call esi
mov dword [0x4beb30], eax
mov eax, dword [0x4beb3c]
jmp 0x44171a
xor eax, eax
mov dword [0x4beb30], eax
mov eax, dword [0x4beb3c]
jmp 0x44171a
mov eax, dword [0x4beb3c]
mov ecx, dword [0x4becd0]
test ecx, ecx
je 0x4417d3
push str.WSAAddressToStringA
push ecx
call esi
mov ecx, eax
mov eax, dword [0x4beb3c]
jmp 0x4417d5
xor ecx, ecx
mov dword [0x4beb38], ecx
test eax, eax
je 0x4417f0
push str.WSAAsyncSelect
push eax
call esi
mov ecx, eax
mov eax, dword [0x4beb3c]
jmp 0x4417f2
xor ecx, ecx
mov dword [0x4c05d8], ecx
test eax, eax
je 0x44180d
push str.WSAEventSelect
push eax
call esi
mov ecx, eax
mov eax, dword [0x4beb3c]
jmp 0x44180f
xor ecx, ecx
mov dword [0x4c05d4], ecx
test eax, eax
je 0x44182a
push str.select
push eax
call esi
mov ecx, eax
mov eax, dword [0x4beb3c]
jmp 0x44182c
xor ecx, ecx
mov dword [0x4c05f0], ecx
test eax, eax
je 0x441847
push str.WSAGetLastError
push eax
call esi
mov ecx, eax
mov eax, dword [0x4beb3c]
jmp 0x441849
xor ecx, ecx
mov dword [0x4c05d0], ecx
test eax, eax
je 0x441864
push str.WSAEnumNetworkEvents
push eax
call esi
mov ecx, eax
mov eax, dword [0x4beb3c]
jmp 0x441866
xor ecx, ecx
mov dword [0x4c05cc], ecx
test eax, eax
je 0x441881
push str.WSAStartup
push eax
call esi
mov ecx, eax
mov eax, dword [0x4beb3c]
jmp 0x441883
xor ecx, ecx
mov dword [0x4beac4], ecx
test eax, eax
je 0x44189e
push str.WSACleanup
push eax
call esi
mov ecx, eax
mov eax, dword [0x4beb3c]
jmp 0x4418a0
xor ecx, ecx
mov dword [0x4beac8], ecx
test eax, eax
je 0x4418bb
push str.closesocket
push eax
call esi
mov ecx, eax
mov eax, dword [0x4beb3c]
jmp 0x4418bd
xor ecx, ecx
mov dword [0x4beacc], ecx
test eax, eax
je 0x4418d8
push str.ntohl
push eax
call esi
mov ecx, eax
mov eax, dword [0x4beb3c]
jmp 0x4418da
xor ecx, ecx
mov dword [0x4bead0], ecx
test eax, eax
je 0x4418f5
push str.htonl
push eax
call esi
mov ecx, eax
mov eax, dword [0x4beb3c]
jmp 0x4418f7
xor ecx, ecx
mov dword [0x4bead4], ecx
test eax, eax
je 0x441912
push str.htons
push eax
call esi
mov ecx, eax
mov eax, dword [0x4beb3c]
jmp 0x441914
xor ecx, ecx
mov dword [0x4bead8], ecx
test eax, eax
je 0x44192f
push str.ntohs
push eax
call esi
mov ecx, eax
mov eax, dword [0x4beb3c]
jmp 0x441931
xor ecx, ecx
mov dword [0x4beadc], ecx
test eax, eax
je 0x44194c
push str.gethostname
push eax
call esi
mov ecx, eax
mov eax, dword [0x4beb3c]
jmp 0x44194e
xor ecx, ecx
mov dword [0x4beae0], ecx
test eax, eax
je 0x441969
push str.gethostbyname
push eax
call esi
mov ecx, eax
mov eax, dword [0x4beb3c]
jmp 0x44196b
xor ecx, ecx
mov dword [0x4beae4], ecx
test eax, eax
je 0x441986
push str.getservbyname
push eax
call esi
mov ecx, eax
mov eax, dword [0x4beb3c]
jmp 0x441988
xor ecx, ecx
mov dword [0x4beae8], ecx
test eax, eax
je 0x4419a3
push str.inet_addr
push eax
call esi
mov ecx, eax
mov eax, dword [0x4beb3c]
jmp 0x4419a5
xor ecx, ecx
mov dword [0x4beaec], ecx
test eax, eax
je 0x4419c0
push str.inet_ntoa
push eax
call esi
mov ecx, eax
mov eax, dword [0x4beb3c]
jmp 0x4419c2
xor ecx, ecx
mov dword [0x4beaf0], ecx
test eax, eax
je 0x4419dd
push str.inet_ntop
push eax
call esi
mov ecx, eax
mov eax, dword [0x4beb3c]
jmp 0x4419df
xor ecx, ecx
mov dword [0x4beaf4], ecx
test eax, eax
je 0x4419fa
push str.connect
push eax
call esi
mov ecx, eax
mov eax, dword [0x4beb3c]
jmp 0x4419fc
xor ecx, ecx
mov dword [0x4beaf8], ecx
test eax, eax
je 0x441a17
push str.bind
push eax
call esi
mov ecx, eax
mov eax, dword [0x4beb3c]
jmp 0x441a19
xor ecx, ecx
mov dword [0x4beafc], ecx
test eax, eax
je 0x441a34
push str.setsockopt
push eax
call esi
mov ecx, eax
mov eax, dword [0x4beb3c]
jmp 0x441a36
xor ecx, ecx
mov dword [0x4beb00], ecx
test eax, eax
je 0x441a51
push str.socket
push eax
call esi
mov ecx, eax
mov eax, dword [0x4beb3c]
jmp 0x441a53
xor ecx, ecx
mov dword [0x4beb04], ecx
test eax, eax
je 0x441a6e
push str.listen
push eax
call esi
mov ecx, eax
mov eax, dword [0x4beb3c]
jmp 0x441a70
xor ecx, ecx
mov dword [0x4beb08], ecx
test eax, eax
je 0x441a8b
push str.send
push eax
call esi
mov ecx, eax
mov eax, dword [0x4beb3c]
jmp 0x441a8d
xor ecx, ecx
mov dword [0x4beb0c], ecx
test eax, eax
je 0x441aa8
push str.shutdown
push eax
call esi
mov ecx, eax
mov eax, dword [0x4beb3c]
jmp 0x441aaa
xor ecx, ecx
mov dword [0x4beb10], ecx
test eax, eax
je 0x441ac5
push str.ioctlsocket
push eax
call esi
mov ecx, eax
mov eax, dword [0x4beb3c]
jmp 0x441ac7
xor ecx, ecx
mov dword [0x4beb14], ecx
test eax, eax
je 0x441ae2
push str.accept
push eax
call esi
mov ecx, eax
mov eax, dword [0x4beb3c]
jmp 0x441ae4
xor ecx, ecx
mov dword [0x4beb18], ecx
test eax, eax
je 0x441aff
push str.getpeername
push eax
call esi
mov ecx, eax
mov eax, dword [0x4beb3c]
jmp 0x441b01
xor ecx, ecx
mov dword [0x4beb1c], ecx
test eax, eax
je 0x441b1c
push str.recv
push eax
call esi
mov ecx, eax
mov eax, dword [0x4beb3c]
jmp 0x441b1e
xor ecx, ecx
mov dword [0x4beb20], ecx
test eax, eax
je 0x441b32
push str.WSAIoctl
push eax
call esi
jmp 0x441b34
xor eax, eax
push 2
push 2
mov dword [0x4beb24], 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.00444910
add esp, 4
push 0x440b50
call fcn.0043de80
add esp, 4
mov dword [0x4beac0], eax
ret