Function at 0x4cc9d0
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov dword [esp + 0xc], ecx
mov esi, dword [ebp + 0xc]
movzx ebx, byte [esi + 0xb]
test bl, bl
jns 0x4cc9f0
mov ebx, dword [esi + 4]
mov esi, dword [esi]
mov eax, ebx
mov ecx, esi
mov edx, ebx
mov dword [esp + 4], ebx
cmp ebx, 4
jb 0x4cca2d
mov eax, dword [esp + 4]
mov edx, eax
mov ecx, esi
imul edi, dword [ecx], 0x5bd1e995
mov ebx, edi
shr ebx, 0x18
xor ebx, edi
imul edi, ebx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, edi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x4cca07
cmp edx, 1
je 0x4cca4e
cmp edx, 2
je 0x4cca45
cmp edx, 3
jne 0x4cca59
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov edi, eax
shr edi, 0xf
xor edi, eax
mov eax, dword [esp + 0xc]
mov ebx, dword [eax + 4]
test ebx, ebx
mov dword [esp + 8], ebx
je 0x4ccb7b
mov eax, ebx
shr eax, 1
and eax, 0x55555555
mov ecx, ebx
sub ecx, eax
mov eax, 0x33333333
mov edx, ecx
and edx, eax
shr ecx, 2
and ecx, eax
add ecx, edx
mov eax, ecx
shr eax, 4
add eax, ecx
and eax, 0xf0f0f0f
imul eax, eax, 0x1010101
shr eax, 0x18
mov dword [esp + 0x20], eax
cmp eax, 1
ja 0x4ccc2d
lea edx, [ebx - 1]
and edx, edi
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [esp], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4ccb81
mov ebx, dword [eax]
test ebx, ebx
je 0x4ccb81
mov eax, dword [esp + 8]
dec eax
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 4]
cmp eax, edi
je 0x4ccb02
cmp dword [esp + 0x20], 1
ja 0x4ccb40
and eax, dword [esp + 0x1c]
cmp eax, dword [esp]
jne 0x4ccb81
movzx eax, byte [ebx + 0x13]
mov ecx, eax
test al, al
jns 0x4ccb0f
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [esp + 4]
jne 0x4ccb6f
lea ecx, [ebx + 8]
mov edx, dword [ecx]
test al, al
cmovs ecx, edx
js 0x4ccb50
xor ecx, ecx
test al, al
je 0x4ccc6f
dec eax
cmp dl, byte [esi + ecx]
jne 0x4ccb6f
cmp eax, ecx
je 0x4ccc6d
mov dl, byte [ebx + ecx + 9]
inc ecx
jmp 0x4ccb2c
mov ecx, dword [esp + 8]
cmp eax, ecx
jb 0x4ccafd
xor edx, edx
div ecx
mov eax, edx
jmp 0x4ccafd
mov eax, dword [esp + 4]
test eax, eax
je 0x4ccc6d
push eax
push esi
push ecx
call fcn.0048bd5d
add esp, 0xc
test eax, eax
je 0x4ccc6d
mov ebx, dword [ebx]
test ebx, ebx
jne 0x4ccaeb
jmp 0x4ccb81
xor eax, eax
dec eax
mov dword [esp], eax
mov esi, dword [ebp + 0x10]
push 0x18
call fcn.00489952
add esp, 4
mov ebx, eax
mov eax, dword [esi + 8]
mov dword [ebx + 0x10], eax
movsd xmm0, qword [esi]
movsd qword [ebx + 8], xmm0
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov ecx, dword [esi + 0xc]
mov dword [ebx + 0x14], ecx
mov dword [esp + 4], edi
mov dword [ebx + 4], edi
mov dword [ebx], eax
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0xc]
inc eax
movd xmm0, eax
movq xmm1, qword [0x501c70]
por xmm0, xmm1
subsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
mov edi, dword [esp + 8]
movd xmm2, edi
por xmm2, xmm1
subsd xmm2, xmm1
cvtsd2ss xmm2, xmm2
movss xmm1, dword [esi + 0x10]
mulss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x4ccc80
test edi, edi
je 0x4ccc80
mov edi, dword [ebp + 8]
mov eax, dword [esi]
mov edx, dword [esp]
mov ecx, dword [eax + edx*4]
test ecx, ecx
je 0x4ccc42
mov eax, dword [ecx]
mov dword [ebx], eax
mov dword [ecx], ebx
inc dword [esi + 0xc]
mov cl, 1
mov dword [edi], ebx
mov byte [edi + 4], cl
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov edx, edi
cmp edi, ebx
jb 0x4ccac4
mov eax, edi
xor edx, edx
div ebx
jmp 0x4ccac4
mov ecx, dword [esi + 8]
mov dword [ebx], ecx
lea ecx, [esi + 8]
mov dword [esi + 8], ebx
mov dword [eax + edx*4], ecx
mov eax, dword [ebx]
test eax, eax
je 0x4ccc17
mov eax, dword [eax + 4]
mov ecx, dword [esp + 8]
lea edx, [ecx - 1]
test ecx, edx
jne 0x4ccc74
and eax, edx
mov ecx, dword [esi]
mov dword [ecx + eax*4], ebx
jmp 0x4ccc17
xor ecx, ecx
mov edi, dword [ebp + 8]
jmp 0x4ccc1c
cmp eax, ecx
jb 0x4ccc66
xor edx, edx
div ecx
mov eax, edx
jmp 0x4ccc66
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
call fcn.004b3030
add esp, 8
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fisttp qword [esp + 0x10]
mov eax, dword [esp + 0x10]
lea ecx, [edi + edi]
cmp edi, 3
jb 0x4cccc0
lea esi, [edi - 1]
xor edx, edx
test edi, esi
mov esi, dword [esp + 0xc]
setne dl
jmp 0x4cccc3
xor edx, edx
inc edx
mov edi, dword [esp + 4]
or edx, ecx
cmp edx, eax
cmovb edx, eax
mov ecx, esi
push edx
call fcn.004ccd10
mov ecx, dword [esi + 4]
lea eax, [ecx - 1]
test ecx, eax
mov dword [esp + 8], ecx
jne 0x4cccee
and eax, edi
mov dword [esp], eax
jmp 0x4ccc02
cmp edi, ecx
jae 0x4cccfa
mov dword [esp], edi
jmp 0x4ccc02
mov eax, edi
xor edx, edx
div ecx
mov dword [esp], edx
jmp 0x4ccc02