Function at 0x408190
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 0x43da6b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x140
mov eax, dword [0x45406c]
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.00428329
mov edi, eax
add esp, 4
mov dword [ebp - 0x13c], edi
test edi, edi
je 0x4084af
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 0x408255
push edi
call fcn.0042830e
mov eax, dword [ebp - 0x134]
add esp, 4
jmp 0x408212
test eax, eax
je 0x4082be
push edi
call fcn.0042830e
add esp, 4
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov byte [esi], 0
push 0x12
push str.unknow_macaddr_002
call fcn.004067e0
mov edx, dword [ebp - 0x11c]
cmp edx, 0x10
jb 0x408504
mov ecx, dword [ebp - 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4084fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408524
jmp 0x4084fa
mov dword [ebp - 0x140], edi
nop dword [eax]
nop dword [eax + eax]
push str.Virtual
push dword [edi + 0x24]
call fcn.00424726
add esp, 8
test eax, eax
jne 0x4082ff
push str.Loopback
push dword [edi + 0x24]
call fcn.00424726
add esp, 8
test eax, eax
jne 0x4082ff
mov eax, dword [edi + 0x34]
test eax, eax
jne 0x408311
mov edi, dword [edi + 8]
mov dword [ebp - 0x140], edi
test edi, edi
jne 0x4082d0
jmp 0x40845f
xor esi, esi
mov dword [ebp - 0x138], esi
test eax, eax
je 0x408459
push 0x100
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.00425510
movzx eax, byte [edi + esi + 0x2c]
add esp, 0xc
push eax
lea eax, [ebp - 0x118]
push str._02x
push eax
call fcn.00408f40
lea esi, [ebp - 0x118]
add esp, 0xc
lea ecx, [esi + 1]
nop word [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x408360
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 0x4083b5
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.00424f90
mov byte [esi + edi], 0
add esp, 0xc
mov edi, dword [ebp - 0x140]
jmp 0x4083d5
lea eax, [ebp - 0x118]
mov byte [ebp - 0x148], 0
push eax
push dword [ebp - 0x148]
lea ecx, [ebp - 0x130]
push esi
call fcn.00407360
mov eax, dword [edi + 0x34]
mov esi, dword [ebp - 0x138]
dec eax
cmp esi, eax
jae 0x408449
mov edx, dword [ebp - 0x11c]
mov eax, edx
mov ecx, dword [ebp - 0x120]
sub eax, ecx
push 1
push 0x44ca48
cmp eax, 1
jb 0x40842f
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.00424f90
mov byte [esi + 1], 0
add esp, 0xc
mov esi, dword [ebp - 0x138]
jmp 0x408449
mov byte [ebp - 0x14c], 0
lea ecx, [ebp - 0x130]
push dword [ebp - 0x14c]
push 1
call fcn.00407360
inc esi
mov dword [ebp - 0x138], esi
cmp esi, dword [edi + 0x34]
jb 0x408321
mov esi, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.0042830e
add esp, 4
cmp dword [ebp - 0x120], 0
jne 0x408488
push 0x12
push str.unknow_macaddr_003
lea ecx, [ebp - 0x130]
call fcn.004067e0
movups xmm0, xmmword [ebp - 0x130]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x120]
movq qword [esi + 0x10], xmm0
jmp 0x408504
push 0x12
mov dword [esi + 0x10], 0
mov ecx, esi
mov dword [esi + 0x14], 0xf
push str.unknow_macaddr_001
mov byte [esi], 0
call fcn.004067e0
mov edx, dword [ebp - 0x11c]
cmp edx, 0x10
jb 0x408504
mov ecx, dword [ebp - 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4084fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408529
push edx
push ecx
call fcn.0040d4ef
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.0040d4d9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004284f0
call fcn.004284f0
int3