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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43deab
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x140
mov eax, dword [0x45506c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x144], esi
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
mov eax, 0x3a98
mov dword [ebp - 4], 0
mov dword [ebp - 0x134], eax
push eax
call fcn.00428759
mov edi, eax
add esp, 4
mov dword [ebp - 0x13c], edi
test edi, edi
je 0x40853e
lea eax, [ebp - 0x134]
push eax
push edi
push 0
push 0x10
push 0
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
cmp eax, 0x6f
jne 0x408531
push edi
call fcn.0042873e
mov eax, dword [ebp - 0x134]
add esp, 4
jmp 0x4084f2
test eax, eax
je 0x40859a
push edi
call fcn.0042873e
add esp, 4
mov dword [esi + 0x10], 0
mov ecx, esi
push 6
mov dword [esi + 0x14], 0xf
push str.unknow
mov byte [esi], 0
call fcn.004068a0
mov edx, dword [ebp - 0x11c]
cmp edx, 0x10
jb 0x40877e
mov ecx, dword [ebp - 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408774
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40879e
jmp 0x408774
mov dword [ebp - 0x140], edi
push str.Virtual
push dword [edi + 0x24]
call fcn.00424b56
add esp, 8
test eax, eax
jne 0x4085c8
push str.Loopback
push dword [edi + 0x24]
call fcn.00424b56
add esp, 8
test eax, eax
je 0x4085da
mov edi, dword [edi + 8]
mov dword [ebp - 0x140], edi
test edi, edi
jne 0x4085a0
jmp 0x40873f
mov eax, dword [edi + 0x34]
test eax, eax
je 0x40873f
xor esi, esi
mov dword [ebp - 0x138], esi
test eax, eax
je 0x408739
nop word [eax + eax]
push 0x100
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.00425940
movzx eax, byte [edi + esi + 0x2c]
add esp, 0xc
push eax
lea eax, [ebp - 0x118]
push str._02x
push eax
call fcn.00409360
lea esi, [ebp - 0x118]
add esp, 0xc
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x408640
mov edx, dword [ebp - 0x11c]
sub esi, ecx
mov ecx, dword [ebp - 0x120]
mov eax, edx
sub eax, ecx
push esi
cmp esi, eax
ja 0x408695
lea eax, [esi + ecx]
cmp edx, 0x10
mov dword [ebp - 0x120], eax
lea edi, [ebp - 0x130]
cmovae edi, dword [ebp - 0x130]
lea eax, [ebp - 0x118]
add edi, ecx
push eax
push edi
call fcn.004253c0
mov byte [esi + edi], 0
add esp, 0xc
mov edi, dword [ebp - 0x140]
jmp 0x4086b5
lea eax, [ebp - 0x118]
mov byte [ebp - 0x148], 0
push eax
push dword [ebp - 0x148]
lea ecx, [ebp - 0x130]
push esi
call fcn.00407460
mov eax, dword [edi + 0x34]
mov esi, dword [ebp - 0x138]
dec eax
cmp esi, eax
jae 0x408729
mov edx, dword [ebp - 0x11c]
mov eax, edx
mov ecx, dword [ebp - 0x120]
sub eax, ecx
push 1
push 0x44da7c
cmp eax, 1
jb 0x40870f
cmp edx, 0x10
lea esi, [ebp - 0x130]
lea eax, [ecx + 1]
cmovae esi, dword [ebp - 0x130]
add esi, ecx
mov dword [ebp - 0x120], eax
push esi
call fcn.004253c0
mov byte [esi + 1], 0
add esp, 0xc
mov esi, dword [ebp - 0x138]
jmp 0x408729
mov byte [ebp - 0x14c], 0
lea ecx, [ebp - 0x130]
push dword [ebp - 0x14c]
push 1
call fcn.00407460
inc esi
mov dword [ebp - 0x138], esi
cmp esi, dword [edi + 0x34]
jb 0x408600
mov esi, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.0042873e
movups xmm0, xmmword [ebp - 0x130]
mov dword [esi + 0x10], 0
add esp, 4
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x120]
movq qword [esi + 0x10], xmm0
jmp 0x40877e
push edx
push ecx
call fcn.0040d92d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040d917
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00428920
int3