Function at 0x4468e7
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push str.ws2_32.dll
call fcn.004464b2
xor ebx, ebx
cmp eax, ebx
pop ecx
mov dword [0x477080], eax
mov dword [0x477084], eax
jne 0x446927
push str.wsock32.dll
call fcn.004464b2
cmp eax, ebx
pop ecx
mov dword [0x477080], eax
jne 0x446927
push str.Unable_to_load_any_WinSock_library
call fcn.00441074
mov eax, dword [0x477080]
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 0x4469a3
mov eax, dword [0x477080]
cmp eax, ebx
je 0x446955
push edi
push eax
call esi
mov dword [0x47705c], eax
mov eax, dword [0x477080]
jmp 0x44695b
mov dword [0x47705c], ebx
cmp eax, ebx
je 0x446973
push str.freeaddrinfo
push eax
call esi
mov dword [0x4769c0], eax
mov eax, dword [0x477080]
jmp 0x446979
mov dword [0x4769c0], ebx
cmp eax, ebx
je 0x446991
push str.getnameinfo
push eax
call esi
mov dword [0x477048], eax
mov eax, dword [0x477080]
jmp 0x446997
mov dword [0x477048], ebx
cmp eax, ebx
jne 0x446a05
mov dword [0x477050], ebx
jmp 0x446a1f
push str.wship6.dll
call fcn.004464b2
cmp eax, ebx
pop ecx
mov dword [0x477088], eax
je 0x446a1a
push edi
push eax
call esi
mov dword [0x47705c], eax
mov eax, dword [0x477088]
cmp eax, ebx
je 0x4469dd
push str.freeaddrinfo
push eax
call esi
mov dword [0x4769c0], eax
mov eax, dword [0x477088]
jmp 0x4469e3
mov dword [0x4769c0], ebx
cmp eax, ebx
je 0x4469fb
push str.getnameinfo
push eax
call esi
mov dword [0x477048], eax
mov eax, dword [0x477088]
jmp 0x446a01
mov dword [0x477048], ebx
cmp eax, ebx
je 0x446a14
push str.gai_strerror
push eax
call esi
mov dword [0x477050], eax
jmp 0x446a1a
mov dword [0x477050], ebx
mov eax, dword [0x477080]
mov ecx, dword [0x477084]
cmp ecx, ebx
je 0x446a3d
push str.WSAAddressToStringA
push ecx
call esi
mov dword [0x47706c], eax
mov eax, dword [0x477080]
jmp 0x446a43
mov dword [0x47706c], ebx
cmp eax, ebx
je 0x446a5b
push str.WSAAsyncSelect
push eax
call esi
mov dword [0x4774ec], eax
mov eax, dword [0x477080]
jmp 0x446a61
mov dword [0x4774ec], ebx
cmp eax, ebx
je 0x446a79
push str.WSAEventSelect
push eax
call esi
mov dword [0x477510], eax
mov eax, dword [0x477080]
jmp 0x446a7f
mov dword [0x477510], ebx
cmp eax, ebx
je 0x446a97
push str.select
push eax
call esi
mov dword [0x4774f4], eax
mov eax, dword [0x477080]
jmp 0x446a9d
mov dword [0x4774f4], ebx
cmp eax, ebx
je 0x446ab5
push str.WSAGetLastError
push eax
call esi
mov dword [0x4774d8], eax
mov eax, dword [0x477080]
jmp 0x446abb
mov dword [0x4774d8], ebx
cmp eax, ebx
je 0x446ad3
push str.WSAEnumNetworkEvents
push eax
call esi
mov dword [0x477508], eax
mov eax, dword [0x477080]
jmp 0x446ad9
mov dword [0x477508], ebx
cmp eax, ebx
je 0x446af1
push str.WSAStartup
push eax
call esi
mov dword [0x4769c4], eax
mov eax, dword [0x477080]
jmp 0x446af7
mov dword [0x4769c4], ebx
cmp eax, ebx
je 0x446b0f
push str.WSACleanup
push eax
call esi
mov dword [0x477070], eax
mov eax, dword [0x477080]
jmp 0x446b15
mov dword [0x477070], ebx
cmp eax, ebx
je 0x446b2d
push str.closesocket
push eax
call esi
mov dword [0x477068], eax
mov eax, dword [0x477080]
jmp 0x446b33
mov dword [0x477068], ebx
cmp eax, ebx
je 0x446b4b
push str.ntohl
push eax
call esi
mov dword [0x4769e4], eax
mov eax, dword [0x477080]
jmp 0x446b51
mov dword [0x4769e4], ebx
cmp eax, ebx
je 0x446b69
push str.htonl
push eax
call esi
mov dword [0x477064], eax
mov eax, dword [0x477080]
jmp 0x446b6f
mov dword [0x477064], ebx
cmp eax, ebx
je 0x446b87
push str.htons
push eax
call esi
mov dword [0x477054], eax
mov eax, dword [0x477080]
jmp 0x446b8d
mov dword [0x477054], ebx
cmp eax, ebx
je 0x446ba5
push str.ntohs
push eax
call esi
mov dword [0x4769e0], eax
mov eax, dword [0x477080]
jmp 0x446bab
mov dword [0x4769e0], ebx
cmp eax, ebx
je 0x446bc3
push str.gethostname
push eax
call esi
mov dword [0x477058], eax
mov eax, dword [0x477080]
jmp 0x446bc9
mov dword [0x477058], ebx
cmp eax, ebx
je 0x446be1
push str.gethostbyname
push eax
call esi
mov dword [0x4769c8], eax
mov eax, dword [0x477080]
jmp 0x446be7
mov dword [0x4769c8], ebx
cmp eax, ebx
je 0x446bff
push str.getservbyname
push eax
call esi
mov dword [0x477060], eax
mov eax, dword [0x477080]
jmp 0x446c05
mov dword [0x477060], ebx
cmp eax, ebx
je 0x446c1d
push str.inet_addr
push eax
call esi
mov dword [0x4769d8], eax
mov eax, dword [0x477080]
jmp 0x446c23
mov dword [0x4769d8], ebx
cmp eax, ebx
je 0x446c3b
push str.inet_ntoa
push eax
call esi
mov dword [0x476b84], eax
mov eax, dword [0x477080]
jmp 0x446c41
mov dword [0x476b84], ebx
cmp eax, ebx
je 0x446c59
push str.connect
push eax
call esi
mov dword [0x4769d4], eax
mov eax, dword [0x477080]
jmp 0x446c5f
mov dword [0x4769d4], ebx
cmp eax, ebx
je 0x446c77
push str.bind
push eax
call esi
mov dword [0x4769b8], eax
mov eax, dword [0x477080]
jmp 0x446c7d
mov dword [0x4769b8], ebx
cmp eax, ebx
je 0x446c95
push str.setsockopt
push eax
call esi
mov dword [0x476b80], eax
mov eax, dword [0x477080]
jmp 0x446c9b
mov dword [0x476b80], ebx
cmp eax, ebx
je 0x446cb3
push str.socket
push eax
call esi
mov dword [0x477078], eax
mov eax, dword [0x477080]
jmp 0x446cb9
mov dword [0x477078], ebx
cmp eax, ebx
je 0x446cd1
push str.listen
push eax
call esi
mov dword [0x4769e8], eax
mov eax, dword [0x477080]
jmp 0x446cd7
mov dword [0x4769e8], ebx
cmp eax, ebx
je 0x446cef
push str.send
push eax
call esi
mov dword [0x4769cc], eax
mov eax, dword [0x477080]
jmp 0x446cf5
mov dword [0x4769cc], ebx
cmp eax, ebx
je 0x446d0d
push str.shutdown
push eax
call esi
mov dword [0x4769bc], eax
mov eax, dword [0x477080]
jmp 0x446d13
mov dword [0x4769bc], ebx
cmp eax, ebx
je 0x446d2b
push str.ioctlsocket
push eax
call esi
mov dword [0x477074], eax
mov eax, dword [0x477080]
jmp 0x446d31
mov dword [0x477074], ebx
cmp eax, ebx
je 0x446d49
push str.accept
push eax
call esi
mov dword [0x4769ec], eax
mov eax, dword [0x477080]
jmp 0x446d4f
mov dword [0x4769ec], ebx
cmp eax, ebx
je 0x446d67
push str.recv
push eax
call esi
mov dword [0x4769d0], eax
mov eax, dword [0x477080]
jmp 0x446d6d
mov dword [0x4769d0], ebx
cmp eax, ebx
je 0x446d80
push str.WSAIoctl
push eax
call esi
mov dword [0x4769dc], eax
jmp 0x446d86
mov dword [0x4769dc], ebx
push 2
push 2
call fcn.004468bb
test eax, eax
pop ecx
pop ecx
pop edi
pop esi
jne 0x446dbf
push ebx
push 2
call fcn.004468bb
test eax, eax
pop ecx
pop ecx
jne 0x446dbf
push 1
push 1
call fcn.004468bb
test eax, eax
pop ecx
pop ecx
jne 0x446dbf
push str.Unable_to_initialise_WinSock
call fcn.00441074
pop ecx
push 0x44687c
call fcn.00437698
pop ecx
mov dword [0x47707c], eax
pop ebx
ret