Function at 0x4b6d40
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, 0x40
mov dword [esp + 4], ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [0x520014]
xor eax, ebp
mov dword [esp + 0x38], eax
movzx ebx, byte [edi + 0xb]
test bl, bl
jns 0x4b6d6b
mov ebx, dword [edi + 4]
mov edi, dword [edi]
mov eax, ebx
mov ecx, edi
mov edx, ebx
mov dword [esp + 0x14], ebx
cmp ebx, 4
jb 0x4b6da8
mov eax, dword [esp + 0x14]
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 0x4b6d82
cmp edx, 1
je 0x4b7055
cmp edx, 2
mov esi, dword [esp + 4]
je 0x4b6dc8
cmp edx, 3
jne 0x4b6ddc
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 [esp + 8], ecx
mov ebx, dword [esi + 4]
xor eax, eax
dec eax
mov dword [esp + 0xc], eax
test ebx, ebx
mov dword [esp + 0x10], ebx
je 0x4b6f07
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 + 0x28], eax
cmp eax, 1
ja 0x4b6ff6
lea edx, [ebx - 1]
and edx, dword [esp + 8]
mov eax, dword [esi]
mov dword [esp + 0xc], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4b6f07
mov esi, dword [eax]
test esi, esi
je 0x4b6f03
lea eax, [ebx - 1]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 4]
cmp eax, dword [esp + 8]
je 0x4b6e8e
cmp dword [esp + 0x28], 1
ja 0x4b6ece
and eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
jne 0x4b6f03
movzx eax, byte [esi + 0x13]
mov ecx, eax
test al, al
jns 0x4b6e9b
mov ecx, dword [esi + 0xc]
mov ebx, dword [esp + 0x14]
cmp ecx, ebx
jne 0x4b6ef5
lea ecx, [esi + 8]
mov edx, dword [ecx]
test al, al
cmovs ecx, edx
js 0x4b6eda
xor ecx, ecx
test al, al
je 0x4b7092
dec eax
cmp dl, byte [edi + ecx]
jne 0x4b6ef5
cmp eax, ecx
je 0x4b7090
mov dl, byte [esi + ecx + 9]
inc ecx
jmp 0x4b6eba
cmp eax, ebx
jb 0x4b6e86
xor edx, edx
div ebx
mov eax, edx
jmp 0x4b6e86
test ebx, ebx
je 0x4b7090
push ebx
push edi
push ecx
call fcn.0048bd5d
add esp, 0xc
test eax, eax
je 0x4b7090
mov esi, dword [esi]
test esi, esi
mov ebx, dword [esp + 0x10]
jne 0x4b6e72
mov esi, dword [esp + 4]
mov eax, dword [ebp + 0x10]
lea edx, [esp + 0x2c]
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 [esp + 0xc]
push edx
call fcn.00436aa0
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0xc]
inc eax
movq xmm1, qword [0x501c70]
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 0x4b6fb1
test ecx, ecx
je 0x4b6fb1
mov edi, dword [ebp + 8]
mov ebx, dword [esp + 0xc]
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x4b7011
mov ecx, dword [eax]
mov edx, dword [esp + 0x2c]
mov dword [edx], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax], ecx
mov eax, esi
mov esi, dword [esp + 0x2c]
inc dword [eax + 0xc]
mov cl, 1
mov dword [edi], esi
mov byte [edi + 4], cl
mov ecx, dword [esp + 0x38]
xor ecx, ebp
call fcn.0048a678
mov eax, edi
lea esp, [ebp - 0xc]
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.004b3030
add esp, 8
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fisttp qword [esp + 0x18]
mov eax, dword [esp + 0x18]
lea ecx, [ebx + ebx]
cmp ebx, 3
mov edi, dword [ebp + 8]
jb 0x4b705e
lea esi, [ebx - 1]
xor edx, edx
test ebx, esi
mov esi, dword [esp + 4]
setne dl
jmp 0x4b7061
mov eax, dword [esp + 8]
mov edx, eax
cmp eax, ebx
jb 0x4b6e50
mov eax, dword [esp + 8]
xor edx, edx
div ebx
jmp 0x4b6e50
mov dword [esp + 0x10], ecx
lea eax, [esi + 8]
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x2c]
mov dword [edx], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esi + 8], ecx
mov ecx, dword [esi]
mov dword [ecx + ebx*4], eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
test eax, eax
je 0x4b6f8a
mov eax, dword [eax + 4]
mov ebx, dword [esp + 0x10]
lea edx, [ebx - 1]
test ebx, edx
jne 0x4b70a5
and eax, edx
mov edx, dword [esi]
mov dword [edx + eax*4], ecx
jmp 0x4b6f8a
mov esi, dword [esp + 4]
jmp 0x4b6dd1
xor edx, edx
inc edx
or edx, ecx
cmp edx, eax
cmovb edx, eax
mov ecx, esi
push edx
call fcn.00469670
mov ecx, dword [esi + 4]
lea ebx, [ecx - 1]
test ecx, ebx
mov eax, dword [esp + 8]
jne 0x4b7085
and ebx, eax
jmp 0x4b6f6f
cmp eax, ecx
jae 0x4b709a
mov ebx, eax
jmp 0x4b6f6f
xor ecx, ecx
mov edi, dword [ebp + 8]
jmp 0x4b6f95
xor edx, edx
div ecx
mov ebx, edx
jmp 0x4b6f6f
cmp eax, ebx
jb 0x4b704b
xor edx, edx
div ebx
mov eax, edx
jmp 0x4b704b