Function at 0x4352b0
Capabilities:
Link many functions at runtime

Disassembly:
push str.ws2_32.dll
call fcn.0043bfb0
add esp, 4
mov dword [0x504bbc], eax
mov dword [0x504bc0], eax
test eax, eax
jne 0x4352e5
push str.wsock32.dll
call fcn.0043bfb0
add esp, 4
mov dword [0x504bbc], eax
test eax, eax
je 0x435900
push str.getaddrinfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x435331
mov eax, dword [0x504bbc]
test eax, eax
je 0x43538a
push str.getaddrinfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x504bbc]
mov dword [0x504bc4], eax
test ecx, ecx
je 0x435394
push str.freeaddrinfo
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x504bbc]
jmp 0x435373
push str.wship6.dll
call fcn.0043bfb0
add esp, 4
mov dword [0x504bd0], eax
test eax, eax
je 0x4353a5
push str.getaddrinfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x504bc4], eax
mov eax, dword [0x504bd0]
test eax, eax
je 0x435394
push str.freeaddrinfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x504bd0]
mov dword [0x504bc8], eax
test ecx, ecx
je 0x43539e
push str.getnameinfo
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x4353a0
mov dword [0x504bc4], 0
mov dword [0x504bc8], 0
xor eax, eax
mov dword [0x504bcc], eax
mov eax, dword [0x504bc0]
test eax, eax
je 0x4353bc
push str.WSAAddressToStringA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x4353be
xor eax, eax
mov dword [0x504bd4], eax
mov eax, dword [0x504bbc]
test eax, eax
je 0x435764
push str.WSAAsyncSelect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x504bbc]
mov dword [0x504bd8], eax
test ecx, ecx
je 0x43576e
push str.WSAEventSelect
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x504bbc]
mov dword [0x504bdc], eax
test ecx, ecx
je 0x435778
push 0x4e0e96
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x504bbc]
mov dword [0x504be0], eax
test ecx, ecx
je 0x435782
push str.WSAGetLastError
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x504bbc]
mov dword [0x504be4], eax
test ecx, ecx
je 0x43578c
push str.WSAEnumNetworkEvents
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x504bbc]
mov dword [0x504be8], eax
test ecx, ecx
je 0x435796
push str.WSAStartup
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x504bbc]
mov dword [0x504bec], eax
test ecx, ecx
je 0x4357a0
push str.WSACleanup
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x504bbc]
mov dword [0x504bf0], eax
test ecx, ecx
je 0x4357aa
push str.closesocket
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x504bbc]
mov dword [0x504bf4], eax
test ecx, ecx
je 0x4357b4
push str.ntohl
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x504bbc]
mov dword [0x504bf8], eax
test ecx, ecx
je 0x4357be
push str.htonl
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x504bbc]
mov dword [0x504bfc], eax
test ecx, ecx
je 0x4357c8
push str.htons
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x504bbc]
mov dword [0x504c00], eax
test ecx, ecx
je 0x4357d2
push str.ntohs
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x504bbc]
mov dword [0x504c04], eax
test ecx, ecx
je 0x4357dc
push str.gethostname
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x504bbc]
mov dword [0x504c08], eax
test ecx, ecx
je 0x4357e6
push str.gethostbyname
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x504bbc]
mov dword [0x504c0c], eax
test ecx, ecx
je 0x4357f0
push str.getservbyname
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x504bbc]
mov dword [0x504c10], eax
test ecx, ecx
je 0x4357fa
push str.inet_addr
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x504bbc]
mov dword [0x504c14], eax
test ecx, ecx
je 0x435804
push str.inet_ntoa
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x504bbc]
mov dword [0x504c18], eax
test ecx, ecx
je 0x43580e
push str.inet_ntop
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x504bbc]
mov dword [0x504c1c], eax
test ecx, ecx
je 0x435818
push 0x4e0e83
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x504bbc]
mov dword [0x504c20], eax
test ecx, ecx
je 0x435822
push str.bind
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x504bbc]
mov dword [0x504c24], eax
test ecx, ecx
je 0x43582c
push str.setsockopt
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x504bbc]
mov dword [0x504c28], eax
test ecx, ecx
je 0x435836
push 0x4e0c23
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x504bbc]
mov dword [0x504c2c], eax
test ecx, ecx
je 0x435840
push str.listen
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x504bbc]
mov dword [0x504c30], eax
test ecx, ecx
je 0x43584a
push str.send
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x504bbc]
mov dword [0x504c34], eax
test ecx, ecx
je 0x435854
push 0x4e3ca0
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x504bbc]
mov dword [0x504c38], eax
test ecx, ecx
je 0x43585e
push str.ioctlsocket
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x504bbc]
mov dword [0x504c3c], eax
test ecx, ecx
je 0x435868
push str.accept
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x504bbc]
mov dword [0x504c40], eax
test ecx, ecx
je 0x435872
push str.getpeername
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x504bbc]
mov dword [0x504c44], eax
test ecx, ecx
je 0x43587c
push str.recv
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x504bbc]
mov dword [0x504c48], eax
test ecx, ecx
je 0x435886
push str.WSAIoctl
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x435888
mov dword [0x504bd8], 0
mov dword [0x504bdc], 0
mov dword [0x504be0], 0
mov dword [0x504be4], 0
mov dword [0x504be8], 0
mov dword [0x504bec], 0
mov dword [0x504bf0], 0
mov dword [0x504bf4], 0
mov dword [0x504bf8], 0
mov dword [0x504bfc], 0
mov dword [0x504c00], 0
mov dword [0x504c04], 0
mov dword [0x504c08], 0
mov dword [0x504c0c], 0
mov dword [0x504c10], 0
mov dword [0x504c14], 0
mov dword [0x504c18], 0
mov dword [0x504c1c], 0
mov dword [0x504c20], 0
mov dword [0x504c24], 0
mov dword [0x504c28], 0
mov dword [0x504c2c], 0
mov dword [0x504c30], 0
mov dword [0x504c34], 0
mov dword [0x504c38], 0
mov dword [0x504c3c], 0
mov dword [0x504c40], 0
mov dword [0x504c44], 0
mov dword [0x504c48], 0
xor eax, eax
mov dword [0x504c4c], eax
push 0x504c54
push 0x202
call dword [0x504bec]
test eax, eax
jne 0x4358ae
movzx eax, byte [0x504c54]
cmp ax, 2
je 0x4358ed
push 0x504c54
push 2
call dword [0x504bec]
test eax, eax
jne 0x4358cc
movzx eax, byte [0x504c54]
cmp ax, 2
je 0x4358ed
push 0x504c54
push 0x101
call dword [0x504bec]
test eax, eax
jne 0x43590a
movzx eax, byte [0x504c54]
cmp ax, 1
jne 0x43590a
push 0x435920
call fcn.0043a970
add esp, 4
mov dword [0x504c50], eax
ret
push str.Unable_to_load_any_WinSock_library
call fcn.00405390
push str.Unable_to_initialise_WinSock
call fcn.00405390
int3