Function at 0x462820
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 dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0xc]
movzx ebx, byte [ecx + 0xb]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
test bl, bl
mov dword [ebp - 0x10], edx
lea edx, [eax + edx]
mov dword [ebp - 0x20], ebx
lea edi, [ecx + ebx]
cmovs edi, edx
cmovs ecx, eax
sub edi, ecx
cmp edi, 4
mov dword [ebp - 0x24], ecx
jb 0x46288d
mov edx, ecx
mov eax, edi
nop word [eax + eax]
imul ecx, dword [edx], 0x5bd1e995
mov ebx, ecx
shr ebx, 0x18
xor ebx, ecx
imul ecx, ebx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, ecx
add edx, 4
add edi, 0xfffffffc
cmp edi, 3
ja 0x462860
cmp edi, 1
jne 0x462896
jmp 0x4628b2
mov eax, edi
mov edx, ecx
cmp edi, 1
je 0x4628b2
cmp edi, 2
je 0x4628a9
cmp edi, 3
jne 0x4628bd
movzx ecx, byte [edx + 2]
shl ecx, 0x10
xor eax, ecx
movzx ecx, byte [edx + 1]
shl ecx, 8
xor eax, ecx
movzx ecx, byte [edx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov esi, eax
shr esi, 0xf
xor esi, eax
mov eax, dword [ebp - 0x18]
mov edi, dword [eax + 4]
test edi, edi
mov dword [ebp - 0x1c], esi
je 0x462926
mov ecx, edi
shr ecx, 1
and ecx, 0x55555555
mov eax, edi
sub eax, ecx
mov ecx, eax
and ecx, 0x33333333
shr eax, 2
and eax, 0x33333333
add eax, ecx
mov ecx, eax
shr ecx, 4
add ecx, eax
and ecx, 0xf0f0f0f
imul eax, ecx, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x2c], eax
cmp eax, 1
ja 0x462932
lea edx, [edi - 1]
and edx, esi
mov ecx, dword [ebp - 0x10]
jmp 0x462941
mov dword [ebp - 0x14], 0xffffffff
jmp 0x462a38
mov edx, esi
cmp esi, edi
mov ecx, dword [ebp - 0x10]
jb 0x462941
mov eax, esi
xor edx, edx
div edi
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x14], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x462a38
mov edx, dword [ebp - 0x20]
test dl, dl
cmovns ecx, edx
mov ebx, dword [eax]
test ebx, ebx
je 0x462a38
mov dword [ebp - 0x10], ecx
lea eax, [edi - 1]
mov dword [ebp - 0x28], eax
jmp 0x46298a
mov ebx, dword [ebx]
test ebx, ebx
je 0x462a38
mov eax, dword [ebx + 4]
cmp eax, dword [ebp - 0x1c]
je 0x4629b5
cmp dword [ebp - 0x2c], 1
ja 0x4629a0
and eax, dword [ebp - 0x28]
jmp 0x4629aa
cmp eax, edi
jb 0x4629aa
xor edx, edx
div edi
mov eax, edx
mov ecx, dword [ebp - 0x14]
cmp eax, ecx
jne 0x462a38
movzx eax, byte [ebx + 0x13]
mov ecx, eax
mov esi, eax
test al, al
jns 0x4629c4
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x10]
jne 0x462980
lea ecx, [ebx + 8]
mov edx, dword [ecx]
mov eax, esi
test al, al
cmovs ecx, edx
js 0x462a15
cmp dword [ebp - 0x10], 0
je 0x462a31
mov ecx, dword [ebp - 0x24]
cmp byte [ecx], dl
jne 0x462980
add esi, 0xffffffff
mov dword [ebp - 0x20], esi
xor ecx, ecx
nop dword [eax]
cmp dword [ebp - 0x20], ecx
je 0x462a31
movzx edx, byte [ebx + ecx + 9]
mov esi, edi
lea edi, [ecx + 1]
mov eax, ebx
mov ebx, dword [ebp - 0x24]
cmp dl, byte [ebx + ecx + 1]
mov ebx, eax
mov ecx, edi
mov edi, esi
je 0x4629f0
jmp 0x462980
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x462a31
push eax
push dword [ebp - 0x24]
push ecx
call fcn.006cbb2d
add esp, 0xc
test eax, eax
jne 0x462980
xor ecx, ecx
jmp 0x462b8f
mov esi, dword [ebp + 0x10]
push 0x18
call fcn.006c90b6
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
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 4], eax
mov dword [ebx], 0
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 0xc]
add eax, 1
movd xmm0, eax
movq xmm1, qword [0x6faaf0]
por xmm0, xmm1
subsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movd xmm2, edi
por xmm2, xmm1
subsd xmm2, xmm1
cvtsd2ss xmm2, xmm2
movss xmm1, dword [esi + 0x10]
mulss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x462ac7
test edi, edi
je 0x462ac7
mov edx, dword [ebp - 0x14]
jmp 0x462b47
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
call fcn.006e3cd0
add esp, 8
fstp dword [ebp - 0x30]
movss xmm0, dword [ebp - 0x30]
cvttss2si ecx, xmm0
mov edx, ecx
subss xmm0, dword [0x6fb888]
sar edx, 0x1f
cvttss2si eax, xmm0
and eax, edx
or eax, ecx
lea ecx, [edi + edi]
mov edx, 1
cmp edi, 3
jb 0x462b1a
lea esi, [edi - 1]
xor edx, edx
test edi, esi
mov esi, dword [ebp - 0x18]
setne dl
or edx, ecx
cmp edx, eax
cmovb edx, eax
mov ecx, esi
push edx
call fcn.00462bb0
mov edi, dword [esi + 4]
lea edx, [edi - 1]
test edi, edx
jne 0x462b38
and edx, dword [ebp - 0x1c]
jmp 0x462b47
mov eax, dword [ebp - 0x1c]
cmp eax, edi
jae 0x462b43
mov edx, eax
jmp 0x462b47
xor edx, edx
div edi
mov eax, dword [esi]
mov ecx, dword [eax + edx*4]
test ecx, ecx
je 0x462b58
mov eax, dword [ecx]
mov dword [ebx], eax
mov dword [ecx], ebx
jmp 0x462b89
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 0x462b89
mov eax, dword [eax + 4]
lea ecx, [edi - 1]
test edi, ecx
jne 0x462b7a
and eax, ecx
jmp 0x462b84
cmp eax, edi
jb 0x462b84
xor edx, edx
div edi
mov eax, edx
mov ecx, dword [esi]
mov dword [ecx + eax*4], ebx
add dword [esi + 0xc], 1
mov cl, 1
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [eax + 4], cl
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 0xc