Function at 0x459790
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov ecx, str.ws2_32.dll
call fcn.0048fb20
mov dword [0x4ff9b0], eax
mov ecx, eax
mov dword [0x4ff9c8], eax
test eax, eax
jne 0x4597bc
mov ecx, str.wsock32.dll
call fcn.0048fb20
mov dword [0x4ff9b0], eax
mov ecx, eax
test ecx, ecx
je 0x459c0a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.getaddrinfo
push eax
call esi
test eax, eax
je 0x45981b
mov eax, dword [0x4ff9b0]
test eax, eax
je 0x4597f0
push str.getaddrinfo
push eax
call esi
mov ecx, eax
mov eax, dword [0x4ff9b0]
jmp 0x4597f2
xor ecx, ecx
mov dword [0x4ffba0], ecx
test eax, eax
je 0x45980d
push str.freeaddrinfo
push eax
call esi
mov ecx, eax
mov eax, dword [0x4ff9b0]
jmp 0x45980f
xor ecx, ecx
mov dword [0x4ffb90], ecx
test eax, eax
je 0x45986e
jmp 0x459861
mov ecx, str.wship6.dll
call fcn.0048fb20
mov dword [0x4ff9cc], eax
test eax, eax
je 0x459869
push str.getaddrinfo
push eax
call esi
mov dword [0x4ffba0], eax
mov eax, dword [0x4ff9cc]
test eax, eax
je 0x459855
push str.freeaddrinfo
push eax
call esi
mov ecx, eax
mov eax, dword [0x4ff9cc]
jmp 0x459857
xor ecx, ecx
mov dword [0x4ffb90], ecx
test eax, eax
je 0x459869
push str.getnameinfo
push eax
call esi
mov eax, dword [0x4ff9b0]
mov ecx, dword [0x4ff9c8]
test ecx, ecx
je 0x459889
push str.WSAAddressToStringA
push ecx
call esi
mov ecx, eax
mov eax, dword [0x4ff9b0]
jmp 0x45988b
xor ecx, ecx
mov dword [0x4ff9e4], ecx
test eax, eax
je 0x4598a6
push str.WSAAsyncSelect
push eax
call esi
mov ecx, eax
mov eax, dword [0x4ff9b0]
jmp 0x4598a8
xor ecx, ecx
mov dword [0x500390], ecx
test eax, eax
je 0x4598e5
push str.WSAEventSelect
push eax
call esi
mov eax, dword [0x4ff9b0]
test eax, eax
je 0x4598e5
push str.select
push eax
call esi
mov eax, dword [0x4ff9b0]
test eax, eax
je 0x4598e5
push str.WSAGetLastError
push eax
call esi
mov ecx, eax
mov eax, dword [0x4ff9b0]
jmp 0x4598e7
xor ecx, ecx
mov dword [0x500394], ecx
test eax, eax
je 0x459913
push str.WSAEnumNetworkEvents
push eax
call esi
mov eax, dword [0x4ff9b0]
test eax, eax
je 0x459913
push str.WSAStartup
push eax
call esi
mov ecx, eax
mov eax, dword [0x4ff9b0]
jmp 0x459915
xor ecx, ecx
mov dword [0x4ff9c0], ecx
test eax, eax
je 0x459930
push str.WSACleanup
push eax
call esi
mov ecx, eax
mov eax, dword [0x4ff9b0]
jmp 0x459932
xor ecx, ecx
mov dword [0x500074], ecx
test eax, eax
je 0x45994d
push str.closesocket
push eax
call esi
mov ecx, eax
mov eax, dword [0x4ff9b0]
jmp 0x45994f
xor ecx, ecx
mov dword [0x4ffb98], ecx
test eax, eax
je 0x45996a
push str.ntohl
push eax
call esi
mov ecx, eax
mov eax, dword [0x4ff9b0]
jmp 0x45996c
xor ecx, ecx
mov dword [0x4ffb78], ecx
test eax, eax
je 0x459987
push str.htonl
push eax
call esi
mov ecx, eax
mov eax, dword [0x4ff9b0]
jmp 0x459989
xor ecx, ecx
mov dword [0x4ff9d4], ecx
test eax, eax
je 0x4599a4
push str.htons
push eax
call esi
mov ecx, eax
mov eax, dword [0x4ff9b0]
jmp 0x4599a6
xor ecx, ecx
mov dword [0x4ff9bc], ecx
test eax, eax
je 0x4599c1
push str.ntohs
push eax
call esi
mov ecx, eax
mov eax, dword [0x4ff9b0]
jmp 0x4599c3
xor ecx, ecx
mov dword [0x4ffba4], ecx
test eax, eax
je 0x4599de
push str.gethostname
push eax
call esi
mov ecx, eax
mov eax, dword [0x4ff9b0]
jmp 0x4599e0
xor ecx, ecx
mov dword [0x4ff9d0], ecx
test eax, eax
je 0x4599fb
push str.gethostbyname
push eax
call esi
mov ecx, eax
mov eax, dword [0x4ff9b0]
jmp 0x4599fd
xor ecx, ecx
mov dword [0x4ffb8c], ecx
test eax, eax
je 0x459a18
push str.getservbyname
push eax
call esi
mov ecx, eax
mov eax, dword [0x4ff9b0]
jmp 0x459a1a
xor ecx, ecx
mov dword [0x4ffb80], ecx
test eax, eax
je 0x459a35
push str.inet_addr
push eax
call esi
mov ecx, eax
mov eax, dword [0x4ff9b0]
jmp 0x459a37
xor ecx, ecx
mov dword [0x4ff9b4], ecx
test eax, eax
je 0x459a52
push str.inet_ntoa
push eax
call esi
mov ecx, eax
mov eax, dword [0x4ff9b0]
jmp 0x459a54
xor ecx, ecx
mov dword [0x4ffb84], ecx
test eax, eax
je 0x459a6f
push str.inet_ntop
push eax
call esi
mov ecx, eax
mov eax, dword [0x4ff9b0]
jmp 0x459a71
xor ecx, ecx
mov dword [0x4ff9dc], ecx
test eax, eax
je 0x459a8c
push str.connect
push eax
call esi
mov ecx, eax
mov eax, dword [0x4ff9b0]
jmp 0x459a8e
xor ecx, ecx
mov dword [0x4ffb9c], ecx
test eax, eax
je 0x459aa9
push str.bind
push eax
call esi
mov ecx, eax
mov eax, dword [0x4ff9b0]
jmp 0x459aab
xor ecx, ecx
mov dword [0x4ffb94], ecx
test eax, eax
je 0x459ac6
push str.setsockopt
push eax
call esi
mov ecx, eax
mov eax, dword [0x4ff9b0]
jmp 0x459ac8
xor ecx, ecx
mov dword [0x500070], ecx
test eax, eax
je 0x459ae3
push str.socket
push eax
call esi
mov ecx, eax
mov eax, dword [0x4ff9b0]
jmp 0x459ae5
xor ecx, ecx
mov dword [0x4ff9c4], ecx
test eax, eax
je 0x459b00
push str.listen
push eax
call esi
mov ecx, eax
mov eax, dword [0x4ff9b0]
jmp 0x459b02
xor ecx, ecx
mov dword [0x4ff9e0], ecx
test eax, eax
je 0x459b1d
push str.send
push eax
call esi
mov ecx, eax
mov eax, dword [0x4ff9b0]
jmp 0x459b1f
xor ecx, ecx
mov dword [0x500084], ecx
test eax, eax
je 0x459b3a
push str.shutdown
push eax
call esi
mov ecx, eax
mov eax, dword [0x4ff9b0]
jmp 0x459b3c
xor ecx, ecx
mov dword [0x500078], ecx
test eax, eax
je 0x459b57
push str.ioctlsocket
push eax
call esi
mov ecx, eax
mov eax, dword [0x4ff9b0]
jmp 0x459b59
xor ecx, ecx
mov dword [0x4ff9d8], ecx
test eax, eax
je 0x459b74
push str.accept
push eax
call esi
mov ecx, eax
mov eax, dword [0x4ff9b0]
jmp 0x459b76
xor ecx, ecx
mov dword [0x4ffb7c], ecx
test eax, eax
je 0x459b91
push str.getpeername
push eax
call esi
mov ecx, eax
mov eax, dword [0x4ff9b0]
jmp 0x459b93
xor ecx, ecx
mov dword [0x500080], ecx
test eax, eax
je 0x459bae
push str.recv
push eax
call esi
mov ecx, eax
mov eax, dword [0x4ff9b0]
jmp 0x459bb0
xor ecx, ecx
mov dword [0x4ffb88], ecx
test eax, eax
je 0x459bc4
push str.WSAIoctl
push eax
call esi
jmp 0x459bc6
xor eax, eax
mov edx, 2
mov dword [0x4ff9b8], eax
mov ecx, edx
call fcn.00459760
test al, al
jne 0x459bf9
xor edx, edx
lea ecx, [edx + 2]
call fcn.00459760
test al, al
jne 0x459bf9
mov edx, 1
mov ecx, edx
call fcn.00459760
test al, al
je 0x459c14
mov ecx, 0x459710
call fcn.0048e470
mov dword [0x500088], eax
pop esi
ret
push str.Unable_to_load_any_WinSock_library
call fcn.00409890
push str.Unable_to_initialise_WinSock
call fcn.00409890
int3