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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0793
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x168
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x30]
call fcn.004167d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0x178
mov dword [ebp - 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x38]
push eax
push 0
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x562362
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 8]
call fcn.00561350
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004195d0
mov eax, dword [ebp + 8]
jmp 0x56278c
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0x200
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x6f
jne 0x562437
mov edx, dword [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0x38]
push ecx
push 0
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x5623ea
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
call fcn.00561350
mov ecx, dword [ebp - 0x18]
or ecx, 1
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004195d0
mov eax, dword [ebp + 8]
jmp 0x56278c
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x44]
push edx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x562437
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
call fcn.00561350
mov ecx, dword [ebp - 0x18]
or ecx, 1
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004195d0
mov eax, dword [ebp + 8]
jmp 0x56278c
cmp dword [ebp - 0x34], 0
jne 0x562748
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
je 0x562461
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
jmp 0x562447
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x20]
shl eax, 3
push eax
push 0
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x5624b0
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 8]
call fcn.00561350
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004195d0
mov eax, dword [ebp + 8]
jmp 0x56278c
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], 0
cmp dword [ebp - 0x1c], 0
je 0x5624fe
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
lea ecx, [eax + edx*8]
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
push 8
mov eax, dword [ebp - 0x1c]
add eax, 0x2c
push eax
mov ecx, dword [ebp - 0x98]
push ecx
call fcn.0057c750
add esp, 0xc
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 8]
mov dword [ebp - 0x1c], eax
jmp 0x5624bd
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x3c], 0
jmp 0x562517
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
cmp edx, dword [ebp - 0x20]
jge 0x56272e
mov eax, dword [ebp - 0x3c]
shl eax, 3
mov dword [ebp - 0x24], eax
push 1
lea ecx, [ebp - 0x174]
call fcn.00487cf0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x164]
mov dword [ebp - 0x48], ecx
push 0x437fe0
mov ecx, dword [ebp - 0x48]
call fcn.0041a9e0
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x24]
movzx eax, byte [edx]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x50]
call fcn.00561c00
lea edx, [ebp - 0x164]
mov dword [ebp - 0x54], edx
push 0x437fe0
mov ecx, dword [ebp - 0x54]
call fcn.0041a9e0
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x24]
movzx ecx, byte [eax + 1]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
push edx
mov ecx, dword [ebp - 0x5c]
call fcn.00561c00
lea eax, [ebp - 0x164]
mov dword [ebp - 0x60], eax
push 0x437fe0
mov ecx, dword [ebp - 0x60]
call fcn.0041a9e0
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x24]
movzx edx, byte [ecx + 2]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x68]
call fcn.00561c00
lea ecx, [ebp - 0x164]
mov dword [ebp - 0x6c], ecx
push 0x437fe0
mov ecx, dword [ebp - 0x6c]
call fcn.0041a9e0
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x24]
movzx eax, byte [edx + 3]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
push ecx
mov ecx, dword [ebp - 0x74]
call fcn.00561c00
lea edx, [ebp - 0x164]
mov dword [ebp - 0x78], edx
push 0x437fe0
mov ecx, dword [ebp - 0x78]
call fcn.0041a9e0
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x24]
movzx ecx, byte [eax + 4]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x7c]
push edx
mov ecx, dword [ebp - 0x80]
call fcn.00561c00
lea eax, [ebp - 0x164]
mov dword [ebp - 0x84], eax
push 0x437fe0
mov ecx, dword [ebp - 0x84]
call fcn.0041a9e0
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x24]
movzx edx, byte [ecx + 5]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x8c]
call fcn.00561c00
lea ecx, [ebp - 0xbc]
push ecx
lea ecx, [ebp - 0x174]
call fcn.0048b150
mov byte [ebp - 4], 2
lea edx, [ebp - 0xbc]
push edx
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x30]
call fcn.005627c0
mov dword [ebp - 0x94], eax
lea ecx, [ebp - 0xa0]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00458c30
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x90]
push edx
mov ecx, dword [ebp - 0x94]
call fcn.00452520
movzx eax, al
test eax, eax
je 0x56270b
push str.000000
lea ecx, [ebp - 0xbc]
push ecx
call fcn.0055f7f0
add esp, 8
movzx edx, al
test edx, edx
je 0x56270b
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0xc4]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00561130
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xbc]
call fcn.00419200
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x174]
call fcn.00488800
jmp 0x56250e
mov edx, dword [ebp - 0x14]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x10], 0
je 0x562765
mov eax, dword [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 0x10], 0
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 8]
call fcn.00561350
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004195d0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4