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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45360b
mov eax, dword fs:[0]
push eax
sub esp, 0x35c
mov eax, dword [0x46a850]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x2ac]
push ecx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0x2c8], eax
call fcn.0041f307
push eax
lea ecx, [ebp - 0x2c4]
call fcn.00407790
mov dword [ebp - 4], 0
call fcn.0041f307
push eax
lea ecx, [ebp - 0x10]
call fcn.00407790
mov byte [ebp - 4], 1
mov dl, byte [0x457b09]
mov byte [ebp - 0x2c0], dl
xor eax, eax
mov dword [ebp - 0x2bf], eax
mov dword [ebp - 0x2bb], eax
mov dword [ebp - 0x2b7], eax
mov dword [ebp - 0x2b3], eax
mov word [ebp - 0x2af], ax
mov byte [ebp - 0x2ad], al
call fcn.0041f307
push eax
lea ecx, [ebp - 0x14]
call fcn.00407790
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2c8], 0x6f
jne 0x404a7f
mov ecx, dword [ebp - 0x18]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x2cc], eax
mov edx, dword [ebp - 0x18]
push edx
push 0
mov eax, dword [ebp - 0x2cc]
push eax
call fcn.0043b1e0
add esp, 0xc
mov dword [ebp - 0x2d0], 0
cmp dword [ebp - 0x2cc], 0
je 0x404a41
mov byte [ebp - 0x2d4], 0
xor ecx, ecx
mov word [ebp - 0x2d3], cx
mov byte [ebp - 0x2d1], cl
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x2cc]
push eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0x2c8], eax
mov ecx, dword [ebp - 0x2cc]
mov dword [ebp - 0x2d0], ecx
cmp dword [ebp - 0x2d0], 0
je 0x4049aa
mov edx, dword [ebp - 0x2d0]
add edx, 0x1b0
mov dword [ebp - 0x2ec], edx
jne 0x404775
mov dword [ebp - 0x2e8], 0
jmp 0x40478a
mov eax, dword [ebp - 0x2ec]
push eax
call fcn.0043d1f0
add esp, 4
mov dword [ebp - 0x2e8], eax
mov ecx, dword [ebp - 0x2e8]
push ecx
mov edx, dword [ebp - 0x2ec]
push edx
lea ecx, [ebp - 0x2c4]
call fcn.004091b0
mov eax, dword [ebp - 0x2d0]
add eax, 0x1c0
mov dword [ebp - 0x2f4], eax
jne 0x4047c2
mov dword [ebp - 0x2f0], 0
jmp 0x4047d7
mov ecx, dword [ebp - 0x2f4]
push ecx
call fcn.0043d1f0
add esp, 4
mov dword [ebp - 0x2f0], eax
mov edx, dword [ebp - 0x2f0]
push edx
mov eax, dword [ebp - 0x2f4]
push eax
lea ecx, [ebp - 0x10]
call fcn.004091b0
mov byte [ebp - 0x2c0], 0
cmp dword [ebp + 0x14], 0
je 0x40485a
mov dword [ebp - 0x2d8], 0
jmp 0x404815
mov ecx, dword [ebp - 0x2d8]
add ecx, 1
mov dword [ebp - 0x2d8], ecx
mov edx, dword [ebp - 0x2d0]
mov eax, dword [ebp - 0x2d8]
cmp eax, dword [edx + 0x190]
jae 0x40485a
mov ecx, dword [ebp - 0x2d0]
add ecx, dword [ebp - 0x2d8]
movzx edx, byte [ecx + 0x194]
push edx
push 0x457b04
mov eax, dword [ebp - 0x2d8]
lea ecx, [ebp + eax*2 - 0x2c0]
push ecx
call fcn.0043dd38
add esp, 0xc
jmp 0x404806
push 0
push str.0.1.0.
lea ecx, [ebp - 0x2c4]
call fcn.00406810
test eax, eax
jge 0x40489e
push 0
push str.0.0.0.0
lea ecx, [ebp - 0x2c4]
call fcn.00406810
test eax, eax
jge 0x40489e
push str.00000000000
lea edx, [ebp - 0x2c0]
push edx
call fcn.0043d860
add esp, 8
test eax, eax
je 0x4048b1
mov eax, dword [ebp - 0x2d0]
mov ecx, dword [eax]
mov dword [ebp - 0x2d0], ecx
jmp 0x404748
push 0
push str.192.
lea ecx, [ebp - 0x2c4]
call fcn.00406810
test eax, eax
jge 0x40490a
push 0
push 0x457adc
lea ecx, [ebp - 0x2c4]
call fcn.00406810
test eax, eax
jge 0x40490a
push 0
push str.172.
lea ecx, [ebp - 0x2c4]
call fcn.00406810
test eax, eax
jge 0x40490a
push 0
push str.255.255.
lea ecx, [ebp - 0x10]
call fcn.00406810
test eax, eax
jl 0x404997
mov dword [ebp - 0x1c], 0
cmp dword [ebp + 0x14], 0
je 0x40492a
lea edx, [ebp - 0x2c0]
push edx
mov eax, dword [ebp + 0x14]
push eax
call fcn.0043dc40
add esp, 8
cmp dword [ebp + 0x10], 0
je 0x404957
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00408fe0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x340], edx
mov eax, dword [ebp - 0x340]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
cmp dword [ebp + 0xc], 0
je 0x404987
lea edx, [ebp - 0x2c4]
push edx
lea ecx, [ebp - 0x14]
call fcn.00408fe0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x344], eax
mov ecx, dword [ebp - 0x344]
push ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
cmp ecx, 0xc0
jne 0x404997
jmp 0x4049aa
mov edx, dword [ebp - 0x2d0]
mov eax, dword [edx]
mov dword [ebp - 0x2d0], eax
jmp 0x404748
mov ecx, dword [ebp - 0x2c8]
sub ecx, 0x10000000
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x2cc]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
jne 0x404a3f
mov dword [ebp - 0x2dc], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
sub eax, 0x10
mov dword [ebp - 0x348], eax
mov ecx, dword [ebp - 0x348]
call fcn.004045c0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
sub ecx, 0x10
mov dword [ebp - 0x34c], ecx
mov ecx, dword [ebp - 0x34c]
call fcn.004045c0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c4]
sub edx, 0x10
mov dword [ebp - 0x350], edx
mov ecx, dword [ebp - 0x350]
call fcn.004045c0
mov eax, dword [ebp - 0x2dc]
jmp 0x404acc
jmp 0x404a7d
mov dword [ebp - 0x2e0], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004077e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004077e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c4]
call fcn.004077e0
mov eax, dword [ebp - 0x2e0]
jmp 0x404acc
jmp 0x404a8d
mov eax, dword [ebp - 0x2c8]
sub eax, 0x20000000
mov dword [ebp - 0x1c], eax
xor ecx, ecx
cmp dword [ebp - 0x1c], 0
sete cl
mov dword [ebp - 0x2e4], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004077e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004077e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c4]
call fcn.004077e0
mov eax, dword [ebp - 0x2e4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0043b25a
mov esp, ebp
pop ebp
ret