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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101100b3
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x10152034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x104], ecx
mov esi, dword [sym.imp.MSVCR120.dll_malloc]
push 0x178
call esi
mov ebx, eax
add esp, 4
mov dword [ebp - 0xf8], ebx
test ebx, ebx
je 0x10035409
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
lea eax, [ebp - 0xf4]
push eax
push ebx
push 0
push 0x10
push 0
mov dword [ebp - 0xf4], 0x178
call edi
test eax, eax
je 0x10035410
cmp eax, 0x6f
jne 0x10035410
push ebx
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
push dword [ebp - 0xf4]
call esi
mov ebx, eax
mov dword [ebp - 0xf8], eax
add esp, 4
test ebx, ebx
je 0x10035409
lea eax, [ebp - 0xf4]
push eax
push ebx
push 0
push 0x10
push 0
call edi
test eax, eax
je 0x10035410
mov eax, dword [sym.imp.MSVCR120.dll_free]
push ebx
call eax
add esp, 4
xor al, al
jmp 0x10035910
mov esi, dword [sym.imp.WS2_32.dll_inet_ntop]
mov edi, ebx
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov dword [ebp - 0xfc], edi
cmp dword [edi + 0x44], 1
jne 0x100358ed
xor eax, eax
mov dword [ebp - 0xdc], 7
mov dword [ebp - 0xe0], 0
mov word [ebp - 0xf0], ax
mov dword [ebp - 0xc4], 7
mov dword [ebp - 0xc8], eax
mov word [ebp - 0xd8], ax
mov dword [ebp - 0xac], 7
mov dword [ebp - 0xb0], eax
mov word [ebp - 0xc0], ax
mov dword [ebp - 0x94], 7
mov dword [ebp - 0x98], eax
mov word [ebp - 0xa8], ax
mov dword [ebp - 0x7c], 7
mov dword [ebp - 0x80], eax
mov word [ebp - 0x90], ax
mov dword [ebp - 4], eax
mov edx, dword [edi + 0x28]
cmp word [edx], ax
jne 0x100354b0
xor ecx, ecx
jmp 0x100354ca
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100354b5
sub ecx, esi
mov esi, dword [sym.imp.WS2_32.dll_inet_ntop]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xd8]
call fcn.10002100
mov edi, dword [edi + 0x10]
test edi, edi
je 0x10035700
mov eax, dword [edi + 0xc]
movzx ecx, word [eax]
cmp ecx, 2
jne 0x100355e5
push 0x16
lea ecx, [ebp - 0x58]
add eax, 4
push ecx
push eax
push 2
call esi
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x58], 0
jne 0x1003551f
xor ecx, ecx
jmp 0x1003552e
lea ecx, [ebp - 0x58]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10035525
sub ecx, esi
push ecx
lea eax, [ebp - 0x58]
mov ecx, edx
push eax
call fcn.10008550
lea ecx, [ebp - 0x11c]
call fcn.10040910
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0xc0]
cmp eax, esi
je 0x100356db
cmp dword [ebp - 0xac], 8
jb 0x1003556c
push dword [ebp - 0xc0]
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 0xac], 7
mov dword [ebp - 0xb0], 0
mov word [ebp - 0xc0], ax
cmp dword [esi + 0x14], 8
jae 0x100355c0
mov eax, dword [esi + 0x10]
inc eax
je 0x100355ce
add eax, eax
push eax
lea eax, [ebp - 0xc0]
push esi
push eax
call dword [sym.imp.MSVCR120.dll_memmove]
mov eax, dword [esi + 0x10]
add esp, 0xc
mov dword [ebp - 0xb0], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0xac], eax
jmp 0x100356c8
mov eax, dword [esi]
mov dword [ebp - 0xc0], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0xb0], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0xac], eax
jmp 0x100356c8
cmp ecx, 0x17
jne 0x100356ef
push 0x41
lea ecx, [ebp - 0x58]
add eax, 8
push ecx
push eax
push 0x17
call esi
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x58], 0
jne 0x1003561c
xor eax, eax
jmp 0x1003562b
lea eax, [ebp - 0x58]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10035622
sub eax, esi
push eax
lea eax, [ebp - 0x58]
mov ecx, edx
push eax
call fcn.10008550
lea ecx, [ebp - 0x11c]
call fcn.10040910
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0xa8]
cmp eax, esi
je 0x100356db
cmp dword [ebp - 0x94], 8
jb 0x10035669
push dword [ebp - 0xa8]
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 0x94], 7
mov dword [ebp - 0x98], 0
mov word [ebp - 0xa8], ax
cmp dword [esi + 0x14], 8
jae 0x100356a8
mov eax, dword [esi + 0x10]
inc eax
je 0x100356b6
add eax, eax
push eax
lea eax, [ebp - 0xa8]
push esi
push eax
call dword [sym.imp.MSVCR120.dll_memmove]
add esp, 0xc
jmp 0x100356b6
mov eax, dword [esi]
mov dword [ebp - 0xa8], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x98], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x94], eax
mov dword [esi + 0x14], 7
xor eax, eax
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [ebp - 0x108], 8
jb 0x100356ef
push dword [ebp - 0x11c]
call ebx
add esp, 4
mov edi, dword [edi + 8]
mov esi, dword [sym.imp.WS2_32.dll_inet_ntop]
test edi, edi
jne 0x100354e2
push 0
push 0x10118cff
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x78], 0
call fcn.10008550
mov edi, dword [ebp - 0xfc]
xor esi, esi
mov byte [ebp - 4], 1
mov eax, dword [edi + 0x34]
test eax, eax
je 0x100357d7
dec eax
cmp esi, eax
jne 0x10035780
xor eax, eax
mov byte [ebp - 0x5c], 0
mov word [ebp - 0x5b], ax
movzx eax, byte [edi + esi + 0x2c]
push eax
lea eax, [ebp - 0x5c]
push str._.2X
push eax
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0xc
cmp byte [ebp - 0x5c], 0
jne 0x1003576c
xor ecx, ecx
lea eax, [ebp - 0x5c]
jmp 0x100357c1
lea ecx, [ebp - 0x5c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10035772
sub ecx, edx
lea eax, [ebp - 0x5c]
jmp 0x100357c1
xor eax, eax
mov byte [ebp - 0x60], 0
mov word [ebp - 0x5f], ax
mov byte [ebp - 0x5d], al
movzx eax, byte [edi + esi + 0x2c]
push eax
lea eax, [ebp - 0x60]
push str._.2X_
push eax
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0xc
cmp byte [ebp - 0x60], 0
jne 0x100357af
xor ecx, ecx
jmp 0x100357be
lea ecx, [ebp - 0x60]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100357b5
sub ecx, edx
lea eax, [ebp - 0x60]
push ecx
push eax
lea ecx, [ebp - 0x78]
call fcn.10007e70
mov eax, dword [edi + 0x34]
inc esi
cmp esi, eax
jb 0x10035738
sub esp, 0x18
lea eax, [ebp - 0x78]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.100081b0
lea ecx, [ebp - 0x11c]
call fcn.10040910
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0x90]
cmp eax, esi
je 0x1003588f
cmp dword [ebp - 0x7c], 8
jb 0x10035829
push dword [ebp - 0x90]
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 0x7c], 7
mov dword [ebp - 0x80], 0
mov word [ebp - 0x90], ax
cmp dword [esi + 0x14], 8
jae 0x10035862
mov eax, dword [esi + 0x10]
inc eax
je 0x10035870
add eax, eax
push eax
lea eax, [ebp - 0x90]
push esi
push eax
call dword [sym.imp.MSVCR120.dll_memmove]
add esp, 0xc
jmp 0x10035870
mov eax, dword [esi]
mov dword [ebp - 0x90], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x80], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x7c], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [ebp - 0x108], 8
jb 0x100358a3
push dword [ebp - 0x11c]
call ebx
add esp, 4
mov ecx, dword [ebp - 0x104]
lea eax, [ebp - 0xf0]
push eax
call fcn.10035930
cmp dword [ebp - 0x64], 0x10
jb 0x100358c3
push dword [ebp - 0x78]
call ebx
add esp, 4
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x78], 0
mov dword [ebp - 4], 0xffffffff
call fcn.10029880
mov esi, dword [sym.imp.WS2_32.dll_inet_ntop]
mov edi, dword [edi + 8]
mov dword [ebp - 0xfc], edi
test edi, edi
jne 0x10035424
push dword [ebp - 0xf8]
mov eax, dword [sym.imp.MSVCR120.dll_free]
call eax
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1010a06b
mov esp, ebp
pop ebp
ret