Function at 0x14015a450
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 [0x1403bfd5c], 0
mov r8, qword [rcx]
je 0x1400aa2f2
mov rcx, qword [rsi + 0x28]
mov rdx, rdi
mov r9d, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp 0x14015a450
movsxd rax, ebx
mov rcx, rdi
mov rdx, r8
mov r8, rax
call fcn.1401bcb50
mov ecx, dword [rsi + 0x4c]
mov r8d, ebx
mov rdx, rdi
call fcn.1401750c0
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
movdqa xmmword [rsp + 0xa0], xmm12
movaps 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 rdi, rdx
mov r14, rcx
mov rax, qword [0x1403a0028]
xor rax, rsp
mov qword [rsp + 0x38], rax
movdqu xmm11, xmmword [rcx + 0x44]
movdqu xmm8, xmmword [rcx + 0x54]
movdqu xmm13, xmmword [rcx + 0x64]
movdqu xmm9, xmmword [rcx + 0x74]
movabs r15, 0x1c6e41596
cmp r9d, 0xf
jle 0x14015a95a
mov eax, r8d
neg eax
and eax, 0xf
jne 0x14015a63d
movdqu xmm10, xmmword [r14 + 0x84]
cmp r9d, 0x40
jb 0x14015a5d0
movq xmm14, r15
movdqa xmm12, xmmword [0x140333990]
nop word cs:[rax + rax]
add r9d, 0xffffffc0
movdqa xmm4, xmmword [r8]
movdqa xmm5, xmmword [r8 + 0x10]
movdqa xmm0, xmmword [r8 + 0x20]
movdqa xmm3, xmmword [r8 + 0x30]
movdqa xmm7, xmm11
pclmulqdq xmm7, xmm14, 1
pclmulqdq xmm11, xmm12, 0x10
movdqa xmm2, xmm8
pclmulqdq xmm2, xmm14, 1
pclmulqdq xmm8, xmm12, 0x10
movdqa xmm6, xmm13
pclmulqdq xmm6, xmm14, 1
pclmulqdq xmm13, xmm12, 0x10
movdqa xmm1, xmm9
pclmulqdq xmm1, xmm14, 1
pclmulqdq xmm9, xmm12, 0x10
movdqu xmmword [rdi], xmm4
movdqu xmmword [rdi + 0x10], xmm5
movdqu xmmword [rdi + 0x20], xmm0
movdqu xmmword [rdi + 0x30], xmm3
pxor xmm7, xmm4
pxor xmm11, xmm7
pxor xmm2, xmm5
pxor xmm8, xmm2
pxor xmm6, xmm0
pxor xmm13, xmm6
pxor xmm1, xmm3
pxor xmm9, xmm1
add r8, 0x40
add rdi, 0x40
cmp r9d, 0x3f
ja 0x14015a520
cmp r9d, 0x30
jae 0x14015a6f5
cmp r9d, 0x20
jae 0x14015a8d7
cmp r9d, 0x10
jb 0x14015a94c
movdqa xmm0, xmmword [r8]
movq xmm1, r15
pclmulqdq xmm1, xmm11, 0x10
pclmulqdq xmm11, xmmword [0x140333990], 0x10
movdqu xmmword [rdi], xmm0
pxor xmm1, xmm0
pxor xmm1, xmm11
add r9d, 0xfffffff0
je 0x14015a981
add rdi, 0x10
add r8, 0x10
movdqa xmm11, xmm8
movdqa xmm8, xmm13
movdqa xmm13, xmm9
jmp 0x14015a78c
movdqu xmm10, xmmword [r8]
movdqu xmmword [rdi], xmm10
mov ecx, eax
add rdi, rcx
add r8, rcx
sub r9d, eax
shl rcx, 4
lea rax, [0x1403339e0]
movdqa xmm2, xmmword [rcx + rax - 0x10]
movdqa xmm1, xmm11
pshufb xmm1, xmm2
movdqa xmm3, xmmword [0x140333980]
pxor xmm3, xmm2
pshufb xmm11, xmm3
movdqa xmm4, xmm8
pshufb xmm4, xmm2
por xmm11, xmm4
pshufb xmm8, xmm3
movdqa xmm4, xmm13
pshufb xmm4, xmm2
por xmm8, xmm4
pshufb xmm13, xmm3
movdqa xmm4, xmm9
pshufb xmm4, xmm2
por xmm13, xmm4
pshufb xmm9, xmm3
pshufb xmm10, xmm2
por xmm9, xmm10
movdqa xmm2, xmmword [0x140333990]
pclmulqdq xmm2, xmm1, 1
movq xmm3, r15
pclmulqdq xmm3, xmm1, 0x10
pxor xmm3, xmm9
pxor xmm3, xmm2
movdqa xmm9, xmm3
jmp 0x14015a4fe
movdqa xmm2, xmmword [r8]
movdqa xmm3, xmmword [r8 + 0x10]
movdqa xmm5, xmmword [r8 + 0x20]
movq xmm4, r15
movdqa xmm1, xmm13
pclmulqdq xmm1, xmm4, 1
movdqa xmm0, xmmword [0x140333990]
pclmulqdq xmm13, xmm0, 0x10
pxor xmm1, xmm5
pxor xmm1, xmm13
movdqa xmm13, xmm8
pclmulqdq xmm13, xmm4, 1
pclmulqdq xmm8, xmm0, 0x10
pclmulqdq xmm4, xmm11, 0x10
pclmulqdq xmm11, xmm0, 0x10
movdqu xmmword [rdi], xmm2
movdqu xmmword [rdi + 0x10], xmm3
movdqu xmmword [rdi + 0x20], xmm5
pxor xmm4, xmm2
pxor xmm13, xmm3
pxor xmm13, xmm8
movdqa xmm8, xmm4
pxor xmm8, xmm11
add r9d, 0xffffffd0
je 0x14015a99a
add rdi, 0x30
add r8, 0x30
movdqa xmm11, xmm9
movdqa xmm9, xmm1
pxor xmm0, xmm0
lea rbx, [rsp + 0x20]
movdqa xmmword [rbx], xmm0
movsxd rsi, r9d
mov rcx, rbx
mov rdx, r8
mov r8, rsi
call fcn.1401bcb50
movdqa xmm10, xmmword [rbx]
movdqu xmmword [rdi], xmm10
shl rsi, 4
lea rax, [0x1403339e0]
movdqa xmm0, xmmword [rsi + rax - 0x10]
movdqa xmm1, xmm11
pshufb xmm1, xmm0
movdqa xmm2, xmmword [0x140333980]
pxor xmm2, xmm0
pshufb xmm11, xmm2
movdqa xmm3, xmm8
pshufb xmm3, xmm0
por xmm11, xmm3
pshufb xmm8, xmm2
movdqa xmm3, xmm13
pshufb xmm3, xmm0
por xmm8, xmm3
pshufb xmm13, xmm2
movdqa xmm3, xmm9
pshufb xmm3, xmm0
por xmm13, xmm3
pshufb xmm9, xmm2
pshufb xmm10, xmm0
por xmm9, xmm10
movdqa xmm0, xmmword [0x140333990]
pclmulqdq xmm0, xmm1, 1
movq xmm2, r15
pclmulqdq xmm2, xmm1, 0x10
pxor xmm2, xmm9
pxor xmm2, xmm0
movdqa xmm9, xmm2
movdqu xmmword [r14 + 0x44], xmm11
movdqu xmmword [r14 + 0x54], xmm8
movdqu xmmword [r14 + 0x64], xmm13
movdqu xmmword [r14 + 0x74], xmm9
movdqu xmmword [r14 + 0x84], xmm10
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401bb0d0
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
movdqa xmm0, xmmword [r8]
movdqa xmm3, xmmword [r8 + 0x10]
movq xmm2, r15
movdqa xmm1, xmm8
pclmulqdq xmm1, xmm2, 1
movdqa xmm4, xmmword [0x140333990]
pclmulqdq xmm8, xmm4, 0x10
pclmulqdq xmm2, xmm11, 0x10
pclmulqdq xmm11, xmm4, 0x10
movdqu xmmword [rdi], xmm0
movdqu xmmword [rdi + 0x10], xmm3
pxor xmm2, xmm0
pxor xmm2, xmm11
pxor xmm1, xmm3
pxor xmm1, xmm8
add r9d, 0xffffffe0
je 0x14015a968
add rdi, 0x20
add r8, 0x20
movdqa xmm11, xmm13
movdqa xmm8, xmm9
movdqa xmm13, xmm2
jmp 0x14015a78c
test r9d, r9d
jne 0x14015a791
jmp 0x14015a857
test r9d, r9d
jne 0x14015a791
jmp 0x14015a878
movdqa xmm11, xmm13
movdqa xmm8, xmm9
movdqa xmm13, xmm2
movdqa xmm9, xmm1
jmp 0x14015a857
movdqa xmm11, xmm8
movdqa xmm8, xmm13
movdqa xmm13, xmm9
movdqa xmm9, xmm1
jmp 0x14015a857
movdqa xmm11, xmm9
movdqa xmm9, xmm1
jmp 0x14015a857