Function at 0x43b57c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 2
pop ebx
push str.WS2_32.DLL
call esi
test eax, eax
mov dword [0x465fc0], eax
jne 0x43b5c0
push str.WSOCK32.DLL
call esi
test eax, eax
mov dword [0x465fc0], eax
mov ebx, 0x101
jne 0x43b5c0
push str.Unable_to_load_any_WinSock_library
call fcn.00438bc9
pop ecx
push str.wship6.dll
call esi
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x465fb8], eax
je 0x43b607
push str.getaddrinfo
push eax
call esi
push str.freeaddrinfo
push dword [0x465fb8]
mov dword [0x465f9c], eax
call esi
push str.getnameinfo
push dword [0x465fb8]
mov dword [0x465a94], eax
call esi
mov dword [0x465f90], eax
push str.WSAAsyncSelect
push dword [0x465fc0]
call esi
push str.WSAEventSelect
push dword [0x465fc0]
mov dword [0x466560], eax
call esi
push str.select
push dword [0x465fc0]
mov dword [0x46656c], eax
call esi
push str.WSAGetLastError
push dword [0x465fc0]
mov dword [0x466564], eax
call esi
push str.WSAEnumNetworkEvents
push dword [0x465fc0]
mov dword [0x46655c], eax
call esi
push str.WSAStartup
push dword [0x465fc0]
mov dword [0x466568], eax
call esi
push str.WSACleanup
push dword [0x465fc0]
mov dword [0x465a98], eax
call esi
push str.closesocket
push dword [0x465fc0]
mov dword [0x465fac], eax
call esi
push str.ntohl
push dword [0x465fc0]
mov dword [0x465fa8], eax
call esi
push str.htonl
push dword [0x465fc0]
mov dword [0x465ab8], eax
call esi
push str.htons
push dword [0x465fc0]
mov dword [0x465fa4], eax
call esi
push str.ntohs
push dword [0x465fc0]
mov dword [0x465f98], eax
call esi
push str.gethostbyname
push dword [0x465fc0]
mov dword [0x465ab4], eax
call esi
push str.getservbyname
push dword [0x465fc0]
mov dword [0x465a9c], eax
call esi
push str.inet_addr
push dword [0x465fc0]
mov dword [0x465fa0], eax
call esi
push str.inet_ntoa
push dword [0x465fc0]
mov dword [0x465aac], eax
call esi
push str.connect
push dword [0x465fc0]
mov dword [0x465ac8], eax
call esi
push str.bind
push dword [0x465fc0]
mov dword [0x465aa8], eax
call esi
push str.setsockopt
push dword [0x465fc0]
mov dword [0x465a90], eax
call esi
push str.socket
push dword [0x465fc0]
mov dword [0x465ac4], eax
call esi
mov dword [0x465fb4], eax
push str.listen
push dword [0x465fc0]
call esi
push str.send
push dword [0x465fc0]
mov dword [0x465abc], eax
call esi
push str.ioctlsocket
push dword [0x465fc0]
mov dword [0x465aa0], eax
call esi
push str.accept
push dword [0x465fc0]
mov dword [0x465fb0], eax
call esi
push str.recv
push dword [0x465fc0]
mov dword [0x465ac0], eax
call esi
push str.WSAIoctl
push dword [0x465fc0]
mov dword [0x465aa4], eax
call esi
mov dword [0x465ab0], eax
lea eax, [ebp - 0x190]
push eax
push ebx
call dword [0x465a98]
test eax, eax
je 0x43b7f8
push str.Unable_to_initialise_WinSock
call fcn.00438bc9
pop ecx
cmp byte [ebp - 0x190], bl
je 0x43b81b
call dword [0x465fac]
movzx eax, bh
push eax
movzx eax, bl
push eax
push str.WinSock_version_is_incompatible_with__d._d
call fcn.00438bc9
add esp, 0xc
push 0x43b54b
call fcn.0042f207
pop ecx
pop esi
mov dword [0x465fbc], eax
pop ebx
leave
ret