Function at 0x7ff7d00626b0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
movups xmmword [rsp + 0x30], xmm6
movups xmmword [rsp + 0x40], xmm7
mov esi, dword [r8 + 0x28]
mov qword [rsp + 0xa0], rcx
mov rdi, rdx
mov rbx, r8
test esi, esi
jne 0x7ff7d0062710
mov dword [rcx + 8], 0
mov eax, 1
movups xmm6, xmmword [rsp + 0x30]
movups xmm7, xmmword [rsp + 0x40]
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea r12d, [rsi + rsi]
mov rcx, rdi
mov edx, r12d
call fcn.7ff7d00624e0
test rax, rax
je 0x7ff7d00629a0
mov eax, dword [rbx + 0x30]
mov r14, qword [rbx + 0x20]
xor dword [rdi + 0x10], eax
mov r15, qword [rdi]
mov r8d, dword [rdi + 8]
test r12d, r12d
jle 0x7ff7d0062834
lea eax, [r12 - 1]
cmp eax, 2
jbe 0x7ff7d0062a37
mov edx, r12d
movd xmm3, r8d
pxor xmm5, xmm5
mov rax, r15
shr edx, 2
pshufd xmm7, xmm3, 0
movdqu xmm6, xmmword [0x7ff7d0544cd0]
pxor xmm4, xmm4
sub edx, 1
movdqu xmm3, xmmword [0x7ff7d0544cc0]
shl rdx, 5
lea rdx, [r15 + rdx + 0x20]
nop word [rax + rax]
movdqa xmm0, xmm3
movdqa xmm1, xmm4
paddd xmm3, xmm6
add rax, 0x20
psubd xmm0, xmm7
psrld xmm0, 0x1f
movdqa xmm2, xmm0
punpckldq xmm0, xmm5
punpckhdq xmm2, xmm5
psubq xmm1, xmm2
movdqu xmm2, xmmword [rax - 0x10]
pand xmm1, xmm2
movdqa xmm2, xmm4
psubq xmm2, xmm0
movdqu xmm0, xmmword [rax - 0x20]
movups xmmword [rax - 0x10], xmm1
pand xmm0, xmm2
movups xmmword [rax - 0x20], xmm0
cmp rax, rdx
jne 0x7ff7d0062790
mov eax, r12d
and eax, 0xfffffffc
test r12b, 3
je 0x7ff7d0062834
mov r9d, eax
movsxd rdx, eax
add eax, 1
sub r9d, r8d
shl rdx, 3
shr r9d, 0x1f
neg r9
and qword [r15 + rdx], r9
cmp r12d, eax
jle 0x7ff7d0062834
mov r9d, eax
add eax, 1
sub r9d, r8d
shr r9d, 0x1f
neg r9
and qword [r15 + rdx + 8], r9
cmp r12d, eax
jle 0x7ff7d0062834
sub eax, r8d
shr eax, 0x1f
neg rax
and qword [r15 + rdx + 0x10], rax
mov dword [rdi + 8], r12d
mov r12, qword [rbx + 0x50]
test esi, esi
jle 0x7ff7d00629e8
lea eax, [rsi - 1]
movsxd r10, esi
xor ebx, ebx
mov dword [rsp + 0x2c], eax
mov eax, esi
lea r13, [r10*8]
mov qword [rsp + 0x20], rax
lea rbp, [r15 + rax*8]
nop dword [rax + rax]
mov r9, qword [r15]
mov r8d, esi
mov rdx, r14
mov rcx, r15
imul r9, r12
call fcn.7ff7d0156e50
mov r8, qword [r15 + r13]
xor edx, edx
add rax, rbx
add rax, r8
cmp r8, rax
mov qword [r15 + r13], rax
setne dl
or rdx, rbx
xor ebx, ebx
cmp r8, rax
setae bl
add r15, 8
and rbx, rdx
cmp r15, rbp
jne 0x7ff7d0062868
mov rcx, qword [rsp + 0xa0]
mov edx, esi
call fcn.7ff7d00624e0
test rax, rax
je 0x7ff7d00629a0
mov rax, qword [rsp + 0xa0]
mov r12, qword [rdi]
mov r9d, esi
mov r8, r14
mov rcx, qword [rsp + 0xa0]
mov dword [rax + 8], esi
mov eax, dword [rdi + 0x10]
lea rdi, [r12 + r13]
mov rbp, qword [rcx]
mov rdx, rdi
mov dword [rcx + 0x10], eax
mov rcx, rbp
call fcn.7ff7d0157150
mov rcx, rbx
lea rdx, [rbp + 0x10]
sub rcx, rax
lea rax, [r12 + r13 + 0x10]
cmp rbp, rax
setae al
cmp rdi, rdx
setae dl
or al, dl
je 0x7ff7d00629b0
cmp dword [rsp + 0x2c], 1
jbe 0x7ff7d00629b0
mov edx, esi
movq xmm2, rcx
pxor xmm1, xmm1
xor eax, eax
shr edx, 1
punpcklqdq xmm2, xmm2
shl rdx, 4
nop dword [rax + rax]
movdqu xmm6, xmmword [rbp + rax]
movdqu xmm0, xmmword [rdi + rax]
pxor xmm0, xmm6
pand xmm0, xmm2
pxor xmm0, xmm6
movups xmmword [rbp + rax], xmm0
movups xmmword [rdi + rax], xmm1
add rax, 0x10
cmp rax, rdx
jne 0x7ff7d0062940
mov eax, esi
and eax, 0xfffffffe
and esi, 1
je 0x7ff7d0062996
shl rax, 3
add rdi, rax
add rax, rbp
mov rdx, qword [rax]
mov rbx, qword [rdi]
xor rbx, rdx
and rbx, rcx
xor rbx, rdx
mov qword [rax], rbx
mov qword [rdi], 0
mov eax, 1
jmp 0x7ff7d00626ec
xor eax, eax
jmp 0x7ff7d00626ec
xor eax, eax
nop word [rax + rax]
mov r8, qword [rbp + rax*8]
mov rdx, qword [rdi + rax*8]
xor rdx, r8
and rdx, rcx
xor rdx, r8
mov qword [rbp + rax*8], rdx
mov qword [rdi + rax*8], 0
add rax, 1
cmp qword [rsp + 0x20], rax
jne 0x7ff7d00629b8
jmp 0x7ff7d0062996
mov rcx, qword [rsp + 0xa0]
mov edx, esi
call fcn.7ff7d00624e0
test rax, rax
je 0x7ff7d00629a0
mov rax, qword [rsp + 0xa0]
movsxd rdx, esi
mov r9d, esi
mov r8, r14
mov rcx, qword [rsp + 0xa0]
mov dword [rax + 8], esi
mov eax, dword [rdi + 0x10]
mov dword [rcx + 0x10], eax
mov rax, qword [rdi]
mov rcx, qword [rcx]
lea rdx, [rax + rdx*8]
call fcn.7ff7d0157150
mov eax, 1
jmp 0x7ff7d00626ec
mov eax, r8d
xor edx, edx
neg eax
shr eax, 0x1f
neg rax
and qword [r15], rax
mov eax, 1
jmp 0x7ff7d006280c