Function at 0x4017b2
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
xor edi, edi
push 0x80
mov ebx, ecx
push edi
push ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], edi
call fcn.004490c0
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
add esp, 0xc
lea eax, [ebp - 4]
push eax
push edi
push edi
push 0x10
add ebx, 2
push 2
mov dword [ebp - 0x14], ebx
call esi
cmp eax, 0x6f
jne 0x40181d
push dword [ebp - 4]
call fcn.00447b25
mov ebx, eax
pop ecx
mov dword [ebp - 0x2c], ebx
test ebx, ebx
je 0x40181d
lea eax, [ebp - 4]
push eax
push ebx
push edi
push 0x10
push 2
call esi
test eax, eax
je 0x401825
push ebx
call fcn.00447aed
pop ecx
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
mov esi, ebx
mov dword [ebp - 8], ebx
mov edi, dword [esi + 0x24]
xor edx, edx
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
cmp ax, dx
jne 0x401832
mov ebx, dword [esi + 0x28]
sub edi, ecx
sar edi, 1
lea ecx, [ebx + 2]
mov ax, word [ebx]
add ebx, 2
cmp ax, dx
jne 0x401847
sub ebx, ecx
lea eax, [edi*2 + 2]
sar ebx, 1
push eax
mov dword [ebp - 0x24], ebx
call fcn.00447b25
lea ecx, [ebx*2 + 2]
push ecx
mov dword [ebp - 0xc], eax
call fcn.00447b25
mov edx, dword [ebp - 0xc]
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
test edx, edx
je 0x40181d
test eax, eax
je 0x40181d
push dword [esi + 0x24]
lea ecx, [edi + 1]
push ecx
push edx
call fcn.004485ed
push dword [esi + 0x28]
lea eax, [ebx + 1]
push eax
push dword [ebp - 0x10]
call fcn.004485ed
and dword [ebp - 0x20], 0
add esp, 0x18
test edi, edi
je 0x4018dc
mov ebx, dword [ebp - 0x20]
mov esi, dword [ebp - 0xc]
movzx eax, word [esi + ebx*2]
push eax
call fcn.0044829a
pop ecx
test eax, eax
je 0x4018d1
movzx eax, word [esi + ebx*2]
push eax
call fcn.00448242
pop ecx
mov word [esi + ebx*2], ax
inc ebx
cmp ebx, edi
jb 0x4018b3
mov esi, dword [ebp - 8]
mov ebx, dword [ebp - 0x24]
xor edi, edi
test ebx, ebx
je 0x40190b
mov esi, dword [ebp - 0x10]
movzx eax, word [esi + edi*2]
push eax
call fcn.0044829a
pop ecx
test eax, eax
je 0x401903
movzx eax, word [esi + edi*2]
push eax
call fcn.00448242
pop ecx
mov word [esi + edi*2], ax
inc edi
cmp edi, ebx
jb 0x4018e5
mov esi, dword [ebp - 8]
mov ebx, str.virtual
push ebx
push dword [esi + 0x28]
xor edi, edi
call fcn.004482ab
pop ecx
pop ecx
test eax, eax
jne 0x401947
push str.juniper
push dword [esi + 0x28]
call fcn.004482ab
pop ecx
pop ecx
test eax, eax
jne 0x401947
push str.tunner
push dword [esi + 0x28]
call fcn.004482ab
pop ecx
pop ecx
test eax, eax
je 0x40194a
xor edi, edi
inc edi
push ebx
push dword [esi + 0x24]
call fcn.004482ab
pop ecx
pop ecx
test eax, eax
jne 0x40197f
push str.juniper
push dword [esi + 0x24]
call fcn.004482ab
pop ecx
pop ecx
test eax, eax
jne 0x40197f
push str.tunner
push dword [esi + 0x24]
call fcn.004482ab
pop ecx
pop ecx
test eax, eax
je 0x401982
xor edi, edi
inc edi
test edi, edi
jne 0x4019bb
cmp dword [esi + 0x40], 6
jne 0x4019bb
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0x14]
xor ebx, ebx
mov dword [ecx], eax
mov ax, word [esi + 0x30]
mov word [ecx + 4], ax
mov eax, dword [ebp - 0x28]
add ecx, 6
inc byte [eax + 1]
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ebx
cmp eax, 2
je 0x4019cc
jmp 0x4019be
mov ebx, dword [ebp - 0x1c]
mov esi, dword [esi + 8]
mov dword [ebp - 8], esi
test esi, esi
jne 0x40182a
push dword [ebp - 0x2c]
call fcn.00447aed
pop ecx
mov eax, ebx
jmp 0x401820