Function at 0x41eaab
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x499530], 0
jne 0x41ead9
push 0x48fc30
call fcn.00412500
add esp, 4
neg eax
sbb eax, eax
neg eax
mov dword [0x499534], eax
mov dword [0x499530], 1
cmp dword [0x499534], 0
je 0x41eae9
xor eax, eax
jmp 0x41f1e4
cmp dword [0x49951c], 0x20
jb 0x41eb21
cmp dword [0x499528], 0
jne 0x41eb17
push 0x49dcc0
mov ax, word [0x49de50]
push eax
call dword [0x499470]
mov dword [0x499528], 1
mov eax, 1
jmp 0x41f1e4
push 0x8000
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x41eb5e
push str.WS2_32.Dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x49951c], eax
cmp dword [0x49951c], 0x20
jb 0x41eb5e
mov dword [0x499518], 1
jmp 0x41eb92
push str.WSOCK32.Dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x49951c], eax
cmp dword [0x49951c], 0x20
jae 0x41eb88
mov dword [0x49dc88], 0
xor eax, eax
jmp 0x41f1e4
mov dword [0x499518], 0
push str.icmp.Dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x499520], eax
cmp dword [0x499520], 0x20
jae 0x41ebb7
mov dword [0x49dc84], 0
jmp 0x41ebfb
push str.IcmpCreateFile
mov ecx, dword [0x499520]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4994a0], eax
push str.IcmpSendEcho
mov edx, dword [0x499520]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4994bc], eax
push str.IcmpCloseHandle
mov eax, dword [0x499520]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x499508], eax
push str.send
mov ecx, dword [0x49951c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x499480], eax
push str.ioctlsocket
mov edx, dword [0x49951c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x499500], eax
push str.WSAGetLastError
mov eax, dword [0x49951c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4994ac], eax
push str.recv
mov ecx, dword [0x49951c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4994a4], eax
push str.closesocket
mov edx, dword [0x49951c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x49948c], eax
push str.getservbyname
mov eax, dword [0x49951c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4994e8], eax
push str.gethostbyname
mov ecx, dword [0x49951c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4994cc], eax
push str.gethostname
mov edx, dword [0x49951c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4994b8], eax
push str.WSAStartup
mov eax, dword [0x49951c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x499470], eax
push str.WSACleanup
mov ecx, dword [0x49951c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x49949c], eax
push str.htons
mov edx, dword [0x49951c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4994f4], eax
push str.ntohl
mov eax, dword [0x49951c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x499494], eax
push str.connect
mov ecx, dword [0x49951c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x499490], eax
push str.socket
mov edx, dword [0x49951c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4994d4], eax
push str.select
mov eax, dword [0x49951c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4994b0], eax
push str.ntohs
mov ecx, dword [0x49951c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x499498], eax
push str.__WSAFDIsSet
mov edx, dword [0x49951c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x499488], eax
push str.bind
mov eax, dword [0x49951c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4994a8], eax
push str.getsockname
mov ecx, dword [0x49951c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4994f8], eax
push str.accept
mov edx, dword [0x49951c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x499484], eax
push str.listen
mov eax, dword [0x49951c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4994c8], eax
push str.WSASetLastError
mov ecx, dword [0x49951c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4994e4], eax
push str.setsockopt
mov edx, dword [0x49951c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4994d0], eax
push str.sendto
mov eax, dword [0x49951c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4994d8], eax
push str.recvfrom
mov ecx, dword [0x49951c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4994c0], eax
push str.htonl
mov edx, dword [0x49951c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4994f0], eax
push 0x48fdac
mov eax, dword [0x49951c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4994e0], eax
push str.getsockopt
mov ecx, dword [0x49951c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x499478], eax
push str.gethostbyaddr
mov edx, dword [0x49951c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4994dc], eax
push str.EnumProtocolsA
mov eax, dword [0x49951c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x499514], eax
push str.GetAddressByNameA
mov ecx, dword [0x49951c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x49950c], eax
cmp dword [0x499518], 0
je 0x41ef7c
mov edx, dword [0x4994b0]
mov dword [0x499504], edx
mov word [0x49de50], 2
push str.WSACreateEvent
mov eax, dword [0x49951c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x499474], eax
push str.WSAEventSelect
mov ecx, dword [0x49951c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4994ec], eax
push str.WSAWaitForMultipleEvents
mov edx, dword [0x49951c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4994fc], eax
push str.WSAEnumNetworkEvents
mov eax, dword [0x49951c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x499510], eax
push str.WSALookupServiceBeginA
mov ecx, dword [0x49951c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4994b4], eax
push str.WSALookupServiceNextA
mov edx, dword [0x49951c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x49947c], eax
push str.WSALookupServiceEnd
mov eax, dword [0x49951c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4994c4], eax
jmp 0x41ef91
mov ecx, dword [0x4994b0]
mov dword [0x499504], ecx
mov word [0x49de50], 0x101
cmp dword [0x499480], 0
je 0x41f102
cmp dword [0x499500], 0
je 0x41f102
cmp dword [0x4994ac], 0
je 0x41f102
cmp dword [0x4994a4], 0
je 0x41f102
cmp dword [0x49948c], 0
je 0x41f102
cmp dword [0x4994e8], 0
je 0x41f102
cmp dword [0x4994cc], 0
je 0x41f102
cmp dword [0x4994b8], 0
je 0x41f102
cmp dword [0x499470], 0
je 0x41f102
cmp dword [0x49949c], 0
je 0x41f102
cmp dword [0x4994f4], 0
je 0x41f102
cmp dword [0x499490], 0
je 0x41f102
cmp dword [0x4994d4], 0
je 0x41f102
cmp dword [0x499504], 0
je 0x41f102
cmp dword [0x499488], 0
je 0x41f102
cmp dword [0x499498], 0
je 0x41f102
cmp dword [0x4994a8], 0
je 0x41f102
cmp dword [0x4994f8], 0
je 0x41f102
cmp dword [0x499494], 0
je 0x41f102
cmp dword [0x499484], 0
je 0x41f102
cmp dword [0x4994c8], 0
je 0x41f102
cmp dword [0x4994e4], 0
je 0x41f102
cmp dword [0x4994d0], 0
je 0x41f102
cmp dword [0x4994d8], 0
je 0x41f102
cmp dword [0x4994c0], 0
je 0x41f102
cmp dword [0x4994f0], 0
je 0x41f102
cmp dword [0x4994e0], 0
je 0x41f102
cmp dword [0x499478], 0
je 0x41f102
cmp dword [0x4994dc], 0
je 0x41f102
cmp dword [0x499518], 0
jne 0x41f0f0
cmp dword [0x499514], 0
je 0x41f102
cmp dword [0x499518], 0
jne 0x41f12e
cmp dword [0x49950c], 0
jne 0x41f12e
cmp dword [ebp + 8], 0
je 0x41f127
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 0x41f1e4
cmp dword [0x499518], 0
je 0x41f1a0
cmp dword [0x499474], 0
je 0x41f176
cmp dword [0x4994ec], 0
je 0x41f176
cmp dword [0x4994fc], 0
je 0x41f176
cmp dword [0x499510], 0
je 0x41f176
cmp dword [0x4994b4], 0
je 0x41f176
cmp dword [0x49947c], 0
je 0x41f176
cmp dword [0x4994c4], 0
jne 0x41f1a0
cmp dword [ebp + 8], 0
je 0x41f19c
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 0x41f1e4
mov dword [0x49dc88], 1
push 0x49dcc0
mov ax, word [0x49de50]
push eax
call dword [0x499470]
mov dword [0x499004], 0x400
mov ecx, dword [0x499524]
add ecx, 1
mov dword [0x499524], ecx
mov dword [0x499528], 1
mov eax, 1
pop ebp
ret