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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0x288
push 0x288
call fcn.00669543
add esp, 4
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x6f
jne 0x4100c1
mov edx, dword [ebp - 0x10]
push edx
call fcn.00669233
add esp, 4
mov eax, dword [ebp - 4]
push eax
call fcn.00669543
add esp, 4
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x410301
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x410301
push str.Corechip_SR9900
mov ecx, dword [ebp - 0xc]
add ecx, 0x10c
push ecx
call fcn.00404520
add esp, 8
test eax, eax
je 0x4102f4
mov edx, dword [ebp - 0xc]
add edx, 8
push edx
push str.Adapter_name:__s_r_n
call fcn.0066610b
add esp, 8
mov eax, dword [ebp - 0xc]
add eax, 0x10c
push eax
push str.Adapter_desc:__s_r_n
call fcn.0066610b
add esp, 8
push 0
push 0
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + 0x199]
push edx
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 0x198]
push ecx
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + 0x197]
push eax
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + 0x196]
push edx
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 0x195]
push ecx
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + 0x194]
push eax
push str.Adapter_macAddress:__02X__02X__02X__02X__02X__02X__02X__02X_r_n
call fcn.0066610b
add esp, 0x24
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + 0x199]
push edx
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 0x198]
push ecx
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + 0x197]
push eax
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + 0x196]
push edx
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 0x195]
push ecx
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + 0x194]
push eax
push str...mac_02X_02X_02X_02X_02X_02X_r_n
call fcn.0066610b
add esp, 0x1c
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + 0x195]
push edx
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 0x194]
push ecx
push str..prefixmac_02X_02X_r_n
call fcn.0066610b
add esp, 0xc
mov edx, dword [ebp - 0xc]
add edx, 0x1b0
push edx
push str.IP_Address:__s_r_n
call fcn.0066610b
add esp, 8
mov eax, dword [ebp - 0xc]
add eax, 0x1c0
push eax
push str.IP_Mask:__s_r_n
call fcn.0066610b
add esp, 8
mov ecx, dword [ebp - 0xc]
add ecx, 0x1d8
push ecx
push str.Getway:__s_r_n
call fcn.0066610b
add esp, 8
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x1a4], 0
je 0x410286
push str.DHCP_Enable:__yes_r_n
call fcn.0066610b
add esp, 4
mov esi, dword [ebp - 0xc]
add esi, 0x1fc
sub esp, 0x28
mov ecx, 0xa
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push str.DHCP_Server:__s_r_n
call fcn.0066610b
add esp, 0x2c
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x27c]
push ecx
mov edx, dword [eax + 0x278]
push edx
push str.Lease_obtained:__d_r_n
call fcn.0066610b
add esp, 0xc
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x224], 0
je 0x4102e5
push str.Have_Wins:_yes_r_n
call fcn.0066610b
add esp, 4
mov esi, dword [ebp - 0xc]
add esi, 0x228
sub esp, 0x28
mov ecx, 0xa
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push str.Primery_Wins:__s_r_n
call fcn.0066610b
add esp, 0x2c
mov esi, dword [ebp - 0xc]
add esi, 0x250
sub esp, 0x28
mov ecx, 0xa
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push str.Seconde_Wins:__s_r_n
call fcn.0066610b
add esp, 0x2c
jmp 0x4102f2
push str.Have_Wins:_No__r_n
call fcn.0066610b
add esp, 4
jmp 0x410301
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0xc], edx
jmp 0x4100d1
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret