Function at 0x666d2b
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x79f8fc], 0
jne 0x666d59
push 0x772b1c
call fcn.00654046
add esp, 4
neg eax
sbb eax, eax
neg eax
mov dword [0x79f900], eax
mov dword [0x79f8fc], 1
cmp dword [0x79f900], 0
je 0x666d69
xor eax, eax
jmp 0x667464
cmp dword [0x79f8e8], 0x20
jb 0x666da1
cmp dword [0x79f8f4], 0
jne 0x666d97
push 0x7e76c0
mov ax, word [0x7e7850]
push eax
call dword [0x79f83c]
mov dword [0x79f8f4], 1
mov eax, 1
jmp 0x667464
push 0x8000
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x666dde
push str.WS2_32.Dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x79f8e8], eax
cmp dword [0x79f8e8], 0x20
jb 0x666dde
mov dword [0x79f8e4], 1
jmp 0x666e12
push str.WSOCK32.Dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x79f8e8], eax
cmp dword [0x79f8e8], 0x20
jae 0x666e08
mov dword [0x7e7664], 0
xor eax, eax
jmp 0x667464
mov dword [0x79f8e4], 0
push str.icmp.Dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x79f8ec], eax
cmp dword [0x79f8ec], 0x20
jae 0x666e37
mov dword [0x7e7660], 0
jmp 0x666e7b
push str.IcmpCreateFile
mov ecx, dword [0x79f8ec]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f86c], eax
push str.IcmpSendEcho
mov edx, dword [0x79f8ec]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f888], eax
push str.IcmpCloseHandle
mov eax, dword [0x79f8ec]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f8d4], eax
push str.send
mov ecx, dword [0x79f8e8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f84c], eax
push 0x772b88
mov edx, dword [0x79f8e8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f8cc], eax
push 0x772b94
mov eax, dword [0x79f8e8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f878], eax
push str.recv
mov ecx, dword [0x79f8e8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f870], eax
push 0x772bac
mov edx, dword [0x79f8e8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f858], eax
push 0x772bb8
mov eax, dword [0x79f8e8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f8b4], eax
push 0x772bc8
mov ecx, dword [0x79f8e8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f898], eax
push 0x772bd8
mov edx, dword [0x79f8e8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f884], eax
push 0x772be4
mov eax, dword [0x79f8e8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f83c], eax
push str.WSACleanup
mov ecx, dword [0x79f8e8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f868], eax
push 0x772bfc
mov edx, dword [0x79f8e8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f8c0], eax
push 0x772c04
mov eax, dword [0x79f8e8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f860], eax
push str.connect
mov ecx, dword [0x79f8e8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f85c], eax
push 0x772c14
mov edx, dword [0x79f8e8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f8a0], eax
push 0x772c1c
mov eax, dword [0x79f8e8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f87c], eax
push 0x772c24
mov ecx, dword [0x79f8e8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f864], eax
push str.__WSAFDIsSet
mov edx, dword [0x79f8e8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f854], eax
push 0x772c3c
mov eax, dword [0x79f8e8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f874], eax
push 0x772c44
mov ecx, dword [0x79f8e8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f8c4], eax
push str.accept
mov edx, dword [0x79f8e8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f850], eax
push str.listen
mov eax, dword [0x79f8e8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f894], eax
push str.WSASetLastError
mov ecx, dword [0x79f8e8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f8b0], eax
push 0x772c70
mov edx, dword [0x79f8e8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f89c], eax
push 0x772c7c
mov eax, dword [0x79f8e8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f8a4], eax
push 0x772c84
mov ecx, dword [0x79f8e8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f88c], eax
push 0x772c90
mov edx, dword [0x79f8e8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f8bc], eax
push str.shutdown
mov eax, dword [0x79f8e8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f8ac], eax
push str.getsockopt
mov ecx, dword [0x79f8e8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f844], eax
push 0x772cb0
mov edx, dword [0x79f8e8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f8a8], eax
push str.EnumProtocolsA
mov eax, dword [0x79f8e8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f8e0], eax
push str.GetAddressByNameA
mov ecx, dword [0x79f8e8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f8d8], eax
cmp dword [0x79f8e4], 0
je 0x6671fc
mov edx, dword [0x79f87c]
mov dword [0x79f8d0], edx
mov word [0x7e7850], 2
push str.WSACreateEvent
mov eax, dword [0x79f8e8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f840], eax
push str.WSAEventSelect
mov ecx, dword [0x79f8e8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f8b8], eax
push str.WSAWaitForMultipleEvents
mov edx, dword [0x79f8e8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f8c8], eax
push str.WSAEnumNetworkEvents
mov eax, dword [0x79f8e8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f8dc], eax
push str.WSALookupServiceBeginA
mov ecx, dword [0x79f8e8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f880], eax
push str.WSALookupServiceNextA
mov edx, dword [0x79f8e8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f848], eax
push str.WSALookupServiceEnd
mov eax, dword [0x79f8e8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x79f890], eax
jmp 0x667211
mov ecx, dword [0x79f87c]
mov dword [0x79f8d0], ecx
mov word [0x7e7850], 0x101
cmp dword [0x79f84c], 0
je 0x667382
cmp dword [0x79f8cc], 0
je 0x667382
cmp dword [0x79f878], 0
je 0x667382
cmp dword [0x79f870], 0
je 0x667382
cmp dword [0x79f858], 0
je 0x667382
cmp dword [0x79f8b4], 0
je 0x667382
cmp dword [0x79f898], 0
je 0x667382
cmp dword [0x79f884], 0
je 0x667382
cmp dword [0x79f83c], 0
je 0x667382
cmp dword [0x79f868], 0
je 0x667382
cmp dword [0x79f8c0], 0
je 0x667382
cmp dword [0x79f85c], 0
je 0x667382
cmp dword [0x79f8a0], 0
je 0x667382
cmp dword [0x79f8d0], 0
je 0x667382
cmp dword [0x79f854], 0
je 0x667382
cmp dword [0x79f864], 0
je 0x667382
cmp dword [0x79f874], 0
je 0x667382
cmp dword [0x79f8c4], 0
je 0x667382
cmp dword [0x79f860], 0
je 0x667382
cmp dword [0x79f850], 0
je 0x667382
cmp dword [0x79f894], 0
je 0x667382
cmp dword [0x79f8b0], 0
je 0x667382
cmp dword [0x79f89c], 0
je 0x667382
cmp dword [0x79f8a4], 0
je 0x667382
cmp dword [0x79f88c], 0
je 0x667382
cmp dword [0x79f8bc], 0
je 0x667382
cmp dword [0x79f8ac], 0
je 0x667382
cmp dword [0x79f844], 0
je 0x667382
cmp dword [0x79f8a8], 0
je 0x667382
cmp dword [0x79f8e4], 0
jne 0x667370
cmp dword [0x79f8e0], 0
je 0x667382
cmp dword [0x79f8e4], 0
jne 0x6673ae
cmp dword [0x79f8d8], 0
jne 0x6673ae
cmp dword [ebp + 8], 0
je 0x6673a7
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 0x667464
cmp dword [0x79f8e4], 0
je 0x667420
cmp dword [0x79f840], 0
je 0x6673f6
cmp dword [0x79f8b8], 0
je 0x6673f6
cmp dword [0x79f8c8], 0
je 0x6673f6
cmp dword [0x79f8dc], 0
je 0x6673f6
cmp dword [0x79f880], 0
je 0x6673f6
cmp dword [0x79f848], 0
je 0x6673f6
cmp dword [0x79f890], 0
jne 0x667420
cmp dword [ebp + 8], 0
je 0x66741c
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 0x667464
mov dword [0x7e7664], 1
push 0x7e76c0
mov ax, word [0x7e7850]
push eax
call dword [0x79f83c]
mov dword [0x79f4a4], 0x400
mov ecx, dword [0x79f8f0]
add ecx, 1
mov dword [0x79f8f0], ecx
mov dword [0x79f8f4], 1
mov eax, 1
pop ebp
ret