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

Disassembly:
sub esp, 0x80
mov eax, dword [0x5df040]
xor eax, esp
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x84]
push ebx
push ebp
push esi
push edi
mov esi, 0x3c00
mov dword [esp + 0x28], eax
xor ebp, ebp
mov dword [esp + 0x30], 0x3c00
push esi
mov edi, 3
mov dword [esp + 0x14], ebp
mov dword [eax], ebp
call dword [0x5df5e8]
mov ebx, eax
add esp, 4
mov dword [esp + 0x24], ebx
test ebx, ebx
je 0x515df6
push 0x250
mov dword [esp + 0x20], 4
call dword [0x5df5e8]
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
jne 0x515e11
push ebx
call dword [0x5df5f0]
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00423495
add esp, 0x80
ret
lea eax, [esp + 0x30]
push eax
push ebx
mov ebx, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
push 0
push 0
push 0
call ebx
cmp eax, 0x6f
je 0x515e40
test eax, eax
jne 0x516276
mov edi, dword [esp + 0x24]
mov dword [esp + 0x14], edi
jmp 0x515ea6
sub edi, 1
je 0x516276
mov eax, dword [esp + 0x30]
cmp esi, eax
jae 0x515e72
push eax
mov eax, dword [esp + 0x28]
push eax
call dword [0x5df5ec]
add esp, 8
test eax, eax
je 0x516276
mov esi, dword [esp + 0x30]
mov dword [esp + 0x24], eax
jmp 0x515e76
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], eax
push ecx
push eax
push 0
push 0
push 0
call ebx
test eax, eax
je 0x515e96
cmp eax, 0x6f
je 0x515e40
jmp 0x516276
mov edi, dword [esp + 0x14]
mov dword [esp + 0x24], edi
test edi, edi
je 0x51614e
cmp dword [edi + 0x44], 1
jne 0x51613b
mov ebp, dword [edi + 0x1c]
test ebp, ebp
je 0x51613b
imul ebx, dword [esp + 0x10], 0x94
mov dword [esp + 0x20], ebx
nop word [eax + eax]
push 0x40
lea eax, [esp + 0x4d]
mov byte [esp + 0x4c], 0
push 0
push eax
call fcn.00548bf0
mov esi, dword [ebp + 0xc]
add esp, 0xc
movzx eax, word [esi]
cmp eax, 2
jne 0x515fc8
mov eax, dword [esi + 4]
lea ebx, [esi + 4]
test eax, eax
je 0x516122
cmp eax, 0xffffffff
je 0x516122
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x10], eax
jne 0x515f41
lea edi, [eax + 4]
imul eax, edi, 0x94
push eax
push dword [esp + 0x1c]
call dword [0x5df5ec]
add esp, 8
test eax, eax
je 0x516128
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x18], eax
push dword [edi + 0xa8]
lea eax, [edi + 0xb0]
push esi
push eax
call fcn.00515cf0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
push 0x41
mov dword [ecx + edx], eax
mov eax, dword [esp + 0x20]
mov dword [ecx + edx + 4], eax
lea eax, [esp + 0x58]
push eax
push ebx
push 2
call fcn.00520620
add esp, 0x1c
test eax, eax
je 0x516122
movzx eax, word [esi + 2]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov ebx, dword [esp + 0x20]
movzx eax, ax
push eax
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x20]
push str.__s_:_u
add eax, 8
add eax, ebx
push 0x89
push eax
call fcn.004b7720
inc dword [esp + 0x24]
add esp, 0x14
add ebx, 0x94
mov dword [esp + 0x20], ebx
jmp 0x516130
cmp eax, 0x17
jne 0x516130
mov dword [esp + 0x2c], 0
lea ecx, [esi + 8]
mov edx, 0x59c184
lea edi, [eax - 0xb]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x515ffa
add ecx, 4
add edx, 4
sub edi, 4
jae 0x515fe4
jmp 0x51612c
mov edi, dword [esp + 0x1c]
cmp dword [esp + 0x10], edi
jne 0x51602b
add edi, 4
imul eax, edi, 0x94
push eax
push dword [esp + 0x1c]
call dword [0x5df5ec]
add esp, 8
test eax, eax
je 0x51612c
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edi
xorps xmm0, xmm0
mov dword [esp + 0x34], 0x17
movlpd qword [esp + 0x38], xmm0
lea eax, [esp + 0x34]
movlpd qword [esp + 0x40], xmm0
movups xmm0, xmmword [esi + 8]
push eax
movups xmmword [esp + 0x3c], xmm0
call fcn.00513630
mov edi, dword [esp + 0x18]
add esp, 4
test eax, eax
je 0x516067
mov eax, dword [edi + 0x48]
mov dword [esp + 0x2c], eax
push dword [edi + 0xac]
lea eax, [edi + 0xb0]
push esi
push eax
call fcn.00515cf0
mov ecx, dword [esp + 0x24]
push 0x41
mov dword [ebx + ecx], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + ecx + 4], eax
lea eax, [esp + 0x58]
push eax
lea eax, [esi + 8]
push eax
push 0x17
call fcn.00520620
add esp, 0x1c
test eax, eax
je 0x516130
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
add edi, 8
movzx eax, word [esi + 2]
add edi, ebx
test ecx, ecx
je 0x5160ef
push ecx
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
push eax
lea eax, [esp + 0x50]
push eax
push str.__s_:_u___u
push 0x89
push edi
call fcn.004b7720
inc dword [esp + 0x28]
add esp, 0x18
add ebx, 0x94
mov dword [esp + 0x20], ebx
jmp 0x51612c
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
push eax
lea eax, [esp + 0x4c]
push eax
push str.__s_:_u
push 0x89
push edi
call fcn.004b7720
inc dword [esp + 0x24]
add esp, 0x14
add ebx, 0x94
mov dword [esp + 0x20], ebx
jmp 0x51612c
mov ebx, dword [esp + 0x20]
jmp 0x516130
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
mov ebp, dword [ebp + 8]
test ebp, ebp
jne 0x515ed0
mov edi, dword [edi + 8]
mov dword [esp + 0x14], edi
test edi, edi
jne 0x515ea6
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
push 0x515cc0
push 0x94
push ebp
push esi
call fcn.005608c0
add esp, 0x10
xor ebx, ebx
test ebp, ebp
je 0x516276
lea eax, [esi + 8]
mov dword [esp + 0x2c], eax
mov edi, eax
mov dword [esp + 0x1c], eax
nop dword [eax]
xor esi, esi
test ebx, ebx
je 0x5161d0
mov ebp, dword [esp + 0x1c]
mov edi, eax
nop dword [eax]
mov eax, ebp
mov ecx, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x5161b4
test dl, dl
je 0x5161b0
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x5161b4
add ecx, 2
add eax, 2
test dl, dl
jne 0x516194
xor eax, eax
jmp 0x5161b9
sbb eax, eax
or eax, 1
test eax, eax
je 0x5161c8
inc esi
add edi, 0x94
cmp esi, ebx
jb 0x516190
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
cmp esi, ebx
jne 0x51625f
push edi
call fcn.005156c0
mov ecx, dword [esp + 0x2c]
add esp, 4
mov esi, eax
mov ecx, dword [ecx]
test ecx, ecx
je 0x5161fb
push ecx
call fcn.005156c0
add esp, 4
add eax, 2
jmp 0x516200
mov eax, 1
add eax, esi
push eax
mov eax, dword [esp + 0x2c]
push dword [eax]
call dword [0x5df5ec]
add esp, 8
test eax, eax
je 0x51625f
mov ecx, dword [esp + 0x28]
cmp dword [ecx], 0
jne 0x516222
mov byte [eax], 0
push eax
mov dword [ecx], eax
call fcn.005156c0
add esp, 4
test eax, eax
je 0x51624f
mov eax, dword [esp + 0x28]
mov edi, dword [eax]
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x516238
mov ax, word [0x58ceb0]
mov word [edi], ax
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
push esi
push edi
push dword [eax]
call fcn.00564380
add esp, 0xc
mov eax, dword [esp + 0x2c]
inc ebx
add edi, 0x94
mov dword [esp + 0x1c], edi
cmp ebx, ebp
jb 0x516180
push dword [esp + 0x18]
call dword [0x5df5f0]
mov eax, dword [esp + 0x28]
add esp, 4
test eax, eax
je 0x516295
push eax
call dword [0x5df5f0]
add esp, 4
mov ecx, dword [esp + 0x28]
xor eax, eax
cmp dword [ecx], eax
setne al
jmp 0x515df8