Function at 0x14001927b
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
mov rax, qword [rbp + 0x20]
mov qword [rbp - 8], rax
mov rax, qword [rbp + 0x38]
mov rax, qword [rax]
xor qword [rbp + 0x30], rax
cmp qword [rbp + 0x28], 0x10
setbe al
movzx eax, al
test eax, eax
je 0x14001939d
cmp qword [rbp + 0x28], 3
seta al
movzx eax, al
test eax, eax
je 0x140019358
mov rax, qword [rbp - 8]
mov rcx, rax
call sym._wyr4
shl rax, 0x20
mov rbx, rax
mov rax, qword [rbp + 0x28]
shr rax, 3
lea rdx, [rax*4]
mov rax, qword [rbp - 8]
add rax, rdx
mov rcx, rax
call sym._wyr4
or rax, rbx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp + 0x28]
lea rdx, [rax - 4]
mov rax, qword [rbp - 8]
add rax, rdx
mov rcx, rax
call sym._wyr4
shl rax, 0x20
mov rbx, rax
mov rax, qword [rbp + 0x28]
shr rax, 3
shl rax, 2
mov rdx, qword [rbp + 0x28]
sub rdx, rax
sub rdx, 4
mov rax, qword [rbp - 8]
add rax, rdx
mov rcx, rax
call sym._wyr4
or rax, rbx
mov qword [rbp - 0x18], rax
jmp 0x14001954a
cmp qword [rbp + 0x28], 0
setne al
movzx eax, al
test eax, eax
je 0x140019388
mov rdx, qword [rbp + 0x28]
mov rax, qword [rbp - 8]
mov rcx, rax
call sym._wyr3
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x18], 0
jmp 0x14001954a
mov qword [rbp - 0x18], 0
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x10], rax
jmp 0x14001954a
mov rax, qword [rbp + 0x28]
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0x30
seta al
movzx eax, al
test eax, eax
je 0x140019505
mov rax, qword [rbp + 0x30]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp + 0x30]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 8]
add rax, 8
mov rcx, rax
call sym._wyr8
xor rax, qword [rbp + 0x30]
mov rbx, rax
mov rax, qword [rbp - 8]
mov rcx, rax
call sym._wyr8
mov rdx, qword [rbp + 0x38]
add rdx, 8
mov rdx, qword [rdx]
xor rax, rdx
mov rdx, rbx
mov rcx, rax
call sym._wymix
mov qword [rbp + 0x30], rax
mov rax, qword [rbp - 8]
add rax, 0x18
mov rcx, rax
call sym._wyr8
xor rax, qword [rbp - 0x28]
mov rbx, rax
mov rax, qword [rbp - 8]
add rax, 0x10
mov rcx, rax
call sym._wyr8
mov rdx, qword [rbp + 0x38]
add rdx, 0x10
mov rdx, qword [rdx]
xor rax, rdx
mov rdx, rbx
mov rcx, rax
call sym._wymix
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 8]
add rax, 0x28
mov rcx, rax
call sym._wyr8
xor rax, qword [rbp - 0x30]
mov rbx, rax
mov rax, qword [rbp - 8]
add rax, 0x20
mov rcx, rax
call sym._wyr8
mov rdx, qword [rbp + 0x38]
add rdx, 0x18
mov rdx, qword [rdx]
xor rax, rdx
mov rdx, rbx
mov rcx, rax
call sym._wymix
mov qword [rbp - 0x30], rax
add qword [rbp - 8], 0x30
sub qword [rbp - 0x20], 0x30
cmp qword [rbp - 0x20], 0x30
seta al
movzx eax, al
test eax, eax
jne 0x1400193c8
mov rax, qword [rbp - 0x28]
xor rax, qword [rbp - 0x30]
xor qword [rbp + 0x30], rax
jmp 0x140019505
mov rax, qword [rbp - 8]
add rax, 8
mov rcx, rax
call sym._wyr8
xor rax, qword [rbp + 0x30]
mov rbx, rax
mov rax, qword [rbp - 8]
mov rcx, rax
call sym._wyr8
mov rdx, qword [rbp + 0x38]
add rdx, 8
mov rdx, qword [rdx]
xor rax, rdx
mov rdx, rbx
mov rcx, rax
call sym._wymix
mov qword [rbp + 0x30], rax
sub qword [rbp - 0x20], 0x10
add qword [rbp - 8], 0x10
cmp qword [rbp - 0x20], 0x10
seta al
movzx eax, al
test eax, eax
jne 0x1400194bb
mov rax, qword [rbp - 0x20]
lea rdx, [rax - 0x10]
mov rax, qword [rbp - 8]
add rax, rdx
mov rcx, rax
call sym._wyr8
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x20]
lea rdx, [rax - 8]
mov rax, qword [rbp - 8]
add rax, rdx
mov rcx, rax
call sym._wyr8
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
xor rax, qword [rbp + 0x30]
mov rdx, rax
mov rax, qword [rbp + 0x38]
add rax, 8
mov rax, qword [rax]
xor rax, qword [rbp - 0x10]
mov rcx, rax
call sym._wymix
mov rdx, rax
mov rax, qword [rbp + 0x38]
add rax, 8
mov rax, qword [rax]
xor rax, qword [rbp + 0x28]
mov rcx, rax
call sym._wymix
add rsp, 0x58
pop rbx
pop rbp
ret