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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10153bc3
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x101a5034]
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 0x10059e47
xor al, al
jmp 0x1005a210
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 0x10059f07
cmp dword [ebp - 0x100], 0x6f
jne 0x10059f07
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 0x10059ec2
xor al, al
jmp 0x1005a210
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 0x10059f07
mov edx, dword [ebp - 0xf8]
push edx
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
xor al, al
jmp 0x1005a210
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0
je 0x1005a1fe
mov ecx, dword [ebp - 0xf4]
cmp dword [ecx + 0x44], 1
jne 0x1005a1ea
lea ecx, [ebp - 0xec]
call fcn.1005a230
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0xf4]
mov eax, dword [edx + 0x28]
push eax
lea ecx, [ebp - 0xd4]
call fcn.10006e00
mov ecx, dword [ebp - 0xf4]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x108], edx
cmp dword [ebp - 0x108], 0
je 0x1005a092
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 0x1005a001
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.1000ccc0
mov dword [ebp - 0x130], eax
lea ecx, [ebp - 0x158]
call fcn.1007b9b0
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.10002230
lea ecx, [ebp - 0x158]
call fcn.10002d10
jmp 0x1005a07e
mov eax, dword [ebp - 0x104]
movzx ecx, word [eax]
cmp ecx, 0x17
jne 0x1005a07e
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.1000ccc0
mov dword [ebp - 0x134], eax
lea ecx, [ebp - 0x170]
call fcn.1007b9b0
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.10002230
lea ecx, [ebp - 0x170]
call fcn.10002d10
mov edx, dword [ebp - 0x108]
mov eax, dword [edx + 8]
mov dword [ebp - 0x108], eax
jmp 0x10059f66
push 0x1015e0a7
lea ecx, [ebp - 0x74]
call fcn.1000ccc0
mov byte [ebp - 4], 1
mov dword [ebp - 0xfc], 0
jmp 0x1005a0be
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 0x1005a163
mov ecx, dword [ebp - 0xf4]
mov edx, dword [ecx + 0x34]
sub edx, 1
cmp dword [ebp - 0xfc], edx
jne 0x1005a122
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.10036490
jmp 0x1005a15e
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.10036490
jmp 0x1005a0af
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x12c], esp
lea edx, [ebp - 0x74]
push edx
call fcn.1000c9d0
mov dword [ebp - 0x13c], eax
lea ecx, [ebp - 0x188]
call fcn.1007b9b0
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.10002230
lea ecx, [ebp - 0x188]
call fcn.10002d10
lea edx, [ebp - 0xec]
push edx
mov ecx, dword [ebp - 0x114]
call fcn.1005a2c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.1000cd00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xec]
call fcn.10045640
mov eax, dword [ebp - 0xf4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0xf4], ecx
jmp 0x10059f13
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.1014c66b
mov esp, ebp
pop ebp
ret