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

Disassembly:
sub esp, 0x50
mov eax, dword [0x4cacfc]
xor eax, esp
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x54]
push ebx
push ebp
push esi
xor esi, esi
mov ebp, ecx
xor ecx, ecx
push edi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], esi
cmp eax, esi
je 0x47a537
push eax
call fcn.00465f90
mov ebx, eax
add esp, 4
lea eax, [esp + 0x10]
push eax
push esi
mov dword [esp + 0x28], ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0048690e
mov edx, dword [esp + 0x14]
push edx
mov esi, eax
push 0
push esi
mov dword [esp + 0x2c], esi
call fcn.00487630
add esp, 0x10
lea eax, [esp + 0x10]
push eax
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x47a217
test esi, esi
je 0x47a1ba
push esi
call fcn.00487d04
add esp, 4
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 0x10
push 2
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov edx, dword [esp + 0x14]
push edx
call fcn.0048690e
mov esi, eax
mov eax, dword [esp + 0x18]
push eax
push 0
push esi
call fcn.00487630
add esp, 0x10
lea ecx, [esp + 0x14]
push ecx
push esi
push 0
push 0x10
push 2
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
test eax, eax
je 0x47a4e0
test esi, esi
je 0x47a511
push esi
call fcn.00487d04
add esp, 4
jmp 0x47a511
test esi, esi
je 0x47a1ba
jmp 0x47a224
mov esi, dword [esp + 0x1c]
lea ecx, [esi + 8]
push ebx
push ecx
call fcn.0049949c
add esp, 8
test eax, eax
je 0x47a244
mov esi, dword [esi]
mov dword [esp + 0x1c], esi
test esi, esi
jne 0x47a220
jmp 0x47a1ba
mov edx, dword [esi + 0x194]
mov dword [edi], edx
mov eax, dword [esi + 0x198]
mov dword [edi + 4], eax
add esi, 0x1ac
mov ecx, 0xa
lea edi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
xor ebx, ebx
jmp 0x47a270
mov eax, dword [ebp]
mov edx, dword [esp + 0x38]
lea ecx, [ebx + eax*4]
add ecx, eax
shl ecx, 4
mov dword [ecx + ebp + 0xce8], edx
lea eax, [ecx + ebp + 0xce8]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x40]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x44]
mov dword [eax + 0xc], ecx
mov eax, dword [ebp]
mov ecx, dword [esp + 0x48]
mov edi, dword [sym.imp.WS2_32.dll_inet_addr]
lea edx, [ebx + eax*4]
add edx, eax
shl edx, 4
lea eax, [edx + ebp + 0x1008]
mov dword [eax], ecx
mov edx, dword [esp + 0x4c]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x50]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x54]
mov dword [eax + 0xc], edx
lea eax, [esp + 0x38]
push eax
call edi
mov ecx, dword [ebp]
lea edx, [ebx + ecx*4]
add edx, ecx
mov dword [ebp + edx*4 + 0x13c8], eax
lea eax, [esp + 0x48]
push eax
call edi
mov ecx, dword [ebp]
lea edx, [ebx + ecx*4]
add edx, ecx
mov dword [ebp + edx*4 + 0x1490], eax
mov eax, dword [ebp]
inc dword [ebp + eax*4 + 4]
mov esi, dword [esp + 0x34]
lea eax, [ebp + eax*4 + 4]
test esi, esi
je 0x47a32f
inc ebx
cmp ebx, 5
mov ecx, 0xa
lea edi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
jl 0x47a270
mov edi, dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, dword [ebp]
mov esi, dword [esp + 0x1c]
mov edx, dword [esi + 0x1d8]
lea eax, [esi + 0x1d8]
shl ecx, 4
lea ecx, [ecx + ebp + 0x1328]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
push eax
mov dword [ecx + 0xc], edx
call edi
mov ecx, dword [ebp]
mov dword [ebp + ecx*4 + 0x1558], eax
mov edx, dword [ebp]
mov eax, dword [esi + 0x19c]
mov dword [ebp + edx*4 + 0x1580], eax
mov ecx, dword [ebp]
mov edx, dword [esi + 0x1a4]
mov dword [ebp + ecx*4 + 0x16e8], edx
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esi + 8]
xor edi, edi
push ecx
mov dword [esp + 0x2c], edi
call fcn.00466000
add esp, 4
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov ecx, ebp
call fcn.0047a060
mov edx, dword [ebp]
mov dword [ebp + edx*4 + 0x1710], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], edi
mov ecx, dword [esi + 0x19c]
push edi
push ecx
call sub.IPHLPAPI.DLL_GetPerAdapterInfo
cmp eax, 0x6f
jne 0x47a4da
mov edx, dword [esp + 0x10]
push edx
call fcn.0048690e
mov ebx, eax
mov eax, dword [esp + 0x14]
push eax
push edi
push ebx
call fcn.00487630
mov edx, dword [esi + 0x19c]
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
push ebx
push edx
call sub.IPHLPAPI.DLL_GetPerAdapterInfo
test eax, eax
jne 0x47a4cd
lea edi, [ebx + 0xc]
test edi, edi
je 0x47a4cd
lea esi, [edi + 4]
mov ecx, 0x4ab00f
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x47a473
test dl, dl
je 0x47a46f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x47a473
add eax, 2
add ecx, 2
test dl, dl
jne 0x47a453
xor eax, eax
jmp 0x47a478
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x47a4cd
mov eax, dword [ebp]
mov ecx, dword [esi]
shl eax, 4
lea eax, [eax + ebp + 0x15a8]
mov dword [eax], ecx
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 8]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [edi]
test eax, eax
je 0x47a4cd
mov ecx, dword [ebp]
mov edx, dword [eax + 4]
add eax, 4
shl ecx, 4
lea ebp, [ecx + ebp + 0x1648]
mov dword [ebp], edx
mov ecx, dword [eax + 4]
mov dword [ebp + 4], ecx
mov edx, dword [eax + 8]
mov dword [ebp + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ebp + 0xc], eax
test ebx, ebx
je 0x47a4da
push ebx
call fcn.00487d04
add esp, 4
mov ebx, dword [esp + 0x20]
jmp 0x47a509
test esi, esi
je 0x47a511
mov edx, dword [esi + 0xc]
push ebx
push edx
call fcn.0049949c
add esp, 8
test eax, eax
je 0x47a4fe
mov esi, dword [esi + 8]
test esi, esi
jne 0x47a4e4
jmp 0x47a511
mov eax, dword [esi + 0x2c]
mov dword [edi], eax
mov ecx, dword [esi + 0x30]
mov dword [edi + 4], ecx
mov dword [esp + 0x18], 1
test ebx, ebx
je 0x47a51e
push ebx
call fcn.00487d04
add esp, 4
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.00486dc0
add esp, 0x50
ret 8
pop edi
pop esi
mov eax, ecx
mov ecx, dword [esp + 0x54]
pop ebp
pop ebx
xor ecx, esp
call fcn.00486dc0
add esp, 0x50
ret 8