Function at 0x140005cd0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x78
cmp word [0x1400261d2], 0
movups xmm0, xmmword [0x1400261b8]
mov eax, dword [0x1400261d0]
movsd xmm1, qword [0x1400261c8]
mov r10d, dword [0x14002e018]
mov qword [rsp + 0x70], rbx
mov ebx, 0x1f
movaps xmmword [rsp + 0x60], xmm6
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x58], eax
lea r11d, [rbx - 0x1a]
movsd qword [rsp + 0x50], xmm1
je 0x140005e70
xor r8d, r8d
cmp r10d, 2
jl 0x140005e22
movdqa xmm2, xmmword [0x140028110]
mov r8d, 8
movdqa xmm3, xmmword [0x140028120]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x140028b10]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r11d
movd xmm5, ebx
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140028130]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [0x1400261b8]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
paddw xmm2, xmmword [0x140028170]
pxor xmm2, xmm0
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movq qword [rsp + 0x40], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140028130]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x48]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x140028170]
pxor xmm2, xmm0
movq qword [rsp + 0x48], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x40]
lea r9, [r9 + rax*2]
nop
mov eax, 0x92492493
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x38
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x36
xor word [r9 - 2], ax
cmp r8d, 0xe
jl 0x140005e30
nop dword [rax + rax]
movups xmm0, xmmword [0x1400263a8]
xor ecx, ecx
movzx eax, word [0x1400263c0]
movsd xmm1, qword [0x1400263b8]
movsd qword [rsp + 0x50], xmm1
mov word [rsp + 0x58], ax
movups xmmword [rsp + 0x40], xmm0
cmp r10d, 2
jl 0x140005f9e
movdqa xmm2, xmmword [0x140028110]
mov ecx, 8
movdqa xmm4, xmmword [0x140028b10]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r11d
movd xmm5, ebx
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140028130]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, qword [0x140028170]
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [0x1400263a8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movdqa xmm2, xmmword [0x140028120]
pxor xmm3, xmm0
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movq qword [rsp + 0x40], xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140028130]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, qword [0x140028170]
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x48]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rsp + 0x48], xmm3
movaps xmm6, xmmword [rsp + 0x60]
lea r8, [rsp + 0x40]
mov rbx, qword [rsp + 0x70]
movsxd rax, ecx
lea r8, [r8 + rax*2]
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x92492493
lea r8, [r8 + 2]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x38
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x36
xor word [r8 - 2], ax
cmp ecx, 0xd
jl 0x140005fc0
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
lea rcx, [rsp + 0x40]
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [0x14001c160]
cmp rax, 0xffffffffffffffff
setne al
add rsp, 0x78
ret