Function at 0x42201b
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x484e8c], 0
jne 0x422049
push str.LM_NO_NETWORK
call fcn.0041aae8
add esp, 4
neg eax
sbb eax, eax
neg eax
mov dword [0x484e90], eax
mov dword [0x484e8c], 1
cmp dword [0x484e90], 0
je 0x422059
xor eax, eax
jmp 0x422754
cmp dword [0x484e78], 0x20
jb 0x422091
cmp dword [0x484e84], 0
jne 0x422087
push 0x487280
mov ax, word [0x487410]
push eax
call dword [0x484dcc]
mov dword [0x484e84], 1
mov eax, 1
jmp 0x422754
push 0x8000
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x4220ce
push str.WS2_32.Dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x484e78], eax
cmp dword [0x484e78], 0x20
jb 0x4220ce
mov dword [0x484e74], 1
jmp 0x422102
push str.WSOCK32.Dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x484e78], eax
cmp dword [0x484e78], 0x20
jae 0x4220f8
mov dword [0x487418], 0
xor eax, eax
jmp 0x422754
mov dword [0x484e74], 0
push str.icmp.Dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x484e7c], eax
cmp dword [0x484e7c], 0x20
jae 0x422127
mov dword [0x487414], 0
jmp 0x42216b
push str.IcmpCreateFile
mov ecx, dword [0x484e7c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484dfc], eax
push str.IcmpSendEcho
mov edx, dword [0x484e7c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484e18], eax
push str.IcmpCloseHandle
mov eax, dword [0x484e7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484e64], eax
push str.send
mov ecx, dword [0x484e78]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484ddc], eax
push str.ioctlsocket
mov edx, dword [0x484e78]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484e5c], eax
push str.WSAGetLastError
mov eax, dword [0x484e78]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484e08], eax
push str.recv
mov ecx, dword [0x484e78]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484e00], eax
push str.closesocket
mov edx, dword [0x484e78]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484de8], eax
push str.getservbyname
mov eax, dword [0x484e78]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484e44], eax
push str.gethostbyname
mov ecx, dword [0x484e78]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484e28], eax
push str.gethostname
mov edx, dword [0x484e78]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484e14], eax
push str.WSAStartup
mov eax, dword [0x484e78]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484dcc], eax
push str.WSACleanup
mov ecx, dword [0x484e78]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484df8], eax
push str.htons
mov edx, dword [0x484e78]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484e50], eax
push str.ntohl
mov eax, dword [0x484e78]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484df0], eax
push str.connect
mov ecx, dword [0x484e78]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484dec], eax
push str.socket
mov edx, dword [0x484e78]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484e30], eax
push str.select
mov eax, dword [0x484e78]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484e0c], eax
push str.ntohs
mov ecx, dword [0x484e78]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484df4], eax
push str.__WSAFDIsSet
mov edx, dword [0x484e78]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484de4], eax
push str.bind
mov eax, dword [0x484e78]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484e04], eax
push str.getsockname
mov ecx, dword [0x484e78]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484e54], eax
push str.accept
mov edx, dword [0x484e78]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484de0], eax
push str.listen
mov eax, dword [0x484e78]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484e24], eax
push str.WSASetLastError
mov ecx, dword [0x484e78]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484e40], eax
push str.setsockopt
mov edx, dword [0x484e78]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484e2c], eax
push str.sendto
mov eax, dword [0x484e78]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484e34], eax
push str.recvfrom
mov ecx, dword [0x484e78]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484e1c], eax
push str.htonl
mov edx, dword [0x484e78]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484e4c], eax
push 0x472f64
mov eax, dword [0x484e78]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484e3c], eax
push str.getsockopt
mov ecx, dword [0x484e78]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484dd4], eax
push str.gethostbyaddr
mov edx, dword [0x484e78]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484e38], eax
push str.EnumProtocolsA
mov eax, dword [0x484e78]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484e70], eax
push str.GetAddressByNameA
mov ecx, dword [0x484e78]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484e68], eax
cmp dword [0x484e74], 0
je 0x4224ec
mov edx, dword [0x484e0c]
mov dword [0x484e60], edx
mov word [0x487410], 2
push str.WSACreateEvent
mov eax, dword [0x484e78]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484dd0], eax
push str.WSAEventSelect
mov ecx, dword [0x484e78]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484e48], eax
push str.WSAWaitForMultipleEvents
mov edx, dword [0x484e78]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484e58], eax
push str.WSAEnumNetworkEvents
mov eax, dword [0x484e78]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484e6c], eax
push str.WSALookupServiceBeginA
mov ecx, dword [0x484e78]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484e10], eax
push str.WSALookupServiceNextA
mov edx, dword [0x484e78]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484dd8], eax
push str.WSALookupServiceEnd
mov eax, dword [0x484e78]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484e20], eax
jmp 0x422501
mov ecx, dword [0x484e0c]
mov dword [0x484e60], ecx
mov word [0x487410], 0x101
cmp dword [0x484ddc], 0
je 0x422672
cmp dword [0x484e5c], 0
je 0x422672
cmp dword [0x484e08], 0
je 0x422672
cmp dword [0x484e00], 0
je 0x422672
cmp dword [0x484de8], 0
je 0x422672
cmp dword [0x484e44], 0
je 0x422672
cmp dword [0x484e28], 0
je 0x422672
cmp dword [0x484e14], 0
je 0x422672
cmp dword [0x484dcc], 0
je 0x422672
cmp dword [0x484df8], 0
je 0x422672
cmp dword [0x484e50], 0
je 0x422672
cmp dword [0x484dec], 0
je 0x422672
cmp dword [0x484e30], 0
je 0x422672
cmp dword [0x484e60], 0
je 0x422672
cmp dword [0x484de4], 0
je 0x422672
cmp dword [0x484df4], 0
je 0x422672
cmp dword [0x484e04], 0
je 0x422672
cmp dword [0x484e54], 0
je 0x422672
cmp dword [0x484df0], 0
je 0x422672
cmp dword [0x484de0], 0
je 0x422672
cmp dword [0x484e24], 0
je 0x422672
cmp dword [0x484e40], 0
je 0x422672
cmp dword [0x484e2c], 0
je 0x422672
cmp dword [0x484e34], 0
je 0x422672
cmp dword [0x484e1c], 0
je 0x422672
cmp dword [0x484e4c], 0
je 0x422672
cmp dword [0x484e3c], 0
je 0x422672
cmp dword [0x484dd4], 0
je 0x422672
cmp dword [0x484e38], 0
je 0x422672
cmp dword [0x484e74], 0
jne 0x422660
cmp dword [0x484e70], 0
je 0x422672
cmp dword [0x484e74], 0
jne 0x42269e
cmp dword [0x484e68], 0
jne 0x42269e
cmp dword [ebp + 8], 0
je 0x422697
push 0x10010
mov edx, dword [str.FLEXlm_WINSOCK_error]
push edx
mov eax, dword [str.FLEXlm_WINSOCK_usage_error_detected.__You_must_make_sure_your_license_file_does_only_node_locking__or_you_must_have_a_WINSOCK.DLL_in_order_to_communicate_with_FLEXlm_license_server.]
push eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x422754
cmp dword [0x484e74], 0
je 0x422710
cmp dword [0x484dd0], 0
je 0x4226e6
cmp dword [0x484e48], 0
je 0x4226e6
cmp dword [0x484e58], 0
je 0x4226e6
cmp dword [0x484e6c], 0
je 0x4226e6
cmp dword [0x484e10], 0
je 0x4226e6
cmp dword [0x484dd8], 0
je 0x4226e6
cmp dword [0x484e20], 0
jne 0x422710
cmp dword [ebp + 8], 0
je 0x42270c
push 0x10010
mov ecx, dword [str.FLEXlm_WINSOCK_error]
push ecx
mov edx, dword [str.FLEXlm_WINSOCK_usage_error_detected.__You_must_make_sure_your_license_file_does_only_node_locking__or_you_must_have_a_WINSOCK.DLL_in_order_to_communicate_with_FLEXlm_license_server.]
push edx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x422754
mov dword [0x487418], 1
push 0x487280
mov ax, word [0x487410]
push eax
call dword [0x484dcc]
mov dword [0x48474c], 0x400
mov ecx, dword [0x484e80]
add ecx, 1
mov dword [0x484e80], ecx
mov dword [0x484e84], 1
mov eax, 1
pop ebp
ret