Function at 0x431900
Capabilities:
Link many functions at runtime

Disassembly:
push str.ws2_32.dll
call fcn.00438ec0
add esp, 4
mov dword [0x5049b4], eax
mov dword [0x5049b8], eax
test eax, eax
jne 0x431935
push str.wsock32.dll
call fcn.00438ec0
add esp, 4
mov dword [0x5049b4], eax
test eax, eax
je 0x431f79
push str.getaddrinfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x431981
mov eax, dword [0x5049b4]
test eax, eax
je 0x4319da
push str.getaddrinfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x5049b4]
mov dword [0x5049bc], eax
test ecx, ecx
je 0x4319e4
push str.freeaddrinfo
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x5049b4]
jmp 0x4319c3
push str.wship6.dll
call fcn.00438ec0
add esp, 4
mov dword [0x5049c8], eax
test eax, eax
je 0x4319f5
push str.getaddrinfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5049bc], eax
mov eax, dword [0x5049c8]
test eax, eax
je 0x4319e4
push str.freeaddrinfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x5049c8]
mov dword [0x5049c0], eax
test ecx, ecx
je 0x4319ee
push str.getnameinfo
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x4319f0
mov dword [0x5049bc], 0
mov dword [0x5049c0], 0
xor eax, eax
mov dword [0x5049c4], eax
mov eax, dword [0x5049b8]
test eax, eax
je 0x431a0c
push str.WSAAddressToStringA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x431a0e
xor eax, eax
mov dword [0x5049cc], eax
mov eax, dword [0x5049b4]
test eax, eax
je 0x431dd3
push str.WSAAsyncSelect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x5049b4]
mov dword [0x5049d0], eax
test ecx, ecx
je 0x431ddd
push str.WSAEventSelect
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x5049b4]
mov dword [0x5049d4], eax
test ecx, ecx
je 0x431de7
push 0x4e07b0
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x5049b4]
mov dword [0x5049d8], eax
test ecx, ecx
je 0x431df1
push str.WSAGetLastError
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x5049b4]
mov dword [0x5049dc], eax
test ecx, ecx
je 0x431dfb
push str.WSAEnumNetworkEvents
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x5049b4]
mov dword [0x5049e0], eax
test ecx, ecx
je 0x431e05
push str.WSAStartup
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x5049b4]
mov dword [0x5049e4], eax
test ecx, ecx
je 0x431e0f
push str.WSACleanup
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x5049b4]
mov dword [0x5049e8], eax
test ecx, ecx
je 0x431e19
push str.closesocket
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x5049b4]
mov dword [0x5049ec], eax
test ecx, ecx
je 0x431e23
push str.ntohl
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x5049b4]
mov dword [0x5049f0], eax
test ecx, ecx
je 0x431e2d
push str.htonl
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x5049b4]
mov dword [0x5049f4], eax
test ecx, ecx
je 0x431e37
push str.htons
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x5049b4]
mov dword [0x5049f8], eax
test ecx, ecx
je 0x431e41
push str.ntohs
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x5049b4]
mov dword [0x5049fc], eax
test ecx, ecx
je 0x431e4b
push str.gethostname
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x5049b4]
mov dword [0x504a00], eax
test ecx, ecx
je 0x431e55
push str.gethostbyname
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x5049b4]
mov dword [0x504a04], eax
test ecx, ecx
je 0x431e5f
push str.getservbyname
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x5049b4]
mov dword [0x504a08], eax
test ecx, ecx
je 0x431e69
push str.inet_addr
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x5049b4]
mov dword [0x504a0c], eax
test ecx, ecx
je 0x431e73
push str.inet_ntoa
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x5049b4]
mov dword [0x504a10], eax
test ecx, ecx
je 0x431e7d
push str.inet_ntop
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x5049b4]
mov dword [0x504a14], eax
test ecx, ecx
je 0x431e87
push 0x4e079d
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x5049b4]
mov dword [0x504a18], eax
test ecx, ecx
je 0x431e91
push str.bind
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x5049b4]
mov dword [0x504a1c], eax
test ecx, ecx
je 0x431e9b
push str.setsockopt
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x5049b4]
mov dword [0x504a20], eax
test ecx, ecx
je 0x431ea5
push 0x4e053d
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x5049b4]
mov dword [0x504a24], eax
test ecx, ecx
je 0x431eaf
push str.listen
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x5049b4]
mov dword [0x504a28], eax
test ecx, ecx
je 0x431eb9
push str.send
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x5049b4]
mov dword [0x504a2c], eax
test ecx, ecx
je 0x431ec3
push 0x4e35ee
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x5049b4]
mov dword [0x504a30], eax
test ecx, ecx
je 0x431ecd
push str.ioctlsocket
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x5049b4]
mov dword [0x504a34], eax
test ecx, ecx
je 0x431ed7
push str.accept
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x5049b4]
mov dword [0x504a38], eax
test ecx, ecx
je 0x431ee1
push str.getpeername
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x5049b4]
mov dword [0x504a3c], eax
test ecx, ecx
je 0x431eeb
push str.getsockname
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x5049b4]
mov dword [0x504a40], eax
test ecx, ecx
je 0x431ef5
push str.recv
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x5049b4]
mov dword [0x504a44], eax
test ecx, ecx
je 0x431eff
push str.WSAIoctl
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x431f01
mov dword [0x5049d0], 0
mov dword [0x5049d4], 0
mov dword [0x5049d8], 0
mov dword [0x5049dc], 0
mov dword [0x5049e0], 0
mov dword [0x5049e4], 0
mov dword [0x5049e8], 0
mov dword [0x5049ec], 0
mov dword [0x5049f0], 0
mov dword [0x5049f4], 0
mov dword [0x5049f8], 0
mov dword [0x5049fc], 0
mov dword [0x504a00], 0
mov dword [0x504a04], 0
mov dword [0x504a08], 0
mov dword [0x504a0c], 0
mov dword [0x504a10], 0
mov dword [0x504a14], 0
mov dword [0x504a18], 0
mov dword [0x504a1c], 0
mov dword [0x504a20], 0
mov dword [0x504a24], 0
mov dword [0x504a28], 0
mov dword [0x504a2c], 0
mov dword [0x504a30], 0
mov dword [0x504a34], 0
mov dword [0x504a38], 0
mov dword [0x504a3c], 0
mov dword [0x504a40], 0
mov dword [0x504a44], 0
xor eax, eax
mov dword [0x504a48], eax
push 0x504a50
push 0x202
call dword [0x5049e4]
test eax, eax
jne 0x431f27
movzx eax, byte [0x504a50]
cmp ax, 2
je 0x431f66
push 0x504a50
push 2
call dword [0x5049e4]
test eax, eax
jne 0x431f45
movzx eax, byte [0x504a50]
cmp ax, 2
je 0x431f66
push 0x504a50
push 0x101
call dword [0x5049e4]
test eax, eax
jne 0x431f83
movzx eax, byte [0x504a50]
cmp ax, 1
jne 0x431f83
push 0x431f90
call fcn.004373f0
add esp, 4
mov dword [0x504a4c], eax
ret
push str.Unable_to_load_any_WinSock_library
call fcn.00405680
push str.Unable_to_initialise_WinSock
call fcn.00405680
int3