Function at 0x40ba60
Capabilities:
Link many functions at runtime

Disassembly:
push str.ws2_32.dll
call fcn.0040f1e0
add esp, 4
mov dword [0x464c28], eax
mov dword [0x464c2c], eax
test eax, eax
jne 0x40ba95
push str.wsock32.dll
call fcn.0040f1e0
add esp, 4
mov dword [0x464c28], eax
test eax, eax
je 0x40c0b0
push str.getaddrinfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40bae1
mov eax, dword [0x464c28]
test eax, eax
je 0x40bb3a
push str.getaddrinfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x464c28]
mov dword [0x464c30], eax
test ecx, ecx
je 0x40bb44
push str.freeaddrinfo
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x464c28]
jmp 0x40bb23
push str.wship6.dll
call fcn.0040f1e0
add esp, 4
mov dword [0x464c3c], eax
test eax, eax
je 0x40bb55
push str.getaddrinfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x464c30], eax
mov eax, dword [0x464c3c]
test eax, eax
je 0x40bb44
push str.freeaddrinfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x464c3c]
mov dword [0x464c34], eax
test ecx, ecx
je 0x40bb4e
push str.getnameinfo
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x40bb50
mov dword [0x464c30], 0
mov dword [0x464c34], 0
xor eax, eax
mov dword [0x464c38], eax
mov eax, dword [0x464c2c]
test eax, eax
je 0x40bb6c
push str.WSAAddressToStringA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x40bb6e
xor eax, eax
mov dword [0x464c40], eax
mov eax, dword [0x464c28]
test eax, eax
je 0x40bf14
push str.WSAAsyncSelect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x464c28]
mov dword [0x464c44], eax
test ecx, ecx
je 0x40bf1e
push str.WSAEventSelect
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x464c28]
mov dword [0x464c48], eax
test ecx, ecx
je 0x40bf28
push str.select
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x464c28]
mov dword [0x464c4c], eax
test ecx, ecx
je 0x40bf32
push str.WSAGetLastError
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x464c28]
mov dword [0x464c50], eax
test ecx, ecx
je 0x40bf3c
push str.WSAEnumNetworkEvents
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x464c28]
mov dword [0x464c54], eax
test ecx, ecx
je 0x40bf46
push str.WSAStartup
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x464c28]
mov dword [0x464c58], eax
test ecx, ecx
je 0x40bf50
push str.WSACleanup
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x464c28]
mov dword [0x464c5c], eax
test ecx, ecx
je 0x40bf5a
push str.closesocket
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x464c28]
mov dword [0x464c60], eax
test ecx, ecx
je 0x40bf64
push str.ntohl
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x464c28]
mov dword [0x464c64], eax
test ecx, ecx
je 0x40bf6e
push str.htonl
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x464c28]
mov dword [0x464c68], eax
test ecx, ecx
je 0x40bf78
push str.htons
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x464c28]
mov dword [0x464c6c], eax
test ecx, ecx
je 0x40bf82
push str.ntohs
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x464c28]
mov dword [0x464c70], eax
test ecx, ecx
je 0x40bf8c
push str.gethostname
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x464c28]
mov dword [0x464c74], eax
test ecx, ecx
je 0x40bf96
push str.gethostbyname
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x464c28]
mov dword [0x464c78], eax
test ecx, ecx
je 0x40bfa0
push str.getservbyname
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x464c28]
mov dword [0x464c7c], eax
test ecx, ecx
je 0x40bfaa
push str.inet_addr
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x464c28]
mov dword [0x464c80], eax
test ecx, ecx
je 0x40bfb4
push str.inet_ntoa
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x464c28]
mov dword [0x464c84], eax
test ecx, ecx
je 0x40bfbe
push str.inet_ntop
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x464c28]
mov dword [0x464c88], eax
test ecx, ecx
je 0x40bfc8
push str.connect
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x464c28]
mov dword [0x464c8c], eax
test ecx, ecx
je 0x40bfd2
push str.bind
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x464c28]
mov dword [0x464c90], eax
test ecx, ecx
je 0x40bfdc
push str.setsockopt
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x464c28]
mov dword [0x464c94], eax
test ecx, ecx
je 0x40bfe6
push 0x457fa2
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x464c28]
mov dword [0x464c98], eax
test ecx, ecx
je 0x40bff0
push str.listen
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x464c28]
mov dword [0x464c9c], eax
test ecx, ecx
je 0x40bffa
push str.send
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x464c28]
mov dword [0x464ca0], eax
test ecx, ecx
je 0x40c004
push 0x458c43
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x464c28]
mov dword [0x464ca4], eax
test ecx, ecx
je 0x40c00e
push str.ioctlsocket
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x464c28]
mov dword [0x464ca8], eax
test ecx, ecx
je 0x40c018
push str.accept
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x464c28]
mov dword [0x464cac], eax
test ecx, ecx
je 0x40c022
push str.getpeername
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x464c28]
mov dword [0x464cb0], eax
test ecx, ecx
je 0x40c02c
push str.recv
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x464c28]
mov dword [0x464cb4], eax
test ecx, ecx
je 0x40c036
push str.WSAIoctl
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x40c038
mov dword [0x464c44], 0
mov dword [0x464c48], 0
mov dword [0x464c4c], 0
mov dword [0x464c50], 0
mov dword [0x464c54], 0
mov dword [0x464c58], 0
mov dword [0x464c5c], 0
mov dword [0x464c60], 0
mov dword [0x464c64], 0
mov dword [0x464c68], 0
mov dword [0x464c6c], 0
mov dword [0x464c70], 0
mov dword [0x464c74], 0
mov dword [0x464c78], 0
mov dword [0x464c7c], 0
mov dword [0x464c80], 0
mov dword [0x464c84], 0
mov dword [0x464c88], 0
mov dword [0x464c8c], 0
mov dword [0x464c90], 0
mov dword [0x464c94], 0
mov dword [0x464c98], 0
mov dword [0x464c9c], 0
mov dword [0x464ca0], 0
mov dword [0x464ca4], 0
mov dword [0x464ca8], 0
mov dword [0x464cac], 0
mov dword [0x464cb0], 0
mov dword [0x464cb4], 0
xor eax, eax
mov dword [0x464cb8], eax
push 0x464cc0
push 0x202
call dword [0x464c58]
test eax, eax
jne 0x40c05e
movzx eax, byte [0x464cc0]
cmp ax, 2
je 0x40c09d
push 0x464cc0
push 2
call dword [0x464c58]
test eax, eax
jne 0x40c07c
movzx eax, byte [0x464cc0]
cmp ax, 2
je 0x40c09d
push 0x464cc0
push 0x101
call dword [0x464c58]
test eax, eax
jne 0x40c0ba
movzx eax, byte [0x464cc0]
cmp ax, 1
jne 0x40c0ba
push 0x40c0d0
call fcn.00410180
add esp, 4
mov dword [0x464cbc], eax
ret
push str.Unable_to_load_any_WinSock_library
call fcn.00401000
push str.Unable_to_initialise_WinSock
call fcn.00401000
int3