Function at 0x57c550
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 0x57c56c
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 0x57c5a9
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 0x57c583
cmp edx, 1
je 0x57c5cc
cmp edx, 3
je 0x57c5ba
cmp edx, 2
jne 0x57c5d7
jmp 0x57c5c3
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 0x57c63b
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 0x57c646
lea edx, [esi - 1]
and edx, ebx
jmp 0x57c652
xor eax, eax
dec eax
mov dword [ebp - 0x24], eax
jmp 0x57c725
mov edx, ebx
cmp ebx, esi
jb 0x57c652
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 0x57c725
mov ebx, dword [eax]
test ebx, ebx
je 0x57c725
lea eax, [esi - 1]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 4]
cmp eax, dword [ebp - 0x20]
je 0x57c69b
cmp dword [ebp - 0x34], 1
ja 0x57c688
and eax, dword [ebp - 0x30]
jmp 0x57c692
cmp eax, esi
jb 0x57c692
xor edx, edx
div esi
mov eax, edx
cmp eax, dword [ebp - 0x24]
jne 0x57c725
movzx eax, byte [ebx + 0x13]
mov ecx, eax
test al, al
jns 0x57c6a8
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x18]
jne 0x57c6df
lea ecx, [ebx + 8]
mov edx, dword [ecx]
test al, al
cmovs ecx, edx
jns 0x57c6e7
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x57c8b1
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 0x57c8b1
mov ebx, dword [ebx]
test ebx, ebx
jne 0x57c675
jmp 0x57c725
test eax, eax
je 0x57c8b1
mov ecx, dword [ebp - 0x1c]
cmp byte [ecx], dl
jne 0x57c6df
dec eax
xor ecx, ecx
cmp eax, ecx
je 0x57c8b1
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 0x57c6f9
jmp 0x57c6df
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 0x57c8bf
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 0x57c7b4
movd xmm3, esi
por xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
mulss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x57c7b4
mov edx, dword [ebp - 0x24]
jmp 0x57c858
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 0x57c7fe
lea edx, [esi - 1]
test esi, edx
mov edx, 0
setne dl
jmp 0x57c801
xor edx, edx
inc edx
or edx, ecx
cmp edx, eax
cmovbe edx, eax
cmp edx, 1
je 0x57c8b5
lea eax, [edx - 1]
test edx, eax
je 0x57c822
mov dword [esp], edx
call fcn.005dd120
mov edx, eax
mov esi, dword [edi + 4]
cmp edx, esi
jbe 0x57c8d2
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 0x57c849
and edx, dword [ebp - 0x20]
jmp 0x57c858
mov eax, dword [ebp - 0x20]
cmp eax, esi
jae 0x57c854
mov edx, eax
jmp 0x57c858
xor edx, edx
div esi
mov eax, dword [edi]
mov ecx, dword [eax + edx*4]
test ecx, ecx
je 0x57c869
mov eax, dword [ecx]
mov dword [ebx], eax
mov dword [ecx], ebx
jmp 0x57c89a
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 0x57c89a
mov eax, dword [eax + 4]
lea ecx, [esi - 1]
test esi, ecx
jne 0x57c88b
and eax, ecx
jmp 0x57c895
cmp eax, esi
jb 0x57c895
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 0x57c89f
mov edx, 2
jmp 0x57c822
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
movsd xmm0, qword [eax]
movsd qword [ecx], xmm0
jmp 0x57c75b
jae 0x57c83a
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 0x57c97b
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 0x57c97b
cmp eax, 2
jb 0x57c983
dec eax
bsr ecx, eax
xor ecx, 0x1f
neg cl
xor eax, eax
inc eax
shl eax, cl
jmp 0x57c983
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 0x57c82d
jmp 0x57c83a