Function at 0x40d2e0
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 eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp eax, 0x18
ja 0x40d51b
cmp eax, 0xc
jbe 0x40d410
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 ecx, ebx, 0xcc9e2d51
shr ecx, 0x11
imul ebx, ebx, 0x16a88000
or ebx, ecx
rol edi, 0xd
lea ecx, [edi + edi*4]
add ecx, edx
imul edi, ebx, 0x1b873593
xor edi, ecx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + esi]
imul esi, ecx, 0xcc9e2d51
shr esi, 0x11
imul ecx, ecx, 0x16a88000
or ecx, esi
rol edi, 0xd
lea edi, [edi + edi*4]
add edi, edx
imul esi, ecx, 0x1b873593
xor esi, edi
mov ecx, dword [ebx]
imul edi, ecx, 0xcc9e2d51
shr edi, 0x11
imul ecx, ecx, 0x16a88000
or ecx, edi
rol esi, 0xd
lea esi, [esi + esi*4]
add esi, edx
imul ecx, ecx, 0x1b873593
xor ecx, esi
rol ecx, 0xd
mov eax, dword [ebx + eax - 4]
imul esi, eax, 0xcc9e2d51
shr esi, 0x11
imul eax, eax, 0x16a88000
or eax, esi
lea ecx, [ecx + ecx*4]
add ecx, edx
imul eax, eax, 0x1b873593
xor eax, ecx
rol eax, 0xd
lea eax, [eax + eax*4]
add eax, edx
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
cmp eax, 4
jbe 0x40d4ab
lea edx, [eax + eax*4]
mov esi, dword [ecx]
add esi, eax
imul edi, esi, 0xcc9e2d51
shr edi, 0x11
imul esi, esi, 0x16a88000
or esi, edi
mov edi, dword [ecx + eax - 4]
add edi, edx
shr eax, 1
and eax, 4
imul esi, esi, 0x1b873593
xor esi, edx
rol esi, 0xd
mov ecx, dword [ecx + eax]
lea edx, [esi + esi*4]
mov eax, 0xe6546b64
add edx, eax
imul esi, edi, 0xcc9e2d51
shr esi, 0x11
imul edi, edi, 0x16a88000
or edi, esi
imul esi, edi, 0x1b873593
xor esi, edx
rol esi, 0xd
add ecx, 9
lea edx, [esi + esi*4]
add edx, eax
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, eax
mov eax, ecx
shr eax, 0x10
xor eax, ecx
imul eax, eax, 0x85ebca6b
jmp 0x40d3f4
test eax, eax
je 0x40d512
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 0x40d4b8
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]
jmp 0x40d497
xor edx, edx
mov esi, 9
jmp 0x40d4cb
mov edi, ecx
mov ecx, dword [ecx + eax - 4]
imul edx, ecx, 0xcc9e2d51
shr edx, 0x11
imul ecx, ecx, 0x16a88000
or ecx, edx
mov dword [ebp - 0x18], ecx
mov ecx, dword [edi + eax - 8]
imul edx, ecx, 0xcc9e2d51
shr edx, 0x11
imul ecx, ecx, 0x16a88000
or ecx, edx
mov dword [ebp - 0x10], ecx
mov ecx, dword [edi + eax - 0x10]
imul edx, ecx, 0xcc9e2d51
shr edx, 0x11
imul esi, ecx, 0x16a88000
or esi, edx
mov ecx, dword [edi + eax - 0xc]
imul edx, ecx, 0xcc9e2d51
shr edx, 0x11
imul ebx, ecx, 0x16a88000
or ebx, edx
mov ecx, edi
mov edx, dword [edi + eax - 0x14]
imul ecx, edx, 0xcc9e2d51
shr ecx, 0x11
imul edx, edx, 0x16a88000
or edx, ecx
mov dword [ebp - 0x14], edx
imul ecx, dword [ebp - 0x18], 0x1b873593
xor ecx, eax
rol ecx, 0xd
imul edx, esi, 0x1b873593
lea esi, [ecx + ecx*4]
mov ecx, 0xe6546b64
add esi, ecx
xor esi, edx
imul ecx, dword [ebp - 0x10], 0x1b873593
imul edx, ebx, 0x1b873593
imul ebx, eax, 0xcc9e2d51
mov dword [ebp - 0x10], ebx
xor ecx, ebx
rol ecx, 0xd
lea ebx, [ecx + ecx*4]
mov ecx, 0xe6546b64
add ebx, ecx
xor ebx, edx
dec eax
mov ecx, 0xcccccccd
mul ecx
mov dword [ebp - 0x18], edx
imul ecx, dword [ebp - 0x14], 0x1b873593
add ecx, dword [ebp - 0x10]
rol esi, 0xd
lea eax, [esi + esi*4]
mov esi, 0xe6546b64
add eax, esi
rol ebx, 0xd
lea ebx, [ebx + ebx*4]
add ebx, esi
rol ecx, 0xd
lea edx, [ecx + ecx*4]
add edx, esi
shr dword [ebp - 0x18], 4
mov ecx, dword [edi]
imul esi, ecx, 0xcc9e2d51
shr esi, 0x11
imul ecx, ecx, 0x16a88000
or ecx, esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edi
mov ecx, dword [edi + 8]
imul esi, ecx, 0xcc9e2d51
shr esi, 0x11
imul ecx, ecx, 0x16a88000
or ecx, esi
imul esi, ecx, 0x1b873593
add esi, ebx
mov ecx, dword [edi + 0xc]
imul ebx, ecx, 0xcc9e2d51
shr ebx, 0x11
imul ecx, ecx, 0x16a88000
or ecx, ebx
imul ebx, dword [ebp - 0x14], 0x1b873593
mov dword [ebp - 0x14], ebx
imul edi, ecx, 0x1b873593
xor eax, ebx
rol eax, 0xe
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ecx + 4]
add edx, ebx
add edi, ebx
lea eax, [eax + eax*4]
mov ebx, 0xe6546b64
add eax, ebx
xor edi, eax
mov eax, dword [ecx + 0x10]
rol esi, 0xe
lea esi, [esi + esi*4]
add esi, ebx
rol edi, 0xd
xor esi, eax
add edi, eax
rol edx, 0xd
imul eax, edx, 0xcc9e2d51
bswap esi
add eax, dword [ebp - 0x14]
lea edx, [esi + esi*4]
lea ebx, [edi + edi*4]
mov edi, 0xe6546b64
add ebx, edi
bswap ebx
mov edi, ecx
add edi, 0x14
dec dword [ebp - 0x18]
jne 0x40d60c
rol ebx, 0x15
imul ecx, ebx, 0xcc9e2d51
shr ecx, 0x11
imul edi, ebx, 0x16a88000
or edi, ecx
imul ecx, edi, 0xcc9e2d51
shr edx, 0xb
shl esi, 0x15
lea esi, [esi + esi*4]
or esi, edx
imul edi, esi, 0xcc9e2d51
shr edi, 0x11
imul edx, esi, 0x16a88000
add ecx, eax
rol ecx, 0xd
or edx, edi
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 0x40d408