Function at 0x140008eb0
Capabilities:
Encode data using xor

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x210
mov r14d, 0xff
mov rax, qword [rcx]
mov qword [rsp + 0x190], rax
mov rax, qword [rcx + 8]
mov r12, rcx
mov rbx, rdx
lea rdi, [rsp + 0x190]
lea rsi, [rsp + 0x110]
lea rbp, [rsp + 0x90]
mov qword [rsp + 0x198], rax
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x1a0], rax
mov rax, qword [rcx + 0x18]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x1a8], rax
mov rax, qword [rdx]
mov qword [rsp + 0x1b0], rax
mov rax, qword [rdx + 8]
mov qword [rsp + 0x1b8], rax
mov rax, qword [rdx + 0x10]
mov qword [rsp + 0x1c0], rax
mov rax, qword [rdx + 0x18]
mov rdx, rdi
mov qword [rsp + 0x20], r9
mov r9, r8
mov r8d, 0x40
mov qword [rsp + 0x1c8], rax
call fcn.140006510
lea rdx, [r12 + 0x20]
mov rcx, rdi
call fcn.1400077a0
lea rcx, [rsp + 0x30]
mov rdx, rdi
call fcn.140005e40
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.140008a30
movd xmm3, dword [0x1400c6680]
mov r8, rdi
mov rdx, rsi
lea rcx, [rsp + 0xd0]
mov r13d, eax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0xf4], 0
movd dword [rsp + 0xf0], xmm3
mov qword [rsp + 0xfc], 0
mov qword [rsp + 0x104], 0
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x118]
mov dword [rsp + 0x10c], 0
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0xc8], rax
call fcn.140005960
mov rax, qword [0x1400c6280]
mov qword [rsp + 0x110], rax
mov rax, qword [0x1400c6288]
mov qword [rsp + 0x118], rax
mov rax, qword [0x1400c6290]
mov qword [rsp + 0x120], rax
mov rax, qword [0x1400c6298]
mov qword [rsp + 0x128], rax
mov rax, qword [0x1400c62a0]
mov qword [rsp + 0x130], rax
mov rax, qword [0x1400c62a8]
mov qword [rsp + 0x138], rax
mov rax, qword [0x1400c62b0]
mov qword [rsp + 0x140], rax
mov rax, qword [0x1400c62b8]
mov qword [rsp + 0x148], rax
mov rax, qword [0x1400c62c0]
mov qword [rsp + 0x150], rax
mov rax, qword [0x1400c62c8]
mov qword [rsp + 0x158], rax
mov rax, qword [0x1400c62d0]
mov qword [rsp + 0x160], rax
mov rax, qword [0x1400c62d8]
mov qword [rsp + 0x168], rax
mov rax, qword [0x1400c62e0]
mov qword [rsp + 0x170], rax
mov rax, qword [0x1400c62e8]
mov qword [rsp + 0x178], rax
mov rax, qword [0x1400c62f0]
mov qword [rsp + 0x180], rax
mov rax, qword [0x1400c62f8]
mov qword [rsp + 0x188], rax
nop dword [rax]
mov eax, r14d
mov ecx, r14d
mov rdx, rsi
sar eax, 3
and ecx, 7
cdqe
movzx ebx, byte [rsp + rax + 0x50]
sar ebx, cl
mov rcx, rsi
call fcn.1400072f0
and ebx, 1
mov r8, rbp
mov rdx, rsi
mov rcx, rdi
neg ebx
call fcn.140008580
movd xmm0, ebx
sub r14d, 1
movdqa xmm2, xmmword [rsp + 0x110]
movdqa xmm1, xmmword [rsp + 0x190]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pxor xmm1, xmm2
pand xmm1, xmm0
pxor xmm1, xmm2
movdqa xmm2, xmmword [rsp + 0x120]
movaps xmmword [rsp + 0x110], xmm1
movdqa xmm1, xmmword [rsp + 0x1a0]
pxor xmm1, xmm2
pand xmm1, xmm0
pxor xmm1, xmm2
movdqa xmm2, xmmword [rsp + 0x130]
movaps xmmword [rsp + 0x120], xmm1
movdqa xmm1, xmmword [rsp + 0x1b0]
pxor xmm1, xmm2
pand xmm1, xmm0
pxor xmm1, xmm2
movdqa xmm2, xmmword [rsp + 0x140]
movaps xmmword [rsp + 0x130], xmm1
movdqa xmm1, xmmword [rsp + 0x1c0]
pxor xmm1, xmm2
pand xmm1, xmm0
pxor xmm1, xmm2
movdqa xmm2, xmmword [rsp + 0x170]
movaps xmmword [rsp + 0x140], xmm1
movdqa xmm1, xmmword [rsp + 0x1f0]
pxor xmm1, xmm2
pand xmm1, xmm0
pxor xmm1, xmm2
movdqa xmm2, xmmword [rsp + 0x180]
movaps xmmword [rsp + 0x170], xmm1
movdqa xmm1, xmmword [rsp + 0x200]
pxor xmm1, xmm2
pand xmm1, xmm0
pxor xmm1, xmm2
movdqa xmm2, xmmword [rsp + 0x150]
movaps xmmword [rsp + 0x180], xmm1
movdqa xmm1, xmmword [rsp + 0x1d0]
pxor xmm1, xmm2
pand xmm1, xmm0
pxor xmm1, xmm2
movdqa xmm2, xmmword [rsp + 0x160]
movaps xmmword [rsp + 0x150], xmm1
movdqa xmm1, xmmword [rsp + 0x1e0]
pxor xmm1, xmm2
pand xmm0, xmm1
pxor xmm0, xmm2
movaps xmmword [rsp + 0x160], xmm0
jae 0x140009150
mov rax, qword [rsp + 0x110]
lea r14, [rsp + 0x70]
mov r8, r12
mov rdx, rsi
mov rcx, r14
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x108], rax
call fcn.140008a30
lea rcx, [rsp + 0x1d0]
mov r8, rsi
mov rdx, r14
movd dword [rsp + 0x1f0], xmm3
mov ebx, eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x1f4], 0
mov qword [rsp + 0x1fc], 0
mov qword [rsp + 0x204], 0
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x78]
mov dword [rsp + 0x20c], 0
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x1c8], rax
call fcn.140005960
mov r8, rdi
mov rdx, rbp
mov rcx, rbp
call fcn.140008580
mov rdx, rbp
mov rcx, rsi
call fcn.140005e40
movdqa xmm0, xmmword [rsp + 0x30]
pxor xmm0, xmmword [rsp + 0x110]
movdqa xmm1, xmmword [rsp + 0x120]
pxor xmm1, xmmword [rsp + 0x40]
por xmm0, xmm1
movdqa xmm1, xmm0
psrldq xmm1, 8
por xmm0, xmm1
movdqa xmm1, xmm0
psrldq xmm1, 4
por xmm0, xmm1
movdqa xmm1, xmm0
psrldq xmm1, 2
por xmm0, xmm1
movdqa xmm1, xmm0
psrldq xmm1, 1
por xmm0, xmm1
movd eax, xmm0
mov edx, eax
shr dl, 4
or eax, edx
mov edx, eax
shr dl, 2
or eax, edx
mov edx, eax
shr dl, 1
or eax, edx
not eax
and eax, ebx
and eax, r13d
and eax, 1
add rsp, 0x210
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret