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

Disassembly:
jmp 0x564db0
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x28]
test ebx, ebx
jne 0x564dc3
xor eax, eax
pop ebx
add esp, 0x1c
ret
mov ecx, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x30]
not ecx
cmp edi, 0x17
jb 0x5650f2
test bl, 3
je 0x564df4
movzx eax, byte [ebx]
inc ebx
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x58e978]
dec edi
jne 0x564dd7
mov eax, 0xcccccccd
mov dword [esp + 0x2c], ebx
mul edi
push ebp
mov ebp, edx
shr ebp, 4
imul eax, ebp, 0xffffffec
push esi
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
add edi, eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x38], edi
dec ebp
je 0x564fbd
xor edi, edi
mov esi, dword [esp + 0x34]
mov ebx, dword [ebx]
xor ebx, ecx
mov eax, dword [esi + 4]
mov edx, dword [esi + 8]
xor eax, edi
xor edx, dword [esp + 0x10]
mov ecx, dword [esi + 0xc]
xor ecx, dword [esp + 0x14]
mov dword [esp + 0x24], eax
movzx eax, al
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x10]
add esi, 0x14
mov edi, dword [eax*4 + 0x58f178]
xor ecx, dword [esp + 0x18]
movzx eax, dl
mov edx, ebx
shr edx, 0x10
and edx, 0xff
mov dword [esp + 0x20], ecx
movzx ecx, bl
mov eax, dword [eax*4 + 0x58f178]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [edx*4 + 0x58f978]
movzx eax, al
mov ecx, dword [ecx*4 + 0x58f178]
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x24]
mov eax, dword [eax*4 + 0x58f178]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
movzx eax, al
mov eax, dword [eax*4 + 0x58f178]
mov dword [esp + 0x18], eax
mov eax, ebx
shr eax, 8
and eax, 0xff
shr ebx, 0x18
xor edx, dword [eax*4 + 0x58f578]
mov eax, esi
xor edx, dword [ebx*4 + 0x58fd78]
xor ecx, edx
shr eax, 8
mov edx, esi
mov ebx, dword [esp + 0x1c]
shr edx, 0x10
and eax, 0xff
and edx, 0xff
shr esi, 0x18
mov edx, dword [edx*4 + 0x58f978]
xor edx, dword [eax*4 + 0x58f578]
xor edx, dword [esi*4 + 0x58fd78]
mov esi, dword [esp + 0x28]
xor edi, edx
mov edx, esi
mov eax, esi
shr edx, 0x10
and edx, 0xff
shr eax, 8
and eax, 0xff
shr esi, 0x18
mov edx, dword [edx*4 + 0x58f978]
xor edx, dword [eax*4 + 0x58f578]
mov eax, ebx
xor edx, dword [esi*4 + 0x58fd78]
xor dword [esp + 0x10], edx
mov edx, ebx
shr edx, 0x10
and edx, 0xff
shr eax, 8
and eax, 0xff
shr ebx, 0x18
mov edx, dword [edx*4 + 0x58f978]
xor edx, dword [eax*4 + 0x58f578]
xor edx, dword [ebx*4 + 0x58fd78]
xor dword [esp + 0x14], edx
mov ebx, dword [esp + 0x20]
mov edx, ebx
shr edx, 0x10
mov eax, ebx
and edx, 0xff
shr eax, 8
and eax, 0xff
shr ebx, 0x18
mov edx, dword [edx*4 + 0x58f978]
xor edx, dword [eax*4 + 0x58f578]
xor edx, dword [ebx*4 + 0x58fd78]
xor dword [esp + 0x18], edx
mov ebx, dword [esp + 0x34]
dec ebp
jne 0x564e26
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x28]
mov edx, dword [ebx]
xor edx, ecx
mov ecx, dword [ebx + 4]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x58e978]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x58e978]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x58e978]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x58e978]
xor ecx, edx
mov edx, dword [ebx + 8]
xor ecx, esi
mov ebx, dword [ebx + 0xc]
movzx eax, cl
shr ecx, 8
mov esi, dword [esp + 0x34]
xor ecx, dword [eax*4 + 0x58e978]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x58e978]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x58e978]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x58e978]
xor edx, ecx
mov ecx, dword [esi + 0x10]
xor edx, dword [esp + 0x10]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x58e978]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x58e978]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x58e978]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x58e978]
xor ebx, edx
xor ebx, dword [esp + 0x14]
movzx eax, bl
shr ebx, 8
xor ebx, dword [eax*4 + 0x58e978]
movzx eax, bl
shr ebx, 8
xor ebx, dword [eax*4 + 0x58e978]
movzx eax, bl
shr ebx, 8
xor ebx, dword [eax*4 + 0x58e978]
movzx eax, bl
shr ebx, 8
xor ebx, dword [eax*4 + 0x58e978]
xor ecx, ebx
mov ebx, esi
xor ecx, dword [esp + 0x18]
movzx eax, cl
shr ecx, 8
pop esi
pop ebp
xor ecx, dword [eax*4 + 0x58e978]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x58e978]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x58e978]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x58e978]
add ebx, 0x14
cmp edi, 8
jb 0x5651b4
mov edx, edi
shr edx, 3
movzx eax, byte [ebx]
sub edi, 8
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x58e978]
movzx eax, byte [ebx + 1]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x58e978]
movzx eax, byte [ebx + 2]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x58e978]
movzx eax, byte [ebx + 3]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x58e978]
movzx eax, byte [ebx + 4]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x58e978]
movzx eax, byte [ebx + 5]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x58e978]
movzx eax, byte [ebx + 6]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x58e978]
movzx eax, byte [ebx + 7]
add ebx, 8
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x58e978]
dec edx
jne 0x565100
test edi, edi
je 0x5651d2
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x58e978]
dec edi
jne 0x5651b8
not ecx
pop edi
mov eax, ecx
pop ebx
add esp, 0x1c
ret