Function at 0x658c1c16
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xec
mov dword [ebp - 0x64], 0x658db3c0
mov dword [ebp - 0x60], 0x6593013e
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x18]
mov dword [eax], edx
mov edx, 0x658c222d
mov dword [eax + 4], edx
mov dword [eax + 8], esp
lea eax, [ebp - 0x7c]
mov dword [esp], eax
call fcn.658e7610
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov dword [ebp - 0x78], 0xffffffff
call fcn.658bd5aa
mov eax, dword [ebp + 8]
add eax, 4
mov dword [esp], eax
mov dword [ebp - 0x78], 0x11
call fcn.658bd5aa
mov eax, dword [ebp + 8]
add eax, 8
mov dword [esp], eax
mov dword [ebp - 0x78], 0x10
call fcn.658bd5aa
mov eax, dword [ebp + 8]
add eax, 0xc
mov dword [esp], eax
mov dword [ebp - 0x78], 0xf
call fcn.658bd5aa
mov eax, dword [ebp + 8]
add eax, 0x14
mov dword [esp], eax
mov dword [ebp - 0x78], 0xe
call fcn.659123c8
mov eax, dword [ebp + 8]
add eax, 0x18
mov dword [esp], eax
mov dword [ebp - 0x78], 0xd
call fcn.659123c8
mov eax, dword [ebp + 8]
mov dword [eax + 0x3c], 0
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov dword [ebp - 0x78], 0xc
call fcn.658c259e
test al, al
jne 0x658c1dc3
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.658c24c2
test al, al
jne 0x658c1dc3
lea eax, [ebp - 0x38]
mov dword [esp], eax
call fcn.65908a24
lea eax, [ebp - 0x38]
mov dword [esp + 8], eax
mov dword [esp + 4], str.Pinger_was_unable_to_load_either_Icmp.dll_or_Iphlpapi.dll
lea eax, [ebp - 0x28]
mov dword [esp], eax
mov dword [ebp - 0x78], 0xb
call fcn.65912068
lea eax, [ebp - 0x28]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
add eax, 0x14
mov dword [esp], eax
mov dword [ebp - 0x78], 0xa
call fcn.65912a28
jmp 0x658c1d70
lea eax, [ebp - 0x28]
mov dword [esp], eax
mov dword [ebp - 0x78], 0xb
call fcn.65912888
jmp 0x658c1dac
lea eax, [ebp - 0x38]
mov dword [esp], eax
call fcn.65908a54
mov eax, dword [ebp + 8]
mov byte [eax + 0x12], 0
jmp 0x658c24ae
mov eax, dword [ebp + 8]
mov dword [ebp - 0x8c], eax
mov edx, dword [ebp + 0xc]
mov dword [esp], edx
mov dword [ebp - 0x78], 0xc
call fcn.658f61c4
mov dword [esp], eax
call sub.WS2_32.DLL_gethostbyname
sub esp, 4
mov edx, dword [ebp - 0x8c]
mov dword [edx + 0x24], eax
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx + 0x24]
test eax, eax
jne 0x658c1f3b
lea eax, [ebp - 0x38]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.65908a24
lea eax, [ebp - 0x48]
mov dword [esp + 8], eax
mov dword [esp + 4], str.Could_not_find_IP_address_for
lea eax, [ebp - 0x28]
mov dword [esp], eax
mov dword [ebp - 0x78], 9
call fcn.65912068
lea eax, [ebp - 0x28]
mov edx, dword [ebp + 0xc]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x90]
mov dword [esp], eax
mov dword [ebp - 0x78], 8
call fcn.6592dd90
sub esp, 4
lea eax, [ebp - 0x38]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
add eax, 0x14
mov dword [esp], eax
mov dword [ebp - 0x78], 7
call fcn.65912a28
jmp 0x658c1ea8
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov dword [ebp - 0x78], 8
call fcn.65912888
jmp 0x658c1ee8
lea eax, [ebp - 0x28]
mov dword [esp], eax
mov dword [ebp - 0x78], 9
call fcn.65912888
jmp 0x658c1f24
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.65908a54
mov eax, dword [ebp + 8]
mov byte [eax + 0x12], 0
jmp 0x658c24ae
mov edx, dword [ebp + 8]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x78], 0xc
call eax
mov edx, dword [ebp - 0xa0]
mov dword [edx + 0x28], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x28], 0xffffffff
jne 0x658c2032
lea eax, [ebp - 0x38]
mov dword [esp], eax
call fcn.65908a24
lea eax, [ebp - 0x38]
mov dword [esp + 8], eax
mov dword [esp + 4], str.Unable_to_open_ping_service.
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0x78], 6
call fcn.65912068
lea eax, [ebp - 0x48]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
add eax, 0x14
mov dword [esp], eax
mov dword [ebp - 0x78], 5
call fcn.65912a28
jmp 0x658c1fdf
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0x78], 6
call fcn.65912888
jmp 0x658c201b
lea eax, [ebp - 0x38]
mov dword [esp], eax
call fcn.65908a54
mov eax, dword [ebp + 8]
mov byte [eax + 0x12], 0
jmp 0x658c24ae
mov eax, dword [ebp + 8]
mov dword [ebp - 0xac], eax
mov dword [esp], 0x40
mov dword [ebp - 0x78], 0xc
call fcn.658dfba0
mov edx, dword [ebp - 0xac]
mov dword [edx + 0x1c], eax
mov dword [esp + 8], 0x40
mov dword [esp + 4], 0xffffffaa
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb0], eax
mov dword [esp + 4], 0x20
mov dword [esp], 0x40
call sub.KERNEL32.dll_GlobalAlloc
sub esp, 8
mov edx, dword [ebp - 0xb0]
mov dword [edx + 0x20], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x20], 0
jne 0x658c2174
lea eax, [ebp - 0x38]
mov dword [esp], eax
call fcn.65908a24
lea eax, [ebp - 0x38]
mov dword [esp + 8], eax
mov dword [esp + 4], str.Failed_to_allocate_global_ping_packet_buffer.
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0x78], 4
call fcn.65912068
lea eax, [ebp - 0x48]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
add eax, 0x14
mov dword [esp], eax
mov dword [ebp - 0x78], 3
call fcn.65912a28
jmp 0x658c2121
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0x78], 4
call fcn.65912888
jmp 0x658c215d
lea eax, [ebp - 0x38]
mov dword [esp], eax
call fcn.65908a54
mov eax, dword [ebp + 8]
mov byte [eax + 0x12], 0
jmp 0x658c24ae
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x20]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
mov dword [edx + 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
mov word [eax + 0xc], 4
mov eax, dword [ebp + 8]
mov byte [eax + 0x12], 1
mov eax, dword [ebp + 8]
mov byte [eax + 0x11], 0
mov eax, dword [ebp + 8]
mov byte [eax + 0x10], 0
mov dword [esp + 0xc], 1
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x658c3012
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0x78], 0xc
call fcn.658c3644
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.658c3714
test al, al
jne 0x658c24ae
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.65908a24
lea eax, [ebp - 0x28]
mov dword [esp + 8], eax
mov dword [esp + 4], str.Failed_to_create_thread_for_pinger.
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov dword [ebp - 0x78], 2
call fcn.65912068
lea eax, [ebp - 0x38]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
add eax, 0x14
mov dword [esp], eax
mov dword [ebp - 0x78], 1
call fcn.65912a28
jmp 0x658c233e
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov dword [ebp - 0x78], 2
call fcn.65912888
jmp 0x658c2377
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.65908a54
mov eax, dword [ebp + 8]
mov byte [eax + 0x12], 0
jmp 0x658c24ae
lea eax, [ebp - 0x7c]
mov dword [esp], eax
call fcn.658e76f0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret