Function at 0x1402167f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
xor edx, edx
lea rax, [0x1402e1258]
sub rax, rcx
mov qword [rsp + 0x98], rdx
mov qword [rsp + 0xa0], rax
lea r10, [0x1402e1230]
lea rax, [0x1402e125c]
sub r10, rcx
sub rax, rcx
lea r11, [0x1402e1234]
mov qword [rsp + 0xa8], rax
lea rbx, [0x1402e1238]
lea rax, [0x1402e1260]
sub r11, rcx
sub rax, rcx
lea rdi, [0x1402e123c]
mov qword [rsp], rax
lea rsi, [0x1402e1240]
lea rbp, [0x1402e1244]
sub rbx, rcx
lea r14, [0x1402e1248]
sub rdi, rcx
lea r15, [0x1402e124c]
sub rsi, rcx
lea r12, [0x1402e1250]
sub rbp, rcx
lea r13, [0x1402e1254]
sub r14, rcx
lea rax, [0x1402e1264]
sub r15, rcx
sub r12, rcx
lea r9, [rcx + 8]
sub r13, rcx
sub rax, rcx
mov qword [rsp + 8], rax
jmp 0x1402168c5
mov rdx, qword [rsp + 0x10]
add edx, dword [r10 + r9 - 8]
mov rcx, qword [rsp + 0x98]
mov r8d, dword [r9 - 8]
movzx eax, r8b
sub al, dl
sub r8d, edx
mov edx, dword [r9 - 4]
shr r8d, 0x1f
add r8d, dword [r9 + r11 - 8]
mov byte [rsp + rcx + 0x18], al
movzx eax, dl
sub al, r8b
sub edx, r8d
mov r8d, dword [r9]
shr edx, 0x1f
add edx, dword [r10 + r9]
mov byte [rsp + rcx + 0x19], al
movzx eax, r8b
sub al, dl
sub r8d, edx
mov edx, dword [r9 + 4]
shr r8d, 0x1f
add r8d, dword [r11 + r9]
mov byte [rsp + rcx + 0x1a], al
movzx eax, dl
sub al, r8b
sub edx, r8d
mov r8d, dword [r9 + 8]
shr edx, 0x1f
add edx, dword [r9 + rbx]
mov byte [rsp + rcx + 0x1b], al
movzx eax, r8b
sub al, dl
sub r8d, edx
mov edx, dword [r9 + 0xc]
shr r8d, 0x1f
add r8d, dword [r9 + rdi]
mov byte [rsp + rcx + 0x1c], al
movzx eax, dl
sub al, r8b
sub edx, r8d
mov r8d, dword [r9 + 0x10]
shr edx, 0x1f
add edx, dword [r9 + rsi]
mov byte [rsp + rcx + 0x1d], al
movzx eax, r8b
sub al, dl
sub r8d, edx
mov edx, dword [r9 + 0x14]
shr r8d, 0x1f
add r8d, dword [r9 + rbp]
mov byte [rsp + rcx + 0x1e], al
movzx eax, dl
sub al, r8b
sub edx, r8d
mov r8d, dword [r9 + 0x18]
shr edx, 0x1f
add edx, dword [r9 + r14]
mov byte [rsp + rcx + 0x1f], al
movzx eax, r8b
sub al, dl
sub r8d, edx
mov edx, dword [r9 + 0x1c]
shr r8d, 0x1f
add r8d, dword [r9 + r15]
mov byte [rsp + rcx + 0x20], al
movzx eax, dl
sub al, r8b
sub edx, r8d
mov r8d, dword [r9 + 0x20]
shr edx, 0x1f
add edx, dword [r9 + r12]
mov byte [rsp + rcx + 0x21], al
movzx eax, r8b
sub al, dl
sub r8d, edx
mov edx, dword [r9 + 0x24]
shr r8d, 0x1f
add r8d, dword [r9 + r13]
mov byte [rsp + rcx + 0x22], al
movzx eax, dl
sub al, r8b
lea r9, [r9 + 0x40]
sub edx, r8d
mov byte [rsp + rcx + 0x23], al
mov r8d, dword [r9 - 0x18]
movzx eax, r8b
mov rcx, qword [rsp + 0xa0]
shr edx, 0x1f
add edx, dword [r9 + rcx - 0x40]
mov rcx, qword [rsp + 0x98]
sub al, dl
sub r8d, edx
mov edx, dword [r9 - 0x14]
shr r8d, 0x1f
mov byte [rsp + rcx + 0x24], al
mov rax, qword [rsp + 0xa8]
add r8d, dword [r9 + rax - 0x40]
movzx eax, dl
sub al, r8b
sub edx, r8d
mov r8d, dword [r9 - 0x10]
mov byte [rsp + rcx + 0x25], al
mov rax, qword [rsp]
shr edx, 0x1f
add edx, dword [r9 + rax - 0x40]
movzx eax, r8b
sub al, dl
sub r8d, edx
shr r8d, 0x1f
mov byte [rsp + rcx + 0x26], al
mov rax, qword [rsp + 8]
add r8d, dword [r9 + rax - 0x40]
mov eax, dword [r9 - 0xc]
mov edx, eax
sub edx, r8d
sub al, r8b
shr edx, 0x1f
mov r8, rcx
add r8, 0x10
mov byte [rsp + rcx + 0x27], al
mov dword [rsp + 0x10], edx
mov qword [rsp + 0x98], r8
cmp r8, 0x20
jl 0x1402168c0
mov rcx, qword [rsp + 0x90]
lea eax, [rdx - 1]
movd xmm3, eax
mov edx, 4
pshufd xmm3, xmm3, 0
lea rax, [rsp + 0x1c]
nop dword [rax]
movd xmm2, dword [rax - 4]
xorps xmm0, xmm0
punpcklbw xmm2, xmm0
lea rax, [rax + 8]
punpcklwd xmm2, xmm0
movdqu xmm1, xmmword [rcx]
lea rcx, [rcx + 0x20]
pxor xmm2, xmm1
pand xmm2, xmm3
pxor xmm2, xmm1
movdqu xmmword [rcx - 0x20], xmm2
movd xmm2, dword [rax - 8]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
movdqu xmm1, xmmword [rcx - 0x10]
pxor xmm2, xmm1
pand xmm2, xmm3
pxor xmm2, xmm1
movdqu xmmword [rcx - 0x10], xmm2
sub rdx, 1
jne 0x140216ac0
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret