Function at 0x50a580
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x5e4d2c], 0
jne 0x50a5ae
push str.LM_NO_NETWORK
call fcn.0052aff0
add esp, 4
neg eax
sbb eax, eax
neg eax
mov dword [0x5e4d30], eax
mov dword [0x5e4d2c], 1
cmp dword [0x5e4d30], 0
je 0x50a5be
xor eax, eax
jmp 0x50acbb
cmp dword [0x5e4d18], 0x20
jb 0x50a5f6
cmp dword [0x5e4d24], 0
jne 0x50a5ec
push 0x62d9a0
mov ax, word [0x62db34]
push eax
call dword [0x5e4cd8]
mov dword [0x5e4d24], 1
mov eax, 1
jmp 0x50acbb
push 0x8000
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x50a633
push str.WS2_32.Dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x5e4d18], eax
cmp dword [0x5e4d18], 0x20
jb 0x50a633
mov dword [0x5e4d14], 1
jmp 0x50a669
push str.WSOCK32.Dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x5e4d18], eax
cmp dword [0x5e4d18], 0x20
jae 0x50a65f
mov dword [0x62db30], 0
xor eax, eax
jmp 0x50acbb
mov dword [0x5e4d14], 0
push str.icmp.Dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x5e4d1c], eax
cmp dword [0x5e4d1c], 0x20
jae 0x50a68e
mov dword [0x62d92c], 0
jmp 0x50a6d2
push str.IcmpCreateFile
mov ecx, dword [0x5e4d1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4c90], eax
push str.IcmpSendEcho
mov edx, dword [0x5e4d1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4cb8], eax
push str.IcmpCloseHandle
mov eax, dword [0x5e4d1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4c9c], eax
push str.send
mov ecx, dword [0x5e4d18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4cfc], eax
push 0x5c4da0
mov edx, dword [0x5e4d18]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4cac], eax
push 0x5c4dac
mov eax, dword [0x5e4d18]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4c78], eax
push str.recv
mov ecx, dword [0x5e4d18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4cbc], eax
push 0x5c4dc4
mov edx, dword [0x5e4d18]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4cd4], eax
push 0x5c4dd0
mov eax, dword [0x5e4d18]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4cb4], eax
push 0x5c4de0
mov ecx, dword [0x5e4d18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4d00], eax
push 0x5c4df0
mov edx, dword [0x5e4d18]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4cdc], eax
push 0x5c4dfc
mov eax, dword [0x5e4d18]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4cd8], eax
push str.WSACleanup
mov ecx, dword [0x5e4d18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4c70], eax
push 0x5c4e14
mov edx, dword [0x5e4d18]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4cf8], eax
push 0x5c4e1c
mov eax, dword [0x5e4d18]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4ca4], eax
push str.connect
mov ecx, dword [0x5e4d18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4ccc], eax
push 0x5c4e2c
mov edx, dword [0x5e4d18]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4ca8], eax
push 0x5c4e34
mov eax, dword [0x5e4d18]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4ce0], eax
push 0x5c4e3c
mov ecx, dword [0x5e4d18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4ce8], eax
push str.__WSAFDIsSet
mov edx, dword [0x5e4d18]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4d08], eax
push 0x5c4e54
mov eax, dword [0x5e4d18]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4c80], eax
push 0x5c4e5c
mov ecx, dword [0x5e4d18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4c7c], eax
push str.accept
mov edx, dword [0x5e4d18]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4d04], eax
push str.listen
mov eax, dword [0x5e4d18]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4ca0], eax
push str.WSASetLastError
mov ecx, dword [0x5e4d18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4cec], eax
push 0x5c4e88
mov edx, dword [0x5e4d18]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4c74], eax
push 0x5c4e94
mov eax, dword [0x5e4d18]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4ce4], eax
push 0x5c4e9c
mov ecx, dword [0x5e4d18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4c8c], eax
push 0x5c4ea8
mov edx, dword [0x5e4d18]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4cc4], eax
push str.shutdown
mov eax, dword [0x5e4d18]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4cd0], eax
push str.getsockopt
mov ecx, dword [0x5e4d18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4c84], eax
push 0x5c4ec8
mov edx, dword [0x5e4d18]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4cf4], eax
push str.EnumProtocolsA
mov eax, dword [0x5e4d18]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4cb0], eax
push str.GetAddressByNameA
mov ecx, dword [0x5e4d18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4c88], eax
cmp dword [0x5e4d14], 0
je 0x50aa53
mov edx, dword [0x5e4ce0]
mov dword [0x5e4cc8], edx
mov word [0x62db34], 2
push str.WSACreateEvent
mov eax, dword [0x5e4d18]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4cf0], eax
push str.WSAEventSelect
mov ecx, dword [0x5e4d18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4d10], eax
push str.WSAWaitForMultipleEvents
mov edx, dword [0x5e4d18]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4c6c], eax
push str.WSAEnumNetworkEvents
mov eax, dword [0x5e4d18]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4cc0], eax
push str.WSALookupServiceBeginA
mov ecx, dword [0x5e4d18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4d0c], eax
push str.WSALookupServiceNextA
mov edx, dword [0x5e4d18]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4c98], eax
push str.WSALookupServiceEnd
mov eax, dword [0x5e4d18]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e4c94], eax
jmp 0x50aa68
mov ecx, dword [0x5e4ce0]
mov dword [0x5e4cc8], ecx
mov word [0x62db34], 0x101
cmp dword [0x5e4cfc], 0
je 0x50abd9
cmp dword [0x5e4cac], 0
je 0x50abd9
cmp dword [0x5e4c78], 0
je 0x50abd9
cmp dword [0x5e4cbc], 0
je 0x50abd9
cmp dword [0x5e4cd4], 0
je 0x50abd9
cmp dword [0x5e4cb4], 0
je 0x50abd9
cmp dword [0x5e4d00], 0
je 0x50abd9
cmp dword [0x5e4cdc], 0
je 0x50abd9
cmp dword [0x5e4cd8], 0
je 0x50abd9
cmp dword [0x5e4c70], 0
je 0x50abd9
cmp dword [0x5e4cf8], 0
je 0x50abd9
cmp dword [0x5e4ccc], 0
je 0x50abd9
cmp dword [0x5e4ca8], 0
je 0x50abd9
cmp dword [0x5e4cc8], 0
je 0x50abd9
cmp dword [0x5e4d08], 0
je 0x50abd9
cmp dword [0x5e4ce8], 0
je 0x50abd9
cmp dword [0x5e4c80], 0
je 0x50abd9
cmp dword [0x5e4c7c], 0
je 0x50abd9
cmp dword [0x5e4ca4], 0
je 0x50abd9
cmp dword [0x5e4d04], 0
je 0x50abd9
cmp dword [0x5e4ca0], 0
je 0x50abd9
cmp dword [0x5e4cec], 0
je 0x50abd9
cmp dword [0x5e4c74], 0
je 0x50abd9
cmp dword [0x5e4ce4], 0
je 0x50abd9
cmp dword [0x5e4c8c], 0
je 0x50abd9
cmp dword [0x5e4cc4], 0
je 0x50abd9
cmp dword [0x5e4cd0], 0
je 0x50abd9
cmp dword [0x5e4c84], 0
je 0x50abd9
cmp dword [0x5e4cf4], 0
je 0x50abd9
cmp dword [0x5e4d14], 0
jne 0x50abc7
cmp dword [0x5e4cb0], 0
je 0x50abd9
cmp dword [0x5e4d14], 0
jne 0x50ac05
cmp dword [0x5e4c88], 0
jne 0x50ac05
cmp dword [ebp + 8], 0
je 0x50abfe
push 0x10010
mov edx, dword [str.FLEXnet_WINSOCK_error]
push edx
mov eax, dword [str.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_FLEXnet_license_server.]
push eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x50acbb
cmp dword [0x5e4d14], 0
je 0x50ac77
cmp dword [0x5e4cf0], 0
je 0x50ac4d
cmp dword [0x5e4d10], 0
je 0x50ac4d
cmp dword [0x5e4c6c], 0
je 0x50ac4d
cmp dword [0x5e4cc0], 0
je 0x50ac4d
cmp dword [0x5e4d0c], 0
je 0x50ac4d
cmp dword [0x5e4c98], 0
je 0x50ac4d
cmp dword [0x5e4c94], 0
jne 0x50ac77
cmp dword [ebp + 8], 0
je 0x50ac73
push 0x10010
mov ecx, dword [str.FLEXnet_WINSOCK_error]
push ecx
mov edx, dword [str.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_FLEXnet_license_server.]
push edx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x50acbb
mov dword [0x62db30], 1
push 0x62d9a0
mov ax, word [0x62db34]
push eax
call dword [0x5e4cd8]
mov dword [0x5e4df0], 0x400
mov ecx, dword [0x5e4d20]
add ecx, 1
mov dword [0x5e4d20], ecx
mov dword [0x5e4d24], 1
mov eax, 1
pop ebp
ret