Function at 0x428751
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push str.ws2_32.dll
call fcn.00428429
xor ebx, ebx
cmp eax, ebx
pop ecx
mov dword [0x449da8], eax
mov dword [0x449dac], eax
jne 0x428791
push str.wsock32.dll
call fcn.00428429
cmp eax, ebx
pop ecx
mov dword [0x449da8], eax
jne 0x428791
push str.Unable_to_load_any_WinSock_library
call fcn.0042aa17
mov eax, dword [0x449da8]
pop ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
mov edi, str.getaddrinfo
push edi
push eax
call esi
test eax, eax
je 0x42880d
mov eax, dword [0x449da8]
cmp eax, ebx
je 0x4287bf
push edi
push eax
call esi
mov dword [0x449d84], eax
mov eax, dword [0x449da8]
jmp 0x4287c5
mov dword [0x449d84], ebx
cmp eax, ebx
je 0x4287dd
push str.freeaddrinfo
push eax
call esi
mov dword [0x4496e8], eax
mov eax, dword [0x449da8]
jmp 0x4287e3
mov dword [0x4496e8], ebx
cmp eax, ebx
je 0x4287fb
push str.getnameinfo
push eax
call esi
mov dword [0x449d70], eax
mov eax, dword [0x449da8]
jmp 0x428801
mov dword [0x449d70], ebx
cmp eax, ebx
jne 0x42886f
mov dword [0x449d78], ebx
jmp 0x428889
push str.wship6.dll
call fcn.00428429
cmp eax, ebx
pop ecx
mov dword [0x449db0], eax
je 0x428884
push edi
push eax
call esi
mov dword [0x449d84], eax
mov eax, dword [0x449db0]
cmp eax, ebx
je 0x428847
push str.freeaddrinfo
push eax
call esi
mov dword [0x4496e8], eax
mov eax, dword [0x449db0]
jmp 0x42884d
mov dword [0x4496e8], ebx
cmp eax, ebx
je 0x428865
push str.getnameinfo
push eax
call esi
mov dword [0x449d70], eax
mov eax, dword [0x449db0]
jmp 0x42886b
mov dword [0x449d70], ebx
cmp eax, ebx
je 0x42887e
push str.gai_strerror
push eax
call esi
mov dword [0x449d78], eax
jmp 0x428884
mov dword [0x449d78], ebx
mov eax, dword [0x449da8]
mov ecx, dword [0x449dac]
cmp ecx, ebx
je 0x4288a7
push str.WSAAddressToStringA
push ecx
call esi
mov dword [0x449d94], eax
mov eax, dword [0x449da8]
jmp 0x4288ad
mov dword [0x449d94], ebx
cmp eax, ebx
je 0x4288c5
push str.WSAAsyncSelect
push eax
call esi
mov dword [0x44a100], eax
mov eax, dword [0x449da8]
jmp 0x4288cb
mov dword [0x44a100], ebx
cmp eax, ebx
je 0x4288e3
push str.WSAEventSelect
push eax
call esi
mov dword [0x44a134], eax
mov eax, dword [0x449da8]
jmp 0x4288e9
mov dword [0x44a134], ebx
cmp eax, ebx
je 0x428901
push str.select
push eax
call esi
mov dword [0x44a10c], eax
mov eax, dword [0x449da8]
jmp 0x428907
mov dword [0x44a10c], ebx
cmp eax, ebx
je 0x42891f
push str.WSAGetLastError
push eax
call esi
mov dword [0x44a0f0], eax
mov eax, dword [0x449da8]
jmp 0x428925
mov dword [0x44a0f0], ebx
cmp eax, ebx
je 0x42893d
push str.WSAEnumNetworkEvents
push eax
call esi
mov dword [0x44a120], eax
mov eax, dword [0x449da8]
jmp 0x428943
mov dword [0x44a120], ebx
cmp eax, ebx
je 0x42895b
push str.WSAStartup
push eax
call esi
mov dword [0x4496ec], eax
mov eax, dword [0x449da8]
jmp 0x428961
mov dword [0x4496ec], ebx
cmp eax, ebx
je 0x428979
push str.WSACleanup
push eax
call esi
mov dword [0x449d98], eax
mov eax, dword [0x449da8]
jmp 0x42897f
mov dword [0x449d98], ebx
cmp eax, ebx
je 0x428997
push str.closesocket
push eax
call esi
mov dword [0x449d90], eax
mov eax, dword [0x449da8]
jmp 0x42899d
mov dword [0x449d90], ebx
cmp eax, ebx
je 0x4289b5
push str.ntohl
push eax
call esi
mov dword [0x44970c], eax
mov eax, dword [0x449da8]
jmp 0x4289bb
mov dword [0x44970c], ebx
cmp eax, ebx
je 0x4289d3
push str.htonl
push eax
call esi
mov dword [0x449d8c], eax
mov eax, dword [0x449da8]
jmp 0x4289d9
mov dword [0x449d8c], ebx
cmp eax, ebx
je 0x4289f1
push str.htons
push eax
call esi
mov dword [0x449d7c], eax
mov eax, dword [0x449da8]
jmp 0x4289f7
mov dword [0x449d7c], ebx
cmp eax, ebx
je 0x428a0f
push str.ntohs
push eax
call esi
mov dword [0x449708], eax
mov eax, dword [0x449da8]
jmp 0x428a15
mov dword [0x449708], ebx
cmp eax, ebx
je 0x428a2d
push str.gethostname
push eax
call esi
mov dword [0x449d80], eax
mov eax, dword [0x449da8]
jmp 0x428a33
mov dword [0x449d80], ebx
cmp eax, ebx
je 0x428a4b
push str.gethostbyname
push eax
call esi
mov dword [0x4496f0], eax
mov eax, dword [0x449da8]
jmp 0x428a51
mov dword [0x4496f0], ebx
cmp eax, ebx
je 0x428a69
push str.getservbyname
push eax
call esi
mov dword [0x449d88], eax
mov eax, dword [0x449da8]
jmp 0x428a6f
mov dword [0x449d88], ebx
cmp eax, ebx
je 0x428a87
push str.inet_addr
push eax
call esi
mov dword [0x449700], eax
mov eax, dword [0x449da8]
jmp 0x428a8d
mov dword [0x449700], ebx
cmp eax, ebx
je 0x428aa5
push str.inet_ntoa
push eax
call esi
mov dword [0x4498ac], eax
mov eax, dword [0x449da8]
jmp 0x428aab
mov dword [0x4498ac], ebx
cmp eax, ebx
je 0x428ac3
push str.connect
push eax
call esi
mov dword [0x4496fc], eax
mov eax, dword [0x449da8]
jmp 0x428ac9
mov dword [0x4496fc], ebx
cmp eax, ebx
je 0x428ae1
push str.bind
push eax
call esi
mov dword [0x4496e0], eax
mov eax, dword [0x449da8]
jmp 0x428ae7
mov dword [0x4496e0], ebx
cmp eax, ebx
je 0x428aff
push str.setsockopt
push eax
call esi
mov dword [0x4498a8], eax
mov eax, dword [0x449da8]
jmp 0x428b05
mov dword [0x4498a8], ebx
cmp eax, ebx
je 0x428b1d
push str.socket
push eax
call esi
mov dword [0x449da0], eax
mov eax, dword [0x449da8]
jmp 0x428b23
mov dword [0x449da0], ebx
cmp eax, ebx
je 0x428b3b
push str.listen
push eax
call esi
mov dword [0x449710], eax
mov eax, dword [0x449da8]
jmp 0x428b41
mov dword [0x449710], ebx
cmp eax, ebx
je 0x428b59
push str.send
push eax
call esi
mov dword [0x4496f4], eax
mov eax, dword [0x449da8]
jmp 0x428b5f
mov dword [0x4496f4], ebx
cmp eax, ebx
je 0x428b77
push str.shutdown
push eax
call esi
mov dword [0x4496e4], eax
mov eax, dword [0x449da8]
jmp 0x428b7d
mov dword [0x4496e4], ebx
cmp eax, ebx
je 0x428b95
push str.ioctlsocket
push eax
call esi
mov dword [0x449d9c], eax
mov eax, dword [0x449da8]
jmp 0x428b9b
mov dword [0x449d9c], ebx
cmp eax, ebx
je 0x428bb3
push str.accept
push eax
call esi
mov dword [0x449714], eax
mov eax, dword [0x449da8]
jmp 0x428bb9
mov dword [0x449714], ebx
cmp eax, ebx
je 0x428bd1
push str.recv
push eax
call esi
mov dword [0x4496f8], eax
mov eax, dword [0x449da8]
jmp 0x428bd7
mov dword [0x4496f8], ebx
cmp eax, ebx
je 0x428bea
push str.WSAIoctl
push eax
call esi
mov dword [0x449704], eax
jmp 0x428bf0
mov dword [0x449704], ebx
push 2
push 2
call fcn.00428725
test eax, eax
pop ecx
pop ecx
pop edi
pop esi
jne 0x428c29
push ebx
push 2
call fcn.00428725
test eax, eax
pop ecx
pop ecx
jne 0x428c29
push 1
push 1
call fcn.00428725
test eax, eax
pop ecx
pop ecx
jne 0x428c29
push str.Unable_to_initialise_WinSock
call fcn.0042aa17
pop ecx
push 0x4286e6
call fcn.00426250
pop ecx
mov dword [0x449da4], eax
pop ebx
ret