Function at 0x41bccb
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x4db748], 0
jne 0x41bcf9
push 0x4d0758
call fcn.00426c39
add esp, 4
neg eax
sbb eax, eax
neg eax
mov dword [0x4db74c], eax
mov dword [0x4db748], 1
cmp dword [0x4db74c], 0
je 0x41bd09
xor eax, eax
jmp 0x41c404
cmp dword [0x4db734], 0x20
jb 0x41bd41
cmp dword [0x4db740], 0
jne 0x41bd37
push 0x4e7b20
mov ax, word [0x4e7cb0]
push eax
call dword [0x4db688]
mov dword [0x4db740], 1
mov eax, 1
jmp 0x41c404
push 0x8000
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x41bd7e
push str.WS2_32.Dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x4db734], eax
cmp dword [0x4db734], 0x20
jb 0x41bd7e
mov dword [0x4db730], 1
jmp 0x41bdb2
push str.WSOCK32.Dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x4db734], eax
cmp dword [0x4db734], 0x20
jae 0x41bda8
mov dword [0x4e7cb8], 0
xor eax, eax
jmp 0x41c404
mov dword [0x4db730], 0
push str.icmp.Dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x4db738], eax
cmp dword [0x4db738], 0x20
jae 0x41bdd7
mov dword [0x4e7cb4], 0
jmp 0x41be1b
push str.IcmpCreateFile
mov ecx, dword [0x4db738]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db6b8], eax
push str.IcmpSendEcho
mov edx, dword [0x4db738]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db6d4], eax
push str.IcmpCloseHandle
mov eax, dword [0x4db738]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db720], eax
push str.send
mov ecx, dword [0x4db734]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db698], eax
push str.ioctlsocket
mov edx, dword [0x4db734]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db718], eax
push str.WSAGetLastError
mov eax, dword [0x4db734]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db6c4], eax
push str.recv
mov ecx, dword [0x4db734]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db6bc], eax
push str.closesocket
mov edx, dword [0x4db734]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db6a4], eax
push str.getservbyname
mov eax, dword [0x4db734]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db700], eax
push str.gethostbyname
mov ecx, dword [0x4db734]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db6e4], eax
push str.gethostname
mov edx, dword [0x4db734]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db6d0], eax
push str.WSAStartup
mov eax, dword [0x4db734]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db688], eax
push str.WSACleanup
mov ecx, dword [0x4db734]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db6b4], eax
push str.htons
mov edx, dword [0x4db734]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db70c], eax
push str.ntohl
mov eax, dword [0x4db734]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db6ac], eax
push str.connect
mov ecx, dword [0x4db734]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db6a8], eax
push str.socket
mov edx, dword [0x4db734]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db6ec], eax
push str.select
mov eax, dword [0x4db734]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db6c8], eax
push str.ntohs
mov ecx, dword [0x4db734]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db6b0], eax
push str.__WSAFDIsSet
mov edx, dword [0x4db734]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db6a0], eax
push str.bind
mov eax, dword [0x4db734]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db6c0], eax
push str.getsockname
mov ecx, dword [0x4db734]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db710], eax
push str.accept
mov edx, dword [0x4db734]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db69c], eax
push str.listen
mov eax, dword [0x4db734]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db6e0], eax
push str.WSASetLastError
mov ecx, dword [0x4db734]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db6fc], eax
push str.setsockopt
mov edx, dword [0x4db734]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db6e8], eax
push str.sendto
mov eax, dword [0x4db734]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db6f0], eax
push str.recvfrom
mov ecx, dword [0x4db734]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db6d8], eax
push str.htonl
mov edx, dword [0x4db734]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db708], eax
push str.shutdown
mov eax, dword [0x4db734]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db6f8], eax
push str.getsockopt
mov ecx, dword [0x4db734]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db690], eax
push str.gethostbyaddr
mov edx, dword [0x4db734]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db6f4], eax
push str.EnumProtocolsA
mov eax, dword [0x4db734]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db72c], eax
push str.GetAddressByNameA
mov ecx, dword [0x4db734]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db724], eax
cmp dword [0x4db730], 0
je 0x41c19c
mov edx, dword [0x4db6c8]
mov dword [0x4db71c], edx
mov word [0x4e7cb0], 2
push str.WSACreateEvent
mov eax, dword [0x4db734]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db68c], eax
push str.WSAEventSelect
mov ecx, dword [0x4db734]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db704], eax
push str.WSAWaitForMultipleEvents
mov edx, dword [0x4db734]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db714], eax
push str.WSAEnumNetworkEvents
mov eax, dword [0x4db734]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db728], eax
push str.WSALookupServiceBeginA
mov ecx, dword [0x4db734]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db6cc], eax
push str.WSALookupServiceNextA
mov edx, dword [0x4db734]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db694], eax
push str.WSALookupServiceEnd
mov eax, dword [0x4db734]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db6dc], eax
jmp 0x41c1b1
mov ecx, dword [0x4db6c8]
mov dword [0x4db71c], ecx
mov word [0x4e7cb0], 0x101
cmp dword [0x4db698], 0
je 0x41c322
cmp dword [0x4db718], 0
je 0x41c322
cmp dword [0x4db6c4], 0
je 0x41c322
cmp dword [0x4db6bc], 0
je 0x41c322
cmp dword [0x4db6a4], 0
je 0x41c322
cmp dword [0x4db700], 0
je 0x41c322
cmp dword [0x4db6e4], 0
je 0x41c322
cmp dword [0x4db6d0], 0
je 0x41c322
cmp dword [0x4db688], 0
je 0x41c322
cmp dword [0x4db6b4], 0
je 0x41c322
cmp dword [0x4db70c], 0
je 0x41c322
cmp dword [0x4db6a8], 0
je 0x41c322
cmp dword [0x4db6ec], 0
je 0x41c322
cmp dword [0x4db71c], 0
je 0x41c322
cmp dword [0x4db6a0], 0
je 0x41c322
cmp dword [0x4db6b0], 0
je 0x41c322
cmp dword [0x4db6c0], 0
je 0x41c322
cmp dword [0x4db710], 0
je 0x41c322
cmp dword [0x4db6ac], 0
je 0x41c322
cmp dword [0x4db69c], 0
je 0x41c322
cmp dword [0x4db6e0], 0
je 0x41c322
cmp dword [0x4db6fc], 0
je 0x41c322
cmp dword [0x4db6e8], 0
je 0x41c322
cmp dword [0x4db6f0], 0
je 0x41c322
cmp dword [0x4db6d8], 0
je 0x41c322
cmp dword [0x4db708], 0
je 0x41c322
cmp dword [0x4db6f8], 0
je 0x41c322
cmp dword [0x4db690], 0
je 0x41c322
cmp dword [0x4db6f4], 0
je 0x41c322
cmp dword [0x4db730], 0
jne 0x41c310
cmp dword [0x4db72c], 0
je 0x41c322
cmp dword [0x4db730], 0
jne 0x41c34e
cmp dword [0x4db724], 0
jne 0x41c34e
cmp dword [ebp + 8], 0
je 0x41c347
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 0x41c404
cmp dword [0x4db730], 0
je 0x41c3c0
cmp dword [0x4db68c], 0
je 0x41c396
cmp dword [0x4db704], 0
je 0x41c396
cmp dword [0x4db714], 0
je 0x41c396
cmp dword [0x4db728], 0
je 0x41c396
cmp dword [0x4db6cc], 0
je 0x41c396
cmp dword [0x4db694], 0
je 0x41c396
cmp dword [0x4db6dc], 0
jne 0x41c3c0
cmp dword [ebp + 8], 0
je 0x41c3bc
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 0x41c404
mov dword [0x4e7cb8], 1
push 0x4e7b20
mov ax, word [0x4e7cb0]
push eax
call dword [0x4db688]
mov dword [0x4dfbf0], 0x400
mov ecx, dword [0x4db73c]
add ecx, 1
mov dword [0x4db73c], ecx
mov dword [0x4db740], 1
mov eax, 1
pop ebp
ret