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

Disassembly:
sub esp, 0x7c
mov eax, dword [0x5a83f8]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
mov ebx, dword [esp + 0x84]
push ebp
push esi
push edi
mov esi, 0x3c00
mov dword [esp + 0x20], ebx
xor ebp, ebp
mov dword [esp + 0x2c], 0x3c00
push esi
mov edi, 3
mov dword [esp + 0x14], ebp
mov dword [ebx], ebp
call dword [0x5a8f50]
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
je 0x51ef14
push 0x250
mov dword [esp + 0x1c], 4
call dword [0x5a8f50]
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x51ef29
push dword [esp + 0x24]
call dword [0x5a8f58]
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0046ec22
add esp, 0x7c
ret
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x28]
push 0
push 0
push 0
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
jmp 0x51ef86
sub edi, 1
je 0x51ef8b
mov eax, dword [esp + 0x2c]
cmp esi, eax
jae 0x51ef6d
push eax
push dword [esp + 0x28]
call dword [0x5a8f54]
add esp, 8
test eax, eax
je 0x51f329
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
jmp 0x51ef71
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x2c]
push ecx
push eax
push 0
push 0
push 0
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
test eax, eax
je 0x51ef93
cmp eax, 0x6f
je 0x51ef40
test eax, eax
jne 0x51f329
mov eax, dword [esp + 0x24]
mov ebx, eax
mov dword [esp + 0x28], eax
test eax, eax
je 0x51f0fb
cmp dword [ebx + 0x44], 1
jne 0x51f0e8
mov ebp, dword [ebx + 0x1c]
test ebp, ebp
je 0x51f0e8
imul edi, dword [esp + 0x10], 0x94
mov dword [esp + 0x1c], edi
push 0x41
lea eax, [esp + 0x48]
push 0
push eax
call fcn.004efc10
mov esi, dword [ebp + 0xc]
add esp, 0xc
movzx eax, word [esi]
cmp eax, 2
jne 0x51f0ad
mov eax, dword [esi + 4]
lea ebx, [esi + 4]
test eax, eax
je 0x51f0d9
cmp eax, 0xffffffff
je 0x51f0d9
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x10], eax
jne 0x51f032
lea edi, [eax + 4]
imul eax, edi, 0x94
push eax
push dword [esp + 0x18]
call dword [0x5a8f54]
add esp, 8
test eax, eax
je 0x51f0d5
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
push dword [eax + 0xa8]
add eax, 0xb0
push esi
push eax
call fcn.0051ee10
mov ecx, dword [esp + 0x20]
push 0x41
mov dword [edi + ecx], eax
mov eax, dword [esp + 0x20]
mov dword [edi + ecx + 4], eax
lea eax, [esp + 0x54]
push eax
push ebx
push 2
call fcn.00529980
add esp, 0x1c
test eax, eax
je 0x51f0d9
movzx eax, word [esi + 2]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
push eax
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x1c]
push str.__s_:_u
add eax, 8
add eax, edi
push 0x89
push eax
call fcn.004366f0
inc dword [esp + 0x24]
add esp, 0x14
add edi, 0x94
mov dword [esp + 0x1c], edi
jmp 0x51f0d9
cmp eax, 0x17
jne 0x51f0d9
xor ebx, ebx
lea ecx, [esi + 8]
mov edx, 0x572df8
lea edi, [eax - 0xb]
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x51f16f
add ecx, 4
add edx, 4
sub edi, 4
jae 0x51f0c0
mov edi, dword [esp + 0x1c]
mov ebp, dword [ebp + 8]
test ebp, ebp
jne 0x51efc6
mov ebx, dword [esp + 0x28]
mov ebx, dword [ebx + 8]
mov dword [esp + 0x28], ebx
test ebx, ebx
jne 0x51efa5
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
push 0x51ede0
push 0x94
push ebp
push esi
call fcn.004fd880
add esp, 0x10
xor ebx, ebx
test ebp, ebp
je 0x51f325
lea eax, [esi + 8]
mov dword [esp + 0x28], eax
mov edi, eax
mov dword [esp + 0x18], eax
nop word [eax + eax]
xor esi, esi
test ebx, ebx
je 0x51f27f
mov ebp, dword [esp + 0x18]
mov edi, eax
mov eax, ebp
mov ecx, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x51f25f
test dl, dl
je 0x51f168
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x51f25f
add ecx, 2
add eax, 2
test dl, dl
jne 0x51f144
xor eax, eax
jmp 0x51f264
mov edi, dword [esp + 0x18]
cmp dword [esp + 0x10], edi
jne 0x51f1a0
add edi, 4
imul eax, edi, 0x94
push eax
push dword [esp + 0x18]
call dword [0x5a8f54]
add esp, 8
test eax, eax
je 0x51f0d5
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
xorps xmm0, xmm0
lea eax, [esp + 0x30]
movups xmmword [esp + 0x30], xmm0
push eax
movups xmm0, xmmword [esi + 8]
mov dword [esp + 0x34], 0x17
movups xmmword [esp + 0x38], xmm0
call fcn.0051c300
add esp, 4
test eax, eax
mov eax, dword [esp + 0x28]
je 0x51f1d1
mov ebx, dword [eax + 0x48]
push dword [eax + 0xac]
add eax, 0xb0
push esi
push eax
call fcn.0051ee10
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
push 0x41
mov dword [edi + ecx], eax
mov eax, dword [esp + 0x20]
mov dword [edi + ecx + 4], eax
lea eax, [esp + 0x54]
push eax
lea eax, [esi + 8]
push eax
push 0x17
call fcn.00529980
add esp, 0x1c
test eax, eax
je 0x51f0d9
movzx eax, word [esi + 2]
test ebx, ebx
je 0x51f071
push ebx
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
push eax
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x20]
push str.__s_:_u___u
add eax, 8
add eax, edi
push 0x89
push eax
call fcn.004366f0
inc dword [esp + 0x28]
add esp, 0x18
add edi, 0x94
mov dword [esp + 0x1c], edi
jmp 0x51f0d9
sbb eax, eax
or eax, 1
test eax, eax
je 0x51f277
inc esi
add edi, 0x94
cmp esi, ebx
jb 0x51f140
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
cmp esi, ebx
jne 0x51f30e
push edi
call fcn.0051e660
mov ecx, dword [esp + 0x24]
add esp, 4
mov esi, eax
mov ecx, dword [ecx]
test ecx, ecx
je 0x51f2aa
push ecx
call fcn.0051e660
add esp, 4
add eax, 2
jmp 0x51f2af
mov eax, 1
add eax, esi
push eax
mov eax, dword [esp + 0x24]
push dword [eax]
call dword [0x5a8f54]
add esp, 8
test eax, eax
je 0x51f30e
mov ecx, dword [esp + 0x20]
cmp dword [ecx], 0
jne 0x51f2d1
mov byte [eax], 0
push eax
mov dword [ecx], eax
call fcn.0051e660
add esp, 4
test eax, eax
je 0x51f2fe
mov eax, dword [esp + 0x20]
mov edi, dword [eax]
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x51f2e7
mov ax, word [0x565720]
mov word [edi], ax
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
push esi
push edi
push dword [eax]
call fcn.005486b0
add esp, 0xc
mov eax, dword [esp + 0x28]
inc ebx
add edi, 0x94
mov dword [esp + 0x18], edi
cmp ebx, ebp
jb 0x51f130
mov ebx, dword [esp + 0x20]
push dword [esp + 0x14]
call dword [0x5a8f58]
mov eax, dword [esp + 0x28]
add esp, 4
test eax, eax
je 0x51f348
push eax
call dword [0x5a8f58]
add esp, 4
mov ecx, dword [esp + 0x88]
xor eax, eax
cmp dword [ebx], eax
pop edi
pop esi
pop ebp
setne al
pop ebx
xor ecx, esp
call fcn.0046ec22
add esp, 0x7c
ret