Function at 0x41ffd0
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 0x41fd52
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
not eax
test ebp, ebp
je 0x41fd86
lea ebx, [ebp - 0x20]
xor edi, edi
nop word cs:[eax + eax]
nop dword [eax]
lea ecx, [esi + edi]
test cl, 3
je 0x41fd56
movzx ecx, byte [ecx]
movzx edx, al
shr eax, 8
inc edi
dec ebx
xor edx, ecx
xor eax, dword [edx*4 + 0x4bf210]
cmp ebp, edi
jne 0x41fd30
jmp 0x41fd86
xor eax, eax
jmp 0x41fd88
sub ebp, edi
cmp ebp, 0x20
jae 0x41fd90
cmp ebp, 4
jae 0x41ff61
test ebp, ebp
je 0x41fd86
nop word [eax + eax]
movzx edx, byte [ecx]
movzx esi, al
shr eax, 8
inc ecx
xor esi, edx
xor eax, dword [esi*4 + 0x4bf210]
dec ebp
jne 0x41fd70
not eax
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, ebx
nop word cs:[eax + eax]
nop dword [eax]
xor eax, dword [ecx]
add ebp, 0xffffffe0
movzx ebx, ah
movzx esi, al
mov ebx, dword [ebx*4 + 0x4bfa10]
xor ebx, dword [esi*4 + 0x4bfe10]
mov esi, eax
shr eax, 0x18
shr esi, 0xe
and esi, 0x3fc
xor ebx, dword [esi + 0x4bf610]
xor ebx, dword [eax*4 + 0x4bf210]
xor ebx, dword [ecx + 4]
movzx eax, bh
movzx esi, bl
mov eax, dword [eax*4 + 0x4bfa10]
xor eax, dword [esi*4 + 0x4bfe10]
mov esi, ebx
shr ebx, 0x18
shr esi, 0xe
and esi, 0x3fc
xor eax, dword [esi + 0x4bf610]
xor eax, dword [ebx*4 + 0x4bf210]
xor eax, dword [ecx + 8]
movzx ebx, ah
movzx esi, al
mov ebx, dword [ebx*4 + 0x4bfa10]
xor ebx, dword [esi*4 + 0x4bfe10]
mov esi, eax
shr eax, 0x18
shr esi, 0xe
and esi, 0x3fc
xor ebx, dword [esi + 0x4bf610]
xor ebx, dword [eax*4 + 0x4bf210]
xor ebx, dword [ecx + 0xc]
movzx eax, bh
movzx esi, bl
mov eax, dword [eax*4 + 0x4bfa10]
xor eax, dword [esi*4 + 0x4bfe10]
mov esi, ebx
shr ebx, 0x18
shr esi, 0xe
and esi, 0x3fc
xor eax, dword [esi + 0x4bf610]
xor eax, dword [ebx*4 + 0x4bf210]
xor eax, dword [ecx + 0x10]
movzx ebx, ah
movzx esi, al
mov ebx, dword [ebx*4 + 0x4bfa10]
xor ebx, dword [esi*4 + 0x4bfe10]
mov esi, eax
shr eax, 0x18
shr esi, 0xe
and esi, 0x3fc
xor ebx, dword [esi + 0x4bf610]
xor ebx, dword [eax*4 + 0x4bf210]
xor ebx, dword [ecx + 0x14]
movzx eax, bh
movzx esi, bl
mov eax, dword [eax*4 + 0x4bfa10]
xor eax, dword [esi*4 + 0x4bfe10]
mov esi, ebx
shr ebx, 0x18
shr esi, 0xe
and esi, 0x3fc
xor eax, dword [esi + 0x4bf610]
xor eax, dword [ebx*4 + 0x4bf210]
xor eax, dword [ecx + 0x18]
movzx ebx, ah
movzx esi, al
mov ebx, dword [ebx*4 + 0x4bfa10]
xor ebx, dword [esi*4 + 0x4bfe10]
mov esi, eax
shr eax, 0x18
shr esi, 0xe
and esi, 0x3fc
xor ebx, dword [esi + 0x4bf610]
xor ebx, dword [eax*4 + 0x4bf210]
xor ebx, dword [ecx + 0x1c]
add ecx, 0x20
movzx eax, bh
movzx esi, bl
mov eax, dword [eax*4 + 0x4bfa10]
xor eax, dword [esi*4 + 0x4bfe10]
mov esi, ebx
shr ebx, 0x18
shr esi, 0xe
and esi, 0x3fc
xor eax, dword [esi + 0x4bf610]
xor eax, dword [ebx*4 + 0x4bf210]
cmp ebp, 0x1f
ja 0x41fda0
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 0x41fd66
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 + 0x4bfa10]
and eax, 0x3fc
shr edx, 0x18
xor edi, dword [esi*4 + 0x4bfe10]
xor edi, dword [eax + 0x4bf610]
mov eax, edi
xor eax, dword [edx*4 + 0x4bf210]
cmp ebp, 3
ja 0x41ff70
mov ebp, dword [esp + 4]
mov edx, dword [esp]
lea ecx, [ecx + edx*4 + 4]
and ebp, 3
test ebp, ebp
jne 0x41fd70
jmp 0x41fd86
jmp 0x41fd00