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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x582811
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x104
push ebx
mov dword [ebp - 0x18], 1
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x28
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.0054fad4
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebx], eax
mov dword [ebp - 4], 0
xor esi, esi
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 0x178
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
push esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov dword [ebp - 0x2c], edi
test edi, edi
je 0x5362b2
lea eax, [ebp - 0x14]
push eax
push edi
push esi
push 0x200
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov ecx, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp eax, 0x6f
jne 0x535fe3
push edi
mov edi, dword [ebp - 0x1c]
push esi
push edi
call ecx
push dword [ebp - 0x14]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov dword [ebp - 0x2c], eax
test edi, edi
je 0x5362b2
lea eax, [ebp - 0x14]
push eax
push edi
push esi
push 0x200
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
test eax, eax
jne 0x5362b2
jmp 0x535feb
test eax, eax
jne 0x5362aa
mov eax, edi
nop dword [eax]
mov eax, dword [eax + 8]
lea esi, [esi + 1]
test eax, eax
jne 0x535ff0
lea eax, [esi*8]
push eax
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x5362b2
mov esi, edi
xor ebx, ebx
mov edi, eax
nop
mov eax, dword [esi + 0x2c]
mov edx, edi
mov ecx, dword [esi + 0x30]
inc ebx
add edi, 8
mov dword [edx], eax
mov dword [edx + 4], ecx
mov esi, dword [esi + 8]
test esi, esi
jne 0x536020
mov dword [ebp - 0x48], ebx
test ebx, ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x20], esi
jle 0x53628f
mov edi, dword [ebp - 0x28]
add edi, 2
mov dword [ebp - 0x24], edi
push ecx
lea ecx, [ebp - 0x10c]
call fcn.00463720
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xe8]
mov eax, dword [ebp - 0xfc]
add ecx, dword [eax + 4]
mov eax, dword [ecx]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx], eax
lea ecx, [ebp - 0xfc]
movzx eax, byte [edi - 2]
push eax
call fcn.00536d40
mov eax, dword [ebp - 0xfc]
lea ecx, [ebp - 0xe8]
add ecx, dword [eax + 4]
mov eax, dword [ecx]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx], eax
lea ecx, [ebp - 0xfc]
movzx eax, byte [edi - 1]
push eax
call fcn.00536d40
mov eax, dword [ebp - 0xfc]
lea ecx, [ebp - 0xe8]
add ecx, dword [eax + 4]
mov eax, dword [ecx]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx], eax
lea ecx, [ebp - 0xfc]
movzx eax, byte [edi]
push eax
call fcn.00536d40
mov eax, dword [ebp - 0xfc]
lea ecx, [ebp - 0xe8]
add ecx, dword [eax + 4]
mov eax, dword [ecx]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx], eax
lea ecx, [ebp - 0xfc]
movzx eax, byte [edi + 1]
push eax
call fcn.00536d40
mov eax, dword [ebp - 0xfc]
lea ecx, [ebp - 0xe8]
add ecx, dword [eax + 4]
mov eax, dword [ecx]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx], eax
lea ecx, [ebp - 0xfc]
movzx eax, byte [edi + 2]
push eax
call fcn.00536d40
mov eax, dword [ebp - 0xfc]
lea ecx, [ebp - 0xe8]
add ecx, dword [eax + 4]
mov eax, dword [ecx]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx], eax
lea ecx, [ebp - 0xfc]
movzx eax, byte [edi + 3]
push eax
call fcn.00536d40
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0xf4]
call fcn.00441ac0
or dword [ebp - 0x18], 2
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x54]
push eax
mov ecx, ebx
call fcn.00425b80
mov esi, dword [ebp - 0x4c]
cmp byte [esi + 0xd], 0
jne 0x5361b4
lea edx, [esi + 0x10]
lea ecx, [ebp - 0x44]
call fcn.00425af0
test al, al
jne 0x5361b4
cmp esi, dword [ebx]
jne 0x536221
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x44]
cmp esi, 0x10
cmovae eax, dword [ebp - 0x44]
cmp dword [ebp - 0x34], 6
jne 0x536212
mov ecx, dword [eax]
mov edx, str.000000
mov edi, 2
cmp ecx, dword [edx]
jne 0x5361e2
add eax, 4
mov edi, 0xfffffffe
add edx, 4
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x536209
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x536209
cmp edi, 0xfffffffe
je 0x536205
mov cl, byte [eax + 2]
cmp cl, byte [edx + 2]
jne 0x536209
mov al, byte [eax + 3]
cmp al, byte [edx + 3]
jne 0x536209
xor eax, eax
jmp 0x53620e
sbb eax, eax
or eax, 1
test eax, eax
je 0x536224
lea eax, [ebp - 0x44]
mov ecx, ebx
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00536fc0
mov esi, dword [ebp - 0x30]
mov byte [ebp - 4], 1
cmp esi, 0x10
jb 0x536255
mov ecx, dword [ebp - 0x44]
inc esi
mov eax, ecx
cmp esi, 0x1000
jb 0x53624b
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5362c7
push esi
push ecx
call fcn.0054fb04
add esp, 8
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov byte [ebp - 4], 0
call fcn.00463510
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
inc esi
add edi, 8
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edi
cmp esi, dword [ebp - 0x48]
jl 0x536052
push dword [ebp - 0x28]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [ebp - 0x2c]
mov ecx, dword [sym.imp.KERNEL32.dll_HeapFree]
push edi
push 0
push dword [ebp - 0x1c]
call ecx
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.005549df
int3