Function at 0x55f570
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 esi, dword [ebp + 0xc]
movsx edx, byte [esi + 0xb]
mov eax, esi
test edx, edx
jns 0x55f58b
mov eax, dword [esi]
mov edx, dword [esi + 4]
mov esi, edx
cmp edx, 4
jb switch.0x0055f5c6
nop word cs:[eax + eax]
imul edi, dword [eax], 0x5bd1e995
mov ebx, edi
shr ebx, 0x18
xor ebx, edi
imul edi, ebx, 0x5bd1e995
imul esi, esi, 0x5bd1e995
xor esi, edi
add eax, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x55f5a0
jmp dword [edx*4 + 0x55fae8]
movzx edx, byte [eax + 1]
shl edx, 8
xor esi, edx
movzx eax, byte [eax]
xor eax, esi
imul esi, eax, 0x5bd1e995
mov eax, esi
shr eax, 0xd
xor eax, esi
imul eax, eax, 0x5bd1e995
mov edi, eax
shr edi, 0xf
xor edi, eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x14], eax
test eax, eax
mov dword [ebp - 0x18], ecx
jne 0x55f846
xor ebx, ebx
dec ebx
mov dword [esp], 0x18
call fcn.005c5789
test eax, eax
je 0x55f844
mov esi, dword [ebp + 0x10]
xor ecx, ecx
mov dword [eax], ecx
mov dword [ebp - 0x1c], edi
mov dword [eax + 4], edi
mov edi, eax
mov edx, dword [esi + 8]
mov dword [eax + 0x10], edx
movsd xmm0, qword [esi]
movsd qword [eax + 8], xmm0
mov dword [esi + 8], ecx
xorps xmm0, xmm0
movsd qword [esi], xmm0
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x10], edi
mov dword [edi + 0x14], eax
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 0xc]
inc eax
movd xmm0, eax
movq xmm2, qword [0x78b590]
por xmm0, xmm2
subsd xmm0, xmm2
cvtsd2ss xmm0, xmm0
movss xmm1, dword [esi + 0x10]
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x55f699
movd xmm3, edi
por xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
mulss xmm2, xmm1
ucomiss xmm0, xmm2
jbe 0x55f95a
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.005f8570
fstp dword [ebp - 0x28]
movss xmm0, dword [ebp - 0x28]
cvttss2si ecx, xmm0
mov edx, ecx
sar edx, 0x1f
subss xmm0, dword [0x78b598]
cvttss2si eax, xmm0
and eax, edx
or eax, ecx
lea ecx, [edi + edi]
cmp edi, 3
jae 0x55f962
xor ebx, ebx
inc ebx
or ebx, ecx
cmp ebx, eax
cmovbe ebx, eax
cmp ebx, 1
jne 0x55f793
mov edi, dword [esi + 4]
mov ebx, 2
cmp edi, 2
jae 0x55f99e
lea eax, [ebx*4]
mov dword [esp], eax
call fcn.005c5789
mov ecx, dword [esi]
mov dword [esi], eax
test ecx, ecx
jne 0x55f833
mov dword [esi + 4], ebx
xor eax, eax
mov ecx, dword [esi]
mov dword [ecx + eax*4], 0
inc eax
cmp ebx, eax
jne 0x55f71c
mov edi, dword [esi + 8]
test edi, edi
mov edx, dword [ebp - 0x10]
jne 0x55f7c0
mov edi, dword [esi + 4]
lea ebx, [edi - 1]
test edi, ebx
jne 0x55f971
and ebx, dword [ebp - 0x1c]
mov ecx, dword [esi]
mov eax, dword [ecx + ebx*4]
test eax, eax
jne 0x55f949
mov eax, dword [esi + 8]
mov dword [edx], eax
lea eax, [esi + 8]
mov dword [esi + 8], edx
mov dword [ecx + ebx*4], eax
mov eax, dword [edx]
test eax, eax
jne 0x55f925
inc dword [esi + 0xc]
mov cl, 1
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov byte [eax + 4], cl
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
movzx edx, byte [eax + 2]
shl edx, 0x10
xor esi, edx
jmp case.0x55f5c6.2
lea eax, [ebx - 1]
test ebx, eax
je 0x55f7a4
mov dword [esp], ebx
call fcn.00544ab0
mov ebx, eax
mov edi, dword [esi + 4]
cmp ebx, edi
jbe 0x55f99e
cmp ebx, 0x40000000
jb 0x55f6fc
jmp 0x55fae2
lea ecx, [esi + 8]
mov edx, dword [edi + 4]
lea eax, [ebx - 1]
test ebx, eax
je 0x55fa7e
cmp edx, ebx
jb 0x55f7db
mov eax, edx
xor edx, edx
div ebx
mov eax, dword [esi]
mov dword [ebp - 0x14], edx
mov dword [eax + edx*4], ecx
mov ecx, dword [edi]
jmp 0x55f7f1
mov dword [edx + eax*4], edi
mov edi, ecx
mov ecx, dword [ecx]
mov dword [ebp - 0x14], eax
test ecx, ecx
mov edx, dword [ebp - 0x10]
je 0x55f738
mov eax, dword [ecx + 4]
cmp eax, ebx
jb 0x55f809
xor edx, edx
div ebx
mov eax, edx
mov edx, dword [ebp - 0x14]
cmp eax, edx
je 0x55f840
mov edx, dword [esi]
cmp dword [edx + eax*4], 0
je 0x55f7e7
mov edx, dword [ecx]
mov dword [edi], edx
mov edx, dword [esi]
mov edx, dword [edx + eax*4]
mov edx, dword [edx]
mov dword [ecx], edx
mov edx, dword [esi]
mov eax, dword [edx + eax*4]
mov dword [eax], ecx
mov ecx, edi
mov eax, dword [ebp - 0x14]
jmp 0x55f7ea
mov dword [esp], ecx
call fcn.005c57c0
jmp 0x55f717
mov eax, edx
jmp 0x55f7ea
ud2
mov esi, edi
mov eax, dword [ebp - 0x14]
mov ecx, eax
shr ecx, 1
and ecx, 0x55555555
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 edi, ecx, 0x1010101
shr edi, 0x18
cmp edi, 1
jbe 0x55f896
mov ebx, esi
cmp esi, dword [ebp - 0x14]
jb 0x55f89e
mov eax, esi
xor edx, edx
div dword [ebp - 0x14]
mov ebx, edx
jmp 0x55f89e
mov eax, dword [ebp - 0x14]
lea ebx, [eax - 1]
and ebx, esi
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x55f906
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x55f906
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
add eax, 0x14
mov dword [ebp - 0x1c], eax
jmp 0x55f8f0
mov eax, dword [ebp - 0x10]
add eax, 8
mov ecx, dword [ebp + 0xc]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x1c]
call fcn.005371d0
sub esp, 8
test al, al
jne 0x55f91b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x55f906
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
cmp eax, esi
je 0x55f8c5
cmp edi, 1
ja 0x55f90d
and eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x55f8e4
mov edi, esi
jmp 0x55f609
cmp eax, dword [ebp - 0x14]
jb 0x55f902
xor edx, edx
div dword [ebp - 0x14]
mov eax, edx
jmp 0x55f902
xor ecx, ecx
mov edx, dword [ebp - 0x10]
jmp 0x55f773
mov eax, dword [eax + 4]
lea ecx, [edi - 1]
test edi, ecx
je 0x55f93d
mov esi, edi
cmp eax, edi
jb 0x55f93f
xor edx, edx
div esi
mov eax, edx
jmp 0x55f93f
and eax, ecx
shl eax, 2
mov ecx, dword [ebp - 0x18]
add eax, dword [ecx]
jmp 0x55f94d
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
mov esi, dword [ebp - 0x18]
jmp 0x55f76e
mov edx, dword [ebp - 0x10]
jmp 0x55f749
lea edx, [edi - 1]
xor ebx, ebx
test edi, edx
setne bl
jmp 0x55f6db
mov ecx, edi
cmp dword [ebp - 0x1c], edi
jae 0x55f988
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
mov edi, ecx
jmp 0x55f749
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov edi, ecx
div ecx
mov ebx, edx
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
jmp 0x55f749
cmp ebx, edi
mov edx, dword [ebp - 0x10]
jae 0x55f738
movss xmm0, dword [esi + 0xc]
orpd xmm0, xmmword [0x78b5a0]
subsd xmm0, qword [0x78b590]
cvtsd2ss xmm0, xmm0
divss xmm0, dword [esi + 0x10]
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.005f8570
fstp dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x24]
cvttss2si eax, xmm0
mov ecx, eax
subss xmm0, dword [0x78b598]
cvttss2si edx, xmm0
sar ecx, 0x1f
and edx, ecx
or edx, eax
cmp edi, 3
jb 0x55fa4e
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
cmp eax, 1
ja 0x55fa4e
lea eax, [edx - 1]
bsr ecx, eax
xor ecx, 0x1f
neg cl
xor eax, eax
inc eax
shl eax, cl
cmp edx, 2
cmovb eax, edx
jmp 0x55fa56
mov dword [esp], edx
call fcn.00544ab0
cmp ebx, eax
cmova eax, ebx
cmp eax, edi
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
jae 0x55f738
mov dword [esp], eax
mov ecx, esi
call fcn.0061a590
sub esp, 4
mov edx, dword [ebp - 0x10]
jmp 0x55f738
and edx, eax
mov ebx, edx
mov edx, dword [esi]
mov dword [ebp - 0x14], ebx
mov dword [edx + ebx*4], ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [edi]
test ecx, ecx
jne 0x55fab4
jmp 0x55f738
mov edi, ecx
jmp 0x55faa4
mov dword [ebx + edx*4], edi
mov edi, ecx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi]
test ecx, ecx
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
je 0x55f738
mov edx, dword [ecx + 4]
and edx, eax
cmp edx, dword [ebp - 0x14]
je 0x55fa98
mov esi, dword [ebp - 0x18]
mov ebx, dword [esi]
cmp dword [ebx + edx*4], 0
je 0x55fa9c
mov ebx, dword [ecx]
mov dword [edi], ebx
mov esi, dword [ebp - 0x18]
mov ebx, dword [esi]
mov ebx, dword [ebx + edx*4]
mov ebx, dword [ebx]
mov dword [ecx], ebx
mov ebx, dword [esi]
mov edx, dword [ebx + edx*4]
mov dword [edx], ecx
jmp 0x55faa4
or ch, bl
ret 0xa9e8
call fcn.005fb090
nop
loope 0x55fadf
push ebp
add dh, dl
cmc
push ebp
add ch, cl
cmc
push ebp
add byte [ebp - 0x33ffaa09], al
int3