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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574d92
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x640040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
xor bl, bl
mov byte [ebp - 0x29], bl
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push 0x10
push 2
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
call esi
cmp eax, 0x6f
jne 0x4c4a1f
push dword [ebp - 0x24]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov edi, eax
lea eax, [ebp - 0x24]
push eax
push edi
push 0
push 0x10
push 2
call esi
test eax, eax
jne 0x4c4a1f
test edi, edi
je 0x4c4a1f
mov esi, edi
test esi, esi
je 0x4c4a15
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x4c4a0a
cmp dword [ebx + 0x10], 6
jle 0x4c4a0a
mov eax, dword [ebx + 0xc]
cmp word [eax], 2
jne 0x4c4a0a
mov cl, byte [eax + 4]
mov byte [ebp - 0x2d], cl
mov cl, byte [eax + 5]
mov byte [ebp - 0x2c], cl
mov cl, byte [eax + 6]
mov byte [ebp - 0x2b], cl
mov al, byte [eax + 7]
mov byte [ebp - 0x29], al
mov bl, byte [ebx + 0x2c]
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
push eax
movzx eax, bl
push eax
call dword [sym.imp.IPHLPAPI.DLL_ConvertLengthToIpv4Mask]
test eax, eax
jne 0x4c4962
mov edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x34]
call fcn.0051a920
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__27]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push dword [esi + 0x28]
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char__5]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov byte [ebp - 4], 4
push dword [ebp - 0x20]
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__20]
mov byte [ebp - 4], 5
push dword [eax]
push dword [ebp - 0x1c]
movzx eax, byte [ebp - 0x29]
push eax
movzx eax, byte [ebp - 0x2b]
push eax
movzx eax, byte [ebp - 0x2c]
push eax
movzx eax, byte [ebp - 0x2d]
push eax
push str._d._d._d._d__s___s_
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__31]
add esp, 0x20
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x3c]
call dword [sym.imp.mfc140u.dll_CStringList::AddTail_1]
mov bl, 1
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x2a], bl
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov esi, dword [esi + 8]
jmp 0x4c48d1
mov bl, byte [ebp - 0x29]
mov esi, dword [esi + 8]
jmp 0x4c48d1
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov al, bl
jmp 0x4c4a60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0055c86d
mov esp, ebp
pop ebp
ret 4