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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x38
cmp qword [rsp + 0x48], 0
jne 0x140102031
xor eax, eax
jmp 0x140102375
xor eax, eax
cmp eax, 1
je 0x14010207b
mov dword [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140102063
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
call fcn.1401023d0
jmp 0x140102375
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
call fcn.140102bd0
jmp 0x140102375
mov eax, dword [rsp + 0x40]
xor eax, 0xffffffff
mov dword [rsp + 0x40], eax
cmp qword [rsp + 0x50], 8
jb 0x140102305
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x1401326a0]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x48]
movzx ecx, byte [rcx]
mov edx, dword [rsp + 0x40]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
movsxd rcx, ecx
mov edx, dword [rsp + 0x40]
shr edx, 8
mov eax, dword [rax + rcx*4]
xor eax, edx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x1401326a0]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x48]
movzx ecx, byte [rcx]
mov edx, dword [rsp + 0x40]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
movsxd rcx, ecx
mov edx, dword [rsp + 0x40]
shr edx, 8
mov eax, dword [rax + rcx*4]
xor eax, edx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x1401326a0]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x48]
movzx ecx, byte [rcx]
mov edx, dword [rsp + 0x40]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
movsxd rcx, ecx
mov edx, dword [rsp + 0x40]
shr edx, 8
mov eax, dword [rax + rcx*4]
xor eax, edx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x1401326a0]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x48]
movzx ecx, byte [rcx]
mov edx, dword [rsp + 0x40]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
movsxd rcx, ecx
mov edx, dword [rsp + 0x40]
shr edx, 8
mov eax, dword [rax + rcx*4]
xor eax, edx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x1401326a0]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x48]
movzx ecx, byte [rcx]
mov edx, dword [rsp + 0x40]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
movsxd rcx, ecx
mov edx, dword [rsp + 0x40]
shr edx, 8
mov eax, dword [rax + rcx*4]
xor eax, edx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x1401326a0]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x48]
movzx ecx, byte [rcx]
mov edx, dword [rsp + 0x40]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
movsxd rcx, ecx
mov edx, dword [rsp + 0x40]
shr edx, 8
mov eax, dword [rax + rcx*4]
xor eax, edx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x1401326a0]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x48]
movzx ecx, byte [rcx]
mov edx, dword [rsp + 0x40]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
movsxd rcx, ecx
mov edx, dword [rsp + 0x40]
shr edx, 8
mov eax, dword [rax + rcx*4]
xor eax, edx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x1401326a0]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x48]
movzx ecx, byte [rcx]
mov edx, dword [rsp + 0x40]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
movsxd rcx, ecx
mov edx, dword [rsp + 0x40]
shr edx, 8
mov eax, dword [rax + rcx*4]
xor eax, edx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
sub rax, 8
mov qword [rsp + 0x50], rax
jmp 0x140102086
cmp qword [rsp + 0x50], 0
je 0x14010236e
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x1401326a0]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x48]
movzx ecx, byte [rcx]
mov edx, dword [rsp + 0x40]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
movsxd rcx, ecx
mov edx, dword [rsp + 0x40]
shr edx, 8
mov eax, dword [rax + rcx*4]
xor eax, edx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
dec rax
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x14010230d
mov eax, dword [rsp + 0x40]
xor eax, 0xffffffff
add rsp, 0x38
ret