Function at 0x631ad1a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
je 0x631acffb
push ebp
push edi
push esi
push ebx
mov ebx, eax
not ebx
jmp 0x631acc21
add edx, 1
movzx eax, byte [edx - 1]
xor eax, ebx
shr ebx, 8
movzx esi, al
xor ebx, dword [esi*4 + 0x633c6960]
sub ecx, 1
je 0x631acff2
test dl, 3
jne 0x631acc02
cmp ecx, 0x1f
jbe 0x631acde5
lea eax, [ecx - 0x20]
and eax, 0xffffffe0
lea esi, [edx + eax + 0x20]
lea esi, [esi]
xor ebx, dword [edx]
mov eax, ebx
mov ebp, ebx
shr eax, 0x10
shr ebp, 0x18
movzx edi, al
movzx eax, bl
movzx ebx, bh
mov eax, dword [eax*4 + 0x633c7560]
xor eax, dword [ebp*4 + 0x633c6960]
xor eax, dword [edx + 4]
xor eax, dword [ebx*4 + 0x633c7160]
xor eax, dword [edi*4 + 0x633c6d60]
mov ebx, eax
mov ebp, eax
shr ebx, 0x10
shr ebp, 0x18
movzx edi, bl
movzx ebx, al
movzx eax, ah
mov ebx, dword [ebx*4 + 0x633c7560]
xor ebx, dword [ebp*4 + 0x633c6960]
xor ebx, dword [edx + 8]
xor ebx, dword [eax*4 + 0x633c7160]
xor ebx, dword [edi*4 + 0x633c6d60]
mov eax, ebx
mov ebp, ebx
shr eax, 0x10
shr ebp, 0x18
movzx edi, al
movzx eax, bl
movzx ebx, bh
mov eax, dword [eax*4 + 0x633c7560]
xor eax, dword [ebp*4 + 0x633c6960]
xor eax, dword [edx + 0xc]
xor eax, dword [ebx*4 + 0x633c7160]
xor eax, dword [edi*4 + 0x633c6d60]
mov ebx, eax
mov ebp, eax
shr ebx, 0x10
shr ebp, 0x18
movzx edi, bl
movzx ebx, al
movzx eax, ah
mov ebx, dword [ebx*4 + 0x633c7560]
xor ebx, dword [ebp*4 + 0x633c6960]
xor ebx, dword [edx + 0x10]
xor ebx, dword [eax*4 + 0x633c7160]
xor ebx, dword [edi*4 + 0x633c6d60]
mov eax, ebx
mov ebp, ebx
shr eax, 0x10
shr ebp, 0x18
movzx edi, al
movzx eax, bl
movzx ebx, bh
mov eax, dword [eax*4 + 0x633c7560]
xor eax, dword [ebp*4 + 0x633c6960]
xor eax, dword [edx + 0x14]
xor eax, dword [ebx*4 + 0x633c7160]
xor eax, dword [edi*4 + 0x633c6d60]
mov ebx, eax
mov ebp, eax
movzx edi, al
movzx eax, ah
shr ebx, 0x10
shr ebp, 0x18
mov edi, dword [edi*4 + 0x633c7560]
add edx, 0x20
movzx ebx, bl
xor edi, dword [ebp*4 + 0x633c6960]
xor edi, dword [edx - 8]
xor edi, dword [eax*4 + 0x633c7160]
xor edi, dword [ebx*4 + 0x633c6d60]
mov eax, edi
mov ebp, edi
mov ebx, edi
shr ebp, 0x18
movzx eax, al
shr ebx, 0x10
mov eax, dword [eax*4 + 0x633c7560]
xor eax, dword [ebp*4 + 0x633c6960]
movzx ebx, bl
xor eax, dword [edx - 4]
mov ebp, eax
mov eax, edi
movzx edi, ah
mov eax, dword [edi*4 + 0x633c7160]
xor eax, ebp
xor eax, dword [ebx*4 + 0x633c6d60]
mov ebx, eax
mov edi, eax
shr ebx, 0x10
shr edi, 0x18
movzx ebp, bl
movzx ebx, al
mov ebx, dword [ebx*4 + 0x633c7560]
xor ebx, dword [edi*4 + 0x633c6960]
movzx edi, ah
xor ebx, dword [edi*4 + 0x633c7160]
xor ebx, dword [ebp*4 + 0x633c6d60]
cmp edx, esi
jne 0x631acc40
and ecx, 0x1f
cmp ecx, 3
jbe 0x631acfa3
xor ebx, dword [edx]
mov eax, ebx
movzx esi, bl
shr eax, 0x10
movzx edi, al
mov eax, ebx
shr eax, 0x18
mov eax, dword [eax*4 + 0x633c6960]
xor eax, dword [esi*4 + 0x633c7560]
movzx esi, bh
mov ebx, dword [edi*4 + 0x633c6d60]
xor eax, dword [esi*4 + 0x633c7160]
lea edi, [ecx - 4]
xor ebx, eax
cmp edi, 3
jbe 0x631acf99
xor ebx, dword [edx + 4]
mov eax, ebx
movzx esi, bl
shr eax, 0x10
movzx ebp, al
mov eax, ebx
shr eax, 0x18
mov eax, dword [eax*4 + 0x633c6960]
xor eax, dword [esi*4 + 0x633c7560]
movzx esi, bh
mov ebx, dword [ebp*4 + 0x633c6d60]
xor eax, dword [esi*4 + 0x633c7160]
xor ebx, eax
lea eax, [ecx - 8]
cmp eax, 3
jbe 0x631acf99
xor ebx, dword [edx + 8]
mov eax, ebx
movzx esi, bl
shr eax, 0x10
movzx ebp, al
mov eax, ebx
shr eax, 0x18
mov eax, dword [eax*4 + 0x633c6960]
xor eax, dword [esi*4 + 0x633c7560]
movzx esi, bh
mov ebx, dword [ebp*4 + 0x633c6d60]
xor eax, dword [esi*4 + 0x633c7160]
xor ebx, eax
lea eax, [ecx - 0xc]
cmp eax, 3
jbe 0x631acf99
xor ebx, dword [edx + 0xc]
mov eax, ebx
movzx esi, bl
shr eax, 0x10
movzx ebp, al
mov eax, ebx
shr eax, 0x18
mov eax, dword [eax*4 + 0x633c6960]
xor eax, dword [esi*4 + 0x633c7560]
movzx esi, bh
mov ebx, dword [ebp*4 + 0x633c6d60]
xor eax, dword [esi*4 + 0x633c7160]
xor ebx, eax
lea eax, [ecx - 0x10]
cmp eax, 3
jbe 0x631acf99
xor ebx, dword [edx + 0x10]
mov eax, ebx
movzx esi, bl
shr eax, 0x10
movzx ebp, al
mov eax, ebx
shr eax, 0x18
mov eax, dword [eax*4 + 0x633c6960]
xor eax, dword [esi*4 + 0x633c7560]
movzx esi, bh
mov ebx, dword [ebp*4 + 0x633c6d60]
xor eax, dword [esi*4 + 0x633c7160]
xor ebx, eax
lea eax, [ecx - 0x14]
cmp eax, 3
jbe 0x631acf99
xor ebx, dword [edx + 0x14]
mov eax, ebx
movzx ebp, bl
shr eax, 0x10
movzx esi, al
mov eax, ebx
movzx ebx, bh
shr eax, 0x18
mov eax, dword [eax*4 + 0x633c6960]
xor eax, dword [ebp*4 + 0x633c7560]
xor eax, dword [ebx*4 + 0x633c7160]
mov ebx, dword [esi*4 + 0x633c6d60]
xor ebx, eax
lea eax, [ecx - 0x18]
cmp eax, 3
jbe 0x631acf99
xor ebx, dword [edx + 0x18]
mov eax, ebx
mov esi, ebx
shr eax, 0x10
shr esi, 0x18
movzx ebp, al
movzx eax, bl
mov eax, dword [eax*4 + 0x633c7560]
xor eax, dword [esi*4 + 0x633c6960]
movzx esi, bh
mov ebx, dword [ebp*4 + 0x633c6d60]
xor eax, dword [esi*4 + 0x633c7160]
xor ebx, eax
shr edi, 2
and ecx, 3
lea edx, [edx + edi*4 + 4]
test ecx, ecx
je 0x631acff2
movzx eax, byte [edx]
xor eax, ebx
movzx esi, al
mov eax, ebx
shr eax, 8
xor eax, dword [esi*4 + 0x633c6960]
sub ecx, 1
je 0x631acfeb
movzx ebx, byte [edx + 1]
xor ebx, eax
shr eax, 8
movzx esi, bl
xor eax, dword [esi*4 + 0x633c6960]
cmp ecx, 1
je 0x631acfeb
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx edx, cl
xor eax, dword [edx*4 + 0x633c6960]
pop ebx
not eax
pop esi
pop edi
pop ebp
ret
mov eax, ebx
pop ebx
pop esi
not eax
pop edi
pop ebp
ret
ret
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
test edx, edx
je 0x631ad1b5
jmp 0x631acbf0
xor eax, eax
ret