Function at 0x40c100
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov ecx, str.ws2_32.dll
call fcn.00431b20
mov dword [0x468730], eax
mov ecx, eax
mov dword [0x468748], eax
test eax, eax
jne 0x40c12c
mov ecx, str.wsock32.dll
call fcn.00431b20
mov dword [0x468730], eax
mov ecx, eax
test ecx, ecx
je 0x40c53e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.getaddrinfo
push eax
call esi
test eax, eax
je 0x40c18b
mov eax, dword [0x468730]
test eax, eax
je 0x40c160
push str.getaddrinfo
push eax
call esi
mov ecx, eax
mov eax, dword [0x468730]
jmp 0x40c162
xor ecx, ecx
mov dword [0x468910], ecx
test eax, eax
je 0x40c17d
push str.freeaddrinfo
push eax
call esi
mov ecx, eax
mov eax, dword [0x468730]
jmp 0x40c17f
xor ecx, ecx
mov dword [0x468900], ecx
test eax, eax
je 0x40c1de
jmp 0x40c1d1
mov ecx, str.wship6.dll
call fcn.00431b20
mov dword [0x46874c], eax
test eax, eax
je 0x40c1d9
push str.getaddrinfo
push eax
call esi
mov dword [0x468910], eax
mov eax, dword [0x46874c]
test eax, eax
je 0x40c1c5
push str.freeaddrinfo
push eax
call esi
mov ecx, eax
mov eax, dword [0x46874c]
jmp 0x40c1c7
xor ecx, ecx
mov dword [0x468900], ecx
test eax, eax
je 0x40c1d9
push str.getnameinfo
push eax
call esi
mov eax, dword [0x468730]
mov ecx, dword [0x468748]
test ecx, ecx
je 0x40c1f5
push str.WSAAddressToStringA
push ecx
call esi
mov eax, dword [0x468730]
test eax, eax
je 0x40c20a
push str.WSAAsyncSelect
push eax
call esi
mov ecx, eax
mov eax, dword [0x468730]
jmp 0x40c20c
xor ecx, ecx
mov dword [0x4690ac], ecx
test eax, eax
je 0x40c249
push str.WSAEventSelect
push eax
call esi
mov eax, dword [0x468730]
test eax, eax
je 0x40c249
push str.select
push eax
call esi
mov eax, dword [0x468730]
test eax, eax
je 0x40c249
push str.WSAGetLastError
push eax
call esi
mov ecx, eax
mov eax, dword [0x468730]
jmp 0x40c24b
xor ecx, ecx
mov dword [0x4690b0], ecx
test eax, eax
je 0x40c277
push str.WSAEnumNetworkEvents
push eax
call esi
mov eax, dword [0x468730]
test eax, eax
je 0x40c277
push str.WSAStartup
push eax
call esi
mov ecx, eax
mov eax, dword [0x468730]
jmp 0x40c279
xor ecx, ecx
mov dword [0x468740], ecx
test eax, eax
je 0x40c2a5
push str.WSACleanup
push eax
call esi
mov eax, dword [0x468730]
test eax, eax
je 0x40c2a5
push str.closesocket
push eax
call esi
mov ecx, eax
mov eax, dword [0x468730]
jmp 0x40c2a7
xor ecx, ecx
mov dword [0x468908], ecx
test eax, eax
je 0x40c2c2
push str.ntohl
push eax
call esi
mov ecx, eax
mov eax, dword [0x468730]
jmp 0x40c2c4
xor ecx, ecx
mov dword [0x4688f0], ecx
test eax, eax
je 0x40c2df
push str.htonl
push eax
call esi
mov ecx, eax
mov eax, dword [0x468730]
jmp 0x40c2e1
xor ecx, ecx
mov dword [0x468750], ecx
test eax, eax
je 0x40c2fc
push str.htons
push eax
call esi
mov ecx, eax
mov eax, dword [0x468730]
jmp 0x40c2fe
xor ecx, ecx
mov dword [0x46873c], ecx
test eax, eax
je 0x40c319
push str.ntohs
push eax
call esi
mov ecx, eax
mov eax, dword [0x468730]
jmp 0x40c31b
xor ecx, ecx
mov dword [0x468914], ecx
test eax, eax
je 0x40c369
push str.gethostname
push eax
call esi
mov eax, dword [0x468730]
test eax, eax
je 0x40c369
push str.gethostbyname
push eax
call esi
mov eax, dword [0x468730]
test eax, eax
je 0x40c369
push str.getservbyname
push eax
call esi
mov eax, dword [0x468730]
test eax, eax
je 0x40c369
push str.inet_addr
push eax
call esi
mov ecx, eax
mov eax, dword [0x468730]
jmp 0x40c36b
xor ecx, ecx
mov dword [0x468734], ecx
test eax, eax
je 0x40c386
push str.inet_ntoa
push eax
call esi
mov ecx, eax
mov eax, dword [0x468730]
jmp 0x40c388
xor ecx, ecx
mov dword [0x4688f8], ecx
test eax, eax
je 0x40c3a3
push str.inet_ntop
push eax
call esi
mov ecx, eax
mov eax, dword [0x468730]
jmp 0x40c3a5
xor ecx, ecx
mov dword [0x468758], ecx
test eax, eax
je 0x40c3c0
push str.connect
push eax
call esi
mov ecx, eax
mov eax, dword [0x468730]
jmp 0x40c3c2
xor ecx, ecx
mov dword [0x46890c], ecx
test eax, eax
je 0x40c3dd
push str.bind
push eax
call esi
mov ecx, eax
mov eax, dword [0x468730]
jmp 0x40c3df
xor ecx, ecx
mov dword [0x468904], ecx
test eax, eax
je 0x40c3fa
push str.setsockopt
push eax
call esi
mov ecx, eax
mov eax, dword [0x468730]
jmp 0x40c3fc
xor ecx, ecx
mov dword [0x468de0], ecx
test eax, eax
je 0x40c417
push str.socket
push eax
call esi
mov ecx, eax
mov eax, dword [0x468730]
jmp 0x40c419
xor ecx, ecx
mov dword [0x468744], ecx
test eax, eax
je 0x40c434
push str.listen
push eax
call esi
mov ecx, eax
mov eax, dword [0x468730]
jmp 0x40c436
xor ecx, ecx
mov dword [0x46875c], ecx
test eax, eax
je 0x40c451
push str.send
push eax
call esi
mov ecx, eax
mov eax, dword [0x468730]
jmp 0x40c453
xor ecx, ecx
mov dword [0x468df0], ecx
test eax, eax
je 0x40c46e
push str.shutdown
push eax
call esi
mov ecx, eax
mov eax, dword [0x468730]
jmp 0x40c470
xor ecx, ecx
mov dword [0x468de4], ecx
test eax, eax
je 0x40c48b
push str.ioctlsocket
push eax
call esi
mov ecx, eax
mov eax, dword [0x468730]
jmp 0x40c48d
xor ecx, ecx
mov dword [0x468754], ecx
test eax, eax
je 0x40c4a8
push str.accept
push eax
call esi
mov ecx, eax
mov eax, dword [0x468730]
jmp 0x40c4aa
xor ecx, ecx
mov dword [0x4688f4], ecx
test eax, eax
je 0x40c4c5
push str.getpeername
push eax
call esi
mov ecx, eax
mov eax, dword [0x468730]
jmp 0x40c4c7
xor ecx, ecx
mov dword [0x468dec], ecx
test eax, eax
je 0x40c4e2
push str.recv
push eax
call esi
mov ecx, eax
mov eax, dword [0x468730]
jmp 0x40c4e4
xor ecx, ecx
mov dword [0x4688fc], ecx
test eax, eax
je 0x40c4f8
push str.WSAIoctl
push eax
call esi
jmp 0x40c4fa
xor eax, eax
mov edx, 2
mov dword [0x468738], eax
mov ecx, edx
call fcn.0040c0d0
test al, al
jne 0x40c52d
xor edx, edx
lea ecx, [edx + 2]
call fcn.0040c0d0
test al, al
jne 0x40c52d
mov edx, 1
mov ecx, edx
call fcn.0040c0d0
test al, al
je 0x40c548
mov ecx, 0x40c080
call fcn.00431b60
mov dword [0x468df4], eax
pop esi
ret
push str.Unable_to_load_any_WinSock_library
call fcn.00401000
push str.Unable_to_initialise_WinSock
call fcn.00401000
int3