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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov dword [ebp - 0x20], ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [0x521014]
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx ebx, byte [edi + 0xb]
test bl, bl
jns 0x4b8516
mov ebx, dword [edi + 4]
mov edi, dword [edi]
mov eax, ebx
mov ecx, edi
mov edx, ebx
mov dword [ebp - 0x30], ebx
cmp ebx, 4
jb 0x4b8551
mov eax, dword [ebp - 0x30]
mov edx, eax
mov ecx, edi
imul esi, dword [ecx], 0x5bd1e995
mov ebx, esi
shr ebx, 0x18
xor ebx, esi
imul esi, ebx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, esi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x4b852b
cmp edx, 1
je 0x4b87f2
cmp edx, 2
mov esi, dword [ebp - 0x20]
je 0x4b8570
cmp edx, 3
jne 0x4b8584
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 ecx, eax
shr ecx, 0xf
xor ecx, eax
mov dword [ebp - 0x24], ecx
mov ebx, dword [esi + 4]
xor eax, eax
dec eax
mov dword [ebp - 0x28], eax
test ebx, ebx
mov dword [ebp - 0x2c], ebx
je 0x4b86a3
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 - 0x38], eax
cmp eax, 1
ja 0x4b879a
lea edx, [ebx - 1]
and edx, dword [ebp - 0x24]
mov eax, dword [esi]
mov dword [ebp - 0x28], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4b86a3
mov esi, dword [eax]
test esi, esi
je 0x4b86a0
lea eax, [ebx - 1]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 4]
cmp eax, dword [ebp - 0x24]
je 0x4b862d
cmp dword [ebp - 0x38], 1
ja 0x4b866c
and eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
cmp eax, ecx
jne 0x4b86a0
movzx ecx, byte [esi + 0x13]
mov eax, ecx
test cl, cl
jns 0x4b863a
mov eax, dword [esi + 0xc]
mov ebx, dword [ebp - 0x30]
cmp eax, ebx
jne 0x4b8693
lea eax, [esi + 8]
mov edx, dword [eax]
test cl, cl
cmovs eax, edx
js 0x4b8678
xor eax, eax
test ecx, ecx
je 0x4b882d
dec ecx
cmp dl, byte [edi + eax]
jne 0x4b8693
cmp ecx, eax
je 0x4b882b
mov dl, byte [esi + eax + 9]
inc eax
jmp 0x4b8658
cmp eax, ebx
jb 0x4b8626
xor edx, edx
div ebx
mov eax, edx
jmp 0x4b8626
test ebx, ebx
je 0x4b882b
push ebx
push edi
push eax
call fcn.0048d57d
add esp, 0xc
test eax, eax
je 0x4b882b
mov esi, dword [esi]
test esi, esi
mov ebx, dword [ebp - 0x2c]
jne 0x4b8615
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp + 0x10]
lea edx, [ebp - 0x1c]
xor ecx, ecx
dec ecx
mov dword [edx + 8], ecx
mov dword [edx + 4], ecx
mov dword [edx], ecx
mov ecx, esi
push eax
push dword [ebp - 0x24]
push edx
call fcn.004369a0
mov ecx, dword [ebp - 0x2c]
mov eax, dword [esi + 0xc]
inc eax
movq xmm1, qword [0x504c70]
movd xmm0, eax
por xmm0, xmm1
subsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movd xmm2, ecx
por xmm2, xmm1
subsd xmm2, xmm1
cvtsd2ss xmm2, xmm2
movss xmm1, dword [esi + 0x10]
mulss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x4b8745
test ecx, ecx
je 0x4b8745
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0x28]
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x4b87b3
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov eax, esi
mov esi, dword [ebp - 0x1c]
inc dword [eax + 0xc]
mov al, 1
mov dword [edi], esi
mov byte [edi + 4], al
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b980
mov eax, edi
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
mov ebx, ecx
call fcn.004b4880
add esp, 8
fstp dword [ebp - 0x3c]
movss xmm0, dword [ebp - 0x3c]
cvttss2si ecx, xmm0
mov edx, ecx
sar edx, 0x1f
subss xmm0, dword [0x5099d0]
cvttss2si eax, xmm0
and eax, edx
or eax, ecx
lea ecx, [ebx + ebx]
cmp ebx, 3
mov edi, dword [ebp + 8]
jb 0x4b87fa
lea esi, [ebx - 1]
xor edx, edx
test ebx, esi
mov esi, dword [ebp - 0x20]
setne dl
jmp 0x4b87fd
mov eax, dword [ebp - 0x24]
mov edx, eax
cmp eax, ebx
jb 0x4b85f5
mov eax, dword [ebp - 0x24]
xor edx, edx
div ebx
jmp 0x4b85f5
mov dword [ebp - 0x2c], ecx
lea eax, [esi + 8]
mov ecx, dword [esi + 8]
mov edx, dword [ebp - 0x1c]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 8], ecx
mov ecx, dword [esi]
mov dword [ecx + ebx*4], eax
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
test eax, eax
je 0x4b8720
mov eax, dword [eax + 4]
mov ebx, dword [ebp - 0x2c]
lea edx, [ebx - 1]
test ebx, edx
jne 0x4b8840
and eax, edx
mov edx, dword [esi]
mov dword [edx + eax*4], ecx
jmp 0x4b8720
mov esi, dword [ebp - 0x20]
jmp 0x4b8579
xor edx, edx
inc edx
or edx, ecx
cmp edx, eax
cmovb edx, eax
mov ecx, esi
push edx
call fcn.0046a1a0
mov ecx, dword [esi + 4]
lea ebx, [ecx - 1]
test ecx, ebx
mov eax, dword [ebp - 0x24]
jne 0x4b8820
and ebx, eax
jmp 0x4b8707
cmp eax, ecx
jae 0x4b8835
mov ebx, eax
jmp 0x4b8707
xor eax, eax
mov edi, dword [ebp + 8]
jmp 0x4b872a
xor edx, edx
div ecx
mov ebx, edx
jmp 0x4b8707
cmp eax, ebx
jb 0x4b87e8
xor edx, edx
div ebx
mov eax, edx
jmp 0x4b87e8