Function at 0x6428a0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbx
sub rsp, 0x190
xor r9d, r9d
mov r15, rcx
lea rcx, [rsp + 0xbf]
mov rbx, r8
mov r13, rdx
and rcx, 0xffffffffffffffc0
lea r14, [r15 + 0x100]
xor r8d, r8d
mov edx, 0x20
mov r12, rcx
cmp rbx, 0x40
ja 0x642b88
mov rcx, r15
lea r12, [rsp + 0x40]
call fcn.004515e0
movabs rax, 0x3636363636363636
movabs rdx, 0x3636363636363636
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rdx
test rbx, rbx
je 0x642c30
cmp rbx, 0x1f
jbe 0x642c28
vmovdqu xmm4, xmmword [rsp + 0x40]
vmovdqu xmm5, xmmword [r13]
mov rax, rbx
vinserti128 ymm0, ymm4, xmmword [rsp + 0x50], 1
vinserti128 ymm1, ymm5, xmmword [r13 + 0x10], 1
shr rax, 5
vpxor ymm0, ymm0, ymm1
vmovups xmmword [rsp + 0x40], xmm0
vextracti128 xmmword [rsp + 0x50], ymm0, 1
cmp rax, 2
jne 0x642add
vmovdqu xmm4, xmmword [rsp + 0x60]
vmovdqu xmm5, xmmword [r13 + 0x20]
vinserti128 ymm0, ymm4, xmmword [rsp + 0x70], 1
vinserti128 ymm1, ymm5, xmmword [r13 + 0x30], 1
vpxor ymm0, ymm0, ymm1
vmovups xmmword [rsp + 0x60], xmm0
vextracti128 xmmword [rsp + 0x70], ymm0, 1
mov r8d, 0x40
mov rdx, r12
mov rcx, r15
vzeroupper
call fcn.00451800
xor r9d, r9d
xor r8d, r8d
mov edx, 0x20
mov rcx, r14
call fcn.004515e0
test rbx, rbx
movabs rax, 0x5c5c5c5c5c5c5c5c
movabs rdx, 0x5c5c5c5c5c5c5c5c
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], rax
mov eax, 1
mov qword [rsp + 0x48], rdx
cmovne rax, rbx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x78], rdx
vmovdqu xmm2, xmmword [rsp + 0x40]
vmovdqu xmm3, xmmword [r13]
mov rdx, rax
vinserti128 ymm0, ymm2, xmmword [rsp + 0x50], 1
vinserti128 ymm1, ymm3, xmmword [r13 + 0x10], 1
shr rdx, 5
vpxor ymm0, ymm0, ymm1
vmovups xmmword [rsp + 0x40], xmm0
vextracti128 xmmword [rsp + 0x50], ymm0, 1
cmp rdx, 2
jne 0x642ab0
vmovdqu xmm2, xmmword [rsp + 0x60]
vmovdqu xmm3, xmmword [r13 + 0x20]
vinserti128 ymm0, ymm2, xmmword [rsp + 0x70], 1
vinserti128 ymm1, ymm3, xmmword [r13 + 0x30], 1
vpxor ymm0, ymm0, ymm1
vmovups xmmword [rsp + 0x60], xmm0
vextracti128 xmmword [rsp + 0x70], ymm0, 1
vzeroupper
mov r8d, 0x40
mov rdx, r12
mov rcx, r14
call fcn.00451800
nop
add rsp, 0x190
pop rbx
pop r12
pop r13
pop r14
pop r15
ret
cmp rax, 0x20
je 0x642c95
mov eax, 0x20
vzeroupper
nop word [rax + rax]
movzx edx, byte [r13 + rax]
xor byte [r12 + rax], dl
add rax, 1
cmp rax, rbx
jb 0x642ac8
jmp 0x642a84
cmp rbx, 0x20
je 0x6429ab
mov eax, 0x20
vzeroupper
nop
movzx edx, byte [r12 + rax]
xor dl, byte [r13 + rax]
mov byte [r12 + rax], dl
add rax, 1
cmp rbx, rax
ja 0x642af0
mov r8d, 0x40
mov rdx, r12
mov rcx, r15
call fcn.00451800
xor r9d, r9d
xor r8d, r8d
mov edx, 0x20
mov rcx, r14
call fcn.004515e0
test rbx, rbx
movabs rax, 0x5c5c5c5c5c5c5c5c
movabs rdx, 0x5c5c5c5c5c5c5c5c
mov qword [r12], rax
mov qword [r12 + 0x10], rax
mov qword [r12 + 0x20], rax
mov qword [r12 + 0x30], rax
mov eax, 1
mov qword [r12 + 8], rdx
cmovne rax, rbx
mov qword [r12 + 0x18], rdx
mov qword [r12 + 0x28], rdx
mov qword [r12 + 0x38], rdx
cmp rbx, 0x1f
ja 0x642a1a
xor eax, eax
jmp 0x642ac8
call fcn.004515e0
mov r8, rbx
mov rdx, r13
mov rcx, r12
call fcn.00451800
lea r13, [rsp + 0x20]
mov rcx, r12
mov ebx, 0x20
mov rdx, r13
lea r12, [rsp + 0x40]
call fcn.00451890
mov edx, 0x20
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
call fcn.004515e0
vmovdqu xmm4, xmmword [str.6666666666666666]
vmovdqu xmm5, xmmword [rsp + 0x20]
movabs rax, 0x3636363636363636
vinserti128 ymm1, ymm5, xmmword [rsp + 0x30], 1
mov qword [rsp + 0x60], rax
movabs rdx, 0x3636363636363636
vperm2i128 ymm0, ymm4, ymm4, 0
mov qword [rsp + 0x68], rdx
vpxor ymm0, ymm0, ymm1
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rdx
vextracti128 xmmword [rsp + 0x50], ymm0, 1
vmovups xmmword [rsp + 0x40], xmm0
jmp 0x6429ab
xor eax, eax
jmp 0x642af0
mov r8d, 0x40
mov rdx, r12
mov rcx, r15
call fcn.00451800
mov edx, 0x20
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
call fcn.004515e0
movabs rax, 0x5c5c5c5c5c5c5c5c
movabs rdx, 0x5c5c5c5c5c5c5c5c
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rdx
jmp 0x642a84
vzeroupper
jmp 0x642a84