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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x18
mov ebx, dword [ebp + 0xc]
xor eax, eax
test ebx, ebx
je 0x41e17e
mov dword [ebp - 0x10], 1
mov eax, dword [ebp + 8]
not eax
mov edx, dword [ebp + 0x10]
jmp 0x41df18
mov cl, byte [ebx]
xor ecx, eax
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + 0x497c74]
inc ebx
dec edx
test edx, edx
je 0x41df21
test bl, 3
jne 0x41df05
mov dword [ebp + 0x10], edx
mov ecx, ebx
mov dword [ebp - 0x24], edx
jmp 0x41e0e6
xor eax, dword [ecx]
movzx edi, ah
mov edx, eax
shr edx, 0x10
and edx, 0xff
movzx esi, al
shr eax, 0x18
mov esi, dword [esi*4 + 0x498874]
xor esi, dword [eax*4 + 0x497c74]
xor esi, dword [ecx + 4]
xor esi, dword [edi*4 + 0x498474]
xor esi, dword [edx*4 + 0x498074]
mov eax, esi
movzx edx, ah
shr eax, 0x10
and eax, 0xff
mov edi, esi
and edi, 0xff
shr esi, 0x18
mov edi, dword [edi*4 + 0x498874]
xor edi, dword [esi*4 + 0x497c74]
xor edi, dword [ecx + 8]
xor edi, dword [edx*4 + 0x498474]
xor edi, dword [eax*4 + 0x498074]
mov eax, edi
movzx edx, ah
shr eax, 0x10
and eax, 0xff
mov esi, edi
and esi, 0xff
shr edi, 0x18
mov esi, dword [esi*4 + 0x498874]
xor esi, dword [edi*4 + 0x497c74]
xor esi, dword [ecx + 0xc]
xor esi, dword [edx*4 + 0x498474]
xor esi, dword [eax*4 + 0x498074]
mov eax, esi
movzx edx, ah
shr eax, 0x10
and eax, 0xff
mov edi, esi
and edi, 0xff
shr esi, 0x18
mov edi, dword [edi*4 + 0x498874]
xor edi, dword [esi*4 + 0x497c74]
xor edi, dword [ecx + 0x10]
xor edi, dword [edx*4 + 0x498474]
xor edi, dword [eax*4 + 0x498074]
mov eax, edi
movzx edx, ah
shr eax, 0x10
and eax, 0xff
mov esi, edi
and esi, 0xff
shr edi, 0x18
mov esi, dword [esi*4 + 0x498874]
xor esi, dword [edi*4 + 0x497c74]
xor esi, dword [ecx + 0x14]
xor esi, dword [edx*4 + 0x498474]
xor esi, dword [eax*4 + 0x498074]
mov eax, esi
movzx edx, ah
shr eax, 0x10
and eax, 0xff
mov edi, esi
and edi, 0xff
shr esi, 0x18
mov edi, dword [edi*4 + 0x498874]
xor edi, dword [esi*4 + 0x497c74]
xor edi, dword [ecx + 0x18]
xor edi, dword [edx*4 + 0x498474]
xor edi, dword [eax*4 + 0x498074]
mov edx, edi
movzx esi, dh
mov eax, edi
shr eax, 0x10
and eax, 0xff
and edx, 0xff
shr edi, 0x18
mov edx, dword [edx*4 + 0x498874]
xor edx, dword [edi*4 + 0x497c74]
xor edx, dword [ecx + 0x1c]
xor edx, dword [esi*4 + 0x498474]
xor edx, dword [eax*4 + 0x498074]
add ecx, 0x20
mov esi, edx
shr esi, 0x10
and esi, 0xff
mov eax, edx
shr eax, 0x18
movzx edi, dl
mov eax, dword [eax*4 + 0x497c74]
xor eax, dword [edi*4 + 0x498874]
movzx edx, dh
xor eax, dword [edx*4 + 0x498474]
xor eax, dword [esi*4 + 0x498074]
sub dword [ebp - 0x24], 0x20
cmp dword [ebp - 0x24], 0x1f
ja 0x41df2e
mov edx, dword [ebp + 0x10]
and edx, 0xffffffe0
lea edx, [ebx + edx]
mov dword [ebp - 0x24], edx
mov edx, dword [ebp + 0x10]
and edx, 0x1f
mov esi, dword [ebp - 0x24]
mov ebx, edx
jmp 0x41e14a
mov ecx, dword [esi]
xor ecx, eax
add esi, 4
mov eax, ecx
shr eax, 0x10
and eax, 0xff
mov dword [ebp - 0x20], eax
mov eax, ecx
shr eax, 0x18
movzx edi, cl
mov eax, dword [eax*4 + 0x497c74]
xor eax, dword [edi*4 + 0x498874]
movzx ecx, ch
xor eax, dword [ecx*4 + 0x498474]
mov ecx, dword [ebp - 0x20]
xor eax, dword [ecx*4 + 0x498074]
sub ebx, 4
cmp ebx, 3
ja 0x41e109
mov ebx, edx
and ebx, 0x1c
add ebx, dword [ebp - 0x24]
and edx, 3
je 0x41e17c
xor ecx, ecx
mov edi, edx
mov dl, byte [ebx + ecx]
xor edx, eax
mov esi, edx
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x497c74]
inc ecx
cmp edi, ecx
jne 0x41e160
not eax
add esp, 0x18
pop ebx
pop esi
pop edi
leave
ret