Function at 0x47e3a0
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 0x47e3e0
push eax
push dword [esp + 0xc]
call sym._realloc
add esp, 8
jmp 0x47e3e4
mov eax, dword [esp + 8]
push esi
mov dword [esp + 0xc], eax
push eax
push 0
push 0xe
push 0
call sym._GetAdaptersAddresses_20
test eax, eax
je 0x47e416
cmp eax, 0x6f
jne 0x47e730
cmp ebx, 3
ja 0x47e730
inc ebx
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x47e3d0
jmp 0x47e3e0
mov ebx, dword [0x50522c]
cmp ebx, 0xffffffff
mov edi, dword [ebp + 0xc]
jne 0x47e451
push 0x50522c
push 0x506278
call dbg.ffNetifGetDefaultRouteImpl
add esp, 8
test al, al
je 0x47e442
mov ebx, dword [0x50522c]
jmp 0x47e451
mov dword [0x50522c], 0xfffffffe
mov ebx, 0xfffffffe
mov esi, dword [esp + 8]
test esi, esi
je 0x47e743
mov dword [esp + 0x1c], ebx
jmp 0x47e4bb
push 0x548
push 0
lea eax, [esp + 0xe0]
push eax
call sym._memset
add esp, 0xc
mov eax, dword [esi + 4]
mov dword [esp + 0xe0], eax
lea eax, [esp + 0xd8]
push eax
call sym._GetIfEntry2_4
test eax, eax
je 0x47e516
nop word cs:[eax + eax]
mov esi, dword [esi + 8]
test esi, esi
je 0x47e72e
mov eax, dword [esi + 4]
cmp eax, ebx
sete cl
cmp byte [edi + 0x54], 0
je 0x47e4cd
cmp eax, ebx
jne 0x47e4b0
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 0x47e470
push eax
push dword [edi + 0x50]
lea eax, [esp + 0x60]
push eax
call sym._strncmp
add esp, 0xc
test eax, eax
jne 0x47e4b0
jmp 0x47e470
mov edi, dword [ebp + 8]
mov edx, dword [edi]
mov ebx, dword [edi + 8]
cmp ebx, dword [edi + 0xc]
jne 0x47e54c
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 sym._realloc
add esp, 8
mov dword [esp + 0x14], eax
mov dword [edi], eax
mov ebx, dword [edi + 8]
jmp 0x47e550
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 sym._strlen
add esp, 4
test eax, eax
je 0x47e5ba
mov dword [esp + 0xc], eax
inc eax
mov ecx, 0x20
nop dword [eax + eax]
mov edi, ecx
add ecx, ecx
cmp eax, edi
ja 0x47e580
push edi
call sym._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 sym._memcpy
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add esp, 0xc
mov byte [ecx + eax], 0
jmp 0x47e5be
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 0x47e4b0
xor edi, edi
mov eax, dword [esp + 8]
test eax, eax
je 0x47e745
push eax
call sym._free
add esp, 4
jmp 0x47e745
xor edi, edi
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret