Function at 0x4f8580
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp eax, 0x18
ja 0x4f8750
cmp eax, 0xc
ja 0x4f8659
cmp eax, 4
jbe 0x4f895f
lea esi, [eax + eax*4]
mov edi, dword [ecx]
add edi, eax
mov edx, dword [ecx + eax - 4]
add edx, esi
shr eax, 1
and eax, 4
mov eax, dword [ecx + eax]
imul ecx, edi, 0xcc9e2d51
shr ecx, 0x11
imul edi, edi, 0x16a88000
or edi, ecx
imul ecx, edi, 0x1b873593
xor ecx, esi
rol ecx, 0xd
add eax, 9
lea ecx, [ecx + ecx*4]
add ecx, 0xe6546b64
imul esi, edx, 0xcc9e2d51
shr esi, 0x11
imul edx, edx, 0x16a88000
or edx, esi
imul edx, edx, 0x1b873593
xor edx, ecx
rol edx, 0xd
lea ecx, [edx + edx*4]
add ecx, 0xe6546b64
imul edx, eax, 0xcc9e2d51
shr edx, 0x11
imul eax, eax, 0x16a88000
or eax, edx
imul eax, eax, 0x1b873593
xor eax, ecx
rol eax, 0xd
lea eax, [eax + eax*4]
add eax, 0xe6546b64
mov ecx, eax
shr ecx, 0x10
xor ecx, eax
imul eax, ecx, 0x85ebca6b
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul ecx, ecx, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor eax, ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, eax
shr esi, 1
mov edx, dword [ecx + esi - 4]
imul edi, edx, 0xcc9e2d51
shr edi, 0x11
imul edx, edx, 0x16a88000
or edx, edi
mov edi, dword [ecx + 4]
imul ebx, edi, 0xcc9e2d51
shr ebx, 0x11
imul edi, edi, 0x16a88000
or edi, ebx
imul edx, edx, 0x1b873593
xor edx, eax
rol edx, 0xd
lea ebx, [edx + edx*4]
mov edx, 0xe6546b64
add ebx, edx
imul edi, edi, 0x1b873593
xor edi, ebx
mov ebx, dword [ecx + eax - 8]
imul edx, ebx, 0xcc9e2d51
shr edx, 0x11
imul ebx, ebx, 0x16a88000
or ebx, edx
rol edi, 0xd
lea edx, [edi + edi*4]
mov edi, 0xe6546b64
add edx, edi
imul edi, ebx, 0x1b873593
xor edi, edx
mov edx, dword [ecx + esi]
imul esi, edx, 0xcc9e2d51
shr esi, 0x11
imul edx, edx, 0x16a88000
or edx, esi
mov eax, dword [ecx + eax - 4]
mov ecx, dword [ecx]
rol edi, 0xd
lea esi, [edi + edi*4]
mov edi, 0xe6546b64
add esi, edi
imul edx, edx, 0x1b873593
xor edx, esi
imul esi, ecx, 0xcc9e2d51
shr esi, 0x11
imul ecx, ecx, 0x16a88000
or ecx, esi
rol edx, 0xd
lea edx, [edx + edx*4]
add edx, edi
mov esi, 0xe6546b64
imul ecx, ecx, 0x1b873593
xor ecx, edx
imul edx, eax, 0xcc9e2d51
shr edx, 0x11
imul eax, eax, 0x16a88000
or eax, edx
rol ecx, 0xd
lea ecx, [ecx + ecx*4]
add ecx, esi
imul eax, eax, 0x1b873593
xor eax, ecx
rol eax, 0xd
lea eax, [eax + eax*4]
add eax, esi
jmp 0x4f8630
imul edx, eax, 0xcc9e2d51
mov dword [ebp - 0x10], edx
mov edx, dword [ecx + eax - 4]
imul esi, edx, 0xcc9e2d51
shr esi, 0x11
imul edx, edx, 0x16a88000
or edx, esi
imul edx, edx, 0x1b873593
mov edi, dword [ecx + eax - 8]
mov esi, dword [ecx + eax - 0x14]
mov dword [ebp - 0x14], esi
xor edx, eax
mov dword [ebp - 0x1c], edx
mov esi, dword [ecx + eax - 0x10]
mov ebx, dword [ecx + eax - 0xc]
dec eax
mov edx, 0xcccccccd
mul edx
mov dword [ebp - 0x18], edx
imul eax, edi, 0xcc9e2d51
shr eax, 0x11
imul edi, edi, 0x16a88000
or edi, eax
imul eax, esi, 0xcc9e2d51
shr eax, 0x11
imul esi, esi, 0x16a88000
or esi, eax
imul eax, ebx, 0xcc9e2d51
shr eax, 0x11
imul ebx, ebx, 0x16a88000
or ebx, eax
mov edx, dword [ebp - 0x14]
imul eax, edx, 0xcc9e2d51
shr eax, 0x11
imul edx, edx, 0x16a88000
or edx, eax
mov eax, dword [ebp - 0x1c]
rol eax, 0xd
imul esi, esi, 0x1b873593
mov dword [ebp - 0x14], esi
lea esi, [eax + eax*4]
mov eax, 0xe6546b64
add esi, eax
xor esi, dword [ebp - 0x14]
imul eax, edi, 0x1b873593
imul edi, ebx, 0x1b873593
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x10]
xor eax, edi
rol eax, 0xd
lea ebx, [eax + eax*4]
mov eax, 0xe6546b64
add ebx, eax
xor ebx, dword [ebp - 0x14]
imul edx, edx, 0x1b873593
rol esi, 0xd
add edx, edi
lea eax, [esi + esi*4]
rol ebx, 0xd
mov esi, 0xe6546b64
add eax, esi
lea edi, [ebx + ebx*4]
rol edx, 0xd
add edi, esi
mov ebx, 0xe6546b64
lea esi, [edx + edx*4]
add esi, ebx
shr dword [ebp - 0x18], 4
mov edx, dword [ecx]
imul ebx, edx, 0xcc9e2d51
shr ebx, 0x11
imul edx, edx, 0x16a88000
or edx, ebx
mov dword [ebp - 0x10], edx
mov ebx, dword [ecx + 8]
imul edx, ebx, 0xcc9e2d51
shr edx, 0x11
imul ebx, ebx, 0x16a88000
or ebx, edx
imul ebx, ebx, 0x1b873593
add ebx, edi
mov edx, dword [ecx + 0xc]
imul edi, edx, 0xcc9e2d51
shr edi, 0x11
imul edx, edx, 0x16a88000
or edx, edi
imul edi, dword [ebp - 0x10], 0x1b873593
mov dword [ebp - 0x10], edi
imul edi, edx, 0x1b873593
xor eax, dword [ebp - 0x10]
rol eax, 0xe
mov edx, dword [ecx + 4]
add esi, edx
add edi, edx
lea eax, [eax + eax*4]
mov edx, 0xe6546b64
add eax, edx
xor edi, eax
mov eax, dword [ecx + 0x10]
rol ebx, 0xe
lea ebx, [ebx + ebx*4]
add ebx, edx
rol edi, 0xd
xor ebx, eax
add edi, eax
rol esi, 0xd
imul eax, esi, 0xcc9e2d51
bswap ebx
add eax, dword [ebp - 0x10]
lea esi, [ebx + ebx*4]
lea edi, [edi + edi*4]
add edi, edx
bswap edi
add ecx, 0x14
dec dword [ebp - 0x18]
jne 0x4f884c
rol edi, 0x15
imul ecx, edi, 0xcc9e2d51
shr ecx, 0x11
imul edx, edi, 0x16a88000
or edx, ecx
imul ecx, edx, 0xcc9e2d51
shr esi, 0xb
shl ebx, 0x15
lea edx, [ebx + ebx*4]
or edx, esi
imul esi, edx, 0xcc9e2d51
shr esi, 0x11
imul edx, edx, 0x16a88000
add ecx, eax
rol ecx, 0xd
or edx, esi
lea ecx, [ecx + ecx*4]
mov eax, 0xe6546b64
add ecx, eax
rol ecx, 0xf
add ecx, edx
imul edx, ecx, 0xcc9e2d51
shr edx, 0x13
imul ecx, ecx, 0xc5aa2000
or ecx, edx
lea ecx, [ecx + ecx*4]
add ecx, eax
rol ecx, 0xf
imul eax, ecx, 0xcc9e2d51
jmp 0x4f8651
test eax, eax
je 0x4f8981
mov esi, 9
xor edx, edx
xor edi, edi
movsx ebx, byte [ecx + edi]
imul edx, edx, 0xcc9e2d51
add edx, ebx
xor esi, edx
inc edi
cmp eax, edi
jne 0x4f896c
jmp 0x4f8988
xor edx, edx
mov esi, 9
imul ecx, eax, 0xcc9e2d51
shr ecx, 0x11
imul eax, eax, 0x16a88000
or eax, ecx
imul eax, eax, 0x1b873593
xor eax, esi
rol eax, 0xd
lea ecx, [eax + eax*4]
mov eax, 0xe6546b64
add ecx, eax
imul esi, edx, 0xcc9e2d51
shr esi, 0x11
imul edx, edx, 0x16a88000
or edx, esi
imul edx, edx, 0x1b873593
xor edx, ecx
rol edx, 0xd
lea ecx, [edx + edx*4]
add ecx, eax
mov eax, ecx
shr eax, 0x10
xor eax, ecx
imul eax, eax, 0x85ebca6b
jmp 0x4f863d