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

Disassembly:
jmp 0x48295d
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, dword [esp + 0x18]
not ebx
test edi, edi
mov dword [esp + 0x14], ecx
je 0x4826fc
test cl, 3
je 0x4826fc
movzx eax, byte [ecx]
xor eax, ebx
shr ebx, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x4b9ad0]
inc ecx
sub edi, 1
jmp 0x4826d9
cmp edi, 0x20
jb 0x4828e8
push ebp
mov ebp, edi
shr ebp, 5
jmp 0x482711
mov ecx, dword [esp + 0x18]
xor ebx, dword [ecx]
add ecx, 4
mov eax, ebx
mov dword [esp + 0x18], ecx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov esi, dword [esp + 0x18]
mov edx, dword [ecx*4 + 0x4b9ed0]
xor edx, dword [eax*4 + 0x4ba2d0]
mov eax, ebx
shr eax, 0x18
xor edx, dword [eax*4 + 0x4b9ad0]
movzx eax, bl
xor edx, dword [eax*4 + 0x4ba6d0]
xor edx, dword [esi]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ebx, dword [ecx*4 + 0x4b9ed0]
xor ebx, dword [eax*4 + 0x4ba2d0]
mov eax, edx
shr eax, 0x18
xor ebx, dword [eax*4 + 0x4b9ad0]
movzx eax, dl
xor ebx, dword [eax*4 + 0x4ba6d0]
xor ebx, dword [esi + 4]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [ecx*4 + 0x4b9ed0]
xor edx, dword [eax*4 + 0x4ba2d0]
mov eax, ebx
shr eax, 0x18
xor edx, dword [eax*4 + 0x4b9ad0]
movzx eax, bl
xor edx, dword [eax*4 + 0x4ba6d0]
xor edx, dword [esi + 8]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ebx, dword [ecx*4 + 0x4b9ed0]
xor ebx, dword [eax*4 + 0x4ba2d0]
mov eax, edx
shr eax, 0x18
xor ebx, dword [eax*4 + 0x4b9ad0]
movzx eax, dl
xor ebx, dword [eax*4 + 0x4ba6d0]
xor ebx, dword [esi + 0xc]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [ecx*4 + 0x4b9ed0]
xor edx, dword [eax*4 + 0x4ba2d0]
mov eax, ebx
shr eax, 0x18
xor edx, dword [eax*4 + 0x4b9ad0]
movzx eax, bl
xor edx, dword [eax*4 + 0x4ba6d0]
xor edx, dword [esi + 0x10]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ebx, dword [ecx*4 + 0x4b9ed0]
xor ebx, dword [eax*4 + 0x4ba2d0]
sub edi, 0x20
mov eax, edx
shr eax, 0x18
xor ebx, dword [eax*4 + 0x4b9ad0]
movzx eax, dl
xor ebx, dword [eax*4 + 0x4ba6d0]
xor ebx, dword [esi + 0x14]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [ecx*4 + 0x4b9ed0]
xor edx, dword [eax*4 + 0x4ba2d0]
mov eax, ebx
shr eax, 0x18
xor edx, dword [eax*4 + 0x4b9ad0]
movzx eax, bl
xor edx, dword [eax*4 + 0x4ba6d0]
xor edx, dword [esi + 0x18]
add esi, 0x1c
mov eax, edx
mov dword [esp + 0x18], esi
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ebx, dword [ecx*4 + 0x4b9ed0]
xor ebx, dword [eax*4 + 0x4ba2d0]
mov eax, edx
shr eax, 0x18
xor ebx, dword [eax*4 + 0x4b9ad0]
movzx eax, dl
xor ebx, dword [eax*4 + 0x4ba6d0]
sub ebp, 1
jne 0x48270d
pop ebp
jmp 0x4828ec
mov esi, dword [esp + 0x14]
cmp edi, 4
jb 0x482939
mov edx, edi
shr edx, 2
xor ebx, dword [esi]
sub edi, 4
mov eax, ebx
add esi, 4
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x4b9ed0]
xor ecx, dword [eax*4 + 0x4ba2d0]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x4b9ad0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x4ba6d0]
mov ebx, ecx
sub edx, 1
jne 0x4828f6
test edi, edi
je 0x482955
movzx eax, byte [esi]
xor eax, ebx
shr ebx, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x4b9ad0]
inc esi
sub edi, 1
jne 0x48293d
pop edi
not ebx
pop esi
mov eax, ebx
pop ebx
ret
cmp dword [esp + 8], 0
jne 0x482967
xor eax, eax
ret
jmp 0x4826c6