Function at 0x4167de
Capabilities:
Link many functions at runtime

Disassembly:
push str.WS2_32.DLL
call sub.KERNEL32.dll_LoadLibraryA
mov dword [0x444b80], eax
test eax, eax
jne 0x41680c
push str.WSOCK32.DLL
call sub.KERNEL32.dll_LoadLibraryA
mov dword [0x444b80], eax
test eax, eax
jne 0x41680c
push 1
call fcn.00415eb4
pop ecx
mov edx, dword [0x444b80]
xor eax, eax
test edx, edx
je 0x416823
push str.WSAAsyncSelect
push edx
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x44b8b8], eax
mov edx, dword [0x444b80]
xor eax, eax
test edx, edx
je 0x41683f
push str.WSAEventSelect
push edx
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x44b8e8], eax
mov edx, dword [0x444b80]
xor eax, eax
test edx, edx
je 0x41685b
push str.select
push edx
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x44b8c8], eax
mov edx, dword [0x444b80]
xor eax, eax
test edx, edx
je 0x416877
push str.WSAGetLastError
push edx
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x44b8d8], eax
mov edx, dword [0x444b80]
xor eax, eax
test edx, edx
je 0x416893
push str.WSAEnumNetworkEvents
push edx
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x44b8a8], eax
mov edx, dword [0x444b80]
xor eax, eax
test edx, edx
je 0x4168af
push str.WSAStartup
push edx
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x444ba0], eax
mov edx, dword [0x444b80]
xor eax, eax
test edx, edx
je 0x4168cb
push str.WSACleanup
push edx
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x444bb0], eax
mov edx, dword [0x444b80]
xor eax, eax
test edx, edx
je 0x4168e7
push str.closesocket
push edx
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x444bc0], eax
mov edx, dword [0x444b80]
xor eax, eax
test edx, edx
je 0x416903
push str.ntohl
push edx
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x444bd0], eax
mov edx, dword [0x444b80]
xor eax, eax
test edx, edx
je 0x41691f
push str.htonl
push edx
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x444be0], eax
mov edx, dword [0x444b80]
xor eax, eax
test edx, edx
je 0x41693b
push str.htons
push edx
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x444bf0], eax
mov edx, dword [0x444b80]
xor eax, eax
test edx, edx
je 0x416957
push str.ntohs
push edx
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x444c00], eax
mov edx, dword [0x444b80]
xor eax, eax
test edx, edx
je 0x416973
push str.gethostbyname
push edx
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x444c10], eax
mov edx, dword [0x444b80]
xor eax, eax
test edx, edx
je 0x41698f
push str.getservbyname
push edx
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x444c20], eax
mov edx, dword [0x444b80]
xor eax, eax
test edx, edx
je 0x4169ab
push str.inet_addr
push edx
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x444c30], eax
mov edx, dword [0x444b80]
xor eax, eax
test edx, edx
je 0x4169c7
push str.inet_ntoa
push edx
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x444c40], eax
mov edx, dword [0x444b80]
xor eax, eax
test edx, edx
je 0x4169e3
push str.connect
push edx
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x444c50], eax
mov edx, dword [0x444b80]
xor eax, eax
test edx, edx
je 0x4169ff
push str.bind
push edx
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x444c60], eax
mov edx, dword [0x444b80]
xor eax, eax
test edx, edx
je 0x416a1b
push str.setsockopt
push edx
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x444c70], eax
mov edx, dword [0x444b80]
xor eax, eax
test edx, edx
je 0x416a37
push str.socket
push edx
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x444c80], eax
mov edx, dword [0x444b80]
xor eax, eax
test edx, edx
je 0x416a53
push str.listen
push edx
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x444c90], eax
mov edx, dword [0x444b80]
xor eax, eax
test edx, edx
je 0x416a6f
push str.send
push edx
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x444ca0], eax
mov edx, dword [0x444b80]
xor eax, eax
test edx, edx
je 0x416a8b
push str.ioctlsocket
push edx
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x444cb0], eax
mov edx, dword [0x444b80]
xor eax, eax
test edx, edx
je 0x416aa7
push str.accept
push edx
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x444cc0], eax
mov edx, dword [0x444b80]
xor eax, eax
test edx, edx
je 0x416ac3
push str.recv
push edx
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x444cd0], eax
mov edx, dword [0x444b80]
xor eax, eax
test edx, edx
je 0x416adf
push str.WSAIoctl
push edx
call sub.KERNEL32.dll_GetProcAddress
push 2
push 2
mov dword [0x444ce0], eax
call fcn.004167ad
pop ecx
test eax, eax
pop edx
jne 0x416b19
push 0
push 2
call fcn.004167ad
pop ecx
test eax, eax
pop edx
jne 0x416b19
push 1
push 1
call fcn.004167ad
pop ecx
test eax, eax
pop edx
jne 0x416b19
push 1
call fcn.00415eb4
pop edx
push 0x416778
call fcn.00414e40
mov dword [0x444b90], eax
pop eax
ret