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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov esi, dword [ebp + 0xc]
movzx ebx, byte [esi + 0xb]
test bl, bl
jns 0x4ce51c
mov ebx, dword [esi + 4]
mov esi, dword [esi]
mov eax, ebx
mov ecx, esi
mov edx, ebx
mov dword [ebp - 0x18], ebx
cmp ebx, 4
jb 0x4ce557
mov eax, dword [ebp - 0x18]
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 0x4ce531
cmp edx, 1
je 0x4ce578
cmp edx, 2
je 0x4ce56f
cmp edx, 3
jne 0x4ce583
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 [ebp - 0x1c]
mov ebx, dword [eax + 4]
test ebx, ebx
mov dword [ebp - 0x10], ebx
je 0x4ce69c
mov ecx, ebx
shr ecx, 1
and ecx, 0x55555555
mov eax, ebx
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 - 0x24], eax
cmp eax, 1
ja 0x4ce748
lea edx, [ebx - 1]
and edx, edi
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
test eax, eax
mov dword [ebp - 0x14], edx
je 0x4ce6a2
mov ebx, dword [eax]
test ebx, ebx
je 0x4ce6a2
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 4]
cmp eax, edi
je 0x4ce626
cmp dword [ebp - 0x24], 1
ja 0x4ce663
and eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x14]
jne 0x4ce6a2
movzx ecx, byte [ebx + 0x13]
mov eax, ecx
test cl, cl
jns 0x4ce633
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebp - 0x18]
jne 0x4ce690
lea eax, [ebx + 8]
mov edx, dword [eax]
test cl, cl
cmovs eax, edx
js 0x4ce672
xor eax, eax
test ecx, ecx
je 0x4ce78a
dec ecx
cmp dl, byte [esi + eax]
jne 0x4ce690
cmp ecx, eax
je 0x4ce788
mov dl, byte [ebx + eax + 9]
inc eax
jmp 0x4ce64f
mov ecx, dword [ebp - 0x10]
cmp eax, ecx
jb 0x4ce621
xor edx, edx
div ecx
mov eax, edx
jmp 0x4ce621
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4ce788
push ecx
push esi
push eax
call fcn.0048d57d
add esp, 0xc
test eax, eax
je 0x4ce788
mov ebx, dword [ebx]
test ebx, ebx
jne 0x4ce611
jmp 0x4ce6a2
xor eax, eax
dec eax
mov dword [ebp - 0x14], eax
mov esi, dword [ebp + 0x10]
push 0x18
call fcn.0048b346
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 [ebx + 4], edi
mov dword [ebx], eax
mov esi, dword [ebp - 0x1c]
mov eax, dword [esi + 0xc]
inc eax
movd xmm0, eax
movq xmm1, qword [0x504c70]
por xmm0, xmm1
subsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
mov eax, dword [ebp - 0x10]
movd xmm2, eax
por xmm2, xmm1
subsd xmm2, xmm1
cvtsd2ss xmm2, xmm2
movss xmm1, dword [esi + 0x10]
mulss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x4ce79b
test eax, eax
je 0x4ce79b
mov edi, dword [ebp + 8]
mov eax, dword [esi]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax + edx*4]
test ecx, ecx
je 0x4ce75e
mov eax, dword [ecx]
mov dword [ebx], eax
mov dword [ecx], ebx
inc dword [esi + 0xc]
mov al, 1
mov dword [edi], ebx
mov byte [edi + 4], al
mov eax, edi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov edx, edi
cmp edi, ebx
jb 0x4ce5ed
mov eax, edi
xor edx, edx
div dword [ebp - 0x10]
jmp 0x4ce5ed
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 0x4ce732
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x10]
lea edx, [ecx - 1]
test ecx, edx
jne 0x4ce78f
and eax, edx
mov ecx, dword [esi]
mov dword [ecx + eax*4], ebx
jmp 0x4ce732
xor eax, eax
mov edi, dword [ebp + 8]
jmp 0x4ce737
cmp eax, ecx
jb 0x4ce781
xor edx, edx
div ecx
mov eax, edx
jmp 0x4ce781
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
call fcn.004b4880
add esp, 8
fstp dword [ebp - 0x28]
movss xmm0, dword [ebp - 0x28]
cvttss2si ecx, xmm0
mov edx, ecx
sar edx, 0x1f
subss xmm0, dword [0x5099d0]
cvttss2si eax, xmm0
and eax, edx
or eax, ecx
mov edx, dword [ebp - 0x10]
lea ecx, [edx + edx]
cmp edx, 3
jb 0x4ce7f7
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x10]
lea esi, [ecx - 1]
xor edx, edx
test ecx, esi
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
setne dl
jmp 0x4ce7fa
xor edx, edx
inc edx
or edx, ecx
cmp edx, eax
cmovb edx, eax
mov ecx, esi
push edx
call fcn.004ce840
mov eax, dword [esi + 4]
lea ecx, [eax - 1]
test eax, ecx
mov dword [ebp - 0x10], eax
jne 0x4ce820
and ecx, edi
mov dword [ebp - 0x14], ecx
jmp 0x4ce71d
cmp edi, eax
jae 0x4ce82c
mov dword [ebp - 0x14], edi
jmp 0x4ce71d
mov ecx, eax
mov eax, edi
xor edx, edx
div ecx
mov dword [ebp - 0x14], edx
jmp 0x4ce71d