Function at 0x41dcd4
Capabilities:
Link many functions at runtime

Disassembly:
cmp dword [0x4928d4], 0
push esi
jne 0x41dd00
push str.LM_NO_NETWORK
call fcn.00419eaf
mov dword [0x4928d4], 1
add esp, 4
cmp eax, 1
sbb eax, eax
inc eax
mov dword [0x4928d8], eax
cmp dword [0x4928d8], 0
jne 0x41e301
cmp dword [0x4928b8], 0x20
jb 0x41dd45
cmp dword [0x4928c4], 0
jne 0x41dd3b
mov ax, word [0x4a8550]
push 0x4a83c0
push eax
call dword [0x4a4bdc]
mov dword [0x4928c4], 1
mov eax, 1
jmp 0x41e303
push 0x8000
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x41dd7e
push str.WS2_32.Dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x4928b8], eax
cmp eax, 0x20
jb 0x41dd7e
mov dword [0x4928b4], 1
jmp 0x41ddac
push str.WSOCK32.Dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x4928b8], eax
cmp eax, 0x20
jae 0x41dda2
mov dword [0x4a8558], 0
jmp 0x41e301
mov dword [0x4928b4], 0
push str.icmp.Dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x4928bc], eax
cmp eax, 0x20
jae 0x41ddd3
mov dword [0x4a8554], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x41de0f
push str.IcmpCreateFile
mov eax, dword [0x4928bc]
push eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
push str.IcmpSendEcho
mov dword [0x4a4c0c], eax
push dword [0x4928bc]
call esi
push str.IcmpCloseHandle
mov dword [0x4a4c28], eax
mov eax, dword [0x4928bc]
push eax
call esi
mov dword [0x4a4c74], eax
push str.send
mov eax, dword [0x4928b8]
push eax
call esi
push str.ioctlsocket
mov dword [0x4a4bec], eax
mov eax, dword [0x4928b8]
push eax
call esi
push str.WSAGetLastError
mov dword [0x4a4c6c], eax
mov eax, dword [0x4928b8]
push eax
call esi
push str.recv
mov dword [0x4a4c18], eax
mov eax, dword [0x4928b8]
push eax
call esi
push str.closesocket
mov dword [0x4a4c10], eax
mov eax, dword [0x4928b8]
push eax
call esi
push str.getservbyname
mov dword [0x4a4bf8], eax
mov eax, dword [0x4928b8]
push eax
call esi
push str.gethostbyname
mov dword [0x4a4c54], eax
mov eax, dword [0x4928b8]
push eax
call esi
push str.gethostname
mov dword [0x4a4c38], eax
mov eax, dword [0x4928b8]
push eax
call esi
push str.WSAStartup
mov dword [0x4a4c24], eax
mov eax, dword [0x4928b8]
push eax
call esi
push str.WSACleanup
mov dword [0x4a4bdc], eax
mov eax, dword [0x4928b8]
push eax
call esi
push str.htons
mov dword [0x4a4c08], eax
mov eax, dword [0x4928b8]
push eax
call esi
push str.ntohl
mov dword [0x4a4c60], eax
mov eax, dword [0x4928b8]
push eax
call esi
mov dword [0x4a4c00], eax
push str.connect
mov eax, dword [0x4928b8]
push eax
call esi
push str.socket
mov dword [0x4a4bfc], eax
mov eax, dword [0x4928b8]
push eax
call esi
push str.select
mov dword [0x4a4c40], eax
mov eax, dword [0x4928b8]
push eax
call esi
push str.ntohs
mov dword [0x4a4c1c], eax
mov eax, dword [0x4928b8]
push eax
call esi
push str.__WSAFDIsSet
mov dword [0x4a4c04], eax
mov eax, dword [0x4928b8]
push eax
call esi
push str.bind
mov dword [0x4a4bf4], eax
mov eax, dword [0x4928b8]
push eax
call esi
push str.getsockname
mov dword [0x4a4c14], eax
mov eax, dword [0x4928b8]
push eax
call esi
push str.accept
mov dword [0x4a4c64], eax
mov eax, dword [0x4928b8]
push eax
call esi
push str.listen
mov dword [0x4a4bf0], eax
mov eax, dword [0x4928b8]
push eax
call esi
push str.WSASetLastError
mov dword [0x4a4c34], eax
mov eax, dword [0x4928b8]
push eax
call esi
push str.setsockopt
mov dword [0x4a4c50], eax
mov eax, dword [0x4928b8]
push eax
call esi
push str.sendto
mov dword [0x4a4c3c], eax
mov eax, dword [0x4928b8]
push eax
call esi
push str.recvfrom
mov dword [0x4a4c44], eax
mov eax, dword [0x4928b8]
push eax
call esi
push str.htonl
mov dword [0x4a4c2c], eax
mov eax, dword [0x4928b8]
push eax
call esi
push str.shutdown
mov dword [0x4a4c5c], eax
mov eax, dword [0x4928b8]
push eax
call esi
push str.getsockopt
mov dword [0x4a4c4c], eax
mov eax, dword [0x4928b8]
push eax
call esi
push str.gethostbyaddr
mov dword [0x4a4be4], eax
mov eax, dword [0x4928b8]
push eax
call esi
push str.EnumProtocolsA
mov dword [0x4a4c48], eax
mov eax, dword [0x4928b8]
push eax
call esi
push str.GetAddressByNameA
mov dword [0x4a4c80], eax
mov eax, dword [0x4928b8]
push eax
call esi
mov edx, dword [0x4928b4]
mov dword [0x4a4c78], eax
mov eax, dword [0x4a4c1c]
test edx, edx
mov dword [0x4a4c70], eax
je 0x41e0e4
mov word [0x4a8550], 2
push str.WSACreateEvent
push dword [0x4928b8]
call esi
push str.WSAEventSelect
mov dword [0x4a4be0], eax
push dword [0x4928b8]
call esi
push str.WSAWaitForMultipleEvents
mov dword [0x4a4c58], eax
push dword [0x4928b8]
call esi
push str.WSAEnumNetworkEvents
mov dword [0x4a4c68], eax
push dword [0x4928b8]
call esi
push str.WSALookupServiceBeginA
mov dword [0x4a4c7c], eax
push dword [0x4928b8]
call esi
push str.WSALookupServiceNextA
mov dword [0x4a4c20], eax
push dword [0x4928b8]
call esi
push str.WSALookupServiceEnd
mov dword [0x4a4be8], eax
push dword [0x4928b8]
call esi
mov edx, dword [0x4928b4]
mov dword [0x4a4c30], eax
jmp 0x41e0ed
mov word [0x4a8550], 0x101
xor eax, eax
cmp dword [0x4a4bec], eax
je 0x41e2e5
cmp dword [0x4a4c6c], eax
je 0x41e2e5
cmp dword [0x4a4c18], eax
je 0x41e2e5
cmp dword [0x4a4c10], eax
je 0x41e2e5
cmp dword [0x4a4bf8], eax
je 0x41e2e5
cmp dword [0x4a4c54], eax
je 0x41e2e5
cmp dword [0x4a4c38], eax
je 0x41e2e5
cmp dword [0x4a4c24], eax
je 0x41e2e5
mov ecx, dword [0x4a4bdc]
cmp ecx, eax
je 0x41e2e5
cmp dword [0x4a4c08], eax
je 0x41e2e5
cmp dword [0x4a4c60], eax
je 0x41e2e5
cmp dword [0x4a4bfc], eax
je 0x41e2e5
cmp dword [0x4a4c40], eax
je 0x41e2e5
cmp dword [0x4a4c70], eax
je 0x41e2e5
cmp dword [0x4a4bf4], eax
je 0x41e2e5
cmp dword [0x4a4c04], eax
je 0x41e2e5
cmp dword [0x4a4c14], eax
je 0x41e2e5
cmp dword [0x4a4c64], eax
je 0x41e2e5
cmp dword [0x4a4c00], eax
je 0x41e2e5
cmp dword [0x4a4bf0], eax
je 0x41e2e5
cmp dword [0x4a4c34], eax
je 0x41e2e5
cmp dword [0x4a4c50], eax
je 0x41e2e5
cmp dword [0x4a4c3c], eax
je 0x41e2e5
cmp dword [0x4a4c44], eax
je 0x41e2e5
cmp dword [0x4a4c2c], eax
je 0x41e2e5
cmp dword [0x4a4c5c], eax
je 0x41e2e5
cmp dword [0x4a4c4c], eax
je 0x41e2e5
cmp dword [0x4a4be4], eax
je 0x41e2e5
cmp dword [0x4a4c48], eax
je 0x41e2e5
test edx, edx
jne 0x41e26a
cmp dword [0x4a4c80], eax
je 0x41e2e5
test edx, edx
jne 0x41e26a
cmp dword [0x4a4c78], 0
je 0x41e2e5
xor eax, eax
test edx, edx
je 0x41e2b2
cmp dword [0x4a4be0], eax
je 0x41e2a8
cmp dword [0x4a4c58], eax
je 0x41e2a8
cmp dword [0x4a4c68], eax
je 0x41e2a8
cmp dword [0x4a4c7c], eax
je 0x41e2a8
cmp dword [0x4a4c20], eax
je 0x41e2a8
cmp dword [0x4a4be8], eax
je 0x41e2a8
cmp dword [0x4a4c30], eax
jne 0x41e2b2
xor ecx, ecx
cmp dword [esp + 8], ecx
je 0x41e301
jmp 0x41e2ed
mov ax, word [0x4a8550]
mov esi, 1
push 0x4a83c0
mov dword [0x4a8558], esi
push eax
call ecx
mov eax, esi
add dword [0x4928c0], esi
mov dword [0x492258], 0x400
mov dword [0x4928c4], esi
jmp 0x41e303
xor ecx, ecx
cmp dword [esp + 8], ecx
je 0x41e301
push ecx
mov eax, dword [str.FLEXlm_WINSOCK_error]
push eax
push dword [0x4928ac]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop esi
ret