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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x628
mov dword [esp + 0x18], 0
xor eax, eax
lea esi, [esp + 0x18]
mov dword [esp + 8], 0
xor ebx, ebx
mov edi, str.GetAdaptersAddresses___failed
test eax, eax
je 0x47e1b0
push eax
push dword [esp + 0xc]
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
add esp, 8
jmp 0x47e1b4
mov eax, dword [esp + 8]
push esi
mov dword [esp + 0xc], eax
push eax
push 0
push 0xe
push 0
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
test eax, eax
je 0x47e1e6
cmp eax, 0x6f
jne 0x47e500
cmp ebx, 3
ja 0x47e500
inc ebx
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x47e1a0
jmp 0x47e1b0
mov ebx, dword [0x50522c]
cmp ebx, 0xffffffff
mov edi, dword [ebp + 0xc]
jne 0x47e221
push 0x50522c
push 0x506278
call fcn.00474430
add esp, 8
test al, al
je 0x47e212
mov ebx, dword [0x50522c]
jmp 0x47e221
mov dword [0x50522c], 0xfffffffe
mov ebx, 0xfffffffe
mov esi, dword [esp + 8]
test esi, esi
je 0x47e513
mov dword [esp + 0x1c], ebx
jmp 0x47e28b
push 0x548
push 0
lea eax, [esp + 0xe0]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
mov eax, dword [esi + 4]
mov dword [esp + 0xe0], eax
lea eax, [esp + 0xd8]
push eax
call sub.IPHLPAPI.DLL_GetIfEntry2
test eax, eax
je 0x47e2e6
nop word cs:[eax + eax]
mov esi, dword [esi + 8]
test esi, esi
je 0x47e4fe
mov eax, dword [esi + 4]
cmp eax, ebx
sete cl
cmp byte [edi + 0x54], 0
je 0x47e29d
cmp eax, ebx
jne 0x47e280
mov byte [esp + 7], cl
push 0
push 0
push 0x80
lea eax, [esp + 0x64]
push eax
push 0xffffffffffffffff
push dword [esi + 0x28]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x47e240
push eax
push dword [edi + 0x50]
lea eax, [esp + 0x60]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x47e280
jmp 0x47e240
mov edi, dword [ebp + 8]
mov edx, dword [edi]
mov ebx, dword [edi + 8]
cmp ebx, dword [edi + 0xc]
jne 0x47e31c
lea eax, [ebx + ebx]
test ebx, ebx
mov ecx, 0x10
cmove eax, ecx
mov dword [edi + 0xc], eax
imul eax, dword [edi + 4]
push eax
push edx
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
add esp, 8
mov dword [esp + 0x14], eax
mov dword [edi], eax
mov ebx, dword [edi + 8]
jmp 0x47e320
mov dword [esp + 0x14], edx
lea eax, [ebx + 1]
mov dword [edi + 8], eax
imul ebx, dword [edi + 4]
mov edi, dword [0x5052b0]
lea eax, [esp + 0x58]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
test eax, eax
je 0x47e38a
mov dword [esp + 0xc], eax
inc eax
mov ecx, 0x20
nop dword [eax + eax]
mov edi, ecx
add ecx, ecx
cmp eax, edi
ja 0x47e350
push edi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
mov ecx, eax
mov dword [esp + 0x10], eax
mov byte [eax], 0
push dword [esp + 0xc]
lea eax, [esp + 0x5c]
push eax
push ecx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add esp, 0xc
mov byte [ecx + eax], 0
jmp 0x47e38e
mov ecx, edi
xor edi, edi
mov edx, dword [esp + 0x5e8]
add edx, dword [esp + 0x5e0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x5ec]
adc edx, dword [esp + 0x5e4]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x5a0]
add edx, dword [esp + 0x598]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x5a4]
adc edx, dword [esp + 0x59c]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x5d8]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x5dc]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x590]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x594]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x5b0]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x5b4]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x5f8]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x5fc]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x5a8]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x5ac]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x5f0]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x5f4]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x14]
mov dword [edx + ebx], edi
mov dword [edx + ebx + 4], eax
mov dword [edx + ebx + 8], ecx
movzx ecx, byte [esp + 7]
mov byte [edx + ebx + 0xc], cl
mov eax, dword [esp + 0x20]
mov dword [edx + ebx + 0x14], eax
mov eax, dword [esp + 0x28]
mov dword [edx + ebx + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [edx + ebx + 0x1c], eax
mov eax, dword [esp + 0x2c]
mov dword [edx + ebx + 0x18], eax
mov eax, dword [esp + 0x10]
mov dword [edx + ebx + 0x24], eax
mov eax, dword [esp + 0xc]
mov dword [edx + ebx + 0x20], eax
mov eax, dword [esp + 0x30]
mov dword [edx + ebx + 0x2c], eax
mov eax, dword [esp + 0x54]
mov dword [edx + ebx + 0x28], eax
mov eax, dword [esp + 0x34]
mov dword [edx + ebx + 0x34], eax
mov eax, dword [esp + 0x44]
mov dword [edx + ebx + 0x30], eax
mov eax, dword [esp + 0x40]
mov dword [edx + ebx + 0x3c], eax
mov eax, dword [esp + 0x50]
mov dword [edx + ebx + 0x38], eax
mov eax, dword [esp + 0x3c]
mov dword [edx + ebx + 0x44], eax
mov eax, dword [esp + 0x4c]
mov dword [edx + ebx + 0x40], eax
mov eax, dword [esp + 0x38]
mov dword [edx + ebx + 0x4c], eax
mov eax, dword [esp + 0x48]
mov dword [edx + ebx + 0x48], eax
mov edi, dword [ebp + 0xc]
mov ebx, dword [esp + 0x1c]
jmp 0x47e280
xor edi, edi
mov eax, dword [esp + 8]
test eax, eax
je 0x47e515
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
jmp 0x47e515
xor edi, edi
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret