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

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
cdq
and edx, 0xf
add edx, eax
mov eax, dword [esp + 8]
push ebx
sar edx, 4
push ebp
mov ecx, edx
mov dword [esp + 8], edx
shl ecx, 4
push esi
mov esi, dword [esp + 0x1c]
add eax, ecx
neg edx
mov dword [esp + 0x1c], eax
push edi
mov edi, esi
mov ebx, esi
mov ebp, esi
je 0x1012af63
shl edx, 4
add edx, 8
add edx, eax
mov eax, dword [esp + 0x10]
imul ecx, dword [edx - 8], 0x239b961b
lea edx, [edx + 0x10]
rol ecx, 0xf
imul ecx, ecx, 0xab0e9789
xor ecx, esi
ror ecx, 0xd
add ecx, edi
lea esi, [ecx*4 + 0x561ccd1b]
add esi, ecx
imul ecx, dword [edx - 0x14], 0xab0e9789
rol ecx, 0x10
imul ecx, ecx, 0x38b34ae5
xor ecx, edi
ror ecx, 0xf
add ecx, ebx
lea edi, [ecx*4 + 0xbcaa747]
add edi, ecx
imul ecx, dword [edx - 0x10], 0x38b34ae5
ror ecx, 0xf
imul ecx, ecx, 0xa1e38b93
xor ecx, ebx
rol ecx, 0xf
add ecx, 0xeaf5d271
add ecx, ebp
lea ebx, [ecx + ecx*4]
imul ecx, dword [edx - 0xc], 0xa1e38b93
ror ecx, 0xe
imul ecx, ecx, 0x239b961b
xor ecx, ebp
rol ecx, 0xd
add ecx, esi
lea ebp, [ecx*4 + 0x32ac3b17]
add ebp, ecx
sub eax, 1
jne 0x1012aed3
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
xor edx, edx
and ecx, 0xf
dec ecx
cmp ecx, 0xe
ja case.default.0x1012af76
jmp dword [ecx*4 + 0x1012b164]
movzx edx, byte [eax + 0xe]
movzx ecx, byte [eax + 0xd]
shl edx, 0x10
shl ecx, 8
xor edx, ecx
jmp 0x1012af9e
movzx ecx, byte [eax + 0xd]
xor edx, edx
shl ecx, 8
xor edx, ecx
jmp 0x1012af9e
xor edx, edx
movzx ecx, byte [eax + 0xc]
xor ecx, edx
imul ecx, ecx, 0xa1e38b93
ror ecx, 0xe
imul ecx, ecx, 0x239b961b
xor ebp, ecx
movzx edx, byte [eax + 0xb]
movzx ecx, byte [eax + 0xa]
shl ecx, 0x10
shl edx, 0x18
xor edx, ecx
movzx ecx, byte [eax + 9]
shl ecx, 8
xor edx, ecx
jmp 0x1012aff5
movzx ecx, byte [eax + 0xa]
xor edx, edx
shl ecx, 0x10
xor edx, ecx
movzx ecx, byte [eax + 9]
shl ecx, 8
xor edx, ecx
jmp 0x1012aff5
movzx ecx, byte [eax + 9]
xor edx, edx
shl ecx, 8
xor edx, ecx
jmp 0x1012aff5
xor edx, edx
movzx ecx, byte [eax + 8]
xor ecx, edx
imul ecx, ecx, 0x38b34ae5
ror ecx, 0xf
imul ecx, ecx, 0xa1e38b93
xor ebx, ecx
movzx edx, byte [eax + 7]
movzx ecx, byte [eax + 6]
shl ecx, 0x10
shl edx, 0x18
xor edx, ecx
movzx ecx, byte [eax + 5]
shl ecx, 8
xor edx, ecx
jmp 0x1012b04c
movzx ecx, byte [eax + 6]
xor edx, edx
shl ecx, 0x10
xor edx, ecx
movzx ecx, byte [eax + 5]
shl ecx, 8
xor edx, ecx
jmp 0x1012b04c
movzx ecx, byte [eax + 5]
xor edx, edx
shl ecx, 8
xor edx, ecx
jmp 0x1012b04c
xor edx, edx
movzx ecx, byte [eax + 4]
xor ecx, edx
imul ecx, ecx, 0xab0e9789
rol ecx, 0x10
imul ecx, ecx, 0x38b34ae5
xor edi, ecx
movzx edx, byte [eax + 3]
shl edx, 0x18
movzx ecx, byte [eax + 2]
shl ecx, 0x10
xor edx, ecx
movzx ecx, byte [eax + 1]
shl ecx, 8
xor edx, ecx
movzx eax, byte [eax]
xor eax, edx
imul eax, eax, 0x239b961b
rol eax, 0xf
imul eax, eax, 0xab0e9789
xor esi, eax
mov eax, dword [esp + 0x1c]
xor esi, eax
xor ebx, eax
xor ebp, eax
xor edi, eax
mov dword [esp + 0x20], ebp
add esi, ebp
mov dword [esp + 0x1c], ebx
add esi, ebx
add esi, edi
mov eax, esi
shr eax, 0x10
xor eax, esi
imul ecx, eax, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
lea ecx, [edi + esi]
imul ebp, eax, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor eax, ecx
imul ecx, eax, 0x85ebca6b
mov edx, ebp
shr edx, 0x10
xor edx, ebp
mov eax, ecx
shr eax, 0xd
xor eax, ecx
mov ecx, dword [esp + 0x1c]
imul eax, eax, 0xc2b2ae35
add ecx, esi
mov ebx, eax
shr ebx, 0x10
xor ebx, eax
mov eax, ecx
shr eax, 0x10
xor eax, ecx
imul ecx, eax, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
mov ecx, dword [esp + 0x20]
imul eax, eax, 0xc2b2ae35
add ecx, esi
mov edi, eax
shr edi, 0x10
xor edi, eax
mov eax, ecx
shr eax, 0x10
xor eax, ecx
imul ecx, eax, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
mov ecx, dword [esp + 0x24]
imul eax, eax, 0xc2b2ae35
mov esi, eax
shr esi, 0x10
xor esi, eax
add edx, esi
add edx, edi
add edx, ebx
mov dword [ecx], edx
lea eax, [ebx + edx]
mov dword [ecx + 4], eax
lea eax, [edi + edx]
pop edi
mov dword [ecx + 8], eax
lea eax, [esi + edx]
pop esi
pop ebp
mov dword [ecx + 0xc], eax
pop ebx
pop ecx
ret