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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10157d63
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x101ac034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0x10c], 0x10
push 0x178
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0
jne 0x10059747
xor al, al
jmp 0x10059b10
mov dword [ebp - 0xf0], 0x178
lea eax, [ebp - 0xf0]
push eax
mov ecx, dword [ebp - 0xf8]
push ecx
push 0
mov edx, dword [ebp - 0x10c]
push edx
push 0
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0
je 0x10059807
cmp dword [ebp - 0x100], 0x6f
jne 0x10059807
mov eax, dword [ebp - 0xf8]
push eax
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
mov ecx, dword [ebp - 0xf0]
push ecx
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0
jne 0x100597c2
xor al, al
jmp 0x10059b10
lea edx, [ebp - 0xf0]
push edx
mov eax, dword [ebp - 0xf8]
push eax
push 0
mov ecx, dword [ebp - 0x10c]
push ecx
push 0
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0
je 0x10059807
mov edx, dword [ebp - 0xf8]
push edx
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
xor al, al
jmp 0x10059b10
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0
je 0x10059afe
mov ecx, dword [ebp - 0xf4]
cmp dword [ecx + 0x44], 1
jne 0x10059aea
lea ecx, [ebp - 0xec]
call fcn.10059b30
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0xf4]
mov eax, dword [edx + 0x28]
push eax
lea ecx, [ebp - 0xd4]
call fcn.10007da0
mov ecx, dword [ebp - 0xf4]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x108], edx
cmp dword [ebp - 0x108], 0
je 0x10059992
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x104], ecx
mov edx, dword [ebp - 0x104]
movzx eax, word [edx]
cmp eax, 2
jne 0x10059901
push 0x16
lea ecx, [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x104]
add edx, 4
push edx
push 2
call dword [sym.imp.WS2_32.dll_inet_ntop]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x138], esp
lea eax, [ebp - 0x54]
push eax
call fcn.100029e0
mov dword [ebp - 0x130], eax
lea ecx, [ebp - 0x158]
call fcn.1007d170
add esp, 0x18
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x120], ecx
mov edx, dword [ebp - 0x120]
push edx
lea ecx, [ebp - 0xbc]
call fcn.10003480
lea ecx, [ebp - 0x158]
call fcn.10003e00
jmp 0x1005997e
mov eax, dword [ebp - 0x104]
movzx ecx, word [eax]
cmp ecx, 0x17
jne 0x1005997e
push 0x41
lea edx, [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x104]
add eax, 8
push eax
push 0x17
call dword [sym.imp.WS2_32.dll_inet_ntop]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x140], esp
lea edx, [ebp - 0x54]
push edx
call fcn.100029e0
mov dword [ebp - 0x134], eax
lea ecx, [ebp - 0x170]
call fcn.1007d170
add esp, 0x18
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
push ecx
lea ecx, [ebp - 0xa4]
call fcn.10003480
lea ecx, [ebp - 0x170]
call fcn.10003e00
mov edx, dword [ebp - 0x108]
mov eax, dword [edx + 8]
mov dword [ebp - 0x108], eax
jmp 0x10059866
push 0x10162c7f
lea ecx, [ebp - 0x74]
call fcn.100029e0
mov byte [ebp - 4], 1
mov dword [ebp - 0xfc], 0
jmp 0x100599be
mov ecx, dword [ebp - 0xfc]
add ecx, 1
mov dword [ebp - 0xfc], ecx
mov edx, dword [ebp - 0xf4]
mov eax, dword [ebp - 0xfc]
cmp eax, dword [edx + 0x34]
jae 0x10059a63
mov ecx, dword [ebp - 0xf4]
mov edx, dword [ecx + 0x34]
sub edx, 1
cmp dword [ebp - 0xfc], edx
jne 0x10059a22
mov byte [ebp - 0x58], 0
xor eax, eax
mov word [ebp - 0x57], ax
mov ecx, dword [ebp - 0xf4]
add ecx, dword [ebp - 0xfc]
movzx edx, byte [ecx + 0x2c]
push edx
push str._.2X
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0xc
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x74]
call fcn.100355b0
jmp 0x10059a5e
mov byte [ebp - 0x5c], 0
xor edx, edx
mov word [ebp - 0x5b], dx
mov byte [ebp - 0x59], dl
mov eax, dword [ebp - 0xf4]
add eax, dword [ebp - 0xfc]
movzx ecx, byte [eax + 0x2c]
push ecx
push str._.2X_
lea edx, [ebp - 0x5c]
push edx
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x74]
call fcn.100355b0
jmp 0x100599af
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x12c], esp
lea edx, [ebp - 0x74]
push edx
call fcn.1000d6d0
mov dword [ebp - 0x13c], eax
lea ecx, [ebp - 0x188]
call fcn.1007d170
add esp, 0x18
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
push ecx
lea ecx, [ebp - 0x8c]
call fcn.10003480
lea ecx, [ebp - 0x188]
call fcn.10003e00
lea edx, [ebp - 0xec]
push edx
mov ecx, dword [ebp - 0x114]
call fcn.10059bc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.10001f50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xec]
call fcn.10044940
mov eax, dword [ebp - 0xf4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0xf4], ecx
jmp 0x10059813
mov edx, dword [ebp - 0xf8]
push edx
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101506bb
mov esp, ebp
pop ebp
ret