Function at 0x408cb0
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 0x408cfd
cmp ebx, 0xc
ja 0x408f3b
cmp ebx, 4
ja 0x409028
test ebx, ebx
je 0x4090a8
mov edx, 9
xor ecx, ecx
mov esi, ebx
movsx edi, byte [eax]
imul ecx, ecx, 0xcc9e2d51
inc eax
add ecx, edi
xor edx, ecx
dec esi
jne 0x408ce7
jmp 0x4090af
mov ecx, dword [eax + ebx - 4]
mov edx, ebx
imul esi, ecx, 0xcc9e2d51
imul ecx, ecx, 0x16a88000
shr esi, 0x11
or ecx, esi
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax + ebx - 8]
imul esi, ecx, 0xcc9e2d51
imul ecx, ecx, 0x16a88000
shr esi, 0x11
or ecx, esi
mov esi, dword [eax + ebx - 0x10]
mov dword [ebp - 0x10], ecx
mov ecx, eax
imul edi, esi, 0xcc9e2d51
imul esi, esi, 0x16a88000
shr edi, 0x11
or esi, edi
mov edi, dword [eax + ebx - 0xc]
imul esi, esi, 0x1b873593
imul ebx, edi, 0xcc9e2d51
imul edi, edi, 0x16a88000
shr ebx, 0x11
or edi, ebx
mov ebx, dword [eax + edx - 0x14]
imul edi, edi, 0x1b873593
imul eax, ebx, 0xcc9e2d51
imul ebx, ebx, 0x16a88000
shr eax, 0x11
or ebx, eax
imul eax, dword [ebp - 0x14], 0x1b873593
mov dword [ebp - 0x14], esi
mov esi, 0xe6546b64
mov dword [ebp - 0x18], ebx
xor eax, edx
rol eax, 0xd
lea ebx, [eax + eax*4]
mov eax, 0xe6546b64
add ebx, eax
imul eax, dword [ebp - 0x10], 0x1b873593
xor ebx, dword [ebp - 0x14]
mov dword [ebp - 0x14], edi
imul edi, edx, 0xcc9e2d51
dec edx
mov dword [ebp - 0x10], edi
xor eax, edi
rol eax, 0xd
rol ebx, 0xd
lea edi, [eax + eax*4]
mov eax, edx
mov edx, 0xcccccccd
lea ebx, [ebx + ebx*4]
add edi, esi
imul esi, dword [ebp - 0x18], 0x1b873593
mul edx
mov eax, 0xe6546b64
xor edi, dword [ebp - 0x14]
add ebx, eax
shr edx, 4
mov dword [ebp - 0x20], edx
add esi, dword [ebp - 0x10]
rol edi, 0xd
lea eax, [edi + edi*4]
mov edi, 0xe6546b64
add eax, edi
rol esi, 0xd
lea esi, [esi + esi*4]
add esi, edi
mov edi, ecx
mov ecx, dword [ecx]
imul edx, ecx, 0xcc9e2d51
imul ecx, ecx, 0x16a88000
shr edx, 0x11
or ecx, edx
mov edx, dword [edi + 8]
mov dword [ebp - 0x10], ecx
mov ecx, edi
mov dword [ebp - 0x18], ecx
imul edi, edx, 0xcc9e2d51
imul edx, edx, 0x16a88000
shr edi, 0x11
or edx, edi
imul edx, edx, 0x1b873593
add edx, eax
mov eax, dword [ecx + 0xc]
rol edx, 0xe
imul edi, eax, 0xcc9e2d51
imul eax, eax, 0x16a88000
shr edi, 0x11
or eax, edi
imul edi, eax, 0x1b873593
mov eax, dword [ecx + 4]
add esi, eax
add edi, eax
imul eax, dword [ebp - 0x10], 0x1b873593
rol esi, 0xd
xor ebx, eax
mov dword [ebp - 0x14], eax
rol ebx, 0xe
lea eax, [ebx + ebx*4]
mov ebx, 0xe6546b64
add eax, ebx
imul ebx, esi, 0xcc9e2d51
xor edi, eax
mov eax, dword [ecx + 0x10]
mov ecx, 0xe6546b64
rol edi, 0xd
mov dword [ebp - 0x10], eax
lea eax, [edx + edx*4]
add eax, ecx
xor eax, dword [ebp - 0x10]
push eax
call sub.api_ms_win_crt_utility_l1_1_0.dll__byteswap_ulong
add esp, 4
add edi, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
lea esi, [eax + eax*4]
mov ecx, 0xe6546b64
lea eax, [edi + edi*4]
add eax, ecx
push eax
call sub.api_ms_win_crt_utility_l1_1_0.dll__byteswap_ulong
add esp, 4
mov ecx, dword [ebp - 0x18]
add ebx, dword [ebp - 0x14]
add ecx, 0x14
dec dword [ebp - 0x20]
jne 0x408dfc
rol eax, 0x15
shr esi, 0xb
imul ecx, eax, 0xcc9e2d51
imul eax, eax, 0x16a88000
shr ecx, 0x11
or eax, ecx
mov ecx, dword [ebp - 0x1c]
imul eax, eax, 0xcc9e2d51
add eax, ebx
rol eax, 0xd
shl ecx, 0x15
lea eax, [eax + eax*4]
lea ecx, [ecx + ecx*4]
or ecx, esi
mov esi, 0xe6546b64
imul edx, ecx, 0xcc9e2d51
add eax, esi
imul ecx, ecx, 0x16a88000
shr edx, 0x11
rol eax, 0xf
or ecx, edx
add eax, ecx
imul ecx, eax, 0xcc9e2d51
imul eax, eax, 0xc5aa2000
shr ecx, 0x13
or eax, ecx
lea eax, [eax + eax*4]
add eax, esi
rol eax, 0xf
imul eax, eax, 0xcc9e2d51
jmp 0x409117
mov edx, ebx
shr edx, 1
mov ecx, dword [eax + edx - 4]
mov edx, dword [eax + edx]
imul esi, ecx, 0xcc9e2d51
imul ecx, ecx, 0x16a88000
shr esi, 0x11
or ecx, esi
mov esi, dword [eax + 4]
imul ecx, ecx, 0x1b873593
xor ecx, ebx
rol ecx, 0xd
imul edi, esi, 0xcc9e2d51
imul esi, esi, 0x16a88000
shr edi, 0x11
or esi, edi
lea edi, [ecx + ecx*4]
mov ecx, 0xe6546b64
add edi, ecx
imul esi, esi, 0x1b873593
xor esi, edi
mov edi, dword [eax + ebx - 8]
rol esi, 0xd
lea esi, [esi + esi*4]
add esi, ecx
imul ebx, edi, 0xcc9e2d51
imul edi, edi, 0x16a88000
shr ebx, 0x11
or edi, ebx
imul edi, edi, 0x1b873593
xor edi, esi
imul esi, edx, 0xcc9e2d51
imul edx, edx, 0x16a88000
shr esi, 0x11
rol edi, 0xd
or edx, esi
mov esi, eax
mov eax, dword [ebp + 0xc]
lea edi, [edi + edi*4]
add edi, ecx
imul edx, edx, 0x1b873593
xor edx, edi
rol edx, 0xd
mov eax, dword [esi + eax - 4]
mov esi, dword [esi]
lea edx, [edx + edx*4]
add edx, ecx
imul edi, esi, 0xcc9e2d51
imul esi, esi, 0x16a88000
shr edi, 0x11
or esi, edi
imul esi, esi, 0x1b873593
xor esi, edx
imul edx, eax, 0xcc9e2d51
imul eax, eax, 0x16a88000
shr edx, 0x11
rol esi, 0xd
or eax, edx
lea edx, [esi + esi*4]
add edx, ecx
imul eax, eax, 0x1b873593
xor eax, edx
rol eax, 0xd
lea eax, [eax + eax*4]
add eax, ecx
jmp 0x4090f6
mov edx, dword [eax]
mov esi, dword [eax + ebx - 4]
lea ecx, [ebx + ebx*4]
add edx, ebx
shr ebx, 1
add esi, ecx
imul edi, edx, 0xcc9e2d51
imul edx, edx, 0x16a88000
and ebx, 4
shr edi, 0x11
mov eax, dword [eax + ebx]
or edx, edi
imul edi, esi, 0xcc9e2d51
imul esi, esi, 0x16a88000
imul edx, edx, 0x1b873593
shr edi, 0x11
xor edx, ecx
or esi, edi
rol edx, 0xd
add eax, 9
imul esi, esi, 0x1b873593
lea ecx, [edx + edx*4]
mov edx, 0xe6546b64
imul edi, eax, 0xcc9e2d51
imul eax, eax, 0x16a88000
add ecx, edx
shr edi, 0x11
xor esi, ecx
or eax, edi
rol esi, 0xd
imul eax, eax, 0x1b873593
lea ecx, [esi + esi*4]
add ecx, edx
xor eax, ecx
rol eax, 0xd
lea eax, [eax + eax*4]
jmp 0x4090f4
xor ecx, ecx
mov edx, 9
imul esi, ebx, 0xcc9e2d51
imul eax, ebx, 0x16a88000
shr esi, 0x11
or eax, esi
imul esi, ecx, 0xcc9e2d51
imul ecx, ecx, 0x16a88000
imul eax, eax, 0x1b873593
shr esi, 0x11
xor eax, edx
or ecx, esi
mov edx, 0xe6546b64
rol eax, 0xd
imul ecx, ecx, 0x1b873593
lea eax, [eax + eax*4]
add eax, edx
xor ecx, eax
rol ecx, 0xd
lea eax, [ecx + ecx*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, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret