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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0xc]
movzx eax, byte [ecx + 0xb]
test al, al
jns 0x4d312c
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov esi, eax
mov dword [ebp - 0x1c], ecx
mov edx, eax
mov dword [ebp - 0x18], eax
cmp eax, 4
jb 0x4d3169
mov eax, dword [ebp - 0x18]
mov edx, eax
mov ecx, dword [ebp - 0x1c]
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 0x4d3143
cmp edx, 1
je 0x4d318c
cmp edx, 3
je 0x4d317a
cmp edx, 2
jne 0x4d3197
jmp 0x4d3183
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 ebx, eax
shr ebx, 0xf
xor ebx, eax
mov eax, dword [ebp - 0x14]
mov esi, dword [eax + 4]
test esi, esi
mov dword [ebp - 0x20], ebx
je 0x4d31fb
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 - 0x34], eax
cmp eax, 1
ja 0x4d3206
lea edx, [esi - 1]
and edx, ebx
jmp 0x4d3212
xor eax, eax
dec eax
mov dword [ebp - 0x24], eax
jmp 0x4d32e5
mov edx, ebx
cmp ebx, esi
jb 0x4d3212
mov eax, ebx
xor edx, edx
div esi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x24], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4d32e5
mov ebx, dword [eax]
test ebx, ebx
je 0x4d32e5
lea eax, [esi - 1]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 4]
cmp eax, dword [ebp - 0x20]
je 0x4d325b
cmp dword [ebp - 0x34], 1
ja 0x4d3248
and eax, dword [ebp - 0x30]
jmp 0x4d3252
cmp eax, esi
jb 0x4d3252
xor edx, edx
div esi
mov eax, edx
cmp eax, dword [ebp - 0x24]
jne 0x4d32e5
movzx eax, byte [ebx + 0x13]
mov ecx, eax
test al, al
jns 0x4d3268
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x18]
jne 0x4d329f
lea ecx, [ebx + 8]
mov edx, dword [ecx]
test al, al
cmovs ecx, edx
jns 0x4d32a7
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4d3474
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0064f16d
test eax, eax
je 0x4d3474
mov ebx, dword [ebx]
test ebx, ebx
jne 0x4d3235
jmp 0x4d32e5
test eax, eax
je 0x4d3474
mov ecx, dword [ebp - 0x1c]
cmp byte [ecx], dl
jne 0x4d329f
dec eax
xor ecx, ecx
cmp eax, ecx
je 0x4d3474
mov dword [ebp - 0x28], ecx
mov dl, byte [ebx + ecx + 9]
mov byte [ebp - 0xd], dl
lea edx, [ecx + 1]
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x1c]
mov cl, byte [ebp - 0xd]
mov edi, dword [ebp - 0x28]
cmp cl, byte [edx + edi + 1]
mov ecx, dword [ebp - 0x2c]
je 0x4d32b9
jmp 0x4d329f
mov edi, dword [ebp + 0x14]
mov dword [esp], 0x18
call fcn.0064cd3e
mov ebx, eax
mov ecx, eax
add ecx, 8
mov eax, dword [edi]
cmp byte [eax + 0xb], 0
jns 0x4d3478
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.005de860
sub esp, 8
mov edi, dword [ebp - 0x14]
xor eax, eax
mov dword [ebx + 0x14], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebx + 4], ecx
mov dword [ebx], eax
mov eax, dword [edi + 0xc]
inc eax
movq xmm2, qword [0x744898]
movd xmm0, eax
por xmm0, xmm2
subsd xmm0, xmm2
cvtsd2ss xmm0, xmm0
movss xmm1, dword [edi + 0x10]
test esi, esi
je 0x4d3374
movd xmm3, esi
por xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
mulss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x4d3374
mov edx, dword [ebp - 0x24]
jmp 0x4d341b
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.0067f010
fstp dword [ebp - 0x3c]
movss xmm0, dword [ebp - 0x3c]
cvttss2si ecx, xmm0
mov edx, ecx
sar edx, 0x1f
subss xmm0, dword [0x72fc38]
cvttss2si eax, xmm0
and eax, edx
or eax, ecx
lea ecx, [esi + esi]
cmp esi, 3
jb 0x4d33be
lea edx, [esi - 1]
test esi, edx
mov edx, 0
setne dl
jmp 0x4d33c1
xor edx, edx
inc edx
or edx, ecx
cmp edx, eax
cmovbe edx, eax
cmp edx, 1
je 0x4d33e0
lea eax, [edx - 1]
test edx, eax
je 0x4d33e5
mov dword [esp], edx
call fcn.005dd120
mov edx, eax
jmp 0x4d33e5
mov edx, 2
mov esi, dword [edi + 4]
cmp edx, esi
jbe 0x4d348b
mov dword [esp], edx
mov ecx, edi
call fcn.004d3560
sub esp, 4
mov esi, dword [edi + 4]
lea edx, [esi - 1]
test esi, edx
jne 0x4d340c
and edx, dword [ebp - 0x20]
jmp 0x4d341b
mov eax, dword [ebp - 0x20]
cmp eax, esi
jae 0x4d3417
mov edx, eax
jmp 0x4d341b
xor edx, edx
div esi
mov eax, dword [edi]
mov ecx, dword [eax + edx*4]
test ecx, ecx
je 0x4d342c
mov eax, dword [ecx]
mov dword [ebx], eax
mov dword [ecx], ebx
jmp 0x4d345d
mov ecx, dword [edi + 8]
mov dword [ebx], ecx
lea ecx, [edi + 8]
mov dword [edi + 8], ebx
mov dword [eax + edx*4], ecx
mov eax, dword [ebx]
test eax, eax
je 0x4d345d
mov eax, dword [eax + 4]
lea ecx, [esi - 1]
test esi, ecx
jne 0x4d344e
and eax, ecx
jmp 0x4d3458
cmp eax, esi
jb 0x4d3458
xor edx, edx
div esi
mov eax, edx
mov ecx, dword [edi]
mov dword [ecx + eax*4], ebx
inc dword [edi + 0xc]
mov cl, 1
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [eax + 4], cl
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
xor ecx, ecx
jmp 0x4d3462
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
movsd xmm0, qword [eax]
movsd qword [ecx], xmm0
jmp 0x4d331b
jae 0x4d33fd
mov dword [ebp - 0x18], edx
movss xmm0, dword [edi + 0xc]
orpd xmm0, xmmword [0x7448a0]
subsd xmm0, qword [0x744898]
cvtsd2ss xmm0, xmm0
divss xmm0, dword [edi + 0x10]
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.0067f010
fstp dword [ebp - 0x38]
movss xmm0, dword [ebp - 0x38]
cvttss2si ecx, xmm0
mov edx, ecx
subss xmm0, dword [0x72fc38]
cvttss2si eax, xmm0
sar edx, 0x1f
and eax, edx
or eax, ecx
cmp esi, 3
jb 0x4d3534
mov edx, esi
shr edx, 1
and edx, 0x55555555
mov ecx, esi
sub ecx, edx
mov edx, 0x33333333
mov edi, ecx
and edi, edx
shr ecx, 2
and ecx, edx
add ecx, edi
mov edx, ecx
shr edx, 4
add edx, ecx
and edx, 0xf0f0f0f
imul ecx, edx, 0x1010101
shr ecx, 0x18
cmp ecx, 1
ja 0x4d3534
cmp eax, 2
jb 0x4d353c
dec eax
bsr ecx, eax
xor ecx, 0x1f
neg cl
xor eax, eax
inc eax
shl eax, cl
jmp 0x4d353c
mov dword [esp], eax
call fcn.005dd120
mov edx, dword [ebp - 0x18]
cmp edx, eax
cmovbe edx, eax
cmp edx, esi
mov edi, dword [ebp - 0x14]
jb 0x4d33f0
jmp 0x4d33fd