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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov ebp, dword [esp + 0x1c]
mov eax, ecx
not eax
test ebp, ebp
je 0x1023c6e3
test dl, 3
je 0x1023c4ad
movzx esi, byte [edx]
movzx edi, al
shr eax, 8
inc edx
xor edi, esi
xor eax, dword [edi*4 + 0x1043f254]
dec ebp
jne 0x1023c48d
jmp 0x1023c6e3
cmp ebp, 0x20
jb 0x1023c66a
lea esi, [ebp - 0x20]
mov ecx, esi
and ecx, 0xffffffe0
lea edi, [edx + ecx + 0x20]
mov dword [esp], edi
xor eax, dword [edx]
add ebp, 0xffffffe0
movzx ebx, ah
movzx edi, al
mov ebx, dword [ebx*4 + 0x1043fa54]
xor ebx, dword [edi*4 + 0x1043fe54]
mov edi, eax
shr eax, 0x18
shr edi, 0xe
and edi, 0x3fc
xor ebx, dword [edi + 0x1043f654]
xor ebx, dword [eax*4 + 0x1043f254]
xor ebx, dword [edx + 4]
movzx eax, bh
movzx edi, bl
mov eax, dword [eax*4 + 0x1043fa54]
xor eax, dword [edi*4 + 0x1043fe54]
mov edi, ebx
shr ebx, 0x18
shr edi, 0xe
and edi, 0x3fc
xor eax, dword [edi + 0x1043f654]
xor eax, dword [ebx*4 + 0x1043f254]
xor eax, dword [edx + 8]
movzx ebx, ah
movzx edi, al
mov ebx, dword [ebx*4 + 0x1043fa54]
xor ebx, dword [edi*4 + 0x1043fe54]
mov edi, eax
shr eax, 0x18
shr edi, 0xe
and edi, 0x3fc
xor ebx, dword [edi + 0x1043f654]
xor ebx, dword [eax*4 + 0x1043f254]
xor ebx, dword [edx + 0xc]
movzx eax, bh
movzx edi, bl
mov eax, dword [eax*4 + 0x1043fa54]
xor eax, dword [edi*4 + 0x1043fe54]
mov edi, ebx
shr ebx, 0x18
shr edi, 0xe
and edi, 0x3fc
xor eax, dword [edi + 0x1043f654]
xor eax, dword [ebx*4 + 0x1043f254]
xor eax, dword [edx + 0x10]
movzx ebx, ah
movzx edi, al
mov ebx, dword [ebx*4 + 0x1043fa54]
xor ebx, dword [edi*4 + 0x1043fe54]
mov edi, eax
shr eax, 0x18
shr edi, 0xe
and edi, 0x3fc
xor ebx, dword [edi + 0x1043f654]
xor ebx, dword [eax*4 + 0x1043f254]
xor ebx, dword [edx + 0x14]
movzx eax, bh
movzx edi, bl
mov eax, dword [eax*4 + 0x1043fa54]
xor eax, dword [edi*4 + 0x1043fe54]
mov edi, ebx
shr ebx, 0x18
shr edi, 0xe
and edi, 0x3fc
xor eax, dword [edi + 0x1043f654]
xor eax, dword [ebx*4 + 0x1043f254]
xor eax, dword [edx + 0x18]
movzx ebx, ah
movzx edi, al
mov ebx, dword [ebx*4 + 0x1043fa54]
xor ebx, dword [edi*4 + 0x1043fe54]
mov edi, eax
shr eax, 0x18
shr edi, 0xe
and edi, 0x3fc
xor ebx, dword [edi + 0x1043f654]
xor ebx, dword [eax*4 + 0x1043f254]
xor ebx, dword [edx + 0x1c]
add edx, 0x20
movzx eax, bh
movzx edi, bl
mov eax, dword [eax*4 + 0x1043fa54]
xor eax, dword [edi*4 + 0x1043fe54]
mov edi, ebx
shr ebx, 0x18
shr edi, 0xe
and edi, 0x3fc
xor eax, dword [edi + 0x1043f654]
xor eax, dword [ebx*4 + 0x1043f254]
cmp ebp, 0x1f
ja 0x1023c4c5
mov edx, dword [esp]
sub esi, ecx
mov ebp, esi
cmp ebp, 4
jb 0x1023c6c9
lea ecx, [ebp - 4]
mov ebx, edx
mov dword [esp], ecx
shr ecx, 2
inc ecx
mov dword [esp + 4], ecx
xor eax, dword [ebx]
add ebp, 0xfffffffc
add ebx, 4
movzx esi, ah
movzx edi, al
mov ecx, eax
shr eax, 0xe
mov esi, dword [esi*4 + 0x1043fa54]
and eax, 0x3fc
shr ecx, 0x18
xor esi, dword [edi*4 + 0x1043fe54]
xor esi, dword [eax + 0x1043f654]
mov eax, esi
xor eax, dword [ecx*4 + 0x1043f254]
cmp ebp, 3
ja 0x1023c67f
mov ebp, dword [esp]
mov ecx, dword [esp + 4]
lea edx, [edx + ecx*4]
and ebp, 3
test ebp, ebp
je 0x1023c6e3
movzx ecx, byte [edx]
movzx esi, al
shr eax, 8
inc edx
xor esi, ecx
xor eax, dword [esi*4 + 0x1043f254]
dec ebp
jne 0x1023c6cd
not eax
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret