Function at 0x46ec30
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 0x46ec51
xor eax, eax
jmp 0x46eef4
xor eax, eax
cmp eax, 1
je 0x46ec9b
mov dword [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x46ec83
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
call fcn.0046ef00
jmp 0x46eef4
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
call fcn.0046f520
jmp 0x46eef4
mov eax, dword [rsp + 0x40]
xor eax, 0xffffffff
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x50], 8
jb 0x46ee99
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, [0x00486530]
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, [0x00486530]
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, [0x00486530]
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, [0x00486530]
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, [0x00486530]
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, [0x00486530]
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, [0x00486530]
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, [0x00486530]
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 0x46eca6
cmp dword [rsp + 0x50], 0
je 0x46eeed
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, [0x00486530]
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 0x46eea0
mov eax, dword [rsp + 0x40]
xor eax, 0xffffffff
add rsp, 0x38
ret