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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0xc]
movzx eax, byte [ecx + 0xb]
test al, al
jns 0x559bdc
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov esi, eax
mov dword [ebp - 0x14], ecx
mov edx, eax
mov edi, eax
cmp eax, 4
jb 0x559c17
mov eax, edi
mov edx, edi
mov ecx, dword [ebp - 0x14]
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 0x559bf1
cmp edx, 1
je 0x559c3a
cmp edx, 3
je 0x559c28
cmp edx, 2
jne 0x559c45
jmp 0x559c31
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 - 0x1c]
mov esi, dword [eax + 4]
test esi, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], ebx
je 0x559cac
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 - 0x28], eax
cmp eax, 1
ja 0x559cb7
lea edx, [esi - 1]
and edx, ebx
jmp 0x559cc3
xor eax, eax
dec eax
mov dword [ebp - 0x24], eax
jmp 0x559d97
mov edx, ebx
cmp ebx, esi
jb 0x559cc3
mov eax, ebx
xor edx, edx
div esi
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x24], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x559d97
mov ebx, dword [eax]
test ebx, ebx
je 0x559d97
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x30], eax
mov esi, dword [ebp - 0x28]
mov eax, dword [ebx + 4]
cmp eax, dword [ebp - 0x20]
je 0x559d12
cmp esi, 1
ja 0x559cfc
and eax, dword [ebp - 0x30]
jmp 0x559d09
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jb 0x559d09
xor edx, edx
div ecx
mov eax, edx
cmp eax, dword [ebp - 0x24]
jne 0x559d97
movzx eax, byte [ebx + 0x13]
mov ecx, eax
test al, al
jns 0x559d1f
mov ecx, dword [ebx + 0xc]
mov edx, edi
cmp ecx, edi
jne 0x559d54
lea ecx, [ebx + 8]
mov edx, dword [ecx]
test al, al
cmovs ecx, edx
jns 0x559d5c
test edi, edi
je 0x559f8c
mov dword [esp + 8], edi
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0064f16d
test eax, eax
je 0x559f8c
mov ebx, dword [ebx]
test ebx, ebx
jne 0x559cea
jmp 0x559d97
test eax, eax
je 0x559f8c
mov ecx, dword [ebp - 0x14]
cmp byte [ecx], dl
jne 0x559d54
dec eax
xor ecx, ecx
cmp eax, ecx
je 0x559f8c
mov esi, ecx
mov dl, byte [ebx + ecx + 9]
mov byte [ebp - 0xd], dl
inc ecx
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x14]
mov cl, byte [ebp - 0xd]
cmp cl, byte [edx + esi + 1]
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
je 0x559d6e
jmp 0x559d54
mov edi, dword [ebp + 0x10]
mov dword [esp], 0x2c
call fcn.0064cd3e
mov ebx, eax
mov eax, dword [edi + 8]
mov dword [ebx + 0x10], eax
movsd xmm0, qword [edi]
movsd qword [ebx + 8], xmm0
xor eax, eax
mov dword [edi], eax
mov dword [edi + 8], eax
mov dword [edi + 4], eax
mov ecx, ebx
add ecx, 0x14
cmp byte [edi + 0x17], 0
js 0x559ddf
lea eax, [edi + 0xc]
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
movsd xmm0, qword [eax]
movsd qword [ecx], xmm0
jmp 0x559df4
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.005de860
sub esp, 8
movsd xmm0, qword [edi + 0x18]
movsd qword [ebx + 0x20], xmm0
mov edi, dword [edi + 0x20]
mov eax, edi
shr eax, 0xe
mov ecx, edi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x7b1224]
bt ecx, eax
jae 0x559e21
mov dword [esp], edi
call fcn.005e5030
jmp 0x559e2d
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x7b9224], 1
mov dword [ebx + 0x28], edi
mov eax, dword [ebp - 0x20]
mov dword [ebx + 4], eax
mov dword [ebx], 0
mov edi, dword [ebp - 0x1c]
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]
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x559e8b
movd xmm3, esi
por xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
mulss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x559e8b
mov esi, dword [ebp - 0x24]
jmp 0x559f32
divss xmm0, xmm1
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
sar edx, 0x1f
subss xmm0, dword [0x72fc38]
cvttss2si eax, xmm0
and eax, edx
or eax, ecx
lea ecx, [esi + esi]
cmp esi, 3
jb 0x559ed5
lea edx, [esi - 1]
test esi, edx
mov edx, 0
setne dl
jmp 0x559ed8
xor edx, edx
inc edx
or edx, ecx
cmp edx, eax
cmovbe edx, eax
cmp edx, 1
je 0x559f90
lea eax, [edx - 1]
test edx, eax
je 0x559ef9
mov dword [esp], edx
call fcn.005dd120
mov edx, eax
mov esi, dword [edi + 4]
cmp edx, esi
jbe 0x559f9a
mov dword [esp], edx
mov ecx, edi
call fcn.005f5900
sub esp, 4
mov ecx, dword [edi + 4]
lea esi, [ecx - 1]
test ecx, esi
mov dword [ebp - 0x18], ecx
jne 0x559f23
and esi, dword [ebp - 0x20]
jmp 0x559f32
mov esi, dword [ebp - 0x20]
cmp esi, ecx
jb 0x559f32
mov eax, esi
xor edx, edx
div ecx
mov esi, edx
mov eax, dword [edi]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x559f43
mov eax, dword [ecx]
mov dword [ebx], eax
mov dword [ecx], ebx
jmp 0x559f75
lea ecx, [edi + 8]
mov edx, dword [ecx]
mov dword [ebx], edx
mov dword [ecx], ebx
mov dword [eax + esi*4], ecx
mov eax, dword [ebx]
test eax, eax
je 0x559f75
mov eax, dword [eax + 4]
mov esi, dword [ebp - 0x18]
lea ecx, [esi - 1]
test esi, ecx
jne 0x559f66
and eax, ecx
jmp 0x559f70
cmp eax, esi
jb 0x559f70
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, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
xor ecx, ecx
jmp 0x559f7a
mov edx, 2
jmp 0x559ef9
jae 0x559f11
mov dword [ebp - 0x14], 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 - 0x34]
movss xmm0, dword [ebp - 0x34]
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 0x55a043
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 0x55a043
cmp eax, 2
jb 0x55a04b
dec eax
bsr ecx, eax
xor ecx, 0x1f
neg cl
xor eax, eax
inc eax
shl eax, cl
jmp 0x55a04b
mov dword [esp], eax
call fcn.005dd120
mov edx, dword [ebp - 0x14]
cmp edx, eax
cmovbe edx, eax
cmp edx, esi
mov edi, dword [ebp - 0x1c]
jb 0x559f04
jmp 0x559f11