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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10074840
mov eax, dword fs:[0]
push eax
sub esp, 0x458
mov eax, dword [0x100934c0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x1007ca6d
lea ecx, [ebp - 0x34]
call fcn.10005790
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x14], 0x90
lea eax, [ebp - 0x38]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x14]
push ecx
push 0
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov edx, dword [ebp - 0x38]
push edx
lea ecx, [ebp - 0x48]
call fcn.1004db40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.1004dbd0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp - 0x14]
push edx
push 0
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
test eax, eax
jne 0x1004d1a4
cmp dword [ebp - 0x10], 0
je 0x1004d1a4
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x44], 1
jne 0x1004d196
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x40], 6
jne 0x1004d196
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x1ac], eax
lea ecx, [ebp - 0x3ac]
push ecx
call dword [sym.imp.IPHLPAPI.DLL_GetIfEntry]
test eax, eax
jne 0x1004d196
cmp dword [ebp - 0x184], 0
jbe 0x1004d196
cmp dword [ebp - 0x16c], 0
jbe 0x1004d196
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x31]
push eax
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x30]
push edx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x2f]
push ecx
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x2e]
push eax
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x2d]
push edx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x2c]
push ecx
push 0x1007cfd8
lea edx, [ebp - 0x3c4]
push edx
call fcn.1004e100
add esp, 0x20
lea eax, [ebp - 0x3c4]
push eax
mov ecx, dword [ebp + 8]
call fcn.10005840
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xa4]
mov dword [ebp - 0x3c8], edx
cmp dword [ebp - 0x3c8], 0
je 0x1004d0d6
mov eax, dword [ebp - 0x3c8]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x3cc], ecx
mov byte [ebp - 0x414], 0
push 0x40
push 0
lea edx, [ebp - 0x413]
push edx
call fcn.10058400
add esp, 0xc
mov eax, dword [ebp - 0x3cc]
movzx ecx, word [eax]
cmp ecx, 2
jne 0x1004d09c
push 0x41
lea edx, [ebp - 0x414]
push edx
mov eax, dword [ebp - 0x3cc]
add eax, 4
push eax
push 2
call dword [sym.imp.WS2_32.dll_inet_ntop]
jmp 0x1004d0c5
mov ecx, dword [ebp - 0x3cc]
movzx edx, word [ecx]
cmp edx, 0x17
jne 0x1004d0c5
push 0x41
lea eax, [ebp - 0x414]
push eax
mov ecx, dword [ebp - 0x3cc]
add ecx, 8
push ecx
push 0x17
call dword [sym.imp.WS2_32.dll_inet_ntop]
lea edx, [ebp - 0x414]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.10005840
jmp 0x1004d0e3
push 0x1007cff4
mov ecx, dword [ebp + 0x10]
call fcn.10005840
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x3b0], ecx
cmp dword [ebp - 0x3b0], 0
je 0x1004d16c
mov byte [ebp - 0x45c], 0
push 0x40
push 0
lea edx, [ebp - 0x45b]
push edx
call fcn.10058400
add esp, 0xc
mov eax, dword [ebp - 0x3b0]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x460], ecx
mov edx, dword [ebp - 0x460]
movzx eax, word [edx]
cmp eax, 2
jne 0x1004d15b
push 0x41
lea ecx, [ebp - 0x45c]
push ecx
mov edx, dword [ebp - 0x460]
add edx, 4
push edx
push 2
call dword [sym.imp.WS2_32.dll_inet_ntop]
lea eax, [ebp - 0x45c]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.10005840
jmp 0x1004d16c
mov ecx, dword [ebp - 0x3b0]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x3b0], edx
jmp 0x1004d0ef
mov byte [ebp - 0x461], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.1004dbb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10004600
mov al, byte [ebp - 0x461]
jmp 0x1004d1cc
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], ecx
jmp 0x1004cf7a
mov byte [ebp - 0x462], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.1004dbb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10004600
mov al, byte [ebp - 0x462]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.10053489
mov esp, ebp
pop ebp
ret