Function at 0x140009ef0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x188
movdqa xmmword [rsp + 0x170], xmm6
mov rbx, r8
mov r15, rdx
mov rdi, rcx
movzx eax, byte [0x14004a001]
cmp al, 1
jne 0x140009fce
test rbx, rbx
je 0x14000abde
shl rbx, 4
xor esi, esi
pxor xmm6, xmm6
lea r14, [rsp + 0x50]
nop dword [rax]
movups xmm0, xmmword [r15 + rsi]
movaps xmmword [rsp + 0x50], xmm0
movzx eax, byte [rsp + 0x50]
movaps xmmword [rsp + 0x160], xmm0
movzx ecx, byte [rsp + 0x16f]
mov byte [rsp + 0x50], cl
mov byte [rsp + 0x5f], al
movzx eax, word [rsp + 0x51]
rol ax, 8
movq xmm0, qword [rsp + 0x57]
mov word [rsp + 0x5d], ax
movd xmm1, dword [rsp + 0x53]
punpcklbw xmm1, xmm6
pshuflw xmm1, xmm1, 0x1b
packuswb xmm1, xmm1
movd dword [rsp + 0x59], xmm1
punpcklbw xmm0, xmm6
pshufd xmm0, xmm0, 0x4e
pshuflw xmm0, xmm0, 0x1b
pshufhw xmm0, xmm0, 0x1b
packuswb xmm0, xmm0
movq qword [rsp + 0x51], xmm0
mov rcx, rdi
mov rdx, r14
call fcn.14000c740
add rsi, 0x10
cmp rbx, rsi
jne 0x140009f40
jmp 0x14000abde
test rbx, rbx
je 0x14000abde
shl rbx, 4
add rbx, r15
mov rdx, qword [rdi]
mov r8, qword [rdi + 8]
mov rax, rdx
bswap rax
mov rcx, rax
shr rcx, 4
movabs r9, 0xf0f0f0f0f0f0f0f
and rcx, r9
and rax, r9
shl rax, 4
or rax, rcx
movabs r10, 0x3333333333333333
mov rcx, rax
and rcx, r10
shr rax, 2
and rax, r10
lea rax, [rax + rcx*4]
movabs r11, 0x5555555555555555
mov rcx, rax
and rcx, r11
shr rax, 1
and rax, r11
lea rsi, [rax + rcx*2]
mov rax, r8
bswap rax
mov rcx, rax
shr rcx, 4
and rcx, r9
and rax, r9
shl rax, 4
or rax, rcx
mov rcx, rax
and rcx, r10
shr rax, 2
and rax, r10
lea rax, [rax + rcx*4]
mov rcx, rax
and rcx, r11
shr rax, 1
and rax, r11
lea rax, [rax + rcx*2]
mov rcx, r8
xor rcx, rdx
mov r9, rax
xor r9, rsi
movabs r10, 0x1111111111111111
mov r11, rdx
and r11, r10
mov qword [rsp + 0x118], r11
movabs r11, 0x2222222222222222
mov r14, rdx
and r14, r11
mov qword [rsp + 0x110], r14
movabs r14, 0x4444444444444444
mov r12, rdx
and r12, r14
mov qword [rsp + 0x90], r12
movabs r12, 0x8888888888888888
and rdx, r12
mov qword [rsp + 0x138], rdx
mov rdx, r8
and rdx, r10
mov qword [rsp + 0x108], rdx
mov rdx, r8
and rdx, r11
mov qword [rsp + 0x100], rdx
mov rdx, r8
and rdx, r14
mov qword [rsp + 0xf8], rdx
and r8, r12
mov qword [rsp + 0x130], r8
mov rdx, rcx
and rdx, r10
mov qword [rsp + 0x78], rdx
mov rdx, rcx
and rdx, r11
mov qword [rsp + 0xf0], rdx
mov rdx, rcx
and rdx, r14
mov qword [rsp + 0x88], rdx
and rcx, r12
mov qword [rsp + 0xa0], rcx
mov rcx, rsi
and rcx, r10
mov qword [rsp + 0xe8], rcx
mov rcx, rsi
and rcx, r11
mov qword [rsp + 0xe0], rcx
mov rcx, rsi
and rcx, r14
mov qword [rsp + 0xd8], rcx
and rsi, r12
mov qword [rsp + 0x128], rsi
mov rcx, rax
and rcx, r10
mov qword [rsp + 0xd0], rcx
mov rcx, rax
and rcx, r11
mov qword [rsp + 0xc8], rcx
mov rcx, rax
and rcx, r14
mov qword [rsp + 0xc0], rcx
and rax, r12
mov qword [rsp + 0x120], rax
mov rax, r9
and rax, r10
mov qword [rsp + 0xb8], rax
mov rax, r9
and rax, r11
mov qword [rsp + 0x70], rax
mov rax, r9
and rax, r14
mov qword [rsp + 0xb0], rax
and r9, r12
mov qword [rsp + 0x98], r9
mov rdx, qword [rdi + 0x10]
mov qword [rsp + 0xa8], rdi
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x140], rbx
nop dword [rax]
mov qword [rsp + 0x158], r15
mov r9, qword [r15]
mov r8, qword [r15 + 8]
bswap r9
bswap r8
xor r8, rdx
mov rdx, r8
bswap rdx
xor r9, rax
mov rax, r9
bswap rax
mov qword [rsp + 0x28], rax
mov rax, r9
xor rax, r8
mov qword [rsp + 0x40], rax
mov r10, rdx
mov rbx, r8
movabs rax, 0x1111111111111111
and rbx, rax
mov r11, r8
movabs rax, 0xf0f0f0f0f0f0f0f
and rdx, rax
mov rcx, rdx
mov r14, rax
movabs rax, 0x2222222222222222
and r11, rax
mov r12, r8
movabs rax, 0x4444444444444444
and r12, rax
shr r10, 4
movabs rax, 0x8888888888888888
and r8, rax
mov rbp, qword [rsp + 0x90]
mov rdx, rbp
imul rdx, r12
shl rcx, 4
mov qword [rsp + 0x38], rcx
mov r13, qword [rsp + 0x138]
mov rax, r13
imul rax, r11
mov rcx, rax
mov rax, qword [rsp + 0x118]
mov rsi, rax
and r10, r14
imul rsi, r11
mov r15, qword [rsp + 0x110]
mov r14, r15
imul r14, rbx
xor rcx, rdx
mov qword [rsp + 0x30], rcx
mov rdx, rbp
imul rdx, r8
mov rcx, r13
xor r14, rsi
imul rcx, r12
mov rsi, rax
imul rsi, r12
xor rcx, rdx
mov qword [rsp + 0x68], rcx
mov rdx, r15
imul rdx, r11
xor rdx, rsi
imul rbp, rbx
mov rcx, r13
imul rcx, r8
xor rcx, rbp
mov qword [rsp + 0x48], rcx
mov rsi, qword [rsp + 0x28]
mov rcx, rsi
shr rcx, 4
movabs rbp, 0xf0f0f0f0f0f0f0f
and rsi, rbp
add qword [rsp + 0x38], r10
mov rdi, r15
imul rdi, r8
imul r8, rax
shl rsi, 4
imul r12, r15
xor r12, r8
and rcx, rbp
imul rax, rbx
mov qword [rsp + 0x150], rax
xor rdi, rax
imul r11, qword [rsp + 0x90]
or rsi, rcx
mov qword [rsp + 0x28], rsi
imul rbx, r13
xor rbx, r11
mov rsi, rbx
mov r13, r9
xor rdi, qword [rsp + 0x30]
mov qword [rsp + 0x30], rdi
movabs rax, 0x1111111111111111
and r13, rax
mov rbp, r9
movabs rax, 0x2222222222222222
and rbp, rax
xor qword [rsp + 0x68], r14
mov rax, r9
movabs r8, 0x4444444444444444
and rax, r8
movabs r8, 0x8888888888888888
and r9, r8
mov rcx, qword [rsp + 0x48]
xor rcx, rdx
mov r10, qword [rsp + 0x108]
mov r8, r10
mov rbx, qword [rsp + 0x100]
mov r11, rbx
imul r11, r9
imul r8, r13
xor r11, r8
mov r14, qword [rsp + 0xf8]
mov r8, r14
imul r8, rax
xor rsi, r12
mov qword [rsp + 0x48], rsi
mov rsi, qword [rsp + 0x130]
mov r12, rsi
imul r12, rbp
xor r12, r8
xor r12, r11
mov r8, r10
imul r8, rbp
mov r11, rbx
imul r11, r13
xor r11, r8
mov rdi, r14
imul rdi, r9
mov r8, rsi
imul r8, rax
xor r8, rdi
mov rdi, r10
imul rdi, rax
mov r15, rbx
imul r15, rbp
xor r15, rdi
xor r8, r11
mov rdi, rsi
imul rdi, r9
mov r11, r14
imul r11, r13
xor rdi, r11
xor rdi, r15
movabs r15, 0x1111111111111111
mov rdx, qword [rsp + 0x30]
and rdx, r15
mov r11, qword [rsp + 0x68]
movabs r15, 0x2222222222222222
and r11, r15
imul r9, r10
imul rax, rbx
xor rax, r9
movabs r9, 0x4444444444444444
and rcx, r9
mov r9, rcx
imul rbp, r14
imul r13, rsi
xor r13, rbp
mov rcx, qword [rsp + 0x48]
movabs rsi, 0x8888888888888888
and rcx, rsi
xor r13, rax
mov qword [rsp + 0x80], r13
mov r13, qword [rsp + 0x40]
mov r10, r13
movabs rax, 0x1111111111111111
and r10, rax
mov rbx, r10
mov qword [rsp + 0x30], r10
and r12, rax
mov r15, r13
movabs r10, 0x2222222222222222
and r15, r10
mov rbp, r13
or r11, rdx
mov qword [rsp + 0x68], r11
movabs rax, 0x4444444444444444
and rbp, rax
and r13, rsi
mov r11, qword [rsp + 0x78]
mov rax, r11
or rcx, r9
mov qword [rsp + 0x48], rcx
imul rax, rbx
mov rbx, qword [rsp + 0xf0]
mov rcx, rbx
imul rcx, r13
and r8, r10
xor rcx, rax
mov rax, qword [rsp + 0x88]
imul rax, rbp
or r8, r12
mov r9, qword [rsp + 0xa0]
mov rdx, r9
mov r14, r9
imul rdx, r15
xor rdx, rax
mov r10, qword [rsp + 0x38]
mov rax, r10
movabs r9, 0x3333333333333333
and rax, r9
shr r10, 2
and r10, r9
lea rsi, [r10 + rax*4]
xor rdx, rcx
mov r10, rbx
imul r11, r15
mov r12, qword [rsp + 0x30]
imul r10, r12
xor r10, r11
mov r11, qword [rsp + 0x88]
mov rcx, r11
imul rcx, r13
mov r9, r14
imul r9, rbp
xor r9, rcx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
movabs r14, 0x3333333333333333
and rax, r14
shr rcx, 2
and rcx, r14
lea rcx, [rcx + rax*4]
movabs rax, 0x4444444444444444
and rdi, rax
xor r9, r10
mov r10, qword [rsp + 0x78]
or rdi, r8
imul r10, rbp
mov r14, rbx
imul r14, r15
mov r8, qword [rsp + 0x80]
movabs rax, 0x8888888888888888
and r8, rax
xor r14, r10
mov r10, r11
mov rax, r11
imul r10, r12
or r8, rdi
mov qword [rsp + 0x80], r8
mov r12, qword [rsp + 0xa0]
mov r8, r12
imul r8, r13
xor r8, r10
mov r10, rsi
movabs r11, 0x5555555555555555
and r10, r11
shr rsi, 1
xor r8, r14
and rsi, r11
mov r14, rcx
and r14, r11
shr rcx, 1
and rcx, r11
imul r13, qword [rsp + 0x78]
imul rbp, rbx
xor rbp, r13
lea rdi, [rsi + r10*2]
imul r15, rax
mov rsi, qword [rsp + 0x30]
imul rsi, r12
xor rsi, r15
lea r11, [rcx + r14*2]
xor rsi, rbp
movabs r10, 0x1111111111111111
and rdx, r10
movabs rbx, 0x2222222222222222
and r9, rbx
mov rcx, r11
or r9, rdx
movabs rax, 0x4444444444444444
and r8, rax
or r8, r9
xor rcx, rdi
mov qword [rsp + 0x28], rcx
movabs rcx, 0x8888888888888888
and rsi, rcx
or rsi, r8
mov qword [rsp + 0x30], rsi
mov r15, rdi
and r15, r10
mov r9, rdi
and r9, rbx
mov rbx, rdi
and rbx, rax
and rdi, rcx
mov rsi, qword [rsp + 0xe8]
mov rdx, rsi
mov r12, qword [rsp + 0xe0]
mov r10, r12
imul rdx, r15
imul r10, rdi
mov r13, qword [rsp + 0xd8]
mov r8, r13
imul r8, rbx
xor r10, rdx
mov rcx, qword [rsp + 0x128]
mov rax, rcx
imul rax, r9
mov rdx, rsi
xor rax, r8
mov r8, rax
imul rdx, r9
mov r14, r12
imul r14, r15
xor r14, rdx
mov rdx, r13
imul rdx, rdi
mov rax, rcx
imul rax, rbx
xor rax, rdx
mov qword [rsp + 0x38], rax
mov rdx, rsi
imul rdx, rbx
mov rbp, r12
imul rbp, r9
xor rbp, rdx
mov rax, r13
imul rax, r15
mov rdx, rcx
imul rdx, rdi
xor rdx, rax
xor r8, r10
mov qword [rsp + 0x148], r8
imul rdi, rsi
imul rbx, r12
xor rbx, rdi
xor qword [rsp + 0x38], r14
imul r9, r13
imul r15, rcx
xor r15, r9
xor rdx, rbp
mov qword [rsp + 0x40], rdx
mov r14, r11
movabs rax, 0x1111111111111111
and r14, rax
mov r10, r11
xor r15, rbx
mov r9, r11
movabs rax, 0x8888888888888888
and r11, rax
mov rsi, qword [rsp + 0xd0]
mov rax, rsi
imul rax, r14
mov r12, qword [rsp + 0xc8]
mov rdi, r12
imul rdi, r11
xor rdi, rax
movabs rax, 0x2222222222222222
and r10, rax
movabs rax, 0x4444444444444444
and r9, rax
mov r13, qword [rsp + 0xc0]
mov rax, r13
imul rax, r9
mov r8, qword [rsp + 0x120]
mov rbx, r8
imul rbx, r10
xor rbx, rax
mov rax, rsi
imul rax, r10
mov rdx, r12
imul rdx, r14
xor rdx, rax
xor rbx, rdi
mov rax, r13
imul rax, r11
mov rdi, r8
imul rdi, r9
xor rdi, rax
mov rbp, rsi
imul rbp, r9
mov rax, r12
imul rax, r10
xor rax, rbp
mov rcx, r13
imul rcx, r14
mov rbp, r8
imul rbp, r11
xor rbp, rcx
xor rdi, rdx
imul r11, rsi
imul r9, r12
xor r9, r11
xor rbp, rax
imul r10, r13
imul r14, r8
xor r14, r10
movabs rdx, 0x1111111111111111
mov r11, qword [rsp + 0x148]
and r11, rdx
movabs r8, 0x2222222222222222
mov rcx, qword [rsp + 0x38]
and rcx, r8
xor r14, r9
mov rax, qword [rsp + 0x28]
mov r10, rax
or rcx, r11
mov qword [rsp + 0x38], rcx
mov r13, rax
mov r12, rax
movabs rcx, 0x8888888888888888
and rax, rcx
mov qword [rsp + 0x28], rax
and r10, rdx
mov rcx, qword [rsp + 0x70]
imul rcx, rax
mov r9, qword [rsp + 0xb8]
mov rax, r9
imul rax, r10
xor rcx, rax
and rbx, rdx
mov rax, r8
and rdi, r8
or rdi, rbx
and r13, r8
movabs r8, 0x4444444444444444
and r12, r8
mov rsi, qword [rsp + 0xb0]
mov rdx, rsi
imul rdx, r12
mov rbx, qword [rsp + 0x98]
mov rax, rbx
imul rax, r13
xor rax, rdx
xor rax, rcx
mov rcx, r9
imul rcx, r13
mov r8, qword [rsp + 0x70]
mov rdx, r8
imul rdx, r10
xor rdx, rcx
mov rcx, rsi
imul rcx, qword [rsp + 0x28]
imul rbx, r12
xor rbx, rcx
mov rcx, qword [rsp + 0x40]
movabs r11, 0x4444444444444444
and rcx, r11
add rcx, qword [rsp + 0x38]
mov qword [rsp + 0x40], rcx
xor rbx, rdx
mov rcx, r9
imul rcx, r12
mov rdx, r8
imul rdx, r13
xor rdx, rcx
movabs rcx, 0x4444444444444444
and rbp, rcx
or rbp, rdi
mov rdi, qword [rsp + 0x98]
mov r8, rdi
mov r11, qword [rsp + 0x28]
imul r8, r11
mov rcx, rsi
imul rcx, r10
xor r8, rcx
xor r8, rdx
movabs rcx, 0x8888888888888888
and r15, rcx
add r15, qword [rsp + 0x40]
mov rdx, r11
imul rdx, r9
imul r12, qword [rsp + 0x70]
xor r12, rdx
imul r13, rsi
imul r10, rdi
xor r10, r13
and r14, rcx
or r14, rbp
xor r10, r12
movabs rcx, 0x1111111111111111
and rax, rcx
movabs rcx, 0x2222222222222222
and rbx, rcx
or rbx, rax
movabs rax, 0x4444444444444444
and r8, rax
or r8, rbx
mov rbx, qword [rsp + 0x140]
movabs rax, 0x888888888888888
and r10, rax
or r8, r10
mov rdx, r15
bswap r15
xor rdx, r14
xor rdx, r8
mov rax, r15
movabs r9, 0xf0f0f0f0f0f0f0f
and r15, r9
shr rax, 4
shl r15, 4
bswap r14
and rax, r9
or r15, rax
mov rax, r14
shr rax, 4
and rax, r9
and r14, r9
shl r14, 4
or r14, rax
mov rax, r15
movabs r10, 0x3333333333333333
and rax, r10
shr r15, 2
and r15, r10
lea rcx, [r15 + rax*4]
mov r15, qword [rsp + 0x158]
mov rax, r14
and rax, r10
shr r14, 2
and r14, r10
lea rax, [r14 + rax*4]
mov r8, rcx
shr rcx, 1
movabs rdi, 0x5555555555555555
and r8, rdi
movabs r11, 0x5555555555555554
and rcx, r11
bswap rdx
lea r8, [rcx + r8*2]
mov rcx, rdx
shr rcx, 4
and rdx, r9
and rcx, r9
shl rdx, 4
or rdx, rcx
mov rcx, rdx
and rcx, r10
shr rdx, 2
and rdx, r10
lea rcx, [rdx + rcx*4]
mov rsi, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x68]
or rsi, rdx
mov r9, qword [rsp + 0x150]
shl r9, 0x3f
shl rdx, 0x3e
xor rdx, r9
mov r9, rdx
mov rdx, rsi
shl rdx, 0x39
xor rdx, r9
mov r9, rax
shr r8, 1
and r9, rdi
shr rax, 1
and rax, r11
lea rax, [rax + r9*2]
mov r10, rcx
and r10, rdi
shr rcx, 1
and rcx, r11
xor rdx, qword [rsp + 0x30]
mov r9, rsi
xor rdx, rsi
lea rcx, [rcx + r10*2]
mov rdi, qword [rsp + 0x80]
xor rdx, rdi
xor rdx, r8
mov r8, rdx
shr r8, 2
mov r10, rdx
shr r10, 7
xor r10, r8
mov r8, rsi
mov r11, rsi
shr r9, 2
xor rax, rdx
shr rax, 1
shr r8, 1
xor rax, r10
xor rax, rdx
mov r10, rdx
xor r9, r8
mov r8, rdx
shl rdx, 0x39
xor rdx, rsi
shr r11, 7
xor r11, r9
shr rcx, 1
xor r11, rcx
shl r10, 0x3f
shl r8, 0x3e
xor r8, r10
xor r8, r11
xor rdx, rdi
xor rdx, r8
add r15, 0x10
cmp r15, rbx
jne 0x14000a200
mov rcx, qword [rsp + 0xa8]
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], rax
movaps xmm6, xmmword [rsp + 0x170]
add rsp, 0x188
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret