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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x548bf1
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x57f0b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x178
mov dword [ebp - 0x13c], 0
push 0
mov dword [ebp - 0x134], 0x178
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov esi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call esi
mov ebx, eax
mov dword [ebp - 0x140], ebx
test ebx, ebx
jne 0x4c44b0
push str.GetAdapterInfoEx
push str._E__s__:_Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call fcn.004c67b0
add esp, 8
mov eax, 1
jmp 0x4c4acb
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
lea eax, [ebp - 0x134]
push eax
push ebx
push 0
push 0x10
push 0
call edi
cmp eax, 0x6f
jne 0x4c44f6
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 0x134]
push 0
call ebx
push eax
call esi
mov ebx, eax
mov dword [ebp - 0x140], eax
test ebx, ebx
je 0x4c4494
lea ecx, [ebp - 0x130]
call fcn.00404860
mov dword [ebp - 4], 0
lea eax, [ebp - 0x134]
push eax
push ebx
push 0
push 0x10
push 0
call edi
test eax, eax
jne 0x4c4a90
cmp dword [ebp - 0x140], eax
je 0x4c4ab7
mov ecx, 0x563af1
call fcn.00405d50
mov ecx, eax
call fcn.00405d50
mov ecx, eax
call fcn.00405d50
mov esi, dword [ebp - 0x13c]
mov dword [ebp - 0x154], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x150]
push 0
push 0
sub esp, 8
call fcn.004ba620
or esi, 1
lea ecx, [ebp - 0x190]
mov dword [ebp - 0x13c], esi
mov edx, dword [ebx + 0x24]
call fcn.004c2440
mov byte [ebp - 4], 2
sub esp, 0x10
mov esi, esp
mov dword [ebp - 0x138], esp
xorps xmm0, xmm0
mov ecx, eax
mov byte [esi], 0
movq qword [esi + 8], xmm0
call fcn.00405d50
mov ecx, eax
call fcn.00405d50
mov ecx, eax
call fcn.00405d50
push eax
call fcn.00407370
add esp, 4
mov edx, eax
mov ecx, esi
call fcn.00412a70
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x150]
push str.AdapterDesc
call fcn.00406b90
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.004043d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x190]
call fcn.00404760
mov edx, dword [ebx + 0x28]
lea ecx, [ebp - 0x1a8]
call fcn.004c2440
mov byte [ebp - 4], 4
sub esp, 0x10
mov esi, esp
mov dword [ebp - 0x138], esp
xorps xmm0, xmm0
mov ecx, eax
mov byte [esi], 0
movq qword [esi + 8], xmm0
call fcn.00405d50
mov ecx, eax
call fcn.00405d50
mov ecx, eax
call fcn.00405d50
push eax
call fcn.00407370
add esp, 4
mov edx, eax
mov ecx, esi
call fcn.00412a70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x150]
push str.Type
call fcn.00406b90
mov byte [ebp - 4], 4
mov ecx, eax
call fcn.004043d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1a8]
call fcn.00404760
mov edi, dword [ebx + 0x10]
test edi, edi
je 0x4c4740
nop dword [eax]
nop dword [eax + eax]
lea ecx, [edi + 0xc]
lea edx, [ebp - 0x130]
call fcn.004c4330
sub eax, 0
je 0x4c46de
sub eax, 1
jne 0x4c4735
sub esp, 0x10
lea ecx, [ebp - 0x130]
mov esi, esp
mov dword [ebp - 0x138], esp
xorps xmm0, xmm0
mov byte [esi], al
movq qword [esi + 8], xmm0
call fcn.00405d50
mov ecx, eax
call fcn.00405d50
mov ecx, eax
call fcn.00405d50
mov edx, eax
mov ecx, esi
call fcn.00412ae0
mov byte [ebp - 4], 7
push str.IPV6Address
jmp 0x4c471f
sub esp, 0x10
lea ecx, [ebp - 0x130]
mov esi, esp
mov dword [ebp - 0x138], esp
xorps xmm0, xmm0
mov byte [esi], 0
movq qword [esi + 8], xmm0
call fcn.00405d50
mov ecx, eax
call fcn.00405d50
mov ecx, eax
call fcn.00405d50
mov edx, eax
mov ecx, esi
call fcn.00412ae0
mov byte [ebp - 4], 6
push str.IPAddress
lea ecx, [ebp - 0x150]
call fcn.00406b90
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.004043d0
mov edi, dword [edi + 8]
test edi, edi
jne 0x4c4680
push str.DNSServer
lea ecx, [ebp - 0x150]
call fcn.00406b90
mov esi, dword [ebx + 0x1c]
test esi, esi
je 0x4c485d
nop dword [eax + eax]
lea ecx, [esi + 0xc]
lea edx, [ebp - 0x130]
call fcn.004c4330
sub eax, 0
je 0x4c47e5
sub eax, 1
jne 0x4c4852
xorps xmm0, xmm0
mov byte [ebp - 0x168], al
lea ecx, [ebp - 0x130]
movq qword [ebp - 0x160], xmm0
call fcn.00405d50
mov ecx, eax
call fcn.00405d50
mov ecx, eax
call fcn.00405d50
mov edx, eax
lea ecx, [ebp - 0x168]
call fcn.00412ae0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x168]
push eax
push ecx
push str.DNSServer
lea ecx, [ebp - 0x150]
call fcn.00406b90
add esp, 4
mov ecx, eax
call fcn.004c4af0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x168]
jmp 0x4c484d
xorps xmm0, xmm0
mov byte [ebp - 0x178], 0
lea ecx, [ebp - 0x130]
movq qword [ebp - 0x170], xmm0
call fcn.00405d50
mov ecx, eax
call fcn.00405d50
mov ecx, eax
call fcn.00405d50
mov edx, eax
lea ecx, [ebp - 0x178]
call fcn.00412ae0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x178]
push eax
push ecx
push str.DNSServer
lea ecx, [ebp - 0x150]
call fcn.00406b90
add esp, 4
mov ecx, eax
call fcn.004c4af0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x178]
call fcn.00404390
mov esi, dword [esi + 8]
test esi, esi
jne 0x4c4760
mov edx, dword [ebp - 0x154]
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x138], esp
xorps xmm0, xmm0
mov byte [ecx], 0
movq qword [ecx + 8], xmm0
call fcn.004bf4e0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x150]
push str.Gateway
call fcn.00406b90
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.004043d0
mov edi, dword [ebx + 0xa4]
test edi, edi
je 0x4c4982
nop dword [eax + eax]
push str.GetAdapterInfoEx
push str._I__s__:_GetAdapterInfoEx_Gateway
call fcn.004c67b0
add esp, 8
lea ecx, [edi + 0xc]
lea edx, [ebp - 0x130]
call fcn.004c4330
sub eax, 0
je 0x4c4920
sub eax, 1
jne 0x4c4977
sub esp, 0x10
lea ecx, [ebp - 0x130]
mov esi, esp
mov dword [ebp - 0x138], esp
xorps xmm0, xmm0
mov byte [esi], al
movq qword [esi + 8], xmm0
call fcn.00405d50
mov ecx, eax
call fcn.00405d50
mov ecx, eax
call fcn.00405d50
mov edx, eax
mov ecx, esi
call fcn.00412ae0
mov byte [ebp - 4], 0xc
push str.GatewayIPV6
jmp 0x4c4961
sub esp, 0x10
lea ecx, [ebp - 0x130]
mov esi, esp
mov dword [ebp - 0x138], esp
xorps xmm0, xmm0
mov byte [esi], 0
movq qword [esi + 8], xmm0
call fcn.00405d50
mov ecx, eax
call fcn.00405d50
mov ecx, eax
call fcn.00405d50
mov edx, eax
mov ecx, esi
call fcn.00412ae0
mov byte [ebp - 4], 0xb
push str.Gateway
lea ecx, [ebp - 0x150]
call fcn.00406b90
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.004043d0
mov edi, dword [edi + 8]
test edi, edi
jne 0x4c48b0
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.0051b820
mov eax, dword [ebx + 0x34]
add esp, 0xc
test eax, eax
je 0x4c4a19
xor esi, esi
test eax, eax
je 0x4c49d9
dec eax
cmp esi, eax
movzx eax, byte [ebx + esi + 0x2c]
push eax
lea eax, [ebp - 0x118]
push eax
jne 0x4c49be
push str._s_.2X
jmp 0x4c49c3
push str._s_.2X_
push 0x104
push eax
call fcn.004b57a0
mov eax, dword [ebx + 0x34]
inc esi
add esp, 0x14
cmp esi, eax
jb 0x4c49a5
sub esp, 0x10
lea edx, [ebp - 0x118]
mov ecx, esp
mov dword [ebp - 0x138], esp
xorps xmm0, xmm0
mov byte [ecx], 0
movq qword [ecx + 8], xmm0
call fcn.004bf430
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x150]
push 0x57523c
call fcn.00406b90
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.004043d0
lea eax, [ebp - 0x118]
push eax
push str.GetAdapterInfoEx
push str._I__s__:_GetAdapterInfoEx:__s_n
call fcn.004c67b0
lea ecx, [ebp - 0x118]
add esp, 0xc
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c4a40
sub ecx, edx
cmp ecx, 0xa
jbe 0x4c4a5f
lea eax, [ebp - 0x150]
mov ecx, 0x59d518
push eax
call fcn.00403f60
mov esi, dword [ebp - 0x13c]
mov ebx, dword [ebx + 8]
and esi, 0xfffffffe
mov dword [ebp - 0x13c], esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x150]
call fcn.00404390
test ebx, ebx
jne 0x4c4550
mov ebx, dword [ebp - 0x140]
jmp 0x4c4aa3
push eax
push str.GetAdapterInfoEx
push str._E__s__:_GetAdaptersAddresses_failed_with_error:__d_n
call fcn.004c67b0
add esp, 0xc
test ebx, ebx
je 0x4c4ab7
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.00404760
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00518690
mov esp, ebp
pop ebp
ret