Function at 0x1c7dfd0
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 esi, dword [ebp + 0xc]
movzx edx, byte [esi + 0xb]
mov eax, esi
test dl, dl
jns 0x1c7dfeb
mov eax, dword [esi]
mov edx, dword [esi + 4]
mov ebx, edx
cmp edx, 4
jb 0x1c7e018
imul esi, dword [eax], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul ebx, ebx, 0x5bd1e995
xor ebx, esi
add eax, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x1c7dff2
cmp edx, 2
je 0x1c7e1a6
cmp edx, 1
je 0x1c7e1af
cmp edx, 3
je 0x1c7e19d
mov eax, ebx
shr eax, 0xd
xor eax, ebx
imul eax, eax, 0x5bd1e995
mov edx, eax
shr edx, 0xf
xor edx, eax
mov dword [ebp - 0x10], edx
mov esi, dword [ecx + 4]
test esi, esi
mov dword [ebp - 0x14], ecx
jne 0x1c7e1d5
xor edi, edi
dec edi
mov ebx, dword [ebp + 0x10]
mov dword [esp], 0x18
call fcn.01c928b1
mov edx, eax
mov eax, dword [ebx + 8]
mov dword [edx + 0x10], eax
movsd xmm0, qword [ebx]
movsd qword [edx + 8], xmm0
xor eax, eax
mov dword [ebx + 8], eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov ecx, dword [ebx + 0xc]
mov dword [edx + 0x14], ecx
mov ecx, dword [ebp - 0x10]
mov dword [edx + 4], ecx
mov dword [edx], eax
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0xc]
inc eax
movd xmm0, eax
movq xmm2, qword [0x1cf5928]
por xmm0, xmm2
subsd xmm0, xmm2
cvtsd2ss xmm0, xmm0
movss xmm1, dword [ebx + 0x10]
test esi, esi
je 0x1c7e0db
movd xmm3, esi
por xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
mulss xmm2, xmm1
ucomiss xmm0, xmm2
jbe 0x1c7e161
mov dword [ebp - 0x18], edx
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.01cbc0e0
fstp dword [ebp - 0x28]
movss xmm0, dword [ebp - 0x28]
cvttss2si eax, xmm0
mov edx, eax
sar edx, 0x1f
subss xmm0, dword [0x1cf5930]
cvttss2si ecx, xmm0
and ecx, edx
or ecx, eax
lea edx, [esi + esi]
cmp esi, 3
jae 0x1c7e2c2
xor eax, eax
inc eax
or eax, edx
cmp eax, ecx
cmovbe eax, ecx
mov edi, 2
cmp eax, 1
jne 0x1c7e1bf
mov esi, dword [ebx + 4]
cmp edi, esi
jbe 0x1c7e2d1
mov dword [esp], edi
mov ecx, ebx
call fcn.01c6e950
sub esp, 4
mov esi, dword [ebx + 4]
lea edi, [esi - 1]
test esi, edi
mov edx, dword [ebp - 0x18]
jne 0x1c7e37e
and edi, dword [ebp - 0x10]
mov ecx, dword [ebx]
mov eax, dword [ecx + edi*4]
test eax, eax
jne 0x1c7e294
mov eax, dword [ebx + 8]
mov dword [edx], eax
lea eax, [ebx + 8]
mov dword [ebx + 8], edx
mov dword [ecx + edi*4], eax
mov eax, dword [edx]
test eax, eax
jne 0x1c7e29c
inc dword [ebx + 0xc]
mov cl, 1
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov byte [eax + 4], cl
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
movzx edx, byte [eax + 2]
shl edx, 0x10
xor ebx, edx
movzx edx, byte [eax + 1]
shl edx, 8
xor ebx, edx
movzx eax, byte [eax]
xor eax, ebx
imul ebx, eax, 0x5bd1e995
jmp 0x1c7e033
lea ecx, [eax - 1]
test eax, ecx
je 0x1c7e1ce
mov dword [esp], eax
call fcn.01c6f040
mov edi, eax
jmp 0x1c7e135
mov ecx, esi
shr ecx, 1
and ecx, 0x55555555
mov eax, esi
sub eax, ecx
mov ecx, 0x33333333
mov edx, eax
and edx, ecx
shr eax, 2
and eax, ecx
add eax, edx
mov ecx, eax
shr ecx, 4
add ecx, eax
and ecx, 0xf0f0f0f
imul eax, ecx, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x20], eax
cmp eax, 1
ja 0x1c7e388
lea edi, [esi - 1]
and edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x1c7e05b
mov edx, eax
lea eax, [esi - 1]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
add eax, 0x14
mov dword [ebp - 0x18], eax
mov edx, dword [edx]
test edx, edx
je 0x1c7e05b
mov ecx, edx
mov eax, dword [edx + 4]
cmp eax, dword [ebp - 0x10]
je 0x1c7e261
cmp dword [ebp - 0x20], 1
ja 0x1c7e288
and eax, dword [ebp - 0x1c]
cmp eax, edi
jne 0x1c7e05b
mov ebx, ecx
lea eax, [ecx + 8]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x18]
call fcn.01c6bf40
sub esp, 8
mov edx, ebx
xor ecx, ecx
test al, al
je 0x1c7e23c
jmp 0x1c7e18b
cmp eax, esi
jb 0x1c7e259
xor edx, edx
div esi
mov eax, edx
jmp 0x1c7e259
mov ecx, dword [eax]
mov edi, edx
mov dword [edx], ecx
jmp 0x1c7e2b6
mov edi, edx
mov eax, dword [eax + 4]
lea ecx, [esi - 1]
test esi, ecx
jne 0x1c7e3a3
and eax, ecx
shl eax, 2
mov ecx, dword [ebp - 0x14]
add eax, dword [ecx]
mov edx, edi
mov dword [eax], edi
mov ebx, dword [ebp - 0x14]
jmp 0x1c7e186
lea edi, [esi - 1]
xor eax, eax
test esi, edi
setne al
jmp 0x1c7e120
jae 0x1c7e14d
movss xmm0, dword [ebx + 0xc]
orpd xmm0, xmmword [0x1cf5940]
subsd xmm0, qword [0x1cf5928]
cvtsd2ss xmm0, xmm0
divss xmm0, dword [ebx + 0x10]
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.01cbc0e0
fstp dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x24]
cvttss2si eax, xmm0
mov ecx, eax
subss xmm0, dword [0x1cf5930]
cvttss2si edx, xmm0
sar ecx, 0x1f
and edx, ecx
or edx, eax
cmp esi, 3
jb 0x1c7e3ca
mov ecx, esi
shr ecx, 1
and ecx, 0x55555555
mov eax, esi
sub eax, ecx
mov ecx, 0x33333333
mov ebx, eax
and ebx, ecx
shr eax, 2
and eax, ecx
add eax, ebx
mov ecx, eax
shr ecx, 4
add ecx, eax
and ecx, 0xf0f0f0f
imul eax, ecx, 0x1010101
shr eax, 0x18
cmp eax, 1
ja 0x1c7e3ca
lea eax, [edx - 1]
bsr ecx, eax
xor ecx, 0x1f
neg cl
xor eax, eax
inc eax
shl eax, cl
cmp edx, 2
cmovb eax, edx
jmp 0x1c7e3d2
cmp dword [ebp - 0x10], esi
jae 0x1c7e3b6
mov edi, dword [ebp - 0x10]
jmp 0x1c7e3bf
mov eax, dword [ebp - 0x10]
mov edi, eax
cmp eax, esi
jb 0x1c7e21b
mov eax, dword [ebp - 0x10]
xor edx, edx
div esi
mov edi, edx
jmp 0x1c7e21b
cmp eax, esi
jb 0x1c7e2ae
xor edx, edx
div esi
mov eax, edx
jmp 0x1c7e2ae
mov eax, dword [ebp - 0x10]
xor edx, edx
div esi
mov edi, edx
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
jmp 0x1c7e161
mov dword [esp], edx
call fcn.01c6f040
cmp edi, eax
cmovbe edi, eax
cmp edi, esi
mov ebx, dword [ebp - 0x14]
jb 0x1c7e140
jmp 0x1c7e14d