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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov esi, dword [esp + 0x20]
test esi, esi
je 0x467d9f
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
not eax
test ebp, ebp
je 0x467fe4
lea ebx, [ebp - 0x20]
xor edi, edi
lea ecx, [esi + edi]
test cl, 3
je 0x467da6
movzx ecx, byte [ecx]
movzx edx, al
shr eax, 8
inc edi
dec ebx
xor edx, ecx
xor eax, dword [edx*4 + 0x516f5c]
cmp ebp, edi
jne 0x467d7a
jmp 0x467fe4
xor eax, eax
jmp 0x467fe6
sub ebp, edi
cmp ebp, 0x20
jb 0x467f6b
mov edx, ebx
xor eax, dword [ecx]
add ebp, 0xffffffe0
movzx ebx, ah
movzx esi, al
mov ebx, dword [ebx*4 + 0x51775c]
xor ebx, dword [esi*4 + 0x517b5c]
mov esi, eax
shr eax, 0x18
shr esi, 0xe
and esi, 0x3fc
xor ebx, dword [esi + 0x51735c]
xor ebx, dword [eax*4 + 0x516f5c]
xor ebx, dword [ecx + 4]
movzx eax, bh
movzx esi, bl
mov eax, dword [eax*4 + 0x51775c]
xor eax, dword [esi*4 + 0x517b5c]
mov esi, ebx
shr ebx, 0x18
shr esi, 0xe
and esi, 0x3fc
xor eax, dword [esi + 0x51735c]
xor eax, dword [ebx*4 + 0x516f5c]
xor eax, dword [ecx + 8]
movzx ebx, ah
movzx esi, al
mov ebx, dword [ebx*4 + 0x51775c]
xor ebx, dword [esi*4 + 0x517b5c]
mov esi, eax
shr eax, 0x18
shr esi, 0xe
and esi, 0x3fc
xor ebx, dword [esi + 0x51735c]
xor ebx, dword [eax*4 + 0x516f5c]
xor ebx, dword [ecx + 0xc]
movzx eax, bh
movzx esi, bl
mov eax, dword [eax*4 + 0x51775c]
xor eax, dword [esi*4 + 0x517b5c]
mov esi, ebx
shr ebx, 0x18
shr esi, 0xe
and esi, 0x3fc
xor eax, dword [esi + 0x51735c]
xor eax, dword [ebx*4 + 0x516f5c]
xor eax, dword [ecx + 0x10]
movzx ebx, ah
movzx esi, al
mov ebx, dword [ebx*4 + 0x51775c]
xor ebx, dword [esi*4 + 0x517b5c]
mov esi, eax
shr eax, 0x18
shr esi, 0xe
and esi, 0x3fc
xor ebx, dword [esi + 0x51735c]
xor ebx, dword [eax*4 + 0x516f5c]
xor ebx, dword [ecx + 0x14]
movzx eax, bh
movzx esi, bl
mov eax, dword [eax*4 + 0x51775c]
xor eax, dword [esi*4 + 0x517b5c]
mov esi, ebx
shr ebx, 0x18
shr esi, 0xe
and esi, 0x3fc
xor eax, dword [esi + 0x51735c]
xor eax, dword [ebx*4 + 0x516f5c]
xor eax, dword [ecx + 0x18]
movzx ebx, ah
movzx esi, al
mov ebx, dword [ebx*4 + 0x51775c]
xor ebx, dword [esi*4 + 0x517b5c]
mov esi, eax
shr eax, 0x18
shr esi, 0xe
and esi, 0x3fc
xor ebx, dword [esi + 0x51735c]
xor ebx, dword [eax*4 + 0x516f5c]
xor ebx, dword [ecx + 0x1c]
add ecx, 0x20
movzx eax, bh
movzx esi, bl
mov eax, dword [eax*4 + 0x51775c]
xor eax, dword [esi*4 + 0x517b5c]
mov esi, ebx
shr ebx, 0x18
shr esi, 0xe
and esi, 0x3fc
xor eax, dword [esi + 0x51735c]
xor eax, dword [ebx*4 + 0x516f5c]
cmp ebp, 0x1f
ja 0x467db3
mov ebp, dword [esp + 0x24]
mov esi, edx
mov edx, dword [esp + 0x20]
and esi, 0xffffffe0
add ebp, 0xffffffe0
add edx, esi
sub ebp, esi
lea ecx, [edi + edx + 0x20]
sub ebp, edi
cmp ebp, 4
jb 0x467fca
lea edx, [ebp - 4]
mov ebx, ecx
mov dword [esp + 4], edx
shr edx, 2
mov dword [esp], edx
xor eax, dword [ebx]
add ebp, 0xfffffffc
add ebx, 4
movzx edi, ah
movzx esi, al
mov edx, eax
shr eax, 0xe
mov edi, dword [edi*4 + 0x51775c]
and eax, 0x3fc
shr edx, 0x18
xor edi, dword [esi*4 + 0x517b5c]
xor edi, dword [eax + 0x51735c]
mov eax, edi
xor eax, dword [edx*4 + 0x516f5c]
cmp ebp, 3
ja 0x467f7f
mov ebp, dword [esp + 4]
mov edx, dword [esp]
lea ecx, [ecx + edx*4 + 4]
and ebp, 3
test ebp, ebp
je 0x467fe4
movzx edx, byte [ecx]
movzx esi, al
shr eax, 8
inc ecx
xor esi, edx
xor eax, dword [esi*4 + 0x516f5c]
dec ebp
jne 0x467fce
not eax
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret