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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp ebx, 0x18
ja 0x1005a670
cmp ebx, 0xc
ja 0x1005a8a8
cmp ebx, 4
ja 0x1005a98c
test ebx, ebx
je 0x1005aa17
lea ecx, [ebx - 1]
mov edx, ebx
and edx, 3
mov dword [ebp - 0x10], edx
cmp ecx, 3
jae 0x1005aa23
mov ecx, 9
xor esi, esi
xor edi, edi
jmp 0x1005aa72
mov ecx, dword [eax + ebx - 4]
imul edx, ecx, 0xcc9e2d51
shr edx, 0x11
imul ecx, ecx, 0x16a88000
or ecx, edx
mov dword [ebp - 0x10], ecx
mov edx, dword [eax + ebx - 8]
imul esi, edx, 0xcc9e2d51
shr esi, 0x11
imul ecx, edx, 0x16a88000
or ecx, esi
mov dword [ebp - 0x18], ecx
mov esi, dword [eax + ebx - 0x10]
imul edi, esi, 0xcc9e2d51
shr edi, 0x11
mov ecx, ebx
imul ebx, esi, 0x16a88000
or ebx, edi
mov esi, dword [eax + ecx - 0xc]
imul edi, esi, 0xcc9e2d51
shr edi, 0x11
imul esi, esi, 0x16a88000
or esi, edi
mov edx, dword [eax + ecx - 0x14]
mov edi, eax
imul eax, edx, 0xcc9e2d51
shr eax, 0x11
imul edx, edx, 0x16a88000
or edx, eax
mov dword [ebp - 0x14], edx
imul eax, dword [ebp - 0x10], 0x1b873593
xor eax, ecx
rol eax, 0xd
imul edx, ebx, 0x1b873593
lea ebx, [eax + eax*4]
add ebx, 0xe6546b64
xor ebx, edx
imul eax, dword [ebp - 0x18], 0x1b873593
imul edx, ecx, 0xcc9e2d51
mov dword [ebp - 0x10], edx
xor eax, edx
rol eax, 0xd
imul edx, esi, 0x1b873593
lea esi, [eax + eax*4]
add esi, 0xe6546b64
xor esi, edx
add ecx, 0xffffffff
mov edx, 0xcccccccd
mov eax, ecx
mul edx
imul ecx, dword [ebp - 0x14], 0x1b873593
add ecx, dword [ebp - 0x10]
rol ebx, 0xd
lea ebx, [ebx + ebx*4]
add ebx, 0xe6546b64
rol esi, 0xd
lea eax, [esi + esi*4]
add eax, 0xe6546b64
rol ecx, 0xd
lea esi, [ecx + ecx*4]
add esi, 0xe6546b64
shr edx, 4
mov dword [ebp - 0x20], edx
nop dword [eax + eax]
mov ecx, dword [edi]
imul edx, ecx, 0xcc9e2d51
shr edx, 0x11
imul ecx, ecx, 0x16a88000
or ecx, edx
mov dword [ebp - 0x10], ecx
mov edx, dword [edi + 8]
mov ecx, edi
imul edi, edx, 0xcc9e2d51
shr edi, 0x11
imul edx, edx, 0x16a88000
or edx, edi
imul edx, edx, 0x1b873593
add edx, eax
mov eax, dword [ecx + 0xc]
imul edi, eax, 0xcc9e2d51
shr edi, 0x11
imul eax, eax, 0x16a88000
or eax, edi
imul edi, eax, 0x1b873593
mov eax, dword [ecx + 4]
mov dword [ebp - 0x18], ecx
add esi, eax
add edi, eax
imul eax, dword [ebp - 0x10], 0x1b873593
mov dword [ebp - 0x10], eax
xor ebx, eax
rol ebx, 0xe
lea eax, [ebx + ebx*4]
add eax, 0xe6546b64
rol esi, 0xd
xor edi, eax
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0x14], ecx
imul ebx, esi, 0xcc9e2d51
rol edx, 0xe
lea eax, [edx + edx*4]
add eax, 0xe6546b64
rol edi, 0xd
xor eax, ecx
push eax
call fcn.100a4aaa
add esp, 4
mov dword [ebp - 0x1c], eax
lea esi, [eax + eax*4]
add edi, dword [ebp - 0x14]
lea eax, [edi + edi*4]
add eax, 0xe6546b64
push eax
call fcn.100a4aaa
add esp, 4
add ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x18]
add edi, 0x14
add dword [ebp - 0x20], 0xffffffff
jne 0x1005a770
rol eax, 0x15
imul ecx, eax, 0xcc9e2d51
shr ecx, 0x11
imul eax, eax, 0x16a88000
or eax, ecx
imul eax, eax, 0xcc9e2d51
shr esi, 0xb
mov ecx, dword [ebp - 0x1c]
shl ecx, 0x15
lea ecx, [ecx + ecx*4]
or ecx, esi
imul edx, ecx, 0xcc9e2d51
shr edx, 0x11
imul ecx, ecx, 0x16a88000
or ecx, edx
add eax, ebx
rol eax, 0xd
lea eax, [eax + eax*4]
add eax, 0xe6546b64
rol eax, 0xf
add eax, ecx
imul ecx, eax, 0xcc9e2d51
shr ecx, 0x13
imul eax, eax, 0xc5aa2000
or eax, ecx
lea eax, [eax + eax*4]
add eax, 0xe6546b64
rol eax, 0xf
imul eax, eax, 0xcc9e2d51
jmp 0x1005aaff
mov ecx, ebx
shr ecx, 1
mov edx, dword [eax + ecx - 4]
imul esi, edx, 0xcc9e2d51
shr esi, 0x11
imul edx, edx, 0x16a88000
or edx, esi
mov esi, dword [eax + 4]
imul edi, esi, 0xcc9e2d51
shr edi, 0x11
imul esi, esi, 0x16a88000
or esi, edi
imul edx, edx, 0x1b873593
xor edx, ebx
rol edx, 0xd
lea edx, [edx + edx*4]
add edx, 0xe6546b64
imul esi, esi, 0x1b873593
xor esi, edx
mov edx, dword [eax + ebx - 8]
imul edi, edx, 0xcc9e2d51
shr edi, 0x11
imul edx, edx, 0x16a88000
or edx, edi
rol esi, 0xd
mov ecx, dword [eax + ecx]
lea esi, [esi + esi*4]
add esi, 0xe6546b64
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, 0xe6546b64
imul ecx, ecx, 0x1b873593
xor ecx, edx
mov edx, dword [eax]
rol ecx, 0xd
mov eax, dword [eax + ebx - 4]
imul esi, edx, 0xcc9e2d51
shr esi, 0x11
imul edx, edx, 0x16a88000
or edx, esi
lea ecx, [ecx + ecx*4]
add ecx, 0xe6546b64
imul edx, edx, 0x1b873593
xor edx, ecx
imul ecx, eax, 0xcc9e2d51
shr ecx, 0x11
imul eax, eax, 0x16a88000
or eax, ecx
rol edx, 0xd
lea ecx, [edx + edx*4]
add ecx, 0xe6546b64
jmp 0x1005a9ff
lea ecx, [ebx + ebx*4]
mov edx, dword [eax]
add edx, ebx
mov esi, dword [eax + ebx - 4]
add esi, ecx
shr ebx, 1
and ebx, 4
mov eax, dword [eax + ebx]
imul edi, edx, 0xcc9e2d51
shr edi, 0x11
imul edx, edx, 0x16a88000
or edx, edi
imul edx, edx, 0x1b873593
xor edx, ecx
rol edx, 0xd
add eax, 9
lea ecx, [edx + edx*4]
add ecx, 0xe6546b64
imul edx, esi, 0xcc9e2d51
shr edx, 0x11
imul esi, esi, 0x16a88000
or esi, edx
imul edx, esi, 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
jmp 0x1005aade
xor esi, esi
mov ecx, 9
jmp 0x1005aa96
and ebx, 0xfffffffc
mov ecx, 9
xor esi, esi
xor edi, edi
nop
movsx edx, byte [eax + edi]
imul esi, esi, 0xcc9e2d51
add esi, edx
xor ecx, esi
movsx edx, byte [eax + edi + 1]
imul esi, esi, 0xcc9e2d51
add esi, edx
xor ecx, esi
movsx edx, byte [eax + edi + 2]
imul esi, esi, 0xcc9e2d51
add esi, edx
xor ecx, esi
movsx edx, byte [eax + edi + 3]
imul esi, esi, 0xcc9e2d51
add esi, edx
xor ecx, esi
add edi, 4
cmp ebx, edi
jne 0x1005aa30
cmp dword [ebp - 0x10], 0
mov ebx, dword [ebp + 0xc]
je 0x1005aa96
add eax, edi
xor edi, edi
nop
movsx edx, byte [eax + edi]
imul esi, esi, 0xcc9e2d51
add esi, edx
xor ecx, esi
add edi, 1
cmp dword [ebp - 0x10], edi
jne 0x1005aa80
imul edx, ebx, 0xcc9e2d51
shr edx, 0x11
imul eax, ebx, 0x16a88000
or eax, edx
imul eax, eax, 0x1b873593
xor eax, ecx
rol eax, 0xd
lea eax, [eax + eax*4]
add eax, 0xe6546b64
imul ecx, esi, 0xcc9e2d51
shr ecx, 0x11
imul edx, esi, 0x16a88000
or edx, ecx
imul ecx, edx, 0x1b873593
xor ecx, eax
rol ecx, 0xd
lea eax, [ecx + ecx*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, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret