Function at 0x44f120
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], str.ws2_32.dll
call fcn.004998e0
test eax, eax
mov dword [0x4c2810], eax
mov dword [0x4c2664], eax
je 0x44f7d0
mov dword [esp + 4], str.getaddrinfo
mov dword [esp], eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call ebx
sub esp, 8
test eax, eax
je 0x44f7f5
mov eax, dword [0x4c2810]
test eax, eax
je 0x44f680
mov dword [esp + 4], str.getaddrinfo
mov dword [esp], eax
call ebx
mov edx, dword [0x4c2810]
sub esp, 8
mov dword [0x4c281c], eax
test edx, edx
je 0x44f882
mov dword [esp], edx
mov dword [esp + 4], str.freeaddrinfo
call ebx
mov edx, dword [0x4c2810]
sub esp, 8
mov dword [0x4c2818], eax
test edx, edx
je 0x44f1bf
mov dword [esp + 4], str.getnameinfo
mov dword [esp], edx
call ebx
sub esp, 8
mov edx, dword [0x4c2664]
xor eax, eax
test edx, edx
je 0x44f1db
mov dword [esp + 4], str.WSAAddressToStringA
mov dword [esp], edx
call ebx
sub esp, 8
mov dword [0x4c2814], eax
mov eax, dword [0x4c2810]
test eax, eax
je 0x44f6a0
mov dword [esp + 4], str.WSAAsyncSelect
mov dword [esp], eax
call ebx
mov edx, dword [0x4c2810]
sub esp, 8
mov dword [0x4c2f80], eax
test edx, edx
je 0x44f89d
mov dword [esp], edx
mov dword [esp + 4], str.WSAEventSelect
call ebx
mov edx, dword [0x4c2810]
sub esp, 8
mov dword [0x4c2f8c], eax
test edx, edx
je 0x44f6b4
mov dword [esp], edx
mov dword [esp + 4], str.select
call ebx
mov edx, dword [0x4c2810]
sub esp, 8
mov dword [fcn.004c2f84], eax
test edx, edx
je 0x44f8b1
mov dword [esp], edx
mov dword [esp + 4], str.WSAGetLastError
call ebx
mov edx, dword [0x4c2810]
sub esp, 8
mov dword [0x4c2f88], eax
test edx, edx
je 0x44f6c8
mov dword [esp], edx
mov dword [esp + 4], str.WSAEnumNetworkEvents
call ebx
mov edx, dword [0x4c2810]
sub esp, 8
mov dword [0x4c2f7c], eax
test edx, edx
je 0x44f8c5
mov dword [esp], edx
mov dword [esp + 4], str.WSAStartup
call ebx
mov edx, dword [0x4c2810]
sub esp, 8
mov dword [0x4c2880], eax
test edx, edx
je 0x44f6dc
mov dword [esp], edx
mov dword [esp + 4], str.WSACleanup
call ebx
mov edx, dword [0x4c2810]
sub esp, 8
mov dword [0x4c287c], eax
test edx, edx
je 0x44f8d9
mov dword [esp], edx
mov dword [esp + 4], str.closesocket
call ebx
mov edx, dword [0x4c2810]
sub esp, 8
mov dword [0x4c2878], eax
test edx, edx
je 0x44f6f0
mov dword [esp], edx
mov dword [esp + 4], str.ntohl
call ebx
mov edx, dword [0x4c2810]
sub esp, 8
mov dword [0x4c2874], eax
test edx, edx
je 0x44f8ed
mov dword [esp], edx
mov dword [esp + 4], str.htonl
call ebx
mov edx, dword [0x4c2810]
sub esp, 8
mov dword [0x4c2870], eax
test edx, edx
je 0x44f704
mov dword [esp], edx
mov dword [esp + 4], str.htons
call ebx
mov edx, dword [0x4c2810]
sub esp, 8
mov dword [0x4c286c], eax
test edx, edx
je 0x44f901
mov dword [esp], edx
mov dword [esp + 4], str.ntohs
call ebx
mov edx, dword [0x4c2810]
sub esp, 8
mov dword [fcn.004c2868], eax
test edx, edx
je 0x44f718
mov dword [esp], edx
mov dword [esp + 4], str.gethostname
call ebx
mov edx, dword [0x4c2810]
sub esp, 8
mov dword [0x4c2864], eax
test edx, edx
je 0x44f915
mov dword [esp], edx
mov dword [esp + 4], str.gethostbyname
call ebx
mov edx, dword [0x4c2810]
sub esp, 8
mov dword [0x4c2860], eax
test edx, edx
je 0x44f72c
mov dword [esp], edx
mov dword [esp + 4], str.getservbyname
call ebx
mov edx, dword [0x4c2810]
sub esp, 8
mov dword [fcn.004c285c], eax
test edx, edx
je 0x44f929
mov dword [esp], edx
mov dword [esp + 4], str.inet_addr
call ebx
mov edx, dword [0x4c2810]
sub esp, 8
mov dword [0x4c2858], eax
test edx, edx
je 0x44f740
mov dword [esp], edx
mov dword [esp + 4], str.inet_ntoa
call ebx
mov edx, dword [0x4c2810]
sub esp, 8
mov dword [0x4c2854], eax
test edx, edx
je 0x44f93d
mov dword [esp], edx
mov dword [esp + 4], str.inet_ntop
call ebx
mov edx, dword [0x4c2810]
sub esp, 8
mov dword [0x4c2850], eax
test edx, edx
je 0x44f754
mov dword [esp], edx
mov dword [esp + 4], str.connect
call ebx
mov edx, dword [0x4c2810]
sub esp, 8
mov dword [0x4c284c], eax
test edx, edx
je 0x44f951
mov dword [esp], edx
mov dword [esp + 4], str.bind
call ebx
mov edx, dword [0x4c2810]
sub esp, 8
mov dword [0x4c2848], eax
test edx, edx
je 0x44f768
mov dword [esp], edx
mov dword [esp + 4], str.setsockopt
call ebx
mov edx, dword [0x4c2810]
sub esp, 8
mov dword [0x4c2844], eax
test edx, edx
je 0x44f965
mov dword [esp], edx
mov dword [esp + 4], str.socket
call ebx
mov edx, dword [0x4c2810]
sub esp, 8
mov dword [0x4c2840], eax
test edx, edx
je 0x44f77c
mov dword [esp], edx
mov dword [esp + 4], str.listen
call ebx
mov edx, dword [0x4c2810]
sub esp, 8
mov dword [0x4c283c], eax
test edx, edx
je 0x44f979
mov dword [esp], edx
mov dword [esp + 4], str.send
call ebx
mov edx, dword [0x4c2810]
sub esp, 8
mov dword [0x4c2838], eax
test edx, edx
je 0x44f790
mov dword [esp], edx
mov dword [esp + 4], str.shutdown
call ebx
mov edx, dword [0x4c2810]
sub esp, 8
mov dword [0x4c2834], eax
test edx, edx
je 0x44f98d
mov dword [esp], edx
mov dword [esp + 4], str.ioctlsocket
call ebx
mov edx, dword [0x4c2810]
sub esp, 8
mov dword [0x4c2830], eax
test edx, edx
je 0x44f7a4
mov dword [esp], edx
mov dword [esp + 4], str.accept
call ebx
mov edx, dword [0x4c2810]
sub esp, 8
mov dword [0x4c282c], eax
test edx, edx
je 0x44f9a1
mov dword [esp], edx
mov dword [esp + 4], str.getpeername
call ebx
mov edx, dword [0x4c2810]
sub esp, 8
mov dword [0x4c2828], eax
test edx, edx
je 0x44f7b8
mov dword [esp], edx
mov dword [esp + 4], str.recv
call ebx
mov edx, dword [0x4c2810]
sub esp, 8
mov dword [0x4c2824], eax
test edx, edx
je 0x44f9bc
mov dword [esp + 4], str.WSAIoctl
mov dword [esp], edx
call ebx
sub esp, 8
mov dword [0x4c2820], eax
mov dword [esp + 4], 0x4c2680
mov dword [esp], 0x202
call dword [0x4c2880]
sub esp, 8
test eax, eax
je 0x44f854
mov dword [esp + 4], 0x4c2680
mov dword [esp], 2
call dword [0x4c2880]
sub esp, 8
test eax, eax
je 0x44f870
mov dword [esp + 4], 0x4c2680
mov dword [esp], 0x101
call dword [0x4c2880]
sub esp, 8
test eax, eax
jne 0x44f891
cmp byte [0x4c2680], 1
jne 0x44f891
mov dword [esp], 0x44e8d0
call fcn.00497160
mov dword [0x4c2884], eax
add esp, 0x18
pop ebx
ret
mov dword [0x4c281c], 0
mov dword [0x4c2818], 0
jmp 0x44f1bf
mov dword [0x4c2f80], 0
mov dword [0x4c2f8c], 0
mov dword [fcn.004c2f84], 0
mov dword [0x4c2f88], 0
mov dword [0x4c2f7c], 0
mov dword [0x4c2880], 0
mov dword [0x4c287c], 0
mov dword [0x4c2878], 0
mov dword [0x4c2874], 0
mov dword [0x4c2870], 0
mov dword [0x4c286c], 0
mov dword [fcn.004c2868], 0
mov dword [0x4c2864], 0
mov dword [0x4c2860], 0
mov dword [fcn.004c285c], 0
mov dword [0x4c2858], 0
mov dword [0x4c2854], 0
mov dword [0x4c2850], 0
mov dword [0x4c284c], 0
mov dword [0x4c2848], 0
mov dword [0x4c2844], 0
mov dword [0x4c2840], 0
mov dword [0x4c283c], 0
mov dword [0x4c2838], 0
mov dword [0x4c2834], 0
mov dword [0x4c2830], 0
mov dword [0x4c282c], 0
mov dword [0x4c2828], 0
mov dword [0x4c2824], 0
xor eax, eax
jmp 0x44f5f4
mov dword [esp], str.wsock32.dll
call fcn.004998e0
test eax, eax
mov dword [0x4c2810], eax
jne 0x44f142
mov dword [esp], str.Unable_to_load_any_WinSock_library
call fcn.0040b090
mov dword [esp], str.wship6.dll
call fcn.004998e0
test eax, eax
mov dword [0x4c2660], eax
je 0x44f1bf
mov dword [esp + 4], str.getaddrinfo
mov dword [esp], eax
call ebx
mov dword [0x4c281c], eax
mov eax, dword [0x4c2660]
sub esp, 8
test eax, eax
je 0x44f882
mov dword [esp + 4], str.freeaddrinfo
mov dword [esp], eax
call ebx
mov edx, dword [0x4c2660]
sub esp, 8
mov dword [0x4c2818], eax
test edx, edx
jne 0x44f1af
jmp 0x44f1bf
cmp byte [0x4c2680], 2
jne 0x44f619
jmp 0x44f666
cmp byte [0x4c2680], 2
jne 0x44f639
jmp 0x44f666
mov dword [0x4c2818], 0
jmp 0x44f1bf
mov dword [esp], str.Unable_to_initialise_WinSock
call fcn.0040b090
mov dword [0x4c2f8c], 0
mov dword [fcn.004c2f84], 0
mov dword [0x4c2f88], 0
mov dword [0x4c2f7c], 0
mov dword [0x4c2880], 0
mov dword [0x4c287c], 0
mov dword [0x4c2878], 0
mov dword [0x4c2874], 0
mov dword [0x4c2870], 0
mov dword [0x4c286c], 0
mov dword [fcn.004c2868], 0
mov dword [0x4c2864], 0
mov dword [0x4c2860], 0
mov dword [fcn.004c285c], 0
mov dword [0x4c2858], 0
mov dword [0x4c2854], 0
mov dword [0x4c2850], 0
mov dword [0x4c284c], 0
mov dword [0x4c2848], 0
mov dword [0x4c2844], 0
mov dword [0x4c2840], 0
mov dword [0x4c283c], 0
mov dword [0x4c2838], 0
mov dword [0x4c2834], 0
mov dword [0x4c2830], 0
mov dword [0x4c282c], 0
mov dword [0x4c2828], 0
mov dword [0x4c2824], 0
xor eax, eax
jmp 0x44f5f4
xor eax, eax
jmp 0x44f5f4