Function at 0x180040767
Capabilities:
Encode data using xor

Disassembly:
movdqa xmm0, xmm8
paddd xmm0, xmm3
movdqa xmm1, xmm0
psrld xmm0, 0x19
pslld xmm1, 7
pxor xmm1, xmm5
pxor xmm1, xmm0
pshufd xmm7, xmm1, 0x93
movdqa xmm0, xmm1
paddd xmm0, xmm3
movdqa xmm5, xmm0
psrld xmm0, 0x17
pslld xmm5, 9
pxor xmm5, xmm9
out dx, eax
jmp 0x168f313cb
paddd xmm1, xmm5
movdqa xmm0, xmm5
movdqa xmm2, xmm1
psrld xmm1, 0x13
pslld xmm2, 0xd
pxor xmm2, xmm8
pxor xmm2, xmm1
movdqa xmm1, xmm7
paddd xmm0, xmm2
movdqa xmm6, xmm0
psrld xmm0, 0xe
pslld xmm6, 0x12
pxor xmm6, xmm3
pxor xmm6, xmm0
pshufd xmm0, xmm2, 0x39
paddd xmm1, xmm6
movdqa xmm3, xmm1
psrld xmm1, 0x19
pslld xmm3, 7
pxor xmm3, xmm0
pshufd xmm0, xmm5, 0x4e
pxor xmm3, xmm1
pshufd xmm8, xmm3, 0x93
movdqa xmm1, xmm3
paddd xmm1, xmm6
movdqa xmm4, xmm1
psrld xmm1, 0x17
pslld xmm4, 9
pxor xmm4, xmm0
pxor xmm4, xmm1
movdqa xmm1, xmm8
paddd xmm3, xmm4
pshufd xmm5, xmm4, 0x4e
movdqa xmm2, xmm3
psrld xmm3, 0x13
pslld xmm2, 0xd
pxor xmm2, xmm7
pxor xmm2, xmm3
movdqa xmm0, xmm2
movq mm0, mm2
pshufd xmm3, xmm2, 0x39
paddd xmm0, xmm4
movdqa xmm7, xmm0
psrld xmm0, 0xe
pslld xmm7, 0x12
pxor xmm7, xmm6
pxor xmm7, xmm0
paddd xmm1, xmm7
movdqa xmm0, xmm1
psrld xmm1, 0x19
pslld xmm0, 7
pxor xmm3, xmm0
pxor xmm3, xmm1
movdqa xmm1, xmm3
pshufd xmm6, xmm3, 0x93
xchg ebx, eax
paddd xmm1, xmm7
movdqa xmm0, xmm1
psrld xmm1, 0x17
pslld xmm0, 9
pxor xmm5, xmm0
pxor xmm5, xmm1
paddd xmm3, xmm5
movdqa xmm2, xmm3
psrld xmm3, 0x13
pslld xmm2, 0xd
pxor xmm2, xmm8
pxor mm2, mm0
pxor mm2, mm0
pxor xmm2, xmm3
movdqa xmm0, xmm5
movdqa xmm1, xmm6
paddd xmm0, xmm2
movdqa xmm4, xmm0
psrld xmm0, 0xe
pslld xmm4, 0x12
pxor xmm4, xmm7
pxor xmm4, xmm0
pshufd xmm0, xmm2, 0x39
paddd xmm1, xmm4
movdqa xmm3, xmm1
psrld xmm1, 0x19
pslld xmm3, 7
pxor xmm3, xmm0
pshufd xmm0, xmm5, 0x4e
pxor xmm3, xmm1
pshufd xmm8, xmm3, 0x93
movdqa xmm1, xmm3
paddd xmm1, xmm4
movdqa xmm2, xmm1
psrld xmm1, 0x17
pslld xmm2, 9
or dword [rsi + 0xf], esp
out dx, eax
shl byte [rsi + 0xf], 1
out dx, eax
shl dword [rsi + 0x44], 1
pshufw mm1, mm2, 0x4e
paddd xmm3, xmm2
movdqa xmm0, xmm3
psrld xmm3, 0x13
pslld xmm0, 0xd
pxor xmm0, xmm6
pxor xmm0, xmm3
pshufd xmm5, xmm0, 0x39
paddd xmm2, xmm0
movdqa xmm3, xmm2
psrld xmm2, 0xe
pslld xmm3, 0x12
pxor xmm3, xmm4
pxor xmm3, xmm2
sub rsi, 1
jne 0x180040422
paddd xmm10, xmm3
paddd xmm13, xmm5
pshufd xmm0, xmm10, 0x39
paddd xmm11, xmm8
pshufd xmm1, xmm11, 0x39
paddd xmm12, xmm9
pshufd xmm4, xmm0, 0x39
xor ecx, ecx
pshufd xmm5, xmm1, 0x39
pshufd xmm2, xmm12, 0x39
movd edx, xmm2
pshufd xmm3, xmm13, 0x39
movd dword [rbp + 0x454], xmm0
movd dword [rbp + 0x444], xmm1
pshufd xmm0, xmm4, 0x39
pshufd xmm1, xmm5, 0x39
movd r9d, xmm3
pshufd xmm2, xmm2, 0x39
pshufd xmm3, xmm3, 0x39
movd dword [rbp + 0x47c], xmm0
movd dword [rbp + 0x46c], xmm1
pshufd xmm0, xmm2, 0x39
pshufd xmm1, xmm3, 0x39
mov dword [rbp + 0x474], edx
mov edx, ecx
movd dword [rbp + 0x45c], xmm0
movd dword [rbp + 0x44c], xmm1
movd dword [rbp + 0x440], xmm10
movd dword [rbp + 0x470], xmm11
movd dword [rbp + 0x460], xmm12
movd dword [rbp + 0x450], xmm13
mov dword [rbp + 0x464], r9d
movd dword [rbp + 0x468], xmm4
movd dword [rbp + 0x458], xmm5
movd dword [rbp + 0x448], xmm2
movd dword [rbp + 0x478], xmm3
cmp r15, 0x20
jb 0x1800407a1
lea eax, [r15 - 1]
mov r9d, eax
lea r10, [rax + r8]
add rax, r11
cmp r8, rax
ja 0x180040740
cmp r10, r11
jae 0x1800407a1
lea rax, [rbp + 0x440]
add rax, r9
cmp r8, rax
ja 0x18004075b
lea rax, [rbp + 0x440]
cmp r10, rax
jae 0x1800407a1
mov r9, r15
and r9, 0xffffffffffffffe0
movdqu xmm1, xmmword [rcx + r11]
lea eax, [rdx + 0x10]
add edx, 0x20
movdqu xmm0, xmmword [rbp + rcx + 0x440]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rbp + rax + 0x440]
movdqu xmmword [rcx + r8], xmm1
mov ecx, edx
movdqu xmm1, xmmword [rax + r11]
pxor xmm1, xmm0
movdqu xmmword [rax + r8], xmm1
cmp rcx, r9
jb 0x180040762
mov ecx, edx
cmp rcx, r15
jae 0x1800407c9
nop dword [rax + rax]
movzx eax, byte [rcx + r11]
inc edx
xor al, byte [rbp + rcx + 0x440]
mov byte [rcx + r8], al
mov ecx, edx
cmp rcx, r15
jb 0x1800407b0
invalid