Function at 0x5863a0
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 0x58660d
test dl, 3
je 0x5863d7
movzx esi, byte [edx]
movzx edi, al
shr eax, 8
inc edx
xor edi, esi
xor eax, dword [edi*4 + 0x69f0a0]
dec ebp
jne 0x5863b7
jmp 0x58660d
cmp ebp, 0x20
jb 0x586594
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 + 0x69f8a0]
xor ebx, dword [edi*4 + 0x69fca0]
mov edi, eax
shr eax, 0x18
shr edi, 0xe
and edi, 0x3fc
xor ebx, dword [edi + 0x69f4a0]
xor ebx, dword [eax*4 + 0x69f0a0]
xor ebx, dword [edx + 4]
movzx eax, bh
movzx edi, bl
mov eax, dword [eax*4 + 0x69f8a0]
xor eax, dword [edi*4 + 0x69fca0]
mov edi, ebx
shr ebx, 0x18
shr edi, 0xe
and edi, 0x3fc
xor eax, dword [edi + 0x69f4a0]
xor eax, dword [ebx*4 + 0x69f0a0]
xor eax, dword [edx + 8]
movzx ebx, ah
movzx edi, al
mov ebx, dword [ebx*4 + 0x69f8a0]
xor ebx, dword [edi*4 + 0x69fca0]
mov edi, eax
shr eax, 0x18
shr edi, 0xe
and edi, 0x3fc
xor ebx, dword [edi + 0x69f4a0]
xor ebx, dword [eax*4 + 0x69f0a0]
xor ebx, dword [edx + 0xc]
movzx eax, bh
movzx edi, bl
mov eax, dword [eax*4 + 0x69f8a0]
xor eax, dword [edi*4 + 0x69fca0]
mov edi, ebx
shr ebx, 0x18
shr edi, 0xe
and edi, 0x3fc
xor eax, dword [edi + 0x69f4a0]
xor eax, dword [ebx*4 + 0x69f0a0]
xor eax, dword [edx + 0x10]
movzx ebx, ah
movzx edi, al
mov ebx, dword [ebx*4 + 0x69f8a0]
xor ebx, dword [edi*4 + 0x69fca0]
mov edi, eax
shr eax, 0x18
shr edi, 0xe
and edi, 0x3fc
xor ebx, dword [edi + 0x69f4a0]
xor ebx, dword [eax*4 + 0x69f0a0]
xor ebx, dword [edx + 0x14]
movzx eax, bh
movzx edi, bl
mov eax, dword [eax*4 + 0x69f8a0]
xor eax, dword [edi*4 + 0x69fca0]
mov edi, ebx
shr ebx, 0x18
shr edi, 0xe
and edi, 0x3fc
xor eax, dword [edi + 0x69f4a0]
xor eax, dword [ebx*4 + 0x69f0a0]
xor eax, dword [edx + 0x18]
movzx ebx, ah
movzx edi, al
mov ebx, dword [ebx*4 + 0x69f8a0]
xor ebx, dword [edi*4 + 0x69fca0]
mov edi, eax
shr eax, 0x18
shr edi, 0xe
and edi, 0x3fc
xor ebx, dword [edi + 0x69f4a0]
xor ebx, dword [eax*4 + 0x69f0a0]
xor ebx, dword [edx + 0x1c]
add edx, 0x20
movzx eax, bh
movzx edi, bl
mov eax, dword [eax*4 + 0x69f8a0]
xor eax, dword [edi*4 + 0x69fca0]
mov edi, ebx
shr ebx, 0x18
shr edi, 0xe
and edi, 0x3fc
xor eax, dword [edi + 0x69f4a0]
xor eax, dword [ebx*4 + 0x69f0a0]
cmp ebp, 0x1f
ja 0x5863ef
mov edx, dword [esp]
sub esi, ecx
mov ebp, esi
cmp ebp, 4
jb 0x5865f3
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 + 0x69f8a0]
and eax, 0x3fc
shr ecx, 0x18
xor esi, dword [edi*4 + 0x69fca0]
xor esi, dword [eax + 0x69f4a0]
mov eax, esi
xor eax, dword [ecx*4 + 0x69f0a0]
cmp ebp, 3
ja 0x5865a9
mov ebp, dword [esp]
mov ecx, dword [esp + 4]
lea edx, [edx + ecx*4]
and ebp, 3
test ebp, ebp
je 0x58660d
movzx ecx, byte [edx]
movzx esi, al
shr eax, 8
inc edx
xor esi, ecx
xor eax, dword [esi*4 + 0x69f0a0]
dec ebp
jne 0x5865f7
not eax
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret