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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dcef5
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x66e8b0]
xor eax, ebp
mov dword [ebp - 0x28], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], ecx
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x64]
call fcn.0047f1f0
movzx eax, al
test eax, eax
jne 0x47fb3d
mov al, byte [ebp - 0xd]
jmp 0x47fe49
movzx ecx, byte [ebp + 8]
test ecx, ecx
jne 0x47fb63
mov edx, dword [ebp - 0x64]
movzx eax, byte [edx + 0xd0]
test eax, eax
jne 0x47fb63
mov ecx, dword [ebp - 0x64]
cmp dword [ecx + 0xd4], 0x1e
jne 0x47fe0d
push 0x5f7999
mov ecx, dword [ebp - 0x64]
call fcn.004786c0
test eax, eax
jne 0x47fb7c
mov al, byte [ebp - 0xd]
jmp 0x47fe49
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
push 0x288
call fcn.0059df02
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x47fbaf
mov al, byte [ebp - 0xd]
jmp 0x47fe49
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x47fbea
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0059de25
add esp, 4
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0059df02
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x47fbea
mov al, byte [ebp - 0xd]
jmp 0x47fe49
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x47fc23
cmp dword [ebp - 0x20], 0
je 0x47fc12
mov edx, dword [ebp - 0x20]
push edx
call fcn.0059de25
add esp, 4
xor eax, eax
cmp dword [ebp - 0x14], 0xe8
sete al
jmp 0x47fe49
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x47fdfb
push 0x5f799a
lea ecx, [ebp - 0x44]
call fcn.00409ec0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x190]
push edx
mov eax, dword [ebp - 0x24]
add eax, 0x194
push eax
lea ecx, [ebp - 0x60]
push ecx
mov ecx, dword [ebp - 0x64]
call fcn.0047f280
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x44]
call fcn.00454e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.00409d00
lea ecx, [ebp - 0x44]
push ecx
mov ecx, dword [ebp - 0x64]
call fcn.004788b0
test eax, eax
jne 0x47fddf
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x19c]
mov dword [edx + 0xb4], ecx
mov edx, dword [ebp - 0x24]
add edx, 0x1b0
push edx
mov ecx, dword [ebp - 0x64]
add ecx, 0x20
call fcn.004786c0
test eax, eax
je 0x47fce4
mov eax, dword [ebp - 0x24]
add eax, 0x1b0
push eax
mov ecx, dword [ebp - 0x64]
add ecx, 0x20
call fcn.00409fc0
mov ecx, dword [ebp + 0xc]
mov byte [ecx], 1
mov edx, dword [ebp - 0x24]
add edx, 0x1c0
push edx
mov ecx, dword [ebp - 0x64]
add ecx, 0x3c
call fcn.004786c0
test eax, eax
je 0x47fd17
mov eax, dword [ebp - 0x24]
add eax, 0x1c0
push eax
mov ecx, dword [ebp - 0x64]
add ecx, 0x3c
call fcn.00409fc0
mov ecx, dword [ebp + 0xc]
mov byte [ecx], 1
mov edx, dword [ebp - 0x24]
add edx, 0x1d8
push edx
call fcn.0059e330
add esp, 4
test eax, eax
jbe 0x47fd62
mov eax, dword [ebp - 0x24]
add eax, 0x1d8
push eax
mov ecx, dword [ebp - 0x64]
add ecx, 0x58
call fcn.004786c0
test eax, eax
je 0x47fd60
mov ecx, dword [ebp - 0x24]
add ecx, 0x1d8
push ecx
mov ecx, dword [ebp - 0x64]
add ecx, 0x58
call fcn.00409fc0
mov edx, dword [ebp + 0xc]
mov byte [edx], 1
jmp 0x47fd8d
push 0x5f799b
mov eax, dword [ebp - 0x64]
add eax, 0x58
push eax
call fcn.00478680
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x47fd8d
push 0x5f79a7
mov ecx, dword [ebp - 0x64]
add ecx, 0x58
call fcn.00409fc0
mov edx, dword [ebp - 0x64]
movzx eax, byte [edx + 0x1c]
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0x1a4], 0
setne dl
movzx ecx, dl
cmp eax, ecx
je 0x47fdc1
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x1a4], 0
setne al
mov ecx, dword [ebp - 0x64]
mov byte [ecx + 0x1c], al
mov edx, dword [ebp + 0xc]
mov byte [edx], 1
mov eax, dword [ebp - 0x64]
mov dword [eax + 0xd4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00409d00
jmp 0x47fdfb
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov dword [ebp - 0x24], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00409d00
jmp 0x47fc29
cmp dword [ebp - 0x20], 0
je 0x47fe0d
mov eax, dword [ebp - 0x20]
push eax
call fcn.0059de25
add esp, 4
mov byte [ebp - 0xd], 1
mov ecx, dword [ebp - 0x64]
movzx edx, byte [ecx + 0x1c]
test edx, edx
jne 0x47fe46
mov ecx, dword [ebp - 0x64]
call fcn.0047f910
movzx eax, al
test eax, eax
je 0x47fe31
mov ecx, dword [ebp + 0xc]
mov byte [ecx], 1
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0xd4]
add eax, 1
mov ecx, dword [ebp - 0x64]
mov dword [ecx + 0xd4], eax
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.0059e318
mov esp, ebp
pop ebp
ret 8