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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp ebx, 0x18
ja 0x46ed98
cmp ebx, 0xc
ja 0x46efbd
cmp ebx, 4
ja 0x46f0a3
test ebx, ebx
je 0x46f12b
mov esi, 9
xor edx, edx
xor ecx, ecx
nop word [eax + eax]
movsx edi, byte [eax + ecx]
imul edx, edx, 0xcc9e2d51
add edx, edi
xor esi, edx
inc ecx
cmp ebx, ecx
jne 0x46ed80
jmp 0x46f132
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 ecx, dword [eax + ebx - 8]
imul edi, ecx, 0xcc9e2d51
shr edi, 0x11
imul ecx, ecx, 0x16a88000
or ecx, edi
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax + ebx - 0x10]
imul edi, ecx, 0xcc9e2d51
shr edi, 0x11
imul esi, ecx, 0x16a88000
or esi, edi
mov edx, ebx
mov ebx, dword [eax + ebx - 0xc]
imul edi, ebx, 0xcc9e2d51
shr edi, 0x11
imul ebx, ebx, 0x16a88000
or ebx, edi
mov edi, dword [eax + edx - 0x14]
mov ecx, eax
imul eax, edi, 0xcc9e2d51
shr eax, 0x11
imul edi, edi, 0x16a88000
or edi, eax
imul eax, dword [ebp - 0x10], 0x1b873593
imul esi, esi, 0x1b873593
mov dword [ebp - 0x10], esi
xor eax, edx
rol eax, 0xd
lea esi, [eax + eax*4]
add esi, 0xe6546b64
xor esi, dword [ebp - 0x10]
imul eax, dword [ebp - 0x14], 0x1b873593
imul ebx, ebx, 0x1b873593
mov dword [ebp - 0x10], ebx
imul ebx, edx, 0xcc9e2d51
mov dword [ebp - 0x14], ebx
xor eax, ebx
rol eax, 0xd
lea ebx, [eax + eax*4]
add ebx, 0xe6546b64
xor ebx, dword [ebp - 0x10]
dec edx
mov eax, edx
mov edx, 0xcccccccd
mul edx
mov dword [ebp - 0x18], edx
imul edx, edi, 0x1b873593
add edx, dword [ebp - 0x14]
rol esi, 0xd
lea eax, [esi + esi*4]
add eax, 0xe6546b64
rol ebx, 0xd
rol edx, 0xd
lea edi, [ebx + ebx*4]
add edi, 0xe6546b64
lea esi, [edx + edx*4]
add esi, 0xe6546b64
shr dword [ebp - 0x18], 4
nop word cs:[eax + eax]
mov ebx, ecx
mov ecx, dword [ecx]
imul edx, ecx, 0xcc9e2d51
shr edx, 0x11
imul ecx, ecx, 0x16a88000
or ecx, edx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebx + 8]
imul edx, ecx, 0xcc9e2d51
shr edx, 0x11
imul ecx, ecx, 0x16a88000
or ecx, edx
imul ecx, ecx, 0x1b873593
add ecx, edi
mov edx, dword [ebx + 0xc]
imul edi, edx, 0xcc9e2d51
shr edi, 0x11
imul edx, edx, 0x16a88000
or edx, edi
imul edi, edx, 0x1b873593
mov edx, dword [ebx + 4]
mov dword [ebp - 0x10], ebx
add esi, edx
add edi, edx
imul edx, dword [ebp - 0x14], 0x1b873593
xor eax, edx
rol eax, 0xe
lea eax, [eax + eax*4]
add eax, 0xe6546b64
rol ecx, 0xe
xor edi, eax
mov eax, dword [ebx + 0x10]
lea ebx, [ecx + ecx*4]
add ebx, 0xe6546b64
rol edi, 0xd
xor ebx, eax
add edi, eax
rol esi, 0xd
imul eax, esi, 0xcc9e2d51
bswap ebx
add eax, edx
lea esi, [ebx + ebx*4]
lea edi, [edi + edi*4]
add edi, 0xe6546b64
bswap edi
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
dec dword [ebp - 0x18]
jne 0x46eea0
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
or edx, esi
add ecx, eax
rol ecx, 0xd
lea eax, [ecx + ecx*4]
add eax, 0xe6546b64
rol eax, 0xf
add eax, edx
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 0x46f19b
mov edx, ebx
shr edx, 1
mov ecx, dword [eax + edx - 4]
imul esi, ecx, 0xcc9e2d51
shr esi, 0x11
imul ecx, ecx, 0x16a88000
or ecx, esi
mov esi, dword [eax + 4]
imul edi, esi, 0xcc9e2d51
shr edi, 0x11
imul esi, esi, 0x16a88000
or esi, edi
imul ecx, ecx, 0x1b873593
xor ecx, ebx
rol ecx, 0xd
lea ecx, [ecx + ecx*4]
add ecx, 0xe6546b64
imul esi, esi, 0x1b873593
xor esi, ecx
mov ecx, dword [eax + ebx - 8]
imul edi, ecx, 0xcc9e2d51
shr edi, 0x11
imul ecx, ecx, 0x16a88000
or ecx, edi
mov edx, dword [eax + edx]
rol esi, 0xd
lea esi, [esi + esi*4]
add esi, 0xe6546b64
imul ecx, ecx, 0x1b873593
xor ecx, esi
imul esi, edx, 0xcc9e2d51
shr esi, 0x11
imul edx, edx, 0x16a88000
or edx, esi
mov esi, eax
mov eax, dword [eax + ebx - 4]
rol ecx, 0xd
mov esi, dword [esi]
lea ecx, [ecx + ecx*4]
add ecx, 0xe6546b64
imul edx, edx, 0x1b873593
xor edx, ecx
imul ecx, esi, 0xcc9e2d51
shr ecx, 0x11
imul esi, esi, 0x16a88000
or esi, ecx
rol edx, 0xd
lea ecx, [edx + edx*4]
add ecx, 0xe6546b64
imul edx, esi, 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 0x46f116
lea edx, [ebx + ebx*4]
mov esi, dword [eax]
add esi, ebx
mov ecx, dword [eax + ebx - 4]
add ecx, edx
shr ebx, 1
and ebx, 4
mov eax, dword [eax + ebx]
add eax, 9
imul edi, esi, 0xcc9e2d51
shr edi, 0x11
imul esi, esi, 0x16a88000
or esi, edi
imul esi, esi, 0x1b873593
xor esi, edx
rol esi, 0xd
lea edx, [esi + esi*4]
add edx, 0xe6546b64
imul esi, ecx, 0xcc9e2d51
shr esi, 0x11
imul ecx, ecx, 0x16a88000
or ecx, esi
imul ecx, ecx, 0x1b873593
xor ecx, edx
rol ecx, 0xd
lea ecx, [ecx + ecx*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 0x46f17a
xor edx, edx
mov esi, 9
imul ecx, ebx, 0xcc9e2d51
shr ecx, 0x11
imul eax, ebx, 0x16a88000
or eax, ecx
imul eax, eax, 0x1b873593
xor eax, esi
rol eax, 0xd
lea eax, [eax + eax*4]
add eax, 0xe6546b64
imul ecx, edx, 0xcc9e2d51
shr ecx, 0x11
imul edx, edx, 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, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret