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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47977c
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4c000c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x28], 0x90
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.mfc120u.dll_Ordinal_1506]
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4061f3
mov ecx, dword [ebp - 0x28]
push ecx
push 0
mov edx, dword [ebp - 0x1c]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
jmp 0x4061fa
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], 0x90
push 0x48d210
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc120u.dll_Ordinal_286]
mov dword [ebp - 4], 1
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0
push 0
push 2
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x6f
jne 0x406279
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.mfc120u.dll_Ordinal_1508]
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.mfc120u.dll_Ordinal_265]
add esp, 4
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0
push 0
push 2
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4062d3
mov dword [ebp - 0x18], 0
jmp 0x406291
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
cmp eax, dword [edx + 0x34]
jae 0x4062bb
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + 0x2c]
push edx
push str._02X_
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.mfc120u.dll_Ordinal_2435]
add esp, 0xc
jmp 0x406288
push 1
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc120u.dll_Ordinal_5787]
sub eax, 1
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc120u.dll_Ordinal_3803]
cmp dword [ebp - 0x10], 0
je 0x4062ec
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.mfc120u.dll_Ordinal_1508]
add esp, 4
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc120u.dll_Ordinal_8064]
movzx eax, al
test eax, eax
je 0x40632f
lea ecx, [ebp - 0x48]
push ecx
call fcn.00405d10
add esp, 4
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x44], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x44]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc120u.dll_Ordinal_1518]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 8]
call dword [sym.imp.mfc120u.dll_Ordinal_280]
mov edx, dword [ebp - 0x30]
or edx, 1
mov dword [ebp - 0x30], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret