Function at 0x43e390
Capabilities:
Link many functions at runtime

Disassembly:
cmp dword [0x4dc15c], 0
jne 0x43e3bd
push str.LM_NO_NETWORK
call fcn.00455960
add esp, 4
mov dword [0x4dc15c], 1
neg eax
sbb eax, eax
neg eax
mov dword [0x4dc160], eax
jmp 0x43e3c2
mov eax, dword [0x4dc160]
test eax, eax
je 0x43e3c9
xor eax, eax
ret
cmp dword [0x4dc148], 0x20
jb 0x43e3fe
cmp dword [0x4dc154], 0
jne 0x43e3f8
movzx eax, word [0x4e6310]
push 0x4e6180
push eax
call dword [0x4dc184]
mov dword [0x4dc154], 1
mov eax, 1
ret
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x8000
call edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, 0x80000000
jae 0x43e440
push str.WS2_32.Dll
call esi
mov dword [0x4dc148], eax
cmp eax, 0x20
jb 0x43e440
mov dword [0x4dc144], 1
jmp 0x43e46e
push str.WSOCK32.Dll
call esi
mov dword [0x4dc148], eax
cmp eax, 0x20
jae 0x43e464
push ebx
mov dword [0x4e6318], 0
call edi
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov dword [0x4dc144], 0
push str.icmp.Dll
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4dc14c], eax
cmp eax, 0x20
jae 0x43e491
mov dword [0x4e6314], 0
jmp 0x43e4c2
push str.IcmpCreateFile
push eax
call esi
push str.IcmpSendEcho
push dword [0x4dc14c]
mov dword [0x4dc200], eax
call esi
push str.IcmpCloseHandle
push dword [0x4dc14c]
mov dword [0x4dc204], eax
call esi
mov dword [0x4dc208], eax
push ebp
push str.send
push dword [0x4dc148]
call esi
push str.ioctlsocket
push dword [0x4dc148]
mov dword [0x4dc164], eax
call esi
push str.WSAGetLastError
push dword [0x4dc148]
mov dword [0x4dc168], eax
call esi
push str.recv
push dword [0x4dc148]
mov dword [0x4dc16c], eax
call esi
push str.closesocket
push dword [0x4dc148]
mov dword [0x4dc170], eax
call esi
push str.getservbyname
push dword [0x4dc148]
mov dword [0x4dc174], eax
call esi
push str.gethostbyname
push dword [0x4dc148]
mov dword [0x4dc178], eax
call esi
push str.gethostname
push dword [0x4dc148]
mov dword [0x4dc17c], eax
call esi
push str.WSAStartup
push dword [0x4dc148]
mov dword [0x4dc180], eax
call esi
push str.WSACleanup
push dword [0x4dc148]
mov dword [0x4dc184], eax
call esi
push str.htons
push dword [0x4dc148]
mov dword [0x4dc188], eax
call esi
push str.ntohl
push dword [0x4dc148]
mov dword [0x4dc18c], eax
call esi
push str.connect
push dword [0x4dc148]
mov dword [0x4dc190], eax
call esi
push str.socket
push dword [0x4dc148]
mov dword [0x4dc194], eax
call esi
push str.select
push dword [0x4dc148]
mov dword [0x4dc198], eax
call esi
push str.ntohs
push dword [0x4dc148]
mov dword [0x4dc19c], eax
call esi
push str.__WSAFDIsSet
push dword [0x4dc148]
mov dword [0x4dc1a4], eax
call esi
push str.bind
push dword [0x4dc148]
mov dword [0x4dc1a8], eax
call esi
push str.getsockname
push dword [0x4dc148]
mov dword [0x4dc1ac], eax
call esi
push str.accept
push dword [0x4dc148]
mov dword [0x4dc1b0], eax
call esi
mov dword [0x4dc1b4], eax
push str.listen
push dword [0x4dc148]
call esi
push str.WSASetLastError
push dword [0x4dc148]
mov dword [0x4dc1b8], eax
call esi
push str.setsockopt
push dword [0x4dc148]
mov dword [0x4dc1bc], eax
call esi
push str.sendto
push dword [0x4dc148]
mov dword [0x4dc1c0], eax
call esi
push str.recvfrom
push dword [0x4dc148]
mov dword [0x4dc1c8], eax
call esi
push str.htonl
push dword [0x4dc148]
mov dword [0x4dc1c4], eax
call esi
push str.shutdown
push dword [0x4dc148]
mov dword [0x4dc1d0], eax
call esi
push str.getsockopt
push dword [0x4dc148]
mov dword [0x4dc1cc], eax
call esi
push str.gethostbyaddr
push dword [0x4dc148]
mov dword [0x4dc1d4], eax
call esi
push str.EnumProtocolsA
push dword [0x4dc148]
mov dword [0x4dc1d8], eax
call esi
push str.GetAddressByNameA
push dword [0x4dc148]
mov dword [0x4dc1dc], eax
call esi
cmp dword [0x4dc144], 0
mov ebp, eax
mov dword [0x4dc1e0], ebp
je 0x43e7a9
mov eax, dword [0x4dc19c]
push str.WSACreateEvent
push dword [0x4dc148]
mov dword [0x4dc1a0], eax
mov eax, 2
mov word [0x4e6310], ax
call esi
push str.WSAEventSelect
push dword [0x4dc148]
mov dword [0x4dc1e4], eax
call esi
push str.WSAWaitForMultipleEvents
push dword [0x4dc148]
mov dword [0x4dc1e8], eax
call esi
push str.WSAEnumNetworkEvents
push dword [0x4dc148]
mov dword [0x4dc1ec], eax
call esi
push str.WSALookupServiceBeginA
push dword [0x4dc148]
mov dword [0x4dc1f0], eax
call esi
push str.WSALookupServiceNextA
push dword [0x4dc148]
mov dword [0x4dc1f4], eax
call esi
push str.WSALookupServiceEnd
push dword [0x4dc148]
mov dword [0x4dc1f8], eax
call esi
mov dx, word [0x4e6310]
mov ebp, dword [0x4dc1e0]
mov ecx, dword [0x4dc1a0]
mov dword [0x4dc1fc], eax
jmp 0x43e7c6
mov ecx, dword [0x4dc19c]
mov edx, 0x101
mov eax, dword [0x4dc1fc]
mov dword [0x4dc1a0], ecx
mov word [0x4e6310], dx
cmp dword [0x4dc164], 0
je 0x43e9bd
cmp dword [0x4dc168], 0
je 0x43e9bd
cmp dword [0x4dc16c], 0
je 0x43e9bd
cmp dword [0x4dc170], 0
je 0x43e9bd
cmp dword [0x4dc174], 0
je 0x43e9bd
cmp dword [0x4dc178], 0
je 0x43e9bd
cmp dword [0x4dc17c], 0
je 0x43e9bd
cmp dword [0x4dc180], 0
je 0x43e9bd
mov esi, dword [0x4dc184]
test esi, esi
je 0x43e9bd
cmp dword [0x4dc188], 0
je 0x43e9bd
cmp dword [0x4dc18c], 0
je 0x43e9bd
cmp dword [0x4dc194], 0
je 0x43e9bd
cmp dword [0x4dc198], 0
je 0x43e9bd
test ecx, ecx
je 0x43e9bd
cmp dword [0x4dc1a8], 0
je 0x43e9bd
cmp dword [0x4dc1a4], 0
je 0x43e9bd
cmp dword [0x4dc1ac], 0
je 0x43e9bd
cmp dword [0x4dc1b0], 0
je 0x43e9bd
cmp dword [0x4dc190], 0
je 0x43e9bd
cmp dword [0x4dc1b4], 0
je 0x43e9bd
cmp dword [0x4dc1b8], 0
je 0x43e9bd
cmp dword [0x4dc1bc], 0
je 0x43e9bd
cmp dword [0x4dc1c0], 0
je 0x43e9bd
cmp dword [0x4dc1c8], 0
je 0x43e9bd
cmp dword [0x4dc1c4], 0
je 0x43e9bd
cmp dword [0x4dc1d0], 0
je 0x43e9bd
cmp dword [0x4dc1cc], 0
je 0x43e9bd
cmp dword [0x4dc1d4], 0
je 0x43e9bd
cmp dword [0x4dc1d8], 0
je 0x43e9bd
cmp dword [0x4dc144], 0
jne 0x43e951
cmp dword [0x4dc1dc], 0
je 0x43e9bd
test ebp, ebp
jmp 0x43e989
cmp dword [0x4dc1e4], 0
je 0x43e9bd
cmp dword [0x4dc1e8], 0
je 0x43e9bd
cmp dword [0x4dc1ec], 0
je 0x43e9bd
cmp dword [0x4dc1f0], 0
je 0x43e9bd
cmp dword [0x4dc1f4], 0
je 0x43e9bd
cmp dword [0x4dc1f8], 0
je 0x43e9bd
test eax, eax
je 0x43e9bd
push 0x4e6180
movzx eax, dx
push eax
mov dword [0x4e6318], 1
call esi
inc dword [0x4dc150]
push ebx
mov dword [0x4dc154], 1
call edi
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
ret
cmp dword [esp + 0x14], 0
je 0x43e9e2
push 0x10010
push dword [0x4d2d70]
push dword [0x4d2d6c]
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call edi
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
ret