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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0xc]
movzx ebx, byte [ecx + 0xb]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
test bl, bl
mov dword [ebp - 0x10], edx
lea edx, [eax + edx]
mov dword [ebp - 0x20], ebx
lea edi, [ecx + ebx]
cmovs edi, edx
cmovs ecx, eax
sub edi, ecx
cmp edi, 4
mov dword [ebp - 0x24], ecx
jb 0x1c666ad
mov edx, ecx
mov eax, edi
nop word [eax + eax]
imul ecx, dword [edx], 0x5bd1e995
mov ebx, ecx
shr ebx, 0x18
xor ebx, ecx
imul ecx, ebx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, ecx
add edx, 4
add edi, 0xfffffffc
cmp edi, 3
ja 0x1c66680
cmp edi, 1
jne 0x1c666b6
jmp 0x1c666d2
mov eax, edi
mov edx, ecx
cmp edi, 1
je 0x1c666d2
cmp edi, 2
je 0x1c666c9
cmp edi, 3
jne 0x1c666dd
movzx ecx, byte [edx + 2]
shl ecx, 0x10
xor eax, ecx
movzx ecx, byte [edx + 1]
shl ecx, 8
xor eax, ecx
movzx ecx, byte [edx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov esi, eax
shr esi, 0xf
xor esi, eax
mov eax, dword [ebp - 0x18]
mov edi, dword [eax + 4]
test edi, edi
mov dword [ebp - 0x1c], esi
je 0x1c66746
mov ecx, edi
shr ecx, 1
and ecx, 0x55555555
mov eax, edi
sub eax, ecx
mov ecx, eax
and ecx, 0x33333333
shr eax, 2
and eax, 0x33333333
add eax, ecx
mov ecx, eax
shr ecx, 4
add ecx, eax
and ecx, 0xf0f0f0f
imul eax, ecx, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x2c], eax
cmp eax, 1
ja 0x1c66752
lea edx, [edi - 1]
and edx, esi
mov ecx, dword [ebp - 0x10]
jmp 0x1c66761
mov dword [ebp - 0x14], 0xffffffff
jmp 0x1c66858
mov edx, esi
cmp esi, edi
mov ecx, dword [ebp - 0x10]
jb 0x1c66761
mov eax, esi
xor edx, edx
div edi
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x14], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x1c66858
mov edx, dword [ebp - 0x20]
test dl, dl
cmovns ecx, edx
mov ebx, dword [eax]
test ebx, ebx
je 0x1c66858
mov dword [ebp - 0x10], ecx
lea eax, [edi - 1]
mov dword [ebp - 0x28], eax
jmp 0x1c667aa
mov ebx, dword [ebx]
test ebx, ebx
je 0x1c66858
mov eax, dword [ebx + 4]
cmp eax, dword [ebp - 0x1c]
je 0x1c667d5
cmp dword [ebp - 0x2c], 1
ja 0x1c667c0
and eax, dword [ebp - 0x28]
jmp 0x1c667ca
cmp eax, edi
jb 0x1c667ca
xor edx, edx
div edi
mov eax, edx
mov ecx, dword [ebp - 0x14]
cmp eax, ecx
jne 0x1c66858
movzx eax, byte [ebx + 0x13]
mov ecx, eax
mov esi, eax
test al, al
jns 0x1c667e4
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x10]
jne 0x1c667a0
lea ecx, [ebx + 8]
mov edx, dword [ecx]
mov eax, esi
test al, al
cmovs ecx, edx
js 0x1c66835
cmp dword [ebp - 0x10], 0
je 0x1c66851
mov ecx, dword [ebp - 0x24]
cmp byte [ecx], dl
jne 0x1c667a0
dec esi
mov dword [ebp - 0x20], esi
xor ecx, ecx
nop word [eax + eax]
cmp dword [ebp - 0x20], ecx
je 0x1c66851
movzx edx, byte [ebx + ecx + 9]
mov esi, edi
lea edi, [ecx + 1]
mov eax, ebx
mov ebx, dword [ebp - 0x24]
cmp dl, byte [ebx + ecx + 1]
mov ebx, eax
mov ecx, edi
mov edi, esi
je 0x1c66810
jmp 0x1c667a0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1c66851
push eax
push dword [ebp - 0x24]
push ecx
call fcn.01cad6bd
add esp, 0xc
test eax, eax
jne 0x1c667a0
xor ecx, ecx
jmp 0x1c669af
mov esi, dword [ebp + 0x10]
push 0x18
call fcn.01caae50
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
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 4], eax
mov dword [ebx], 0
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 0xc]
inc eax
movd xmm0, eax
movq xmm2, qword [0x1cd5480]
por xmm0, xmm2
subsd xmm0, xmm2
cvtsd2ss xmm0, xmm0
movss xmm1, dword [esi + 0x10]
test edi, edi
je 0x1c668e8
movd xmm3, edi
por xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
mulss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x1c668e8
mov edx, dword [ebp - 0x14]
jmp 0x1c66968
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
call fcn.01cc0f20
add esp, 8
fstp dword [ebp - 0x30]
movss xmm0, dword [ebp - 0x30]
cvttss2si ecx, xmm0
mov edx, ecx
subss xmm0, dword [0x1cd5988]
sar edx, 0x1f
cvttss2si eax, xmm0
and eax, edx
or eax, ecx
lea ecx, [edi + edi]
mov edx, 1
cmp edi, 3
jb 0x1c6693b
lea esi, [edi - 1]
xor edx, edx
test edi, esi
mov esi, dword [ebp - 0x18]
setne dl
or edx, ecx
cmp edx, eax
cmovb edx, eax
mov ecx, esi
push edx
call fcn.01c669d0
mov edi, dword [esi + 4]
lea edx, [edi - 1]
test edi, edx
jne 0x1c66959
and edx, dword [ebp - 0x1c]
jmp 0x1c66968
mov eax, dword [ebp - 0x1c]
cmp eax, edi
jae 0x1c66964
mov edx, eax
jmp 0x1c66968
xor edx, edx
div edi
mov eax, dword [esi]
mov ecx, dword [eax + edx*4]
test ecx, ecx
je 0x1c66979
mov eax, dword [ecx]
mov dword [ebx], eax
mov dword [ecx], ebx
jmp 0x1c669aa
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 0x1c669aa
mov eax, dword [eax + 4]
lea ecx, [edi - 1]
test edi, ecx
jne 0x1c6699b
and eax, ecx
jmp 0x1c669a5
cmp eax, edi
jb 0x1c669a5
xor edx, edx
div edi
mov eax, edx
mov ecx, dword [esi]
mov dword [ecx + eax*4], ebx
inc dword [esi + 0xc]
mov cl, 1
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [eax + 4], cl
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 0xc