Function at 0x14007c470
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, 0x18
mov eax, dword [rsp + 0x20]
mov dword [rsp], eax
mov eax, dword [rsp]
not eax
mov dword [rsp], eax
cmp dword [rsp + 0x30], 0
je 0x14007c4fa
mov rax, qword [rsp + 0x28]
and rax, 3
test rax, rax
je 0x14007c4fa
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x1401dab20]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx]
mov edx, dword [rsp]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
mov ecx, ecx
mov edx, dword [rsp]
shr edx, 8
mov eax, dword [rax + rcx*4]
xor eax, edx
mov dword [rsp], eax
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x30]
dec eax
mov dword [rsp + 0x30], eax
jmp 0x14007c491
mov rax, qword [rsp + 0x28]
mov qword [rsp + 8], rax
cmp dword [rsp + 0x30], 0x20
jb 0x14007caff
mov rax, qword [rsp + 8]
mov eax, dword [rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov rax, qword [rsp + 8]
add rax, 4
mov qword [rsp + 8], rax
mov eax, 0x400
imul rax, rax, 3
lea rcx, [0x1401dab20]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp]
and ecx, 0xff
mov ecx, ecx
mov edx, 0x400
imul rdx, rdx, 2
lea r8, [0x1401dab20]
add r8, rdx
mov rdx, r8
mov r8d, dword [rsp]
shr r8d, 8
and r8d, 0xff
mov r8d, r8d
mov edx, dword [rdx + r8*4]
mov eax, dword [rax + rcx*4]
xor eax, edx
mov ecx, 0x400
imul rcx, rcx, 1
lea rdx, [0x1401dab20]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp]
shr edx, 0x10
and edx, 0xff
mov edx, edx
xor eax, dword [rcx + rdx*4]
mov ecx, 0x400
imul rcx, rcx, 0
lea rdx, [0x1401dab20]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp]
shr edx, 0x18
mov edx, edx
xor eax, dword [rcx + rdx*4]
mov dword [rsp], eax
mov rax, qword [rsp + 8]
mov eax, dword [rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov rax, qword [rsp + 8]
add rax, 4
mov qword [rsp + 8], rax
mov eax, 0x400
imul rax, rax, 3
lea rcx, [0x1401dab20]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp]
and ecx, 0xff
mov ecx, ecx
mov edx, 0x400
imul rdx, rdx, 2
lea r8, [0x1401dab20]
add r8, rdx
mov rdx, r8
mov r8d, dword [rsp]
shr r8d, 8
and r8d, 0xff
mov r8d, r8d
mov edx, dword [rdx + r8*4]
mov eax, dword [rax + rcx*4]
xor eax, edx
mov ecx, 0x400
imul rcx, rcx, 1
lea rdx, [0x1401dab20]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp]
shr edx, 0x10
and edx, 0xff
mov edx, edx
xor eax, dword [rcx + rdx*4]
mov ecx, 0x400
imul rcx, rcx, 0
lea rdx, [0x1401dab20]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp]
shr edx, 0x18
mov edx, edx
xor eax, dword [rcx + rdx*4]
mov dword [rsp], eax
mov rax, qword [rsp + 8]
mov eax, dword [rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov rax, qword [rsp + 8]
add rax, 4
mov qword [rsp + 8], rax
mov eax, 0x400
imul rax, rax, 3
lea rcx, [0x1401dab20]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp]
and ecx, 0xff
mov ecx, ecx
mov edx, 0x400
imul rdx, rdx, 2
lea r8, [0x1401dab20]
add r8, rdx
mov rdx, r8
mov r8d, dword [rsp]
shr r8d, 8
and r8d, 0xff
mov r8d, r8d
mov edx, dword [rdx + r8*4]
mov eax, dword [rax + rcx*4]
xor eax, edx
mov ecx, 0x400
imul rcx, rcx, 1
lea rdx, [0x1401dab20]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp]
shr edx, 0x10
and edx, 0xff
mov edx, edx
xor eax, dword [rcx + rdx*4]
mov ecx, 0x400
imul rcx, rcx, 0
lea rdx, [0x1401dab20]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp]
shr edx, 0x18
mov edx, edx
xor eax, dword [rcx + rdx*4]
mov dword [rsp], eax
mov rax, qword [rsp + 8]
mov eax, dword [rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov rax, qword [rsp + 8]
add rax, 4
mov qword [rsp + 8], rax
mov eax, 0x400
imul rax, rax, 3
lea rcx, [0x1401dab20]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp]
and ecx, 0xff
mov ecx, ecx
mov edx, 0x400
imul rdx, rdx, 2
lea r8, [0x1401dab20]
add r8, rdx
mov rdx, r8
mov r8d, dword [rsp]
shr r8d, 8
and r8d, 0xff
mov r8d, r8d
mov edx, dword [rdx + r8*4]
mov eax, dword [rax + rcx*4]
xor eax, edx
mov ecx, 0x400
imul rcx, rcx, 1
lea rdx, [0x1401dab20]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp]
shr edx, 0x10
and edx, 0xff
mov edx, edx
xor eax, dword [rcx + rdx*4]
mov ecx, 0x400
imul rcx, rcx, 0
lea rdx, [0x1401dab20]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp]
shr edx, 0x18
mov edx, edx
xor eax, dword [rcx + rdx*4]
mov dword [rsp], eax
mov rax, qword [rsp + 8]
mov eax, dword [rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov rax, qword [rsp + 8]
add rax, 4
mov qword [rsp + 8], rax
mov eax, 0x400
imul rax, rax, 3
lea rcx, [0x1401dab20]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp]
and ecx, 0xff
mov ecx, ecx
mov edx, 0x400
imul rdx, rdx, 2
lea r8, [0x1401dab20]
add r8, rdx
mov rdx, r8
mov r8d, dword [rsp]
shr r8d, 8
and r8d, 0xff
mov r8d, r8d
mov edx, dword [rdx + r8*4]
mov eax, dword [rax + rcx*4]
xor eax, edx
mov ecx, 0x400
imul rcx, rcx, 1
lea rdx, [0x1401dab20]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp]
shr edx, 0x10
and edx, 0xff
mov edx, edx
xor eax, dword [rcx + rdx*4]
mov ecx, 0x400
imul rcx, rcx, 0
lea rdx, [0x1401dab20]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp]
shr edx, 0x18
mov edx, edx
xor eax, dword [rcx + rdx*4]
mov dword [rsp], eax
mov rax, qword [rsp + 8]
mov eax, dword [rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov rax, qword [rsp + 8]
add rax, 4
mov qword [rsp + 8], rax
mov eax, 0x400
imul rax, rax, 3
lea rcx, [0x1401dab20]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp]
and ecx, 0xff
mov ecx, ecx
mov edx, 0x400
imul rdx, rdx, 2
lea r8, [0x1401dab20]
add r8, rdx
mov rdx, r8
mov r8d, dword [rsp]
shr r8d, 8
and r8d, 0xff
mov r8d, r8d
mov edx, dword [rdx + r8*4]
mov eax, dword [rax + rcx*4]
xor eax, edx
mov ecx, 0x400
imul rcx, rcx, 1
lea rdx, [0x1401dab20]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp]
shr edx, 0x10
and edx, 0xff
mov edx, edx
xor eax, dword [rcx + rdx*4]
mov ecx, 0x400
imul rcx, rcx, 0
lea rdx, [0x1401dab20]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp]
shr edx, 0x18
mov edx, edx
xor eax, dword [rcx + rdx*4]
mov dword [rsp], eax
mov rax, qword [rsp + 8]
mov eax, dword [rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov rax, qword [rsp + 8]
add rax, 4
mov qword [rsp + 8], rax
mov eax, 0x400
imul rax, rax, 3
lea rcx, [0x1401dab20]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp]
and ecx, 0xff
mov ecx, ecx
mov edx, 0x400
imul rdx, rdx, 2
lea r8, [0x1401dab20]
add r8, rdx
mov rdx, r8
mov r8d, dword [rsp]
shr r8d, 8
and r8d, 0xff
mov r8d, r8d
mov edx, dword [rdx + r8*4]
mov eax, dword [rax + rcx*4]
xor eax, edx
mov ecx, 0x400
imul rcx, rcx, 1
lea rdx, [0x1401dab20]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp]
shr edx, 0x10
and edx, 0xff
mov edx, edx
xor eax, dword [rcx + rdx*4]
mov ecx, 0x400
imul rcx, rcx, 0
lea rdx, [0x1401dab20]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp]
shr edx, 0x18
mov edx, edx
xor eax, dword [rcx + rdx*4]
mov dword [rsp], eax
mov rax, qword [rsp + 8]
mov eax, dword [rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov rax, qword [rsp + 8]
add rax, 4
mov qword [rsp + 8], rax
mov eax, 0x400
imul rax, rax, 3
lea rcx, [0x1401dab20]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp]
and ecx, 0xff
mov ecx, ecx
mov edx, 0x400
imul rdx, rdx, 2
lea r8, [0x1401dab20]
add r8, rdx
mov rdx, r8
mov r8d, dword [rsp]
shr r8d, 8
and r8d, 0xff
mov r8d, r8d
mov edx, dword [rdx + r8*4]
mov eax, dword [rax + rcx*4]
xor eax, edx
mov ecx, 0x400
imul rcx, rcx, 1
lea rdx, [0x1401dab20]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp]
shr edx, 0x10
and edx, 0xff
mov edx, edx
xor eax, dword [rcx + rdx*4]
mov ecx, 0x400
imul rcx, rcx, 0
lea rdx, [0x1401dab20]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp]
shr edx, 0x18
mov edx, edx
xor eax, dword [rcx + rdx*4]
mov dword [rsp], eax
mov eax, dword [rsp + 0x30]
sub eax, 0x20
mov dword [rsp + 0x30], eax
jmp 0x14007c504
cmp dword [rsp + 0x30], 4
jb 0x14007cbd6
mov rax, qword [rsp + 8]
mov eax, dword [rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov rax, qword [rsp + 8]
add rax, 4
mov qword [rsp + 8], rax
mov eax, 0x400
imul rax, rax, 3
lea rcx, [0x1401dab20]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp]
and ecx, 0xff
mov ecx, ecx
mov edx, 0x400
imul rdx, rdx, 2
lea r8, [0x1401dab20]
add r8, rdx
mov rdx, r8
mov r8d, dword [rsp]
shr r8d, 8
and r8d, 0xff
mov r8d, r8d
mov edx, dword [rdx + r8*4]
mov eax, dword [rax + rcx*4]
xor eax, edx
mov ecx, 0x400
imul rcx, rcx, 1
lea rdx, [0x1401dab20]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp]
shr edx, 0x10
and edx, 0xff
mov edx, edx
xor eax, dword [rcx + rdx*4]
mov ecx, 0x400
imul rcx, rcx, 0
lea rdx, [0x1401dab20]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp]
shr edx, 0x18
mov edx, edx
xor eax, dword [rcx + rdx*4]
mov dword [rsp], eax
mov eax, dword [rsp + 0x30]
sub eax, 4
mov dword [rsp + 0x30], eax
jmp 0x14007caff
mov rax, qword [rsp + 8]
mov qword [rsp + 0x28], rax
cmp dword [rsp + 0x30], 0
je 0x14007cc40
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x1401dab20]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx]
mov edx, dword [rsp]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
mov ecx, ecx
mov edx, dword [rsp]
shr edx, 8
mov eax, dword [rax + rcx*4]
xor eax, edx
mov dword [rsp], eax
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x30]
dec eax
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x14007cbe7
mov eax, dword [rsp]
not eax
mov dword [rsp], eax
mov eax, dword [rsp]
add rsp, 0x18
ret