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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
or dword [ebp - 4], 0xffffffff
push ebx
mov ebx, ecx
lea ecx, [ebp - 4]
push esi
push edi
push 4
lea eax, [ebx + 4]
mov dword [ebp - 8], ebx
push eax
call fcn.10023a25
push 4
lea eax, [ebx + 8]
push eax
lea ecx, [ebp - 4]
call fcn.10023a25
mov edx, dword [ebp - 4]
lea esi, [ebx + 0xc]
push 0xc
pop edi
cmp edi, 7
ja case.default.0x10022f60
jmp dword [edi*4 + 0x10023181]
mov eax, esi
and eax, 3
sub edi, eax
dec eax
je 0x10022f9d
dec eax
je 0x10022f8a
dec eax
jne 0x10022fb0
movzx eax, byte [esi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10028ba0]
inc esi
movzx eax, byte [esi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10028ba0]
inc esi
movzx eax, byte [esi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10028ba0]
inc esi
mov eax, edi
shr eax, 3
mov dword [ebp - 4], eax
test eax, eax
je 0x10023038
mov ebx, eax
xor edx, dword [esi]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x10028ba0]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x10028ba0]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x10028ba0]
mov ecx, edx
movzx eax, cl
shr ecx, 8
mov edx, dword [eax*4 + 0x10028ba0]
xor edx, dword [esi + 4]
add esi, 8
xor edx, ecx
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x10028ba0]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x10028ba0]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x10028ba0]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x10028ba0]
dec ebx
jne 0x10022fbe
mov ebx, dword [ebp - 8]
and edi, 7
jmp 0x10022f5b
movzx eax, byte [esi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10028ba0]
inc esi
movzx eax, byte [esi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10028ba0]
inc esi
movzx eax, byte [esi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10028ba0]
inc esi
xor edx, dword [esi]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x10028ba0]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x10028ba0]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x10028ba0]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x10028ba0]
jmp case.0x10022f60.0
movzx eax, byte [esi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10028ba0]
inc esi
movzx eax, byte [esi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10028ba0]
inc esi
movzx eax, byte [esi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10028ba0]
push 4
pop esi
push esi
lea eax, [ebx + 0x18]
mov dword [ebp - 4], edx
push eax
lea ecx, [ebp - 4]
call fcn.10023a25
push esi
lea eax, [ebx + 0x1c]
push eax
lea ecx, [ebp - 4]
call fcn.10023a25
push esi
lea eax, [ebx + 0x20]
push eax
lea ecx, [ebp - 4]
call fcn.10023a25
push esi
lea eax, [ebx + 0x24]
push eax
lea ecx, [ebp - 4]
call fcn.10023a25
push 1
lea eax, [ebx + 0x28]
push eax
lea ecx, [ebp - 4]
call fcn.10023a25
push esi
lea eax, [ebx + 0x2c]
push eax
lea ecx, [ebp - 4]
call fcn.10023a25
push esi
lea eax, [ebx + 0x30]
push eax
lea ecx, [ebp - 4]
call fcn.10023a25
push esi
lea eax, [ebx + 0x34]
push eax
lea ecx, [ebp - 4]
call fcn.10023a25
push 2
lea eax, [ebx + 0x38]
push eax
lea ecx, [ebp - 4]
call fcn.10023a25
push 2
lea eax, [ebx + 0x3a]
push eax
lea ecx, [ebp - 4]
call fcn.10023a25
mov eax, dword [ebp - 4]
pop edi
pop esi
not eax
pop ebx
mov esp, ebp
pop ebp
ret