Function at 0x440a50
Capabilities:
Link many functions at runtime

Disassembly:
push str.ws2_32.dll
call fcn.0043fad0
add esp, 4
mov dword [0x4bb9dc], eax
mov dword [0x4bbb70], eax
test eax, eax
jne 0x440a93
push str.wsock32.dll
call fcn.0043fad0
add esp, 4
mov dword [0x4bb9dc], eax
test eax, eax
jne 0x440a93
push str.Unable_to_load_any_WinSock_library
call fcn.00442f60
mov eax, dword [0x4bb9dc]
add esp, 4
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.getaddrinfo
push eax
call esi
test eax, eax
je 0x440b2e
mov eax, dword [0x4bb9dc]
test eax, eax
je 0x440ac4
push str.getaddrinfo
push eax
call esi
mov ecx, eax
mov eax, dword [0x4bb9dc]
jmp 0x440ac6
xor ecx, ecx
mov dword [0x4bb9c8], ecx
test eax, eax
je 0x440ae1
push str.freeaddrinfo
push eax
call esi
mov ecx, eax
mov eax, dword [0x4bb9dc]
jmp 0x440ae3
xor ecx, ecx
mov dword [0x4bb9cc], ecx
test eax, eax
je 0x440afe
push str.getnameinfo
push eax
call esi
mov ecx, eax
mov eax, dword [0x4bb9dc]
jmp 0x440b00
xor ecx, ecx
mov dword [0x4bb9d0], ecx
test eax, eax
je 0x440b24
push str.gai_strerror
push eax
call esi
mov ecx, eax
mov eax, dword [0x4bb9dc]
mov dword [0x4bb9d4], ecx
jmp 0x440ba4
xor ecx, ecx
mov dword [0x4bb9d4], ecx
jmp 0x440ba4
push str.wship6.dll
call fcn.0043fad0
add esp, 4
mov dword [0x4bbb74], eax
test eax, eax
je 0x440b9f
push str.getaddrinfo
push eax
call esi
mov dword [0x4bb9c8], eax
mov eax, dword [0x4bbb74]
test eax, eax
je 0x440b6b
push str.freeaddrinfo
push eax
call esi
mov ecx, eax
mov eax, dword [0x4bbb74]
jmp 0x440b6d
xor ecx, ecx
mov dword [0x4bb9cc], ecx
test eax, eax
je 0x440b8e
push str.getnameinfo
push eax
call esi
mov dword [0x4bb9d0], eax
mov eax, dword [0x4bb9dc]
jmp 0x440b06
xor eax, eax
mov dword [0x4bb9d0], eax
mov eax, dword [0x4bb9dc]
jmp 0x440b06
mov eax, dword [0x4bb9dc]
mov ecx, dword [0x4bbb70]
test ecx, ecx
je 0x440bbf
push str.WSAAddressToStringA
push ecx
call esi
mov ecx, eax
mov eax, dword [0x4bb9dc]
jmp 0x440bc1
xor ecx, ecx
mov dword [0x4bb9d8], ecx
test eax, eax
je 0x440bdc
push str.WSAAsyncSelect
push eax
call esi
mov ecx, eax
mov eax, dword [0x4bb9dc]
jmp 0x440bde
xor ecx, ecx
mov dword [0x4bd430], ecx
test eax, eax
je 0x440bf9
push str.WSAEventSelect
push eax
call esi
mov ecx, eax
mov eax, dword [0x4bb9dc]
jmp 0x440bfb
xor ecx, ecx
mov dword [0x4bd42c], ecx
test eax, eax
je 0x440c16
push str.select
push eax
call esi
mov ecx, eax
mov eax, dword [0x4bb9dc]
jmp 0x440c18
xor ecx, ecx
mov dword [0x4bd47c], ecx
test eax, eax
je 0x440c33
push str.WSAGetLastError
push eax
call esi
mov ecx, eax
mov eax, dword [0x4bb9dc]
jmp 0x440c35
xor ecx, ecx
mov dword [0x4bd428], ecx
test eax, eax
je 0x440c50
push str.WSAEnumNetworkEvents
push eax
call esi
mov ecx, eax
mov eax, dword [0x4bb9dc]
jmp 0x440c52
xor ecx, ecx
mov dword [0x4bd424], ecx
test eax, eax
je 0x440c6d
push str.WSAStartup
push eax
call esi
mov ecx, eax
mov eax, dword [0x4bb9dc]
jmp 0x440c6f
xor ecx, ecx
mov dword [0x4bb964], ecx
test eax, eax
je 0x440c8a
push str.WSACleanup
push eax
call esi
mov ecx, eax
mov eax, dword [0x4bb9dc]
jmp 0x440c8c
xor ecx, ecx
mov dword [0x4bb968], ecx
test eax, eax
je 0x440ca7
push str.closesocket
push eax
call esi
mov ecx, eax
mov eax, dword [0x4bb9dc]
jmp 0x440ca9
xor ecx, ecx
mov dword [0x4bb96c], ecx
test eax, eax
je 0x440cc4
push str.ntohl
push eax
call esi
mov ecx, eax
mov eax, dword [0x4bb9dc]
jmp 0x440cc6
xor ecx, ecx
mov dword [0x4bb970], ecx
test eax, eax
je 0x440ce1
push str.htonl
push eax
call esi
mov ecx, eax
mov eax, dword [0x4bb9dc]
jmp 0x440ce3
xor ecx, ecx
mov dword [0x4bb974], ecx
test eax, eax
je 0x440cfe
push str.htons
push eax
call esi
mov ecx, eax
mov eax, dword [0x4bb9dc]
jmp 0x440d00
xor ecx, ecx
mov dword [0x4bb978], ecx
test eax, eax
je 0x440d1b
push str.ntohs
push eax
call esi
mov ecx, eax
mov eax, dword [0x4bb9dc]
jmp 0x440d1d
xor ecx, ecx
mov dword [0x4bb97c], ecx
test eax, eax
je 0x440d38
push str.gethostname
push eax
call esi
mov ecx, eax
mov eax, dword [0x4bb9dc]
jmp 0x440d3a
xor ecx, ecx
mov dword [0x4bb980], ecx
test eax, eax
je 0x440d55
push str.gethostbyname
push eax
call esi
mov ecx, eax
mov eax, dword [0x4bb9dc]
jmp 0x440d57
xor ecx, ecx
mov dword [0x4bb984], ecx
test eax, eax
je 0x440d72
push str.getservbyname
push eax
call esi
mov ecx, eax
mov eax, dword [0x4bb9dc]
jmp 0x440d74
xor ecx, ecx
mov dword [0x4bb988], ecx
test eax, eax
je 0x440d8f
push str.inet_addr
push eax
call esi
mov ecx, eax
mov eax, dword [0x4bb9dc]
jmp 0x440d91
xor ecx, ecx
mov dword [0x4bb98c], ecx
test eax, eax
je 0x440dac
push str.inet_ntoa
push eax
call esi
mov ecx, eax
mov eax, dword [0x4bb9dc]
jmp 0x440dae
xor ecx, ecx
mov dword [0x4bb990], ecx
test eax, eax
je 0x440dc9
push str.inet_ntop
push eax
call esi
mov ecx, eax
mov eax, dword [0x4bb9dc]
jmp 0x440dcb
xor ecx, ecx
mov dword [0x4bb994], ecx
test eax, eax
je 0x440de6
push str.connect
push eax
call esi
mov ecx, eax
mov eax, dword [0x4bb9dc]
jmp 0x440de8
xor ecx, ecx
mov dword [0x4bb998], ecx
test eax, eax
je 0x440e03
push str.bind
push eax
call esi
mov ecx, eax
mov eax, dword [0x4bb9dc]
jmp 0x440e05
xor ecx, ecx
mov dword [0x4bb99c], ecx
test eax, eax
je 0x440e20
push str.setsockopt
push eax
call esi
mov ecx, eax
mov eax, dword [0x4bb9dc]
jmp 0x440e22
xor ecx, ecx
mov dword [0x4bb9a0], ecx
test eax, eax
je 0x440e3d
push str.socket
push eax
call esi
mov ecx, eax
mov eax, dword [0x4bb9dc]
jmp 0x440e3f
xor ecx, ecx
mov dword [0x4bb9a4], ecx
test eax, eax
je 0x440e5a
push str.listen
push eax
call esi
mov ecx, eax
mov eax, dword [0x4bb9dc]
jmp 0x440e5c
xor ecx, ecx
mov dword [0x4bb9a8], ecx
test eax, eax
je 0x440e77
push str.send
push eax
call esi
mov ecx, eax
mov eax, dword [0x4bb9dc]
jmp 0x440e79
xor ecx, ecx
mov dword [0x4bb9ac], ecx
test eax, eax
je 0x440e94
push str.shutdown
push eax
call esi
mov ecx, eax
mov eax, dword [0x4bb9dc]
jmp 0x440e96
xor ecx, ecx
mov dword [0x4bb9b0], ecx
test eax, eax
je 0x440eb1
push str.ioctlsocket
push eax
call esi
mov ecx, eax
mov eax, dword [0x4bb9dc]
jmp 0x440eb3
xor ecx, ecx
mov dword [0x4bb9b4], ecx
test eax, eax
je 0x440ece
push str.accept
push eax
call esi
mov ecx, eax
mov eax, dword [0x4bb9dc]
jmp 0x440ed0
xor ecx, ecx
mov dword [0x4bb9b8], ecx
test eax, eax
je 0x440eeb
push str.getpeername
push eax
call esi
mov ecx, eax
mov eax, dword [0x4bb9dc]
jmp 0x440eed
xor ecx, ecx
mov dword [0x4bb9bc], ecx
test eax, eax
je 0x440f08
push str.recv
push eax
call esi
mov ecx, eax
mov eax, dword [0x4bb9dc]
jmp 0x440f0a
xor ecx, ecx
mov dword [0x4bb9c0], ecx
test eax, eax
je 0x440f1e
push str.WSAIoctl
push eax
call esi
jmp 0x440f20
xor eax, eax
push 2
push 2
mov dword [0x4bb9c4], eax
call fcn.00441790
add esp, 8
pop esi
test eax, eax
jne 0x440f62
push eax
push 2
call fcn.00441790
add esp, 8
test eax, eax
jne 0x440f62
push 1
push 1
call fcn.00441790
add esp, 8
test eax, eax
jne 0x440f62
push str.Unable_to_initialise_WinSock
call fcn.00442f60
add esp, 4
push 0x43ff60
call fcn.0043d2a0
add esp, 4
mov dword [0x4bb960], eax
ret