Function at 0x4c0d80
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ffd9d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [str.NotReachable]
push esi
push edi
push 0x3abb
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0x3a98
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call fcn.004e7f70
add esp, 4
test eax, eax
je 0x4c101b
lea edi, [eax + 0x23]
and edi, 0xffffffe0
push 0x3a98
push 0
push edi
lea esi, [edi + 0x3a98]
mov dword [edi - 4], eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x28], esi
call fcn.006c2360
add esp, 0xc
mov dword [ebp - 0x2c], esi
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
push edi
push 0
push 0x10
push 0
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov ecx, eax
cmp ecx, 0x6f
jne 0x4c0ef0
mov esi, dword [ebp - 0x1c]
cmp esi, 0x3a98
jae 0x4c0ecf
lea eax, [edi + esi]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x1c]
mov esi, edi
push eax
push edi
push 0
push 0x10
push 0
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
test eax, eax
je 0x4c0f69
mov ecx, dword [ebp - 0x20]
sub esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, esp
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x24]
push 0xa
push str.Error_:x
push dword [ebp + 8]
mov dword [eax], 2
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
call fcn.00475e00
add esp, 0x1c
test esi, esi
je 0x4c1000
mov ecx, dword [ebp - 0x14]
sub ecx, esi
cmp ecx, 0x1000
jb 0x4c0eb2
mov edx, dword [edi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x4c101b
mov esi, edx
push ecx
push esi
call fcn.004e7fa0
mov eax, dword [ebp + 8]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
jbe 0x4c0e39
lea eax, [ebp - 0xd]
push eax
push esi
lea ecx, [ebp - 0x30]
call fcn.004bf470
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
jmp 0x4c0e39
mov esi, edi
test ecx, ecx
je 0x4c0f69
mov eax, dword [ebp - 0x20]
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, esp
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x24]
push 0xa
push str.Error_:x
push esi
mov dword [eax], 2
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
call fcn.00475e00
mov ecx, dword [ebp - 0x14]
add esp, 0x1c
sub ecx, edi
cmp ecx, 0x1000
jb 0x4c0f4d
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x4c101b
mov edi, edx
push ecx
push edi
call fcn.004e7fa0
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x4c0f98
mov edx, dword [str.Wired]
cmp dword [esi + 0x44], 1
jne 0x4c0f91
mov ecx, dword [esi + 0x40]
cmp ecx, 0x47
je 0x4c1013
mov eax, dword [ebp - 0x18]
cmp ecx, 6
cmove eax, edx
mov dword [ebp - 0x18], eax
mov esi, dword [esi + 8]
test esi, esi
jne 0x4c0f73
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov edx, ecx
mov dword [eax], 0
lea esi, [edx + 1]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4c0fc0
sub edx, esi
push edx
push ecx
mov ecx, dword [ebp + 8]
call fcn.00473620
test edi, edi
je 0x4c1000
mov ecx, dword [ebp - 0x14]
mov eax, edi
sub ecx, edi
cmp ecx, 0x1000
jb 0x4c0ff6
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c101b
push ecx
push edi
call fcn.004e7fa0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [str.Wifi]
jmp 0x4c0f9b
call fcn.006cc674
int3