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

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
not ebx
mov ebp, 0xff
test esi, esi
je 0x41f2dc
test dl, 3
je 0x41f2dc
movzx eax, byte [edx]
xor eax, ebx
and eax, ebp
shr ebx, 8
xor ebx, dword [eax*4 + 0x445f40]
inc edx
dec esi
jne 0x41f2c2
push edi
cmp esi, 0x20
jb 0x41f4db
mov ebp, esi
shr ebp, 5
mov edi, 0xff
xor ebx, dword [edx]
add edx, 4
mov ecx, ebx
shr ecx, 0x10
mov dword [esp + 0x14], edx
and ecx, edi
mov eax, ebx
mov edx, dword [ecx*4 + 0x446340]
shr eax, 8
and eax, edi
mov edi, dword [esp + 0x14]
xor edx, dword [eax*4 + 0x446740]
mov eax, ebx
shr eax, 0x18
xor edx, dword [eax*4 + 0x445f40]
movzx eax, bl
mov ebx, 0xff
xor edx, dword [eax*4 + 0x446b40]
xor edx, dword [edi]
mov ecx, edx
mov eax, edx
shr eax, 8
and eax, ebx
shr ecx, 0x10
and ecx, ebx
mov ebx, dword [ecx*4 + 0x446340]
xor ebx, dword [eax*4 + 0x446740]
mov eax, edx
shr eax, 0x18
xor ebx, dword [eax*4 + 0x445f40]
movzx eax, dl
mov edx, 0xff
xor ebx, dword [eax*4 + 0x446b40]
xor ebx, dword [edi + 4]
mov ecx, ebx
shr ecx, 0x10
and ecx, edx
mov eax, ebx
shr eax, 8
and eax, edx
mov edx, dword [ecx*4 + 0x446340]
xor edx, dword [eax*4 + 0x446740]
mov eax, ebx
shr eax, 0x18
xor edx, dword [eax*4 + 0x445f40]
movzx eax, bl
mov ebx, 0xff
xor edx, dword [eax*4 + 0x446b40]
xor edx, dword [edi + 8]
mov ecx, edx
mov eax, edx
shr eax, 8
and eax, ebx
shr ecx, 0x10
and ecx, ebx
mov ebx, dword [ecx*4 + 0x446340]
xor ebx, dword [eax*4 + 0x446740]
mov eax, edx
shr eax, 0x18
xor ebx, dword [eax*4 + 0x445f40]
movzx eax, dl
mov edx, 0xff
xor ebx, dword [eax*4 + 0x446b40]
xor ebx, dword [edi + 0xc]
mov ecx, ebx
shr ecx, 0x10
and ecx, edx
mov eax, ebx
shr eax, 8
and eax, edx
mov edx, dword [ecx*4 + 0x446340]
xor edx, dword [eax*4 + 0x446740]
mov eax, ebx
shr eax, 0x18
xor edx, dword [eax*4 + 0x445f40]
movzx eax, bl
mov ebx, 0xff
xor edx, dword [eax*4 + 0x446b40]
xor edx, dword [edi + 0x10]
mov ecx, edx
shr ecx, 0x10
and ecx, ebx
mov eax, edx
shr eax, 8
and eax, ebx
mov ebx, dword [ecx*4 + 0x446340]
xor ebx, dword [eax*4 + 0x446740]
mov eax, edx
shr eax, 0x18
add edi, 0x1c
xor ebx, dword [eax*4 + 0x445f40]
movzx eax, dl
mov edx, 0xff
xor ebx, dword [eax*4 + 0x446b40]
mov dword [esp + 0x14], edi
xor ebx, dword [edi - 8]
sub esi, 0x20
mov ecx, ebx
shr ecx, 0x10
and ecx, edx
mov eax, ebx
shr eax, 8
and eax, edx
mov edx, dword [ecx*4 + 0x446340]
xor edx, dword [eax*4 + 0x446740]
mov eax, ebx
shr eax, 0x18
xor edx, dword [eax*4 + 0x445f40]
movzx eax, bl
xor edx, dword [eax*4 + 0x446b40]
xor edx, dword [edi - 4]
mov edi, 0xff
mov ecx, edx
shr ecx, 0x10
mov eax, edx
shr eax, 8
and eax, edi
and ecx, edi
mov ebx, dword [ecx*4 + 0x446340]
xor ebx, dword [eax*4 + 0x446740]
mov eax, edx
shr eax, 0x18
xor ebx, dword [eax*4 + 0x445f40]
movzx eax, dl
mov edx, dword [esp + 0x14]
xor ebx, dword [eax*4 + 0x446b40]
dec ebp
jne 0x41f2f0
mov ebp, edi
cmp esi, 4
jb 0x41f524
mov edi, esi
shr edi, 2
xor ebx, dword [edx]
add edx, 4
mov ecx, ebx
shr ecx, 0x10
and ecx, ebp
mov eax, ebx
mov ecx, dword [ecx*4 + 0x446340]
shr eax, 8
and eax, ebp
sub esi, 4
xor ecx, dword [eax*4 + 0x446740]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x445f40]
movzx eax, bl
xor ecx, dword [eax*4 + 0x446b40]
mov ebx, ecx
dec edi
jne 0x41f4e5
pop edi
test esi, esi
je 0x41f53e
movzx eax, byte [edx]
xor eax, ebx
and eax, ebp
shr ebx, 8
xor ebx, dword [eax*4 + 0x445f40]
inc edx
dec esi
jne 0x41f529
pop esi
not ebx
pop ebp
mov eax, ebx
pop ebx
ret
test edx, edx
jne 0x41f54d
xor eax, eax
ret
jmp 0x41f2ae