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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x38
cmp qword [rsp + 0x48], 0
jne 0x504fa1
xor eax, eax
jmp 0x505244
xor eax, eax
cmp eax, 1
je 0x504feb
mov dword [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x504fd3
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
call fcn.00505250
jmp 0x505244
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
call fcn.00505870
jmp 0x505244
mov eax, dword [rsp + 0x40]
xor eax, 0xffffffff
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x50], 8
jb 0x5051e9
mov rax, qword [rsp + 0x48]
movzx ecx, byte [rax]
mov eax, dword [rsp + 0x40]
xor eax, ecx
and eax, 0xff
movsxd rdx, eax
lea rax, [0x00753ed0]
mov ecx, dword [rsp + 0x40]
shr ecx, 8
mov eax, dword [rax + rdx*4]
xor eax, ecx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
add rax, 1
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movzx ecx, byte [rax]
mov eax, dword [rsp + 0x40]
xor eax, ecx
and eax, 0xff
movsxd rdx, eax
lea rax, [0x00753ed0]
mov ecx, dword [rsp + 0x40]
shr ecx, 8
mov eax, dword [rax + rdx*4]
xor eax, ecx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
add rax, 1
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movzx ecx, byte [rax]
mov eax, dword [rsp + 0x40]
xor eax, ecx
and eax, 0xff
movsxd rdx, eax
lea rax, [0x00753ed0]
mov ecx, dword [rsp + 0x40]
shr ecx, 8
mov eax, dword [rax + rdx*4]
xor eax, ecx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
add rax, 1
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movzx ecx, byte [rax]
mov eax, dword [rsp + 0x40]
xor eax, ecx
and eax, 0xff
movsxd rdx, eax
lea rax, [0x00753ed0]
mov ecx, dword [rsp + 0x40]
shr ecx, 8
mov eax, dword [rax + rdx*4]
xor eax, ecx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
add rax, 1
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movzx ecx, byte [rax]
mov eax, dword [rsp + 0x40]
xor eax, ecx
and eax, 0xff
movsxd rdx, eax
lea rax, [0x00753ed0]
mov ecx, dword [rsp + 0x40]
shr ecx, 8
mov eax, dword [rax + rdx*4]
xor eax, ecx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
add rax, 1
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movzx ecx, byte [rax]
mov eax, dword [rsp + 0x40]
xor eax, ecx
and eax, 0xff
movsxd rdx, eax
lea rax, [0x00753ed0]
mov ecx, dword [rsp + 0x40]
shr ecx, 8
mov eax, dword [rax + rdx*4]
xor eax, ecx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
add rax, 1
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movzx ecx, byte [rax]
mov eax, dword [rsp + 0x40]
xor eax, ecx
and eax, 0xff
movsxd rdx, eax
lea rax, [0x00753ed0]
mov ecx, dword [rsp + 0x40]
shr ecx, 8
mov eax, dword [rax + rdx*4]
xor eax, ecx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
add rax, 1
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movzx ecx, byte [rax]
mov eax, dword [rsp + 0x40]
xor eax, ecx
and eax, 0xff
movsxd rdx, eax
lea rax, [0x00753ed0]
mov ecx, dword [rsp + 0x40]
shr ecx, 8
mov eax, dword [rax + rdx*4]
xor eax, ecx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
add rax, 1
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x50]
sub eax, 8
mov dword [rsp + 0x50], eax
jmp 0x504ff6
cmp dword [rsp + 0x50], 0
je 0x50523d
mov rax, qword [rsp + 0x48]
movzx ecx, byte [rax]
mov eax, dword [rsp + 0x40]
xor eax, ecx
and eax, 0xff
movsxd rdx, eax
lea rax, [0x00753ed0]
mov ecx, dword [rsp + 0x40]
shr ecx, 8
mov eax, dword [rax + rdx*4]
xor eax, ecx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
add rax, 1
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x50]
sub eax, 1
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x5051f0
mov eax, dword [rsp + 0x40]
xor eax, 0xffffffff
add rsp, 0x38
ret