Function at 0x140009dd0
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.140007430
lea rdx, [r12 + 0x20]
mov rcx, rdi
call fcn.1400086c0
lea rcx, [rsp + 0x30]
mov rdx, rdi
call fcn.140006d60
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.140009950
movd xmm3, dword [0x1400c8700]
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.140006880
mov rax, qword [0x1400c8300]
mov qword [rsp + 0x110], rax
mov rax, qword [0x1400c8308]
mov qword [rsp + 0x118], rax
mov rax, qword [0x1400c8310]
mov qword [rsp + 0x120], rax
mov rax, qword [0x1400c8318]
mov qword [rsp + 0x128], rax
mov rax, qword [0x1400c8320]
mov qword [rsp + 0x130], rax
mov rax, qword [0x1400c8328]
mov qword [rsp + 0x138], rax
mov rax, qword [0x1400c8330]
mov qword [rsp + 0x140], rax
mov rax, qword [0x1400c8338]
mov qword [rsp + 0x148], rax
mov rax, qword [0x1400c8340]
mov qword [rsp + 0x150], rax
mov rax, qword [0x1400c8348]
mov qword [rsp + 0x158], rax
mov rax, qword [0x1400c8350]
mov qword [rsp + 0x160], rax
mov rax, qword [0x1400c8358]
mov qword [rsp + 0x168], rax
mov rax, qword [0x1400c8360]
mov qword [rsp + 0x170], rax
mov rax, qword [0x1400c8368]
mov qword [rsp + 0x178], rax
mov rax, qword [0x1400c8370]
mov qword [rsp + 0x180], rax
mov rax, qword [0x1400c8378]
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.140008210
and ebx, 1
mov r8, rbp
mov rdx, rsi
mov rcx, rdi
neg ebx
call fcn.1400094a0
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 0x14000a070
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.140009950
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.140006880
mov r8, rdi
mov rdx, rbp
mov rcx, rbp
call fcn.1400094a0
mov rdx, rbp
mov rcx, rsi
call fcn.140006d60
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