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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa70
mov eax, dword [0x1251b5c]
xor eax, dword [ebp + 4]
push ebx
push esi
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 8]
push eax
push 0
call sub.iphlpapi.dll_GetAdaptersInfo
push dword [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call edi
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0xc], ebx
je 0x106bb93
jmp 0x106bb67
mov ebx, dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
push ebx
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x106bba4
push ebx
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 8]
push 0
call esi
push eax
call edi
test eax, eax
mov dword [ebp - 0xc], eax
jne 0x106bb64
push 0x1015f70
call dword [sym.imp.msvcrt.dll_printf]
pop ecx
jmp 0x106bd93
test eax, eax
je 0x106bbcd
push 0x1015f4c
call dword [sym.imp.msvcrt.dll_printf]
test ebx, ebx
pop ecx
je 0x106bd93
push ebx
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x106bd93
test ebx, ebx
mov word [ebp - 0xa70], 4
mov byte [ebp - 0xa6e], 0
mov esi, 0x1015f3c
lea edi, [ebp - 0xa46]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
je 0x106bd93
jmp 0x106bbfb
mov ebx, dword [ebp - 0xc]
lea eax, [ebx + 0x10c]
lea edx, [ebp - 0xa26]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x106bc09
mov eax, dword [ebx + 0x19c]
mov dword [ebp - 0x924], eax
lea eax, [ebp - 8]
push eax
xor edi, edi
push edi
push dword [ebx + 0x19c]
call sub.iphlpapi.dll_GetPerAdapterInfo
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
cmp esi, edi
jne 0x106bc56
push 0x100d198
call dword [sym.imp.msvcrt.dll_printf]
pop ecx
jmp 0x106bc98
lea eax, [ebp - 8]
push eax
push esi
push dword [ebx + 0x19c]
call sub.iphlpapi.dll_GetPerAdapterInfo
add esi, 0xc
cmp esi, edi
mov dword [ebp - 0x10], edi
je 0x106bc98
lea edi, [ebp - 0x850]
cmp dword [ebp - 0x10], 4
jge 0x106bc98
push 0x10
lea eax, [esi + 4]
push eax
push edi
call dword [sym.imp.msvcrt.dll_strncpy]
mov esi, dword [esi]
add esp, 0xc
inc dword [ebp - 0x10]
add edi, 0x10
test esi, esi
jne 0x106bc76
lea eax, [ebx + 0x190]
mov ecx, dword [eax]
mov dword [ebp - 0x89c], ecx
mov ecx, dword [eax]
mov eax, ecx
shr ecx, 2
lea esi, [ebx + 0x194]
lea edi, [ebp - 0x898]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x1a8]
test eax, eax
mov esi, dword [sym.imp.msvcrt.dll_strncpy]
push 0x10
je 0x106bcf8
add eax, 4
push eax
lea eax, [ebp - 0x890]
push eax
call esi
mov eax, dword [ebx + 0x1a8]
add eax, 0x14
push 0x10
push eax
lea eax, [ebp - 0x880]
push eax
call esi
jmp 0x106bd20
lea eax, [ebx + 0x1b0]
push eax
lea eax, [ebp - 0x890]
push eax
call esi
push 0x10
lea eax, [ebx + 0x1c0]
push eax
lea eax, [ebp - 0x880]
push eax
call esi
mov esi, dword [sym.imp.msvcrt.dll_strncpy]
add esp, 0x18
push 0x10
pop edi
push edi
lea eax, [ebx + 0x200]
push eax
lea eax, [ebp - 0x870]
push eax
call esi
push edi
lea eax, [ebx + 0x1d8]
push eax
lea eax, [ebp - 0x860]
push eax
call esi
push edi
lea eax, [ebx + 0x22c]
push eax
lea eax, [ebp - 0x810]
push eax
call esi
push edi
add ebx, 0x254
lea eax, [ebp - 0x800]
push ebx
push eax
call esi
add esp, 0x30
lea eax, [ebp - 0xa70]
push eax
mov ebx, 0x1251a48
mov eax, 0x1251a50
call fcn.0106b4bb
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
test eax, eax
mov dword [ebp - 0xc], eax
jne 0x106bbf8
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop edi
pop esi
pop ebx
call fcn.0105b9a4
leave
ret