Function at 0x1400c0010
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
cmp dword [0x1401ebcc0], 0
mov r8, qword [rcx]
je 0x14007a502
mov rcx, qword [rsi + 0x28]
mov rdx, rdi
mov r9d, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp 0x1400c0010
movsxd rax, ebx
mov rcx, rdi
mov rdx, r8
mov r8, rax
call fcn.14016f270
mov ecx, dword [rsi + 0x4c]
mov r8d, ebx
mov rdx, rdi
call fcn.14007a180
mov dword [rsi + 0x4c], eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xd0
movdqa xmmword [rsp + 0xc0], xmm14
movaps xmmword [rsp + 0xb0], xmm13
movaps xmmword [rsp + 0xa0], xmm12
movdqa xmmword [rsp + 0x90], xmm11
movdqa xmmword [rsp + 0x80], xmm10
movaps xmmword [rsp + 0x70], xmm9
movaps xmmword [rsp + 0x60], xmm8
movdqa xmmword [rsp + 0x50], xmm7
movdqa xmmword [rsp + 0x40], xmm6
mov rbx, r8
mov rdi, rdx
mov r14, rcx
mov rax, qword [0x1401e3a38]
xor rax, rsp
mov qword [rsp + 0x38], rax
movdqu xmm9, xmmword [rcx + 0x44]
movdqu xmm8, xmmword [rcx + 0x54]
movdqu xmm13, xmmword [rcx + 0x64]
movdqu xmm12, xmmword [rcx + 0x74]
cmp r9d, 0xf
jg 0x1400c00aa
test r9d, r9d
jne 0x1400c03f7
jmp 0x1400c0533
mov eax, ebx
neg eax
and eax, 0xf
je 0x1400c0173
movdqu xmm10, xmmword [rbx]
movdqu xmmword [rdi], xmm10
mov ecx, eax
add rdi, rcx
add rbx, rcx
sub r9d, eax
shl rcx, 4
lea rax, [0x1401ae660]
movdqa xmm2, xmmword [rcx + rax - 0x10]
movdqa xmm1, xmm9
pshufb xmm1, xmm2
movdqa xmm3, xmmword [0x1401ae610]
pxor xmm3, xmm2
pshufb xmm9, xmm3
movdqa xmm4, xmm8
pshufb xmm4, xmm2
por xmm9, xmm4
pshufb xmm8, xmm3
movdqa xmm4, xmm13
pshufb xmm4, xmm2
por xmm8, xmm4
pshufb xmm13, xmm3
movdqa xmm4, xmm12
pshufb xmm4, xmm2
por xmm13, xmm4
pshufb xmm12, xmm3
pshufb xmm10, xmm2
por xmm12, xmm10
movdqa xmm2, xmmword [0x1401ae620]
pclmulqdq xmm2, xmm1, 1
pxor xmm2, xmm12
movabs rax, 0x1c6e41596
movq xmm12, rax
pclmulqdq xmm12, xmm1, 0x10
pxor xmm12, xmm2
jmp 0x1400c017c
movdqu xmm10, xmmword [r14 + 0x84]
mov eax, r9d
add eax, 0xffffffc0
js 0x1400c0253
movabs rcx, 0x1c6e41596
movq xmm14, rcx
movdqa xmm11, xmmword [0x1401ae620]
mov ecx, eax
movdqa xmm4, xmmword [rbx]
movdqa xmm5, xmmword [rbx + 0x10]
movdqa xmm0, xmmword [rbx + 0x20]
movdqa xmm3, xmmword [rbx + 0x30]
movdqa xmm2, xmm9
pclmulqdq xmm9, xmm14, 1
pclmulqdq xmm2, xmm11, 0x10
movdqa xmm6, xmm8
pclmulqdq xmm8, xmm14, 1
pclmulqdq xmm6, xmm11, 0x10
movdqa xmm7, xmm13
pclmulqdq xmm13, xmm14, 1
pclmulqdq xmm7, xmm11, 0x10
movdqa xmm1, xmm12
pclmulqdq xmm12, xmm14, 1
pclmulqdq xmm1, xmm11, 0x10
movdqu xmmword [rdi], xmm4
movdqu xmmword [rdi + 0x10], xmm5
movdqu xmmword [rdi + 0x20], xmm0
movdqu xmmword [rdi + 0x30], xmm3
pxor xmm9, xmm4
pxor xmm9, xmm2
pxor xmm8, xmm5
pxor xmm8, xmm6
pxor xmm13, xmm0
pxor xmm13, xmm7
pxor xmm12, xmm3
pxor xmm12, xmm1
add rbx, 0x40
add rdi, 0x40
add ecx, 0xffffffc0
jns 0x1400c01a2
and eax, 0x3f
mov r9d, eax
mov eax, r9d
add eax, 0xffffffd0
js 0x1400c0300
movdqa xmm2, xmmword [rbx]
movdqa xmm3, xmmword [rbx + 0x10]
movdqa xmm4, xmmword [rbx + 0x20]
movabs rcx, 0x1c6e41596
movq xmm5, rcx
movdqa xmm1, xmm13
pclmulqdq xmm1, xmm5, 1
movdqa xmm0, xmmword [0x1401ae620]
pclmulqdq xmm13, xmm0, 0x10
pxor xmm1, xmm4
pxor xmm1, xmm13
movdqa xmm13, xmm8
pclmulqdq xmm13, xmm5, 1
pclmulqdq xmm8, xmm0, 0x10
pclmulqdq xmm5, xmm9, 0x10
pclmulqdq xmm9, xmm0, 0x10
movdqu xmmword [rdi], xmm2
movdqu xmmword [rdi + 0x10], xmm3
movdqu xmmword [rdi + 0x20], xmm4
pxor xmm5, xmm2
pxor xmm13, xmm3
pxor xmm13, xmm8
movdqa xmm8, xmm5
pxor xmm8, xmm9
test eax, eax
je 0x1400c0388
add rdi, 0x30
add rbx, 0x30
movdqa xmm9, xmm12
jmp 0x1400c03ef
mov eax, r9d
add eax, 0xffffffe0
js 0x1400c0392
movdqa xmm0, xmmword [rbx]
movdqa xmm3, xmmword [rbx + 0x10]
movabs rcx, 0x1c6e41596
movq xmm2, rcx
movdqa xmm1, xmm8
pclmulqdq xmm1, xmm2, 1
movdqa xmm4, xmmword [0x1401ae620]
pclmulqdq xmm8, xmm4, 0x10
pclmulqdq xmm2, xmm9, 0x10
pclmulqdq xmm9, xmm4, 0x10
movdqu xmmword [rdi], xmm0
movdqu xmmword [rdi + 0x10], xmm3
pxor xmm2, xmm0
pxor xmm2, xmm9
pxor xmm1, xmm3
pxor xmm1, xmm8
test eax, eax
je 0x1400c04e2
add rdi, 0x20
add rbx, 0x20
movdqa xmm9, xmm13
movdqa xmm8, xmm12
movdqa xmm13, xmm2
jmp 0x1400c03ef
movdqa xmm9, xmm12
jmp 0x1400c050d
mov eax, r9d
add eax, 0xfffffff0
js 0x1400c04f3
movdqa xmm0, xmmword [rbx]
movabs rcx, 0x1c6e41596
movq xmm1, rcx
pclmulqdq xmm1, xmm9, 0x10
pclmulqdq xmm9, xmmword [0x1401ae620], 0x10
movdqu xmmword [rdi], xmm0
pxor xmm1, xmm0
pxor xmm1, xmm9
test eax, eax
je 0x1400c04fe
add rdi, 0x10
add rbx, 0x10
movdqa xmm9, xmm8
movdqa xmm8, xmm13
movdqa xmm13, xmm12
movdqa xmm12, xmm1
mov r9d, eax
movsxd rsi, r9d
mov eax, 0x10
sub rax, rsi
cmp esi, 0xf
mov r8d, 0
cmovbe r8, rax
lea rcx, [rsp + rsi]
add rcx, 0x20
xor edx, edx
call fcn.14016f6e0
lea r15, [rsp + 0x20]
mov rcx, r15
mov rdx, rbx
mov r8, rsi
call fcn.14016f270
movdqa xmm10, xmmword [r15]
movdqu xmmword [rdi], xmm10
shl rsi, 4
lea rax, [0x1401ae660]
movdqa xmm0, xmmword [rsi + rax - 0x10]
movdqa xmm1, xmm9
pshufb xmm1, xmm0
movdqa xmm2, xmmword [0x1401ae610]
pxor xmm2, xmm0
pshufb xmm9, xmm2
movdqa xmm3, xmm8
pshufb xmm3, xmm0
por xmm9, xmm3
pshufb xmm8, xmm2
movdqa xmm3, xmm13
pshufb xmm3, xmm0
por xmm8, xmm3
pshufb xmm13, xmm2
movdqa xmm3, xmm12
pshufb xmm3, xmm0
por xmm13, xmm3
pshufb xmm12, xmm2
pshufb xmm10, xmm0
por xmm12, xmm10
movdqa xmm0, xmmword [0x1401ae620]
pclmulqdq xmm0, xmm1, 1
pxor xmm0, xmm12
movabs rax, 0x1c6e41596
movq xmm12, rax
pclmulqdq xmm12, xmm1, 0x10
pxor xmm12, xmm0
jmp 0x1400c0512
movdqa xmm9, xmm13
movdqa xmm8, xmm12
movdqa xmm13, xmm2
jmp 0x1400c050d
test r9d, r9d
jne 0x1400c03f7
jmp 0x1400c0512
movdqa xmm9, xmm8
movdqa xmm8, xmm13
movdqa xmm13, xmm12
movdqa xmm12, xmm1
movdqu xmmword [r14 + 0x44], xmm9
movdqu xmmword [r14 + 0x54], xmm8
movdqu xmmword [r14 + 0x64], xmm13
movdqu xmmword [r14 + 0x74], xmm12
movdqu xmmword [r14 + 0x84], xmm10
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14014b5e0
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x50]
movaps xmm8, xmmword [rsp + 0x60]
movaps xmm9, xmmword [rsp + 0x70]
movaps xmm10, xmmword [rsp + 0x80]
movaps xmm11, xmmword [rsp + 0x90]
movaps xmm12, xmmword [rsp + 0xa0]
movaps xmm13, xmmword [rsp + 0xb0]
movaps xmm14, xmmword [rsp + 0xc0]
add rsp, 0xd0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret