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

Disassembly:
sub esp, 0x24
mov eax, dword [0x4b39fc]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
push ebx
mov ebx, dword [esp + 0x30]
push ebp
push esi
push edi
xor edi, edi
mov esi, ecx
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], edi
cmp eax, edi
je 0x470c67
push eax
call fcn.00463200
mov ebp, eax
add esp, 4
lea eax, [esp + 0x10]
push eax
push edi
mov dword [esp + 0x24], ebp
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004776e1
mov edx, dword [esp + 0x14]
push edx
mov edi, eax
push 0
push edi
call fcn.00477820
add esp, 0x10
lea eax, [esp + 0x10]
push eax
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x4709a3
test edi, edi
je 0x470946
push edi
call fcn.0047754e
add esp, 4
lea edx, [esp + 0x18]
push edx
push 0
push 0
push 0x10
push 2
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov eax, dword [esp + 0x18]
push eax
call fcn.004776e1
mov ecx, dword [esp + 0x1c]
push ecx
mov esi, eax
push 0
push esi
call fcn.00477820
add esp, 0x10
lea edx, [esp + 0x18]
push edx
push esi
push 0
push 0x10
push 2
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
test eax, eax
je 0x470c10
test esi, esi
je 0x470c41
push esi
call fcn.0047754e
add esp, 4
jmp 0x470c41
test edi, edi
je 0x470946
lea ecx, [edi + 8]
push ebp
push ecx
call fcn.004891a2
add esp, 8
test eax, eax
je 0x4709c0
mov edi, dword [edi]
test edi, edi
jne 0x4709a7
jmp 0x470946
mov edx, dword [edi + 0x194]
mov dword [ebx], edx
mov eax, dword [edi + 0x198]
mov dword [ebx + 4], eax
mov eax, dword [esi]
mov edx, dword [edi + 0x1b0]
add eax, 0xcc
shl eax, 4
mov dword [eax + esi], edx
mov edx, dword [edi + 0x1b4]
mov dword [eax + esi + 4], edx
mov edx, dword [edi + 0x1b8]
mov dword [eax + esi + 8], edx
mov edx, dword [edi + 0x1bc]
mov dword [eax + esi + 0xc], edx
mov edx, dword [edi + 0x1c0]
add eax, esi
mov eax, dword [esi]
lea ecx, [edi + 0x1b0]
add eax, 0xd6
shl eax, 4
mov dword [eax + esi], edx
mov edx, dword [edi + 0x1c4]
mov dword [eax + esi + 4], edx
mov edx, dword [edi + 0x1c8]
add eax, esi
mov dword [eax + 8], edx
mov edx, dword [edi + 0x1cc]
lea ebp, [edi + 0x1c0]
mov dword [eax + 0xc], edx
mov eax, dword [esi]
mov edx, dword [edi + 0x1d8]
add eax, 0xe0
lea ebx, [edi + 0x1d8]
shl eax, 4
add eax, esi
mov dword [eax], edx
mov edx, dword [ebx + 4]
mov dword [eax + 4], edx
mov edx, dword [ebx + 8]
mov dword [eax + 8], edx
mov edx, dword [ebx + 0xc]
push ecx
mov dword [eax + 0xc], edx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, dword [esi]
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esi + ecx*4 + 0xea0], eax
call ebp
mov edx, dword [esi]
push ebx
mov dword [esi + edx*4 + 0xec8], eax
call ebp
mov ecx, dword [esi]
mov dword [esi + ecx*4 + 0xef0], eax
mov edx, dword [esi]
mov eax, dword [edi + 0x19c]
mov dword [esi + edx*4 + 0xf18], eax
mov ecx, dword [esi]
mov edx, dword [edi + 0x1a4]
mov dword [esi + ecx*4 + 0x1080], edx
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
lea ecx, [edi + 8]
xor ebp, ebp
push ecx
mov dword [esp + 0x28], ebp
call fcn.00463270
add esp, 4
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x38]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov ecx, esi
call fcn.004707f0
mov edx, dword [esi]
mov dword [esi + edx*4 + 0x10a8], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], ebp
mov ecx, dword [edi + 0x19c]
push ebp
push ecx
call sub.IPHLPAPI.DLL_GetPerAdapterInfo
cmp eax, 0x6f
jne 0x470c0a
mov edx, dword [esp + 0x10]
push edx
call fcn.004776e1
mov ebx, eax
mov eax, dword [esp + 0x14]
push eax
push ebp
push ebx
mov dword [esp + 0x24], ebx
call fcn.00477820
mov edx, dword [edi + 0x19c]
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
push ebx
push edx
call sub.IPHLPAPI.DLL_GetPerAdapterInfo
test eax, eax
jne 0x470bfd
add ebx, 0xc
cmp ebx, ebp
je 0x470bf9
lea edi, [ebx + 4]
mov ecx, 0x496012
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x470ba2
test dl, dl
je 0x470b9e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x470ba2
add eax, 2
add ecx, 2
test dl, dl
jne 0x470b82
xor eax, eax
jmp 0x470ba7
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
je 0x470bf9
mov eax, dword [esi]
mov ecx, dword [edi]
add eax, 0xf4
shl eax, 4
add eax, esi
mov dword [eax], ecx
mov edx, dword [edi + 4]
mov dword [eax + 4], edx
mov ecx, dword [edi + 8]
mov dword [eax + 8], ecx
mov edx, dword [edi + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebx]
cmp eax, ebp
je 0x470bf9
mov edx, dword [eax + 4]
lea ecx, [eax + 4]
mov eax, dword [esi]
add eax, 0xfe
shl eax, 4
add eax, esi
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov ebx, dword [esp + 0x14]
cmp ebx, ebp
je 0x470c0a
push ebx
call fcn.0047754e
add esp, 4
mov ebp, dword [esp + 0x1c]
jmp 0x470c39
test esi, esi
je 0x470c41
mov eax, dword [esi + 0xc]
push ebp
push eax
call fcn.004891a2
add esp, 8
test eax, eax
je 0x470c2e
mov esi, dword [esi + 8]
test esi, esi
jne 0x470c14
jmp 0x470c41
mov ecx, dword [esi + 0x2c]
mov dword [ebx], ecx
mov edx, dword [esi + 0x30]
mov dword [ebx + 4], edx
mov dword [esp + 0x14], 1
test ebp, ebp
je 0x470c4e
push ebp
call fcn.0047754e
add esp, 4
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004771de
add esp, 0x24
ret 8
pop edi
pop esi
mov eax, ecx
mov ecx, dword [esp + 0x28]
pop ebp
pop ebx
xor ecx, esp
call fcn.004771de
add esp, 0x24
ret 8