Function at 0x4630a0
Capabilities:
Link many functions at runtime

Disassembly:
push str.ws2_32.dll
call fcn.00462120
add esp, 4
mov dword [0x4e897c], eax
mov dword [0x4e8b10], eax
test eax, eax
jne 0x4630e3
push str.wsock32.dll
call fcn.00462120
add esp, 4
mov dword [0x4e897c], eax
test eax, eax
jne 0x4630e3
push str.Unable_to_load_any_WinSock_library
call fcn.0045c660
mov eax, dword [0x4e897c]
add esp, 4
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.getaddrinfo
push eax
call esi
test eax, eax
je 0x46317e
mov eax, dword [0x4e897c]
test eax, eax
je 0x463114
push str.getaddrinfo
push eax
call esi
mov ecx, eax
mov eax, dword [0x4e897c]
jmp 0x463116
xor ecx, ecx
mov dword [0x4e8968], ecx
test eax, eax
je 0x463131
push str.freeaddrinfo
push eax
call esi
mov ecx, eax
mov eax, dword [0x4e897c]
jmp 0x463133
xor ecx, ecx
mov dword [0x4e896c], ecx
test eax, eax
je 0x46314e
push str.getnameinfo
push eax
call esi
mov ecx, eax
mov eax, dword [0x4e897c]
jmp 0x463150
xor ecx, ecx
mov dword [0x4e8970], ecx
test eax, eax
je 0x463174
push str.gai_strerror
push eax
call esi
mov ecx, eax
mov eax, dword [0x4e897c]
mov dword [0x4e8974], ecx
jmp 0x4631f4
xor ecx, ecx
mov dword [0x4e8974], ecx
jmp 0x4631f4
push str.wship6.dll
call fcn.00462120
add esp, 4
mov dword [0x4e8b14], eax
test eax, eax
je 0x4631ef
push str.getaddrinfo
push eax
call esi
mov dword [0x4e8968], eax
mov eax, dword [0x4e8b14]
test eax, eax
je 0x4631bb
push str.freeaddrinfo
push eax
call esi
mov ecx, eax
mov eax, dword [0x4e8b14]
jmp 0x4631bd
xor ecx, ecx
mov dword [0x4e896c], ecx
test eax, eax
je 0x4631de
push str.getnameinfo
push eax
call esi
mov dword [0x4e8970], eax
mov eax, dword [0x4e897c]
jmp 0x463156
xor eax, eax
mov dword [0x4e8970], eax
mov eax, dword [0x4e897c]
jmp 0x463156
mov eax, dword [0x4e897c]
mov ecx, dword [0x4e8b10]
test ecx, ecx
je 0x46320f
push str.WSAAddressToStringA
push ecx
call esi
mov ecx, eax
mov eax, dword [0x4e897c]
jmp 0x463211
xor ecx, ecx
mov dword [0x4e8978], ecx
test eax, eax
je 0x46322c
push str.WSAAsyncSelect
push eax
call esi
mov ecx, eax
mov eax, dword [0x4e897c]
jmp 0x46322e
xor ecx, ecx
mov dword [0x4ea4a4], ecx
test eax, eax
je 0x463249
push str.WSAEventSelect
push eax
call esi
mov ecx, eax
mov eax, dword [0x4e897c]
jmp 0x46324b
xor ecx, ecx
mov dword [0x4ea4a0], ecx
test eax, eax
je 0x463266
push str.select
push eax
call esi
mov ecx, eax
mov eax, dword [0x4e897c]
jmp 0x463268
xor ecx, ecx
mov dword [0x4ea3e0], ecx
test eax, eax
je 0x463283
push str.WSAGetLastError
push eax
call esi
mov ecx, eax
mov eax, dword [0x4e897c]
jmp 0x463285
xor ecx, ecx
mov dword [0x4ea49c], ecx
test eax, eax
je 0x4632a0
push str.WSAEnumNetworkEvents
push eax
call esi
mov ecx, eax
mov eax, dword [0x4e897c]
jmp 0x4632a2
xor ecx, ecx
mov dword [0x4ea498], ecx
test eax, eax
je 0x4632bd
push str.WSAStartup
push eax
call esi
mov ecx, eax
mov eax, dword [0x4e897c]
jmp 0x4632bf
xor ecx, ecx
mov dword [0x4e8904], ecx
test eax, eax
je 0x4632da
push str.WSACleanup
push eax
call esi
mov ecx, eax
mov eax, dword [0x4e897c]
jmp 0x4632dc
xor ecx, ecx
mov dword [0x4e8908], ecx
test eax, eax
je 0x4632f7
push str.closesocket
push eax
call esi
mov ecx, eax
mov eax, dword [0x4e897c]
jmp 0x4632f9
xor ecx, ecx
mov dword [0x4e890c], ecx
test eax, eax
je 0x463314
push str.ntohl
push eax
call esi
mov ecx, eax
mov eax, dword [0x4e897c]
jmp 0x463316
xor ecx, ecx
mov dword [0x4e8910], ecx
test eax, eax
je 0x463331
push str.htonl
push eax
call esi
mov ecx, eax
mov eax, dword [0x4e897c]
jmp 0x463333
xor ecx, ecx
mov dword [0x4e8914], ecx
test eax, eax
je 0x46334e
push str.htons
push eax
call esi
mov ecx, eax
mov eax, dword [0x4e897c]
jmp 0x463350
xor ecx, ecx
mov dword [0x4e8918], ecx
test eax, eax
je 0x46336b
push str.ntohs
push eax
call esi
mov ecx, eax
mov eax, dword [0x4e897c]
jmp 0x46336d
xor ecx, ecx
mov dword [0x4e891c], ecx
test eax, eax
je 0x463388
push str.gethostname
push eax
call esi
mov ecx, eax
mov eax, dword [0x4e897c]
jmp 0x46338a
xor ecx, ecx
mov dword [0x4e8920], ecx
test eax, eax
je 0x4633a5
push str.gethostbyname
push eax
call esi
mov ecx, eax
mov eax, dword [0x4e897c]
jmp 0x4633a7
xor ecx, ecx
mov dword [0x4e8924], ecx
test eax, eax
je 0x4633c2
push str.getservbyname
push eax
call esi
mov ecx, eax
mov eax, dword [0x4e897c]
jmp 0x4633c4
xor ecx, ecx
mov dword [0x4e8928], ecx
test eax, eax
je 0x4633df
push str.inet_addr
push eax
call esi
mov ecx, eax
mov eax, dword [0x4e897c]
jmp 0x4633e1
xor ecx, ecx
mov dword [0x4e892c], ecx
test eax, eax
je 0x4633fc
push str.inet_ntoa
push eax
call esi
mov ecx, eax
mov eax, dword [0x4e897c]
jmp 0x4633fe
xor ecx, ecx
mov dword [0x4e8930], ecx
test eax, eax
je 0x463419
push str.inet_ntop
push eax
call esi
mov ecx, eax
mov eax, dword [0x4e897c]
jmp 0x46341b
xor ecx, ecx
mov dword [0x4e8934], ecx
test eax, eax
je 0x463436
push str.connect
push eax
call esi
mov ecx, eax
mov eax, dword [0x4e897c]
jmp 0x463438
xor ecx, ecx
mov dword [0x4e8938], ecx
test eax, eax
je 0x463453
push str.bind
push eax
call esi
mov ecx, eax
mov eax, dword [0x4e897c]
jmp 0x463455
xor ecx, ecx
mov dword [0x4e893c], ecx
test eax, eax
je 0x463470
push str.setsockopt
push eax
call esi
mov ecx, eax
mov eax, dword [0x4e897c]
jmp 0x463472
xor ecx, ecx
mov dword [0x4e8940], ecx
test eax, eax
je 0x46348d
push str.socket
push eax
call esi
mov ecx, eax
mov eax, dword [0x4e897c]
jmp 0x46348f
xor ecx, ecx
mov dword [0x4e8944], ecx
test eax, eax
je 0x4634aa
push str.listen
push eax
call esi
mov ecx, eax
mov eax, dword [0x4e897c]
jmp 0x4634ac
xor ecx, ecx
mov dword [0x4e8948], ecx
test eax, eax
je 0x4634c7
push str.send
push eax
call esi
mov ecx, eax
mov eax, dword [0x4e897c]
jmp 0x4634c9
xor ecx, ecx
mov dword [0x4e894c], ecx
test eax, eax
je 0x4634e4
push str.shutdown
push eax
call esi
mov ecx, eax
mov eax, dword [0x4e897c]
jmp 0x4634e6
xor ecx, ecx
mov dword [0x4e8950], ecx
test eax, eax
je 0x463501
push str.ioctlsocket
push eax
call esi
mov ecx, eax
mov eax, dword [0x4e897c]
jmp 0x463503
xor ecx, ecx
mov dword [0x4e8954], ecx
test eax, eax
je 0x46351e
push str.accept
push eax
call esi
mov ecx, eax
mov eax, dword [0x4e897c]
jmp 0x463520
xor ecx, ecx
mov dword [0x4e8958], ecx
test eax, eax
je 0x46353b
push str.getpeername
push eax
call esi
mov ecx, eax
mov eax, dword [0x4e897c]
jmp 0x46353d
xor ecx, ecx
mov dword [0x4e895c], ecx
test eax, eax
je 0x463558
push str.recv
push eax
call esi
mov ecx, eax
mov eax, dword [0x4e897c]
jmp 0x46355a
xor ecx, ecx
mov dword [0x4e8960], ecx
test eax, eax
je 0x46356e
push str.WSAIoctl
push eax
call esi
jmp 0x463570
xor eax, eax
push 2
push 2
mov dword [0x4e8964], eax
call fcn.00463dd0
add esp, 8
pop esi
test eax, eax
jne 0x4635b2
push eax
push 2
call fcn.00463dd0
add esp, 8
test eax, eax
jne 0x4635b2
push 1
push 1
call fcn.00463dd0
add esp, 8
test eax, eax
jne 0x4635b2
push str.Unable_to_initialise_WinSock
call fcn.0045c660
add esp, 4
push 0x4625b0
call fcn.0044f770
add esp, 4
mov dword [0x4e8900], eax
ret