Function at 0x1400459f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [0x140103820], 0
mov rdi, rdx
mov rdx, qword [rcx]
mov rbx, rcx
mov esi, r8d
je 0x140043095
mov rcx, qword [rcx + 0x28]
mov r8, rdx
mov rdx, rdi
mov r9d, esi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x1400459f0
movsxd r8, esi
mov rcx, rdi
call fcn.14008f1a0
mov r8, rsi
test rdi, rdi
jne 0x1400430bd
xor eax, eax
mov dword [rbx + 0x4c], eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov ecx, dword [rbx + 0x4c]
mov rdx, rdi
call fcn.140043150
mov rsi, qword [rsp + 0x38]
mov dword [rbx + 0x4c], eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rax, rsp
push rbp
push rsi
push rdi
sub rsp, 0xa0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
mov rax, qword [0x140100258]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rbp, [0x1400d0e20]
mov r10, r8
mov rdi, rdx
mov rsi, rcx
movdqu xmm8, xmmword [rcx + 0x50]
movdqu xmm9, xmmword [rcx + 0x60]
movdqu xmm7, xmmword [rcx + 0x70]
movdqu xmm6, xmmword [rcx + 0x80]
movdqu xmm10, xmmword [rcx + 0x90]
cmp r9d, 0x10
jge 0x140045a69
test r9d, r9d
je 0x140045e5a
jmp 0x140045d70
mov ecx, r10d
neg ecx
and ecx, 0xf
je 0x140045b1c
movdqu xmm10, xmmword [r8]
mov eax, ecx
sub r9d, ecx
movdqa xmm2, xmmword [0x1400d0f70]
movdqa xmm0, xmm9
movdqa xmm3, xmm8
add rdi, rax
movdqu xmmword [rdx], xmm10
add r10, rax
add rax, rax
movdqu xmm1, xmmword [rbp + rax*8 - 0x10]
pshufb xmm0, xmm1
pxor xmm2, xmm1
pshufb xmm10, xmm1
pshufb xmm3, xmm1
pshufb xmm8, xmm2
pshufb xmm9, xmm2
por xmm8, xmm0
movdqa xmm0, xmm7
pshufb xmm0, xmm1
pshufb xmm7, xmm2
por xmm9, xmm0
movdqa xmm0, xmm6
pshufb xmm6, xmm2
pshufb xmm0, xmm1
por xmm6, xmm10
movdqa xmm1, xmm3
pclmulqdq xmm1, xmmword [0x1400d0f60], 0x10
por xmm7, xmm0
movdqa xmm0, xmm6
movdqa xmm6, xmm3
pclmulqdq xmm6, xmmword [0x1400d0f60], 1
xorps xmm6, xmm0
xorps xmm6, xmm1
mov eax, r9d
sub r9d, 0x40
js 0x140045bf0
movdqa xmm5, xmmword [0x1400d0f60]
mov ecx, eax
shr rcx, 6
mov eax, ecx
neg eax
shl eax, 6
add r9d, eax
nop dword [rax]
nop word [rax + rax]
movdqu xmm1, xmmword [r10]
movdqa xmm0, xmm8
movdqu xmm2, xmmword [r10 + 0x10]
movdqu xmm3, xmmword [r10 + 0x20]
movdqu xmm4, xmmword [r10 + 0x30]
add r10, 0x40
pclmulqdq xmm0, xmm5, 1
pclmulqdq xmm8, xmm5, 0x10
xorps xmm8, xmm0
movdqa xmm0, xmm9
pclmulqdq xmm0, xmm5, 1
pclmulqdq xmm9, xmm5, 0x10
xorps xmm9, xmm0
pxor xmm8, xmm1
movdqa xmm0, xmm7
pxor xmm9, xmm2
pclmulqdq xmm0, xmm5, 1
pclmulqdq xmm7, xmm5, 0x10
xorps xmm7, xmm0
movdqa xmm0, xmm6
pclmulqdq xmm6, xmm5, 0x10
pclmulqdq xmm0, xmm5, 1
movdqu xmmword [rdi], xmm1
movdqu xmmword [rdi + 0x10], xmm2
movdqu xmmword [rdi + 0x20], xmm3
movdqu xmmword [rdi + 0x30], xmm4
add rdi, 0x40
xorps xmm6, xmm0
pxor xmm7, xmm3
pxor xmm6, xmm4
sub rcx, 1
jne 0x140045b50
lea eax, [r9 + 0x10]
test eax, eax
js 0x140045c8f
movdqa xmm0, xmmword [0x1400d0f60]
movdqa xmm1, xmm6
movdqu xmm2, xmmword [r10]
movdqa xmm6, xmm7
movdqu xmm3, xmmword [r10 + 0x10]
mov r9d, eax
movdqu xmm4, xmmword [r10 + 0x20]
pclmulqdq xmm7, xmm0, 1
pclmulqdq xmm6, xmm0, 0x10
xorps xmm6, xmm7
movdqa xmm7, xmm9
pclmulqdq xmm9, xmm0, 1
pclmulqdq xmm7, xmm0, 0x10
xorps xmm7, xmm9
pxor xmm6, xmm4
movdqa xmm9, xmm8
pxor xmm7, xmm3
pclmulqdq xmm9, xmm0, 0x10
pclmulqdq xmm8, xmm0, 1
xorps xmm9, xmm8
movdqa xmm8, xmm1
pxor xmm9, xmm2
movdqu xmmword [rdi], xmm2
movdqu xmmword [rdi + 0x10], xmm3
movdqu xmmword [rdi + 0x20], xmm4
je 0x140045e38
add rdi, 0x30
add r10, 0x30
jmp 0x140045d70
lea eax, [r9 + 0x20]
test eax, eax
js 0x140045d0c
movdqa xmm0, xmmword [0x1400d0f60]
movdqa xmm2, xmm6
movdqu xmm3, xmmword [r10]
movdqa xmm1, xmm7
movdqu xmm4, xmmword [r10 + 0x10]
movdqa xmm6, xmm9
movdqa xmm7, xmm8
mov r9d, eax
pclmulqdq xmm6, xmm0, 0x10
pclmulqdq xmm7, xmm0, 0x10
pclmulqdq xmm9, xmm0, 1
pclmulqdq xmm8, xmm0, 1
xorps xmm6, xmm9
xorps xmm7, xmm8
pxor xmm7, xmm3
pxor xmm6, xmm4
movdqa xmm8, xmm1
movdqa xmm9, xmm2
movdqu xmmword [rdi], xmm3
movdqu xmmword [rdi + 0x10], xmm4
je 0x140045e38
add rdi, 0x20
add r10, 0x20
jmp 0x140045d70
lea eax, [r9 + 0x30]
test eax, eax
js 0x140045d64
movdqu xmm2, xmmword [r10]
movdqa xmm1, xmm6
movdqa xmm6, xmm8
mov r9d, eax
pclmulqdq xmm6, xmmword [0x1400d0f60], 0x10
pclmulqdq xmm8, xmmword [0x1400d0f60], 1
xorps xmm6, xmm8
movdqa xmm8, xmm9
movdqa xmm9, xmm7
pxor xmm6, xmm2
movdqa xmm7, xmm1
movdqu xmmword [rdi], xmm2
je 0x140045e38
add rdi, 0x10
add r10, 0x10
jmp 0x140045d70
add r9d, 0x40
je 0x140045e38
nop
xorps xmm0, xmm0
mov qword [rsp + 0x98], rbx
movsxd rbx, r9d
lea rcx, [rsp + 0x20]
mov r8, rbx
mov rdx, r10
movdqu xmmword [rsp + 0x20], xmm0
call fcn.14008f1a0
movdqu xmm10, xmmword [rsp + 0x20]
add rbx, rbx
movdqa xmm2, xmmword [0x1400d0f70]
movdqa xmm0, xmm9
movdqa xmm3, xmm8
movdqu xmmword [rdi], xmm10
movdqu xmm1, xmmword [rbp + rbx*8 - 0x10]
mov rbx, qword [rsp + 0x98]
pxor xmm2, xmm1
pshufb xmm0, xmm1
pshufb xmm10, xmm1
pshufb xmm3, xmm1
pshufb xmm8, xmm2
pshufb xmm9, xmm2
por xmm8, xmm0
movdqa xmm0, xmm7
pshufb xmm0, xmm1
pshufb xmm7, xmm2
por xmm9, xmm0
movdqa xmm0, xmm6
pshufb xmm6, xmm2
pshufb xmm0, xmm1
por xmm6, xmm10
movdqa xmm1, xmm3
pclmulqdq xmm1, xmmword [0x1400d0f60], 0x10
por xmm7, xmm0
movdqa xmm0, xmm6
movdqa xmm6, xmm3
pclmulqdq xmm6, xmmword [0x1400d0f60], 1
xorps xmm6, xmm0
xorps xmm6, xmm1
movdqu xmmword [rsi + 0x50], xmm8
movdqu xmmword [rsi + 0x60], xmm9
movdqu xmmword [rsi + 0x70], xmm7
movdqu xmmword [rsi + 0x80], xmm6
movdqu xmmword [rsi + 0x90], xmm10
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14008e050
movaps xmm6, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm8, xmmword [rsp + 0x60]
movaps xmm9, xmmword [rsp + 0x50]
movaps xmm10, xmmword [rsp + 0x40]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret