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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
or eax, 0xffffffff
push ebx
push edi
mov edi, dword [ebp + 8]
mov ebx, edx
test edi, edi
je 0x45c791
test bl, 3
je 0x45c791
movzx ecx, byte [ebx]
inc ebx
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x517a10]
sub edi, 1
jne 0x45c774
push esi
cmp edi, 0x20
jb 0x45c99a
mov ecx, edi
shr ecx, 5
mov dword [ebp - 8], ecx
xor eax, dword [ebx]
mov esi, dword [ebx + 4]
mov ecx, eax
shr ecx, 0x10
add ebx, 8
movzx edx, cl
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp + 8], ebx
mov ebx, dword [edx*4 + 0x517e10]
xor ebx, dword [ecx*4 + 0x518210]
mov ecx, eax
movzx eax, al
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x517a10]
xor ebx, dword [eax*4 + 0x518610]
xor ebx, esi
mov esi, dword [ebp + 8]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x517e10]
xor ecx, dword [eax*4 + 0x518210]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x517a10]
movzx eax, bl
xor ecx, dword [eax*4 + 0x518610]
xor ecx, dword [esi]
mov eax, ecx
mov dword [ebp + 8], ecx
mov ebx, dword [ebp + 8]
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x517e10]
xor ecx, dword [eax*4 + 0x518210]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x517a10]
movzx eax, bl
xor ecx, dword [eax*4 + 0x518610]
xor ecx, dword [esi + 4]
mov eax, ecx
mov dword [ebp + 8], ecx
mov ebx, dword [ebp + 8]
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x517e10]
xor ecx, dword [eax*4 + 0x518210]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x517a10]
movzx eax, bl
xor ecx, dword [eax*4 + 0x518610]
xor ecx, dword [esi + 8]
mov eax, ecx
mov dword [ebp + 8], ecx
mov ebx, dword [ebp + 8]
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x517e10]
xor ecx, dword [eax*4 + 0x518210]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x517a10]
movzx eax, bl
xor ecx, dword [eax*4 + 0x518610]
xor ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [ebp + 8], ecx
mov ebx, dword [ebp + 8]
sub edi, 0x20
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [esi + 0x14]
mov ecx, dword [ecx*4 + 0x517e10]
xor ecx, dword [eax*4 + 0x518210]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x517a10]
movzx eax, bl
xor ecx, dword [eax*4 + 0x518610]
xor ecx, dword [esi + 0x10]
add esi, 0x18
mov eax, ecx
mov dword [ebp - 4], ecx
shr eax, 0x10
movzx ecx, al
mov eax, dword [ebp - 4]
shr eax, 8
movzx eax, al
mov ebx, dword [ecx*4 + 0x517e10]
mov ecx, dword [ebp - 4]
mov dword [ebp + 8], esi
xor ebx, dword [eax*4 + 0x518210]
mov eax, ecx
shr eax, 0x18
xor ebx, dword [eax*4 + 0x517a10]
movzx eax, cl
xor ebx, dword [eax*4 + 0x518610]
xor ebx, edx
mov eax, ebx
shr eax, 0x10
movzx edx, al
mov eax, ebx
shr eax, 8
movzx ecx, al
mov eax, dword [edx*4 + 0x517e10]
xor eax, dword [ecx*4 + 0x518210]
mov ecx, ebx
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x517a10]
movzx ecx, bl
mov ebx, esi
xor eax, dword [ecx*4 + 0x518610]
sub dword [ebp - 8], 1
jne 0x45c7a3
cmp edi, 4
jb 0x45c9e9
mov esi, edi
shr esi, 2
mov ecx, dword [ebx]
sub edi, 4
xor eax, ecx
add ebx, 4
mov ecx, eax
shr ecx, 0x10
movzx edx, cl
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x517e10]
xor edx, dword [ecx*4 + 0x518210]
mov ecx, eax
shr ecx, 0x18
movzx eax, al
xor edx, dword [ecx*4 + 0x517a10]
xor edx, dword [eax*4 + 0x518610]
mov eax, edx
sub esi, 1
jne 0x45c9a4
pop esi
test edi, edi
je 0x45ca0a
nop
movzx ecx, byte [ebx]
lea ebx, [ebx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x517a10]
sub edi, 1
jne 0x45c9f0
pop edi
not eax
pop ebx
mov esp, ebp
pop ebp
ret