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

Disassembly:
sub esp, 0x40
mov eax, dword [0x4443b0]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x4c]
xor esi, esi
cmp eax, 0xffffffff
mov dword [esp + 0xc], edi
je 0x408e2b
cmp eax, dword [edi + 0x370]
jne 0x408e2b
test ecx, ecx
je 0x4090b0
cmp dword [edi + 0x370], 1
jne 0x409074
push ebx
push ebp
test ecx, ecx
je 0x408e79
mov ebx, dword [edi + 0x3f0]
mov edx, dword [edi + 0x3ec]
mov eax, ebx
cmp eax, ebx
je 0x408e69
mov esi, eax
mov edi, edx
add eax, 0x1c
mov ecx, 7
add edx, 0x1c
cmp eax, ebx
rep movsd dword es:[edi], dword [esi]
jne 0x408e50
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0x3f0]
mov dword [edi + 0x3f0], edx
mov dword [esp + 0x54], eax
push 0x280
lea esi, [edi + 0x3b4]
mov ebp, 0x8005
mov dword [esp + 0x14], 0x280
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [esp + 0x54], ebx
je 0x409067
lea ecx, [esp + 0x10]
push ecx
push ebx
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x408eec
push ebx
call dword [sym.imp.MSVCRT.dll_free]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 8
mov dword [esp + 0x54], eax
test eax, eax
je 0x409059
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x10]
push eax
push ecx
call sub.iphlpapi.dll_GetAdaptersInfo
mov ebx, dword [esp + 0x54]
test eax, eax
jne 0x40905d
mov ebp, 0x8006
mov cl, byte [ebx + 0x1b0]
lea eax, [ebx + 0x1b0]
test cl, cl
je 0x40904f
mov cl, byte [ebx + 0x1d8]
lea edi, [ebx + 0x1d8]
test cl, cl
je 0x40904b
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
lea edx, [ebx + 0x194]
mov dword [esp + 0x30], eax
push edi
mov eax, dword [edx]
mov dword [esp + 0x2c], eax
mov cx, word [edx + 4]
mov word [esp + 0x30], cx
call dword [sym.imp.WS2_32.dll_inet_addr]
push 3
lea edx, [esp + 0x20]
push 0xa
push edx
push edi
lea ecx, [esi + 4]
mov dword [esp + 0x34], eax
call fcn.0042f5a0
test eax, eax
je 0x40904b
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call fcn.0040b870
cmp eax, 2
jne 0x408fd2
mov eax, dword [esp + 0x18]
mov ebp, 0x8007
lea edx, [eax*8]
sub edx, eax
mov eax, dword [esi + 0x38]
lea ecx, [eax + edx*4 + 6]
mov edx, dword [esp + 0x1c]
mov dword [ecx], edx
mov ax, word [esp + 0x20]
mov word [ecx + 4], ax
mov eax, dword [esp + 0x18]
mov edx, dword [esi + 0x38]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
mov dx, word [esp + 0x20]
mov word [eax + 4], dx
jmp 0x409041
cmp eax, 1
je 0x409041
test eax, eax
jne 0x409041
mov edx, dword [esp + 0x1c]
mov ecx, 7
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x40], eax
mov ax, word [esp + 0x20]
mov dword [esp + 0x34], edx
mov dx, word [esp + 0x2c]
mov dword [esp + 0x44], ecx
lea ecx, [esi + 0x34]
mov word [esp + 0x38], ax
mov word [esp + 0x48], dx
mov edx, dword [ecx + 8]
lea eax, [esp + 0x34]
push eax
push edx
call fcn.0040a4f0
sub ebp, 0x8007
neg ebp
sbb ebp, ebp
and ebp, 0xffff7ff9
add ebp, 0x8007
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [esp + 0x14]
mov ebx, dword [ebx]
test ebx, ebx
jne 0x408ef9
mov ebx, dword [esp + 0x54]
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov ecx, esi
call fcn.0040a850
mov esi, ebp
pop ebp
pop ebx
jmp 0x4090b0
push 0
lea ecx, [edi + 0x3b4]
call fcn.0040b000
mov esi, eax
test esi, esi
jne 0x4090b0
mov eax, dword [edi + 0x328]
test eax, eax
je 0x4090ab
mov ecx, dword [edi + 0x32c]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
jne 0x4090b0
mov esi, 0x8008
mov ecx, dword [edi + 0x370]
mov eax, esi
pop edi
mov dword [0x4443b0], ecx
pop esi
add esp, 0x40
ret 4