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

Disassembly:
sub esp, 0xc0
mov eax, dword [0x4a97e0]
xor eax, esp
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xc4]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [edi]
xor ebp, ebp
lea edx, [esp + 0x1c]
push edx
push ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x2c], ecx
mov dword [edi], ebp
mov dword [esp + 0x24], ebp
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x4239fe
push ebp
call fcn.00460473
mov eax, dword [esp + 0x20]
add esp, 4
push eax
call fcn.004603b0
add esp, 4
test eax, eax
mov dword [esp + 0x18], eax
jne 0x4239fc
push str.Error_allocating_memory_needed_to_call_GetAdaptersinfo
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.00421450
mov ecx, eax
call fcn.00421ae0
add esp, 4
xor eax, eax
jmp 0x423d6f
mov ebp, eax
lea ecx, [esp + 0x1c]
push ecx
push ebp
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x423d48
test ebp, ebp
mov esi, ebp
je 0x423d3e
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edx, dword [esp + 0x24]
cmp dword [edi], edx
jae 0x423d3e
push 0x1000
push 0
push 0x4b13c0
call fcn.00461780
add esp, 0xc
push 0x1000
push 0x4b13c0
push 0xffffffffffffffff
lea eax, [esi + 8]
push eax
push 0
push 0xfde9
call ebx
push 0x4b13c0
push str.Adapter_Name:__s
call fcn.00421450
mov edi, eax
call fcn.00421970
push 0x1000
push 0
push 0x4b13c0
call fcn.00461780
add esp, 0x14
push 0x1000
push 0x4b13c0
push 0xffffffffffffffff
lea ecx, [esi + 0x10c]
push ecx
push 0
push 0xfde9
call ebx
push 0x4b13c0
push str.__Adapter_Desc:__s
call fcn.00421450
mov edi, eax
call fcn.00421970
push 0x9e
lea edx, [esp + 0x36]
push 0
push edx
mov word [esp + 0x3c], 0
call fcn.00461780
add esp, 0x14
push 0x50
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.00461780
xor edi, edi
add esp, 0xc
cmp dword [esi + 0x190], edi
jbe 0x423b1b
lea esp, [esp]
movzx ecx, byte [esi + edi + 0x194]
push ecx
lea edx, [esp + 0x2c]
push edx
push str._s_.2X
mov eax, edx
push 0x50
push eax
call fcn.0045eb08
add edi, 1
add esp, 0x14
cmp edi, dword [esi + 0x190]
jb 0x423af0
lea ecx, [esp + 0x28]
push ecx
push str.__Adapter_Addr:__s
call fcn.00421450
mov edi, eax
call fcn.00421970
mov ecx, dword [esi + 0x1a0]
lea eax, [ecx - 1]
add esp, 8
cmp eax, 0x74
ja case.0x423b49.2
movzx edx, byte [eax + 0x423d98]
jmp dword [edx*4 + 0x423d88]
mov eax, str.Other
jmp 0x423b6a
mov eax, str.Ethernet
jmp 0x423b6a
mov eax, str.IEEE_80211_Wireless
jmp 0x423b6a
mov eax, str.Unknown
push ecx
push eax
push str.__Adapter_Type___s__enum:__d_
call fcn.00421450
mov edi, eax
call fcn.00421970
add esp, 0xc
push 0x1000
push 0
push 0x4b13c0
call fcn.00461780
add esp, 0xc
push 0x1000
push 0x4b13c0
push 0xffffffffffffffff
lea ebp, [esi + 0x1b0]
push ebp
push 0
push 0xfde9
call ebx
push 0x4b13c0
push str.__IP_Address:__s
call fcn.00421450
mov edi, eax
call fcn.00421970
push 0x1000
push 0
push 0x4b13c0
call fcn.00461780
add esp, 0x14
push 0x1000
push 0x4b13c0
push 0xffffffffffffffff
lea eax, [esi + 0x1c0]
push eax
push 0
push 0xfde9
call ebx
push 0x4b13c0
push str.__IP_Mask:__s
call fcn.00421450
mov edi, eax
call fcn.00421970
push 0x1000
push 0
push 0x4b13c0
call fcn.00461780
add esp, 0x14
push 0x1000
push 0x4b13c0
push 0xffffffffffffffff
lea eax, [esi + 0x1d8]
push eax
push 0
push 0xfde9
call ebx
push 0x4b13c0
push str.__Gateway:__s
call fcn.00421450
mov edi, eax
call fcn.00421970
add esp, 8
lea ecx, [esi + 0x1c0]
call fcn.00423e10
mov ecx, ebp
mov edi, eax
call fcn.00423e10
test edi, edi
je 0x423d2c
test eax, eax
je 0x423d2c
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edx
push str.__Adding_Adapter_
call fcn.00421450
mov edi, eax
call fcn.00421970
push 0x1000
push 0
push 0x4b13c0
call fcn.00461780
add esp, 0x14
push 0x1000
push 0x4b13c0
push 0xffffffffffffffff
push ebp
push 0
push 0xfde9
call ebx
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
mov ebp, dword [esp + 0x20]
lea eax, [eax + eax*4]
push 0x4b13c0
shl eax, 4
add eax, ebp
push 0x14
push eax
call fcn.0045ea06
add esp, 0xc
push 0x1000
push 0
push 0x4b13c0
call fcn.00461780
add esp, 0xc
push 0x1000
push 0x4b13c0
push 0xffffffffffffffff
lea eax, [esi + 0x1c0]
push eax
push 0
push 0xfde9
call ebx
mov eax, dword [edi]
lea ecx, [eax + eax*4]
push 0x4b13c0
shl ecx, 4
lea edx, [ecx + ebp + 0x28]
push 0x14
push edx
call fcn.0045ea06
add esp, 0xc
add dword [edi], 1
mov esi, dword [esi]
test esi, esi
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
jne 0x423a21
mov eax, dword [edi]
push eax
push str.Found__d_connected_Adapters
jmp 0x423d4e
push eax
push str.ERROR:_GetAdaptersInfo_failed_with_error:__d
call fcn.00421450
mov edi, eax
call fcn.00421970
add esp, 8
test ebp, ebp
je 0x423d6a
push ebp
call fcn.00460473
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0045e88c
add esp, 0xc0
ret