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

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
cdq
and edx, 0xf
add edx, eax
mov eax, dword [esp + 0xc]
push ebx
sar edx, 4
push ebp
mov ecx, edx
mov dword [esp + 0xc], edx
shl ecx, 4
push esi
mov esi, dword [esp + 0x20]
add eax, ecx
neg edx
mov dword [esp + 0xc], esi
push edi
mov ebp, esi
mov dword [esp + 0x24], esi
mov ebx, esi
mov dword [esp + 0x1c], eax
mov edi, esi
je 0x504418
shl edx, 4
add edx, 8
add edx, eax
mov eax, dword [esp + 0x14]
nop dword [eax]
imul ecx, dword [edx - 8], 0x239b961b
lea edx, [edx + 0x10]
ror ecx, 0x11
imul ecx, ecx, 0xab0e9789
xor ecx, esi
ror ecx, 0xd
add ecx, ebp
lea esi, [ecx*4 + 0x561ccd1b]
add esi, ecx
imul ecx, dword [edx - 0x14], 0xab0e9789
ror ecx, 0x10
imul ecx, ecx, 0x38b34ae5
xor ecx, ebp
ror ecx, 0xf
add ecx, ebx
lea ebp, [ecx*4 + 0xbcaa747]
add ebp, ecx
imul ecx, dword [edx - 0x10], 0x38b34ae5
ror ecx, 0xf
imul ecx, ecx, 0xa1e38b93
xor ecx, ebx
ror ecx, 0x11
add ecx, 0xeaf5d271
add ecx, edi
lea ebx, [ecx + ecx*4]
imul ecx, dword [edx - 0xc], 0xa1e38b93
ror ecx, 0xe
imul ecx, ecx, 0x239b961b
xor ecx, edi
ror ecx, 0x13
add ecx, esi
lea edi, [ecx*4 + 0x32ac3b17]
add edi, ecx
sub eax, 1
jne 0x504380
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], edi
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x20]
xor edx, edx
and ecx, 0xf
xor edi, edi
dec ecx
xor ebx, ebx
cmp ecx, 0xe
ja case.default.0x50442f
jmp dword [ecx*4 + 0x5045dc]
movzx edx, byte [eax + 0xe]
movzx ecx, byte [eax + 0xd]
shl edx, 0x10
shl ecx, 8
xor edx, ecx
jmp 0x504457
movzx ecx, byte [eax + 0xd]
xor edx, edx
shl ecx, 8
xor edx, ecx
jmp 0x504457
xor edx, edx
movzx ecx, byte [eax + 0xc]
xor ecx, edx
imul ecx, ecx, 0xa1e38b93
ror ecx, 0xe
imul ecx, ecx, 0x239b961b
xor dword [esp + 0x24], ecx
movzx ebx, byte [eax + 0xb]
shl ebx, 0x18
movzx ecx, byte [eax + 0xa]
shl ecx, 0x10
xor ebx, ecx
movzx ecx, byte [eax + 9]
shl ecx, 8
xor ebx, ecx
movzx ecx, byte [eax + 8]
xor ecx, ebx
imul ecx, ecx, 0x38b34ae5
ror ecx, 0xf
imul ecx, ecx, 0xa1e38b93
xor dword [esp + 0x10], ecx
movzx edi, byte [eax + 7]
shl edi, 0x18
movzx ecx, byte [eax + 6]
shl ecx, 0x10
xor edi, ecx
movzx ecx, byte [eax + 5]
shl ecx, 8
xor edi, ecx
movzx ecx, byte [eax + 4]
xor ecx, edi
imul ecx, ecx, 0xab0e9789
ror ecx, 0x10
imul ecx, ecx, 0x38b34ae5
xor ebp, 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
ror eax, 0x11
imul eax, eax, 0xab0e9789
xor esi, eax
mov ecx, dword [esp + 0x20]
xor ebp, ecx
mov eax, dword [esp + 0x24]
xor esi, ecx
xor eax, ecx
mov edx, dword [esp + 0x10]
add esi, eax
mov dword [esp + 0x24], eax
xor edx, ecx
mov dword [esp + 0x20], ebp
add esi, edx
add esi, ebp
mov eax, esi
shr eax, 0x10
xor eax, esi
imul ecx, eax, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
mov ecx, dword [esp + 0x20]
imul ebp, eax, 0xc2b2ae35
add ecx, esi
mov eax, ecx
shr eax, 0x10
xor eax, ecx
imul ecx, eax, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
lea ecx, [edx + esi]
imul eax, eax, 0xc2b2ae35
mov edx, ebp
shr edx, 0x10
xor edx, ebp
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 + 0x24]
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 + 0x28]
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
add esp, 8
ret