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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov dword [ebp - 0x20], ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [0x5ff014]
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx ebx, byte [edi + 0xb]
test bl, bl
jns 0x538826
mov ebx, dword [edi + 4]
mov edi, dword [edi]
mov eax, ebx
mov ecx, edi
mov edx, ebx
mov dword [ebp - 0x30], ebx
cmp ebx, 4
jb 0x538861
mov eax, dword [ebp - 0x30]
mov edx, eax
mov ecx, edi
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 0x53883b
cmp edx, 1
je 0x538b02
cmp edx, 2
mov esi, dword [ebp - 0x20]
je 0x538880
cmp edx, 3
jne 0x538894
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 ecx, eax
shr ecx, 0xf
xor ecx, eax
mov dword [ebp - 0x24], ecx
mov ebx, dword [esi + 4]
xor eax, eax
dec eax
mov dword [ebp - 0x28], eax
test ebx, ebx
mov dword [ebp - 0x2c], ebx
je 0x5389b3
mov ecx, ebx
shr ecx, 1
and ecx, 0x55555555
mov eax, ebx
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 - 0x38], eax
cmp eax, 1
ja 0x538aaa
lea edx, [ebx - 1]
and edx, dword [ebp - 0x24]
mov eax, dword [esi]
mov dword [ebp - 0x28], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x5389b3
mov esi, dword [eax]
test esi, esi
je 0x5389b0
lea eax, [ebx - 1]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 4]
cmp eax, dword [ebp - 0x24]
je 0x53893d
cmp dword [ebp - 0x38], 1
ja 0x53897c
and eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
cmp eax, ecx
jne 0x5389b0
movzx ecx, byte [esi + 0x13]
mov eax, ecx
test cl, cl
jns 0x53894a
mov eax, dword [esi + 0xc]
mov ebx, dword [ebp - 0x30]
cmp eax, ebx
jne 0x5389a3
lea eax, [esi + 8]
mov edx, dword [eax]
test cl, cl
cmovs eax, edx
js 0x538988
xor eax, eax
test ecx, ecx
je 0x538b3d
dec ecx
cmp dl, byte [edi + eax]
jne 0x5389a3
cmp ecx, eax
je 0x538b3b
mov dl, byte [esi + eax + 9]
inc eax
jmp 0x538968
cmp eax, ebx
jb 0x538936
xor edx, edx
div ebx
mov eax, edx
jmp 0x538936
test ebx, ebx
je 0x538b3b
push ebx
push edi
push eax
call fcn.005065ad
add esp, 0xc
test eax, eax
je 0x538b3b
mov esi, dword [esi]
test esi, esi
mov ebx, dword [ebp - 0x2c]
jne 0x538925
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp + 0x10]
lea edx, [ebp - 0x1c]
xor ecx, ecx
dec ecx
mov dword [edx + 8], ecx
mov dword [edx + 4], ecx
mov dword [edx], ecx
mov ecx, esi
push eax
push dword [ebp - 0x24]
push edx
call fcn.00439580
mov ecx, dword [ebp - 0x2c]
mov eax, dword [esi + 0xc]
inc eax
movq xmm1, qword [0x5d82d0]
movd xmm0, eax
por xmm0, xmm1
subsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movd xmm2, ecx
por xmm2, xmm1
subsd xmm2, xmm1
cvtsd2ss xmm2, xmm2
movss xmm1, dword [esi + 0x10]
mulss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x538a55
test ecx, ecx
je 0x538a55
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0x28]
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x538ac3
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov eax, esi
mov esi, dword [ebp - 0x1c]
inc dword [eax + 0xc]
mov al, 1
mov dword [edi], esi
mov byte [edi + 4], al
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00504596
mov eax, edi
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
mov ebx, ecx
call fcn.00532ba0
add esp, 8
fstp dword [ebp - 0x3c]
movss xmm0, dword [ebp - 0x3c]
cvttss2si ecx, xmm0
mov edx, ecx
sar edx, 0x1f
subss xmm0, dword [0x5c9708]
cvttss2si eax, xmm0
and eax, edx
or eax, ecx
lea ecx, [ebx + ebx]
cmp ebx, 3
mov edi, dword [ebp + 8]
jb 0x538b0a
lea esi, [ebx - 1]
xor edx, edx
test ebx, esi
mov esi, dword [ebp - 0x20]
setne dl
jmp 0x538b0d
mov eax, dword [ebp - 0x24]
mov edx, eax
cmp eax, ebx
jb 0x538905
mov eax, dword [ebp - 0x24]
xor edx, edx
div ebx
jmp 0x538905
mov dword [ebp - 0x2c], ecx
lea eax, [esi + 8]
mov ecx, dword [esi + 8]
mov edx, dword [ebp - 0x1c]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 8], ecx
mov ecx, dword [esi]
mov dword [ecx + ebx*4], eax
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
test eax, eax
je 0x538a30
mov eax, dword [eax + 4]
mov ebx, dword [ebp - 0x2c]
lea edx, [ebx - 1]
test ebx, edx
jne 0x538b50
and eax, edx
mov edx, dword [esi]
mov dword [edx + eax*4], ecx
jmp 0x538a30
mov esi, dword [ebp - 0x20]
jmp 0x538889
xor edx, edx
inc edx
or edx, ecx
cmp edx, eax
cmovb edx, eax
mov ecx, esi
push edx
call fcn.004d6ca0
mov ecx, dword [esi + 4]
lea ebx, [ecx - 1]
test ecx, ebx
mov eax, dword [ebp - 0x24]
jne 0x538b30
and ebx, eax
jmp 0x538a17
cmp eax, ecx
jae 0x538b45
mov ebx, eax
jmp 0x538a17
xor eax, eax
mov edi, dword [ebp + 8]
jmp 0x538a3a
xor edx, edx
div ecx
mov ebx, edx
jmp 0x538a17
cmp eax, ebx
jb 0x538af8
xor edx, edx
div ebx
mov eax, edx
jmp 0x538af8