Function at 0x464150
Capabilities:
Link many functions at runtime

Disassembly:
push str.ws2_32.dll
call fcn.004631b0
add esp, 4
mov dword [0x4f9afc], eax
mov dword [0x4f9c90], eax
mov ecx, eax
test eax, eax
jne 0x464181
push str.wsock32.dll
call fcn.004631b0
add esp, 4
mov dword [0x4f9afc], eax
mov ecx, eax
test ecx, ecx
jne 0x464197
push str.Unable_to_load_any_WinSock_library
call fcn.0045d630
mov eax, dword [0x4f9afc]
add esp, 4
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.getaddrinfo
push eax
call esi
test eax, eax
je 0x464232
mov eax, dword [0x4f9afc]
test eax, eax
je 0x4641c8
push str.getaddrinfo
push eax
call esi
mov ecx, eax
mov eax, dword [0x4f9afc]
jmp 0x4641ca
xor ecx, ecx
mov dword [0x4f9ae8], ecx
test eax, eax
je 0x4641e5
push str.freeaddrinfo
push eax
call esi
mov ecx, eax
mov eax, dword [0x4f9afc]
jmp 0x4641e7
xor ecx, ecx
mov dword [0x4f9aec], ecx
test eax, eax
je 0x464202
push str.getnameinfo
push eax
call esi
mov ecx, eax
mov eax, dword [0x4f9afc]
jmp 0x464204
xor ecx, ecx
mov dword [0x4f9af0], ecx
test eax, eax
je 0x464228
push str.gai_strerror
push eax
call esi
mov ecx, eax
mov eax, dword [0x4f9afc]
mov dword [0x4f9af4], ecx
jmp 0x4642a8
xor ecx, ecx
mov dword [0x4f9af4], ecx
jmp 0x4642a8
push str.wship6.dll
call fcn.004631b0
add esp, 4
mov dword [0x4f9c94], eax
test eax, eax
je 0x4642a3
push str.getaddrinfo
push eax
call esi
mov dword [0x4f9ae8], eax
mov eax, dword [0x4f9c94]
test eax, eax
je 0x46426f
push str.freeaddrinfo
push eax
call esi
mov ecx, eax
mov eax, dword [0x4f9c94]
jmp 0x464271
xor ecx, ecx
mov dword [0x4f9aec], ecx
test eax, eax
je 0x464292
push str.getnameinfo
push eax
call esi
mov dword [0x4f9af0], eax
mov eax, dword [0x4f9afc]
jmp 0x46420a
xor eax, eax
mov dword [0x4f9af0], eax
mov eax, dword [0x4f9afc]
jmp 0x46420a
mov eax, dword [0x4f9afc]
mov ecx, dword [0x4f9c90]
test ecx, ecx
je 0x4642c3
push str.WSAAddressToStringA
push ecx
call esi
mov ecx, eax
mov eax, dword [0x4f9afc]
jmp 0x4642c5
xor ecx, ecx
mov dword [0x4f9af8], ecx
test eax, eax
je 0x4642e0
push str.WSAAsyncSelect
push eax
call esi
mov ecx, eax
mov eax, dword [0x4f9afc]
jmp 0x4642e2
xor ecx, ecx
mov dword [0x4fb644], ecx
test eax, eax
je 0x4642fd
push str.WSAEventSelect
push eax
call esi
mov ecx, eax
mov eax, dword [0x4f9afc]
jmp 0x4642ff
xor ecx, ecx
mov dword [0x4fb640], ecx
test eax, eax
je 0x46431a
push str.select
push eax
call esi
mov ecx, eax
mov eax, dword [0x4f9afc]
jmp 0x46431c
xor ecx, ecx
mov dword [0x4fb56c], ecx
test eax, eax
je 0x464337
push str.WSAGetLastError
push eax
call esi
mov ecx, eax
mov eax, dword [0x4f9afc]
jmp 0x464339
xor ecx, ecx
mov dword [0x4fb63c], ecx
test eax, eax
je 0x464354
push str.WSAEnumNetworkEvents
push eax
call esi
mov ecx, eax
mov eax, dword [0x4f9afc]
jmp 0x464356
xor ecx, ecx
mov dword [0x4fb638], ecx
test eax, eax
je 0x464371
push str.WSAStartup
push eax
call esi
mov ecx, eax
mov eax, dword [0x4f9afc]
jmp 0x464373
xor ecx, ecx
mov dword [0x4f9a84], ecx
test eax, eax
je 0x46438e
push str.WSACleanup
push eax
call esi
mov ecx, eax
mov eax, dword [0x4f9afc]
jmp 0x464390
xor ecx, ecx
mov dword [0x4f9a88], ecx
test eax, eax
je 0x4643ab
push str.closesocket
push eax
call esi
mov ecx, eax
mov eax, dword [0x4f9afc]
jmp 0x4643ad
xor ecx, ecx
mov dword [0x4f9a8c], ecx
test eax, eax
je 0x4643c8
push str.ntohl
push eax
call esi
mov ecx, eax
mov eax, dword [0x4f9afc]
jmp 0x4643ca
xor ecx, ecx
mov dword [0x4f9a90], ecx
test eax, eax
je 0x4643e5
push str.htonl
push eax
call esi
mov ecx, eax
mov eax, dword [0x4f9afc]
jmp 0x4643e7
xor ecx, ecx
mov dword [0x4f9a94], ecx
test eax, eax
je 0x464402
push str.htons
push eax
call esi
mov ecx, eax
mov eax, dword [0x4f9afc]
jmp 0x464404
xor ecx, ecx
mov dword [0x4f9a98], ecx
test eax, eax
je 0x46441f
push str.ntohs
push eax
call esi
mov ecx, eax
mov eax, dword [0x4f9afc]
jmp 0x464421
xor ecx, ecx
mov dword [0x4f9a9c], ecx
test eax, eax
je 0x46443c
push str.gethostname
push eax
call esi
mov ecx, eax
mov eax, dword [0x4f9afc]
jmp 0x46443e
xor ecx, ecx
mov dword [0x4f9aa0], ecx
test eax, eax
je 0x464459
push str.gethostbyname
push eax
call esi
mov ecx, eax
mov eax, dword [0x4f9afc]
jmp 0x46445b
xor ecx, ecx
mov dword [0x4f9aa4], ecx
test eax, eax
je 0x464476
push str.getservbyname
push eax
call esi
mov ecx, eax
mov eax, dword [0x4f9afc]
jmp 0x464478
xor ecx, ecx
mov dword [0x4f9aa8], ecx
test eax, eax
je 0x464493
push str.inet_addr
push eax
call esi
mov ecx, eax
mov eax, dword [0x4f9afc]
jmp 0x464495
xor ecx, ecx
mov dword [0x4f9aac], ecx
test eax, eax
je 0x4644b0
push str.inet_ntoa
push eax
call esi
mov ecx, eax
mov eax, dword [0x4f9afc]
jmp 0x4644b2
xor ecx, ecx
mov dword [0x4f9ab0], ecx
test eax, eax
je 0x4644cd
push str.inet_ntop
push eax
call esi
mov ecx, eax
mov eax, dword [0x4f9afc]
jmp 0x4644cf
xor ecx, ecx
mov dword [0x4f9ab4], ecx
test eax, eax
je 0x4644ea
push str.connect
push eax
call esi
mov ecx, eax
mov eax, dword [0x4f9afc]
jmp 0x4644ec
xor ecx, ecx
mov dword [0x4f9ab8], ecx
test eax, eax
je 0x464507
push str.bind
push eax
call esi
mov ecx, eax
mov eax, dword [0x4f9afc]
jmp 0x464509
xor ecx, ecx
mov dword [0x4f9abc], ecx
test eax, eax
je 0x464524
push str.setsockopt
push eax
call esi
mov ecx, eax
mov eax, dword [0x4f9afc]
jmp 0x464526
xor ecx, ecx
mov dword [0x4f9ac0], ecx
test eax, eax
je 0x464541
push str.socket
push eax
call esi
mov ecx, eax
mov eax, dword [0x4f9afc]
jmp 0x464543
xor ecx, ecx
mov dword [0x4f9ac4], ecx
test eax, eax
je 0x46455e
push str.listen
push eax
call esi
mov ecx, eax
mov eax, dword [0x4f9afc]
jmp 0x464560
xor ecx, ecx
mov dword [0x4f9ac8], ecx
test eax, eax
je 0x46457b
push str.send
push eax
call esi
mov ecx, eax
mov eax, dword [0x4f9afc]
jmp 0x46457d
xor ecx, ecx
mov dword [0x4f9acc], ecx
test eax, eax
je 0x464598
push str.shutdown
push eax
call esi
mov ecx, eax
mov eax, dword [0x4f9afc]
jmp 0x46459a
xor ecx, ecx
mov dword [0x4f9ad0], ecx
test eax, eax
je 0x4645b5
push str.ioctlsocket
push eax
call esi
mov ecx, eax
mov eax, dword [0x4f9afc]
jmp 0x4645b7
xor ecx, ecx
mov dword [0x4f9ad4], ecx
test eax, eax
je 0x4645d2
push str.accept
push eax
call esi
mov ecx, eax
mov eax, dword [0x4f9afc]
jmp 0x4645d4
xor ecx, ecx
mov dword [0x4f9ad8], ecx
test eax, eax
je 0x4645ef
push str.getpeername
push eax
call esi
mov ecx, eax
mov eax, dword [0x4f9afc]
jmp 0x4645f1
xor ecx, ecx
mov dword [0x4f9adc], ecx
test eax, eax
je 0x46460c
push str.recv
push eax
call esi
mov ecx, eax
mov eax, dword [0x4f9afc]
jmp 0x46460e
xor ecx, ecx
mov dword [0x4f9ae0], ecx
test eax, eax
je 0x464622
push str.WSAIoctl
push eax
call esi
jmp 0x464624
xor eax, eax
push 2
push 2
mov dword [0x4f9ae4], eax
call fcn.00464e70
add esp, 8
pop esi
test eax, eax
jne 0x464666
push eax
push 2
call fcn.00464e70
add esp, 8
test eax, eax
jne 0x464666
push 1
push 1
call fcn.00464e70
add esp, 8
test eax, eax
jne 0x464666
push str.Unable_to_initialise_WinSock
call fcn.0045d630
add esp, 4
push 0x463640
call fcn.004505d0
add esp, 4
mov dword [0x4f9a80], eax
ret