Function at 0x4c2c2c
Capabilities:
Resolve dns

Disassembly:
sub esp, 8
push ebx
push esi
push edi
lea eax, [esp + 0xc]
call fcn.00425dec
mov eax, 0x165
call fcn.00467104
mov esi, eax
mov eax, esi
mov ebx, 0x5bbfe0
mov ecx, 0
call fcn.00423ae0
cmp dword [0x5c290c], 0
je 0x4c2cb4
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
call fcn.00425f5c
call fcn.004206fb
mov eax, str.Ping_request__
mov ebx, 0xe
call fcn.00425f5c
call fcn.004254a0
mov eax, 0x5bbb40
mov ebx, 2
call fcn.00425f5c
call fcn.00425618
mov eax, 0x5bbb44
mov ebx, 7
call fcn.00425f5c
mov eax, 0
call fcn.004a7a20
cmp dword [0x5c2cc4], 0
jne 0x4c2cc2
call fcn.004a8710
cmp dword [0x5c2cc4], 0
jne 0x4c2d06
cmp dword [0x5c290c], 0
je 0x4c2cfc
mov eax, str.Error._Could_not_load_the_procedures_used_for_PING.__ERROR:CouldNotLoadProcedures_
mov ebx, 0x52
call fcn.00425f5c
mov eax, 0x5bbba0
mov ebx, 7
call fcn.00425f5c
mov eax, 0
call fcn.004a7a20
mov ebx, 0xffffffce
jmp 0x4c2f88
call dword [0x54493c]
mov dword [esi + 0x116], eax
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
call fcn.00425f5c
call fcn.004206fb
lea ecx, [esi + 0x132]
mov eax, ecx
mov ebx, 0x17
call fcn.00426028
push ecx
call sub.WSOCK32.dll_inet_addr
mov dword [esi + 0x11a], eax
cmp dword [esi + 0x11a], 0xffffffff
jne 0x4c2daa
lea eax, [esi + 0x132]
push eax
call sub.WSOCK32.dll_gethostbyname
mov dword [esi + 0x149], eax
cmp dword [esi + 0x149], 0
je 0x4c2daa
mov eax, dword [esi + 0x149]
lea ebx, [esi + 0x14d]
mov ecx, 0x10
call fcn.0041ca1c
cmp dword [esi + 0x159], 0
je 0x4c2daa
mov eax, dword [esi + 0x159]
mov eax, dword [eax]
mov dword [esi + 0x15d], eax
cmp dword [esi + 0x15d], 0
je 0x4c2daa
mov eax, dword [esi + 0x15d]
mov eax, dword [eax]
mov dword [esi + 0x11a], eax
cmp dword [esi + 0x11a], 0
je 0x4c2dbc
cmp dword [esi + 0x11a], 0xffffffff
jne 0x4c2e22
cmp dword [0x5c290c], 0
je 0x4c2e18
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
call fcn.00425f5c
call fcn.004206fb
mov eax, str.Error._Could_not_convert__
mov ebx, 0x1a
call fcn.00425f5c
call fcn.004254a0
mov eax, str.__to_a_valid_IP_address__ERROR:AddressNotFound_._Either_its_incorrect_or_a_DNS_Server_could_not_be_reached
mov ebx, 0x6a
call fcn.00425f5c
call fcn.00425618
mov eax, 0x5bbc30
mov ebx, 7
call fcn.00425f5c
mov eax, 0
call fcn.004a7a20
mov ebx, 0xffffffec
jmp 0x4c2f88
cmp dword [0x5c290c], 0
je 0x4c2ea8
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
call fcn.00425f5c
call fcn.004206fb
mov eax, str.About_to_try_and_Ping
mov ebx, 0x16
call fcn.00425f5c
call fcn.004254a0
mov eax, 0x5bbc50
mov ebx, 2
call fcn.00425f5c
call fcn.00425618
mov eax, dword [esi + 0x11a]
push eax
call sub.WSOCK32.dll_inet_ntoa
call fcn.004260bc
call fcn.00425618
mov eax, 0x5bbc54
mov ebx, 2
call fcn.00425f5c
call fcn.00425618
mov eax, str.NetPing
mov ebx, 7
call fcn.00425f5c
mov eax, 0
call fcn.004a7a20
lea edi, [esi + 0x11e]
mov eax, edi
mov ebx, 0x14
mov ecx, 0x5bbc60
mov edx, 1
call fcn.00420884
push dword [esp + 0x18]
push 0x116
lea eax, [esi]
push eax
push 0
push 0x14
push edi
mov eax, dword [esi + 0x11a]
push eax
mov eax, dword [esi + 0x116]
push eax
call dword [0x544934]
mov dword [esi + 0x149], eax
cmp dword [0x5c290c], 0
je 0x4c2f73
cmp dword [esi + 0x149], 0
je 0x4c2f3b
mov eax, str.Ping_successful._Returned__NetPing
mov ebx, 0x1c
call fcn.00425f5c
mov eax, dword [esi + 0x149]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5bbc80
mov ebx, 7
call fcn.00425f5c
mov eax, 0
call fcn.004a7a20
jmp 0x4c2f73
mov eax, str.Ping_failed._Returned__NetPing
mov ebx, 0x18
call fcn.00425f5c
mov eax, dword [esi + 0x149]
call fcn.00425c64
call fcn.00425618
mov eax, 0x5bbca0
mov ebx, 7
call fcn.00425f5c
mov eax, 0
call fcn.004a7a20
cmp dword [esi + 0x149], 0
je 0x4c2f83
mov ebx, 0
jmp 0x4c2f88
mov ebx, 0xffffffca
mov eax, esi
call fcn.0046688c
lea eax, [esp + 0xc]
call fcn.004133a8
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 8
ret 4