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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
not ebx
test esi, esi
je 0x41f162
test dl, 3
je 0x41f162
movzx eax, byte [edx]
xor eax, ebx
shr ebx, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x4b52f0]
inc edx
sub esi, 1
jne 0x41f145
push edi
cmp esi, 0x20
jb 0x41f348
mov eax, esi
shr eax, 5
mov dword [ebp - 4], eax
xor ebx, dword [edx]
add edx, 4
mov eax, ebx
mov dword [ebp + 8], edx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov edi, dword [ebp + 8]
mov edx, dword [ecx*4 + 0x4b56f0]
xor edx, dword [eax*4 + 0x4b5af0]
mov eax, ebx
shr eax, 0x18
xor edx, dword [eax*4 + 0x4b52f0]
movzx eax, bl
xor edx, dword [eax*4 + 0x4b5ef0]
xor edx, dword [edi]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ebx, dword [ecx*4 + 0x4b56f0]
xor ebx, dword [eax*4 + 0x4b5af0]
mov eax, edx
shr eax, 0x18
xor ebx, dword [eax*4 + 0x4b52f0]
movzx eax, dl
xor ebx, dword [eax*4 + 0x4b5ef0]
xor ebx, dword [edi + 4]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [ecx*4 + 0x4b56f0]
xor edx, dword [eax*4 + 0x4b5af0]
mov eax, ebx
shr eax, 0x18
xor edx, dword [eax*4 + 0x4b52f0]
movzx eax, bl
xor edx, dword [eax*4 + 0x4b5ef0]
xor edx, dword [edi + 8]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ebx, dword [ecx*4 + 0x4b56f0]
xor ebx, dword [eax*4 + 0x4b5af0]
mov eax, edx
shr eax, 0x18
xor ebx, dword [eax*4 + 0x4b52f0]
movzx eax, dl
xor ebx, dword [eax*4 + 0x4b5ef0]
xor ebx, dword [edi + 0xc]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [ecx*4 + 0x4b56f0]
xor edx, dword [eax*4 + 0x4b5af0]
mov eax, ebx
shr eax, 0x18
xor edx, dword [eax*4 + 0x4b52f0]
movzx eax, bl
xor edx, dword [eax*4 + 0x4b5ef0]
xor edx, dword [edi + 0x10]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ebx, dword [ecx*4 + 0x4b56f0]
xor ebx, dword [eax*4 + 0x4b5af0]
sub esi, 0x20
mov eax, edx
shr eax, 0x18
xor ebx, dword [eax*4 + 0x4b52f0]
movzx eax, dl
xor ebx, dword [eax*4 + 0x4b5ef0]
xor ebx, dword [edi + 0x14]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [ecx*4 + 0x4b56f0]
xor edx, dword [eax*4 + 0x4b5af0]
mov eax, ebx
shr eax, 0x18
xor edx, dword [eax*4 + 0x4b52f0]
movzx eax, bl
xor edx, dword [eax*4 + 0x4b5ef0]
xor edx, dword [edi + 0x18]
add edi, 0x1c
mov eax, edx
mov dword [ebp + 8], edi
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ebx, dword [ecx*4 + 0x4b56f0]
xor ebx, dword [eax*4 + 0x4b5af0]
mov eax, edx
shr eax, 0x18
xor ebx, dword [eax*4 + 0x4b52f0]
movzx eax, dl
mov edx, edi
xor ebx, dword [eax*4 + 0x4b5ef0]
sub dword [ebp - 4], 1
jne 0x41f174
cmp esi, 4
jb 0x41f395
mov edi, esi
shr edi, 2
xor ebx, dword [edx]
sub esi, 4
mov eax, ebx
add edx, 4
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x4b56f0]
xor ecx, dword [eax*4 + 0x4b5af0]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x4b52f0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x4b5ef0]
mov ebx, ecx
sub edi, 1
jne 0x41f352
pop edi
test esi, esi
je 0x41f3b2
movzx eax, byte [edx]
xor eax, ebx
shr ebx, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x4b52f0]
inc edx
sub esi, 1
jne 0x41f39a
not ebx
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret