Function at 0x10024510
Capabilities:
Send icmp echo request
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x10042074]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x3c], ecx
push ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov dword [ebp - 0x38], eax
cmp eax, 0xffffffff
je 0x100246cc
call sub.IPHLPAPI.DLL_IcmpCreateFile
mov edi, eax
cmp edi, 0xffffffff
je 0x100246cc
movq xmm0, qword [str.Data_Buffer]
mov eax, dword [0x1003a3bc]
push 0x28
movq qword [ebp - 0x10], xmm0
mov dword [ebp - 8], eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x100245a2
push 0x3e8
push 0x20
push ebx
push esi
push 0xc
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x38]
push edi
call sub.IPHLPAPI.DLL_IcmpSendEcho
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
push edi
call sub.IPHLPAPI.DLL_IcmpCloseHandle
push 0
lea eax, [ebp - 0x30]
push eax
push 0
call sub.IPHLPAPI.DLL_GetIpNetTable
cmp eax, 0x7a
jne 0x100245cb
push dword [ebp - 0x30]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [ebp - 0x34], eax
mov esi, eax
push 0
lea eax, [ebp - 0x30]
push eax
push esi
call sub.IPHLPAPI.DLL_GetIpNetTable
test eax, eax
jne 0x100246be
mov eax, dword [esi]
test eax, eax
je 0x100246be
xor ebx, ebx
test eax, eax
jle 0x100246be
lea edi, [esi + 0x14]
mov eax, dword [edi + 4]
cmp eax, 3
je 0x10024607
cmp eax, 4
jne 0x100246b2
mov ecx, dword [edi]
xorps xmm0, xmm0
mov eax, ecx
mov dword [ebp - 0x1c], 0
shr eax, 0x18
push eax
mov eax, ecx
mov dword [ebp - 8], 0
shr eax, 0x10
movzx eax, al
push eax
mov eax, ecx
shr eax, 8
movzx eax, al
push eax
movzx eax, cl
push eax
lea eax, [ebp - 0x2c]
push str._d._d._d._d
push eax
movups xmmword [ebp - 0x2c], xmm0
movups xmmword [ebp - 0x18], xmm0
call fcn.1001a8c0
movzx eax, byte [edi - 3]
push eax
movzx eax, byte [edi - 4]
push eax
movzx eax, byte [edi - 5]
push eax
movzx eax, byte [edi - 6]
push eax
movzx eax, byte [edi - 7]
push eax
movzx eax, byte [edi - 8]
push eax
lea eax, [ebp - 0x18]
push str._02x:_02x:_02x:_02x:_02x:_02x
push eax
call fcn.1001a8c0
mov esi, dword [ebp - 0x3c]
add esp, 0x38
push dword [edi]
call dword [sym.imp.WSOCK32.dll_inet_ntoa]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x100246a6
test cl, cl
je 0x100246a2
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x100246a6
add eax, 2
add esi, 2
test cl, cl
jne 0x10024686
xor eax, eax
jmp 0x100246ab
sbb eax, eax
or eax, 1
test eax, eax
je 0x100246e1
mov esi, dword [ebp - 0x34]
inc ebx
add edi, 0x18
cmp ebx, dword [esi]
jl 0x100245f6
test esi, esi
je 0x100246cc
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100337f6
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x18]
mov eax, ecx
sub edx, eax
nop dword [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x100246f0
push dword [ebp - 0x34]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov eax, 1
pop edi
pop esi
pop ebx
call fcn.100337f6
mov esp, ebp
pop ebp
ret 8