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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [esp], ecx
mov esi, dword [esp + 0x30]
movzx eax, byte [esi]
test al, 1
je 0x53b69d
mov eax, dword [esi + 4]
mov esi, dword [esi + 8]
jmp 0x53b6a0
inc esi
shr eax, 1
mov edi, eax
mov ecx, esi
mov edx, eax
mov dword [esp + 0xc], eax
cmp eax, 4
jb 0x53b742
mov eax, dword [esp + 0xc]
lea edx, [eax - 4]
test dl, 4
jne 0x53b6e8
mov edi, eax
imul eax, dword [esi], 0x5bd1e995
mov ecx, eax
shr ecx, 0x18
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
imul eax, edi, 0x5bd1e995
xor eax, ecx
lea ecx, [esi + 4]
mov edi, edx
cmp edx, 4
jae 0x53b6f1
jmp 0x53b742
mov edi, eax
mov ecx, esi
cmp edx, 4
jb 0x53b742
mov edx, edi
nop word cs:[eax + eax]
imul edi, dword [ecx], 0x5bd1e995
mov ebp, edi
shr ebp, 0x18
xor ebp, edi
imul edi, ebp, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, edi
imul edi, dword [ecx + 4], 0x5bd1e995
mov ebp, edi
shr ebp, 0x18
xor ebp, edi
imul edi, ebp, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, edi
add ecx, 8
add edx, 0xfffffff8
cmp edx, 3
ja 0x53b700
cmp edx, 1
je 0x53b763
cmp edx, 2
je 0x53b75a
cmp edx, 3
jne 0x53b76e
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 [esp]
mov ebp, dword [eax + 4]
test ebp, ebp
mov dword [esp + 4], ebx
je 0x53b7d0
mov eax, ebp
shr eax, 1
and eax, 0x55555555
mov ecx, ebp
sub ecx, eax
mov eax, ecx
and eax, 0x33333333
shr ecx, 2
and ecx, 0x33333333
add ecx, eax
mov eax, ecx
shr eax, 4
add eax, ecx
and eax, 0xf0f0f0f
imul ecx, eax, 0x1010101
shr ecx, 0x18
cmp ecx, 1
ja 0x53b7d5
lea edx, [ebp - 1]
and edx, ebx
jmp 0x53b7e5
jmp 0x53b939
mov edx, ebx
cmp ebx, ebp
jb 0x53b7e5
mov eax, ebx
xor edx, edx
div ebp
mov ebx, dword [esp + 4]
mov eax, dword [esp]
mov eax, dword [eax]
mov dword [esp + 8], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x53b939
mov edi, dword [eax]
test edi, edi
je 0x53b939
cmp ecx, 2
jae 0x53b838
lea eax, [ebp - 1]
mov dword [esp + 0x10], eax
jmp 0x53b8d4
cmp eax, dword [esp + 8]
jne 0x53b939
mov edi, dword [edi]
test edi, edi
mov ebx, dword [esp + 4]
je 0x53b939
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x53b890
movzx edx, byte [edi + 8]
mov ecx, edx
shr ecx, 1
test dl, 1
mov eax, dword [edi + 0xc]
mov ebx, eax
cmove ebx, ecx
cmp ebx, dword [esp + 0xc]
jne 0x53b82a
test dl, 1
jne 0x53b89c
xor eax, eax
cmp dl, 2
jb 0x53bbb7
nop dword [eax + eax]
movzx edx, byte [edi + eax + 9]
cmp dl, byte [esi + eax]
jne 0x53b82a
inc eax
cmp ecx, eax
jne 0x53b870
jmp 0x53b932
cmp eax, ebp
jb 0x53b820
xor edx, edx
div ebp
mov eax, edx
jmp 0x53b820
push eax
push esi
push dword [edi + 0x10]
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x53b82a
jmp 0x53b932
and eax, dword [esp + 0x10]
cmp eax, dword [esp + 8]
jne 0x53b939
mov edi, dword [edi]
test edi, edi
mov ebx, dword [esp + 4]
je 0x53b939
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x53b8c0
movzx edx, byte [edi + 8]
mov ecx, edx
shr ecx, 1
test dl, 1
mov ebx, dword [edi + 0xc]
mov eax, ebx
cmove eax, ecx
cmp eax, dword [esp + 0xc]
jne 0x53b8ca
test dl, 1
jne 0x53b921
xor eax, eax
cmp dl, 2
jb 0x53bbb7
nop word cs:[eax + eax]
movzx edx, byte [edi + eax + 9]
cmp dl, byte [esi + eax]
jne 0x53b8ca
inc eax
cmp ecx, eax
jne 0x53b910
jmp 0x53b932
push ebx
push esi
push dword [edi + 0x10]
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x53b8ca
xor eax, eax
jmp 0x53bbb7
mov esi, dword [esp + 0x34]
push 0x14
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov edi, eax
mov dword [eax], 0
mov eax, dword [esp + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 0x10], eax
movsd xmm0, qword [esi]
movsd qword [edi + 8], xmm0
xorps xmm0, xmm0
movsd qword [esi], xmm0
mov dword [esi + 8], 0
mov esi, dword [esp]
mov eax, dword [esi + 0xc]
inc eax
movq xmm2, qword [0x56a7f0]
movd xmm0, eax
por xmm0, xmm2
subsd xmm0, xmm2
cvtsd2ss xmm0, xmm0
movss xmm1, dword [esi + 0x10]
test ebp, ebp
je 0x53b9d1
movd xmm3, ebp
por xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
mulss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x53b9d1
mov edx, dword [esp + 8]
mov ecx, dword [esi]
mov eax, dword [ecx + edx*4]
test eax, eax
je 0x53bb51
mov ecx, dword [eax]
mov dword [edi], ecx
jmp 0x53bbb0
lea eax, [ebp*2]
mov ebx, 1
cmp ebp, 3
jb 0x53b9ec
lea ecx, [ebp - 1]
xor ebx, ebx
test ebp, ecx
setne bl
or ebx, eax
divss xmm0, xmm1
sub esp, 4
movss dword [esp], xmm0
call fcn.00549ba4
add esp, 4
fstp dword [esp + 0x18]
movss xmm0, dword [esp + 0x18]
cvttss2si ecx, xmm0
mov edx, ecx
sar edx, 0x1f
subss xmm0, dword [0x56a7f8]
cvttss2si eax, xmm0
and eax, edx
or eax, ecx
cmp ebx, eax
cmova eax, ebx
mov esi, 2
cmp eax, 1
mov ebx, dword [esp]
je 0x53ba49
lea ecx, [eax - 1]
test eax, ecx
je 0x53ba47
push eax
call fcn.0054f99e
add esp, 4
mov esi, eax
mov ebx, dword [ebx + 4]
cmp esi, ebx
jbe 0x53ba5e
mov ecx, dword [esp]
push esi
call fcn.0053bbd0
jmp 0x53bb33
jae 0x53bb33
mov eax, dword [esp]
movss xmm0, dword [eax + 0xc]
orpd xmm0, xmmword [0x56a800]
subsd xmm0, qword [0x56a7f0]
cvtsd2ss xmm0, xmm0
divss xmm0, dword [eax + 0x10]
sub esp, 4
movss dword [esp], xmm0
call fcn.00549ba4
add esp, 4
fstp dword [esp + 0x14]
movss xmm0, dword [esp + 0x14]
cvttss2si eax, xmm0
mov ecx, eax
subss xmm0, dword [0x56a7f8]
cvttss2si edx, xmm0
sar ecx, 0x1f
and edx, ecx
or edx, eax
cmp ebx, 3
jb 0x53bb1d
mov eax, ebx
shr eax, 1
and eax, 0x55555555
mov ecx, ebx
sub ecx, eax
mov eax, ecx
and eax, 0x33333333
shr ecx, 2
and ecx, 0x33333333
add ecx, eax
mov eax, ecx
shr eax, 4
add eax, ecx
and eax, 0xf0f0f0f
imul eax, eax, 0x1010101
shr eax, 0x18
cmp eax, 1
ja 0x53bb1d
lea eax, [edx - 1]
bsr ecx, eax
xor ecx, 0x1f
neg cl
mov eax, 1
shl eax, cl
cmp edx, 2
cmovb eax, edx
cmp esi, eax
cmovbe esi, eax
cmp esi, ebx
jb 0x53ba50
jmp 0x53bb33
push edx
call fcn.0054f99e
add esp, 4
cmp esi, eax
cmovbe esi, eax
cmp esi, ebx
jb 0x53ba50
mov esi, dword [esp]
mov ebp, dword [esi + 4]
lea edx, [ebp - 1]
test ebp, edx
jne 0x53bb75
and edx, dword [esp + 4]
mov ecx, dword [esi]
mov eax, dword [ecx + edx*4]
test eax, eax
jne 0x53b9c8
lea eax, [esi + 8]
mov ebx, esi
mov esi, dword [eax]
mov dword [edi], esi
mov esi, ebx
mov dword [eax], edi
mov dword [ecx + edx*4], eax
mov eax, dword [edi]
test eax, eax
je 0x53bbb2
mov eax, dword [eax + 4]
lea ecx, [ebp - 1]
test ebp, ecx
jne 0x53bba1
and eax, ecx
jmp 0x53bbab
mov eax, dword [esp + 4]
cmp eax, ebp
jae 0x53bb8e
mov edx, eax
mov ecx, dword [esi]
mov eax, dword [ecx + edx*4]
test eax, eax
jne 0x53b9c8
jmp 0x53bb51
xor edx, edx
div ebp
mov ecx, dword [esi]
mov eax, dword [ecx + edx*4]
test eax, eax
jne 0x53b9c8
jmp 0x53bb51
cmp eax, ebp
jb 0x53bbab
xor edx, edx
div ebp
mov eax, edx
shl eax, 2
add eax, dword [esi]
mov dword [eax], edi
inc dword [esi + 0xc]
mov al, 1
movzx edx, al
mov eax, edi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 8