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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0xc], esi
lea ebx, [esi + 0x44]
push ebx
push dword [esi + 0x40]
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov edi, eax
cmp edi, 0x6f
jne 0x4c883d
push dword [ebx]
call fcn.0052147f
add esp, 4
mov dword [esi + 0x40], eax
test eax, eax
je 0x4c883d
push ebx
push eax
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov edi, eax
mov byte [ebp - 1], 0
test edi, edi
jne 0x4c8ad2
mov edi, dword [esi + 0x40]
mov dword [ebp - 8], edi
test edi, edi
je 0x4c8ad2
lea ebx, [esi + 0x3c]
nop word [eax + eax]
lea eax, [edi + 8]
mov ecx, ebx
push eax
call fcn.00485fa0
mov ecx, dword [esi + 0x58]
push 0xffffffffffffffff
push 0
push dword [ebx]
mov eax, dword [ecx]
push 0
mov eax, dword [eax + 0xa4]
call eax
test al, al
jne 0x4c8892
mov edi, dword [edi]
mov dword [ebp - 8], edi
test edi, edi
jne 0x4c8860
jmp 0x4c8ad2
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [edi + 0x10c]
mov byte [ebp - 1], 1
push eax
mov ecx, ebx
call fcn.00485fa0
mov ecx, dword [esi + 0x60]
push dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x210]
mov ecx, dword [esi + 0x60]
push 0xffffffffffffffff
push 0x5bdd34
mov eax, dword [ecx]
mov eax, dword [eax + 0xa8]
call eax
test al, al
je 0x4c88fe
mov ecx, dword [esi + 0x60]
mov edi, dword [ecx]
call dword [edi + 0x2c]
mov ecx, dword [esi + 0x60]
dec eax
push eax
call dword [edi + 0x30]
mov ecx, dword [esi + 0x60]
push 0xffffffffffffffff
push 0x5bdd34
mov eax, dword [ecx]
mov eax, dword [eax + 0xa8]
call eax
test al, al
jne 0x4c88d3
mov edi, dword [ebp - 8]
push 0
push 0x5b9058
mov ecx, ebx
call fcn.00426df0
mov eax, dword [edi + 0x190]
test eax, eax
je 0x4c8951
xor esi, esi
nop dword [eax + eax]
dec eax
cmp esi, eax
movzx eax, byte [edi + esi + 0x194]
push eax
jne 0x4c8935
push str._.2X
jmp 0x4c893a
push 0x5d1a60
push ebx
call fcn.004c8ea0
mov eax, dword [edi + 0x190]
inc esi
add esp, 0xc
cmp esi, eax
jb 0x4c8920
mov esi, dword [ebp - 0xc]
mov ecx, dword [esi + 0x64]
push dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x210]
lea eax, [edi + 0x1b0]
mov ecx, ebx
push eax
call fcn.00485fa0
mov ecx, dword [esi + 0x68]
push dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x210]
lea eax, [edi + 0x1c0]
mov ecx, ebx
push eax
call fcn.00485fa0
mov ecx, dword [esi + 0x6c]
push dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x210]
lea eax, [edi + 0x1d8]
mov ecx, ebx
push eax
call fcn.00485fa0
mov ecx, dword [esi + 0x70]
push dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x210]
cmp dword [edi + 0x1a4], 1
sete al
mov byte [esi + 0x7c], al
test al, al
je 0x4c89de
lea eax, [edi + 0x200]
mov ecx, ebx
push eax
call fcn.00485fa0
mov ecx, dword [esi + 0x80]
push dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x210]
cmp dword [edi + 0x224], 1
sete al
mov byte [esi + 0x84], al
test al, al
je 0x4c8a2e
lea eax, [edi + 0x22c]
mov ecx, ebx
push eax
call fcn.00485fa0
mov ecx, dword [esi + 0x88]
push dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x210]
lea eax, [edi + 0x254]
mov ecx, ebx
push eax
call fcn.00485fa0
mov ecx, dword [esi + 0x8c]
push dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x210]
mov ecx, dword [esi + 0x74]
push 0
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [esi + 0x78]
push 0
mov eax, dword [ecx]
call dword [eax + 0x30]
lea eax, [esi + 0x4c]
push eax
push dword [esi + 0x48]
push dword [edi + 0x19c]
call dword [sym.imp.IPHLPAPI.DLL_GetPerAdapterInfo]
cmp eax, 0x6f
jne 0x4c8a7d
push dword [esi + 0x4c]
call fcn.0052147f
add esp, 4
mov dword [esi + 0x48], eax
test eax, eax
je 0x4c8ac8
lea ecx, [esi + 0x4c]
push ecx
push eax
push dword [edi + 0x19c]
call dword [sym.imp.IPHLPAPI.DLL_GetPerAdapterInfo]
test eax, eax
jne 0x4c8ac8
mov edi, dword [esi + 0x48]
mov dword [ebp - 8], eax
add edi, 0xc
je 0x4c8ac8
nop dword [eax]
lea eax, [edi + 4]
mov ecx, ebx
push eax
call fcn.00485fa0
cmp dword [ebp - 8], 0
push dword [ebx]
jne 0x4c8abd
mov ecx, dword [esi + 0x74]
mov eax, dword [ecx]
call dword [eax + 0x210]
mov edi, dword [edi]
mov dword [ebp - 8], 1
test edi, edi
jne 0x4c8a90
jmp 0x4c8ac8
mov ecx, dword [esi + 0x78]
mov eax, dword [ecx]
call dword [eax + 0x210]
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov bl, byte [esi + 0x50]
lea edi, [esi + 0x20]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [ebp - 1]
push edi
mov byte [esi + 0x50], al
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [esi + 0x50], 0
je 0x4c8b00
test bl, bl
jne 0x4c8b00
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xa8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret