Function at 0x140001240
Capabilities:
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], rsi
mov rax, rsp
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
mov rcx, r9
mov r8, qword [rsp + 0x28]
cmp rdx, 0
je 0x14000161e
mov r10, qword [0x14000b72c]
test r10d, 0x200
jne 0x14000165e
push rbx
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x58
movdqu xmm1, xmmword [rcx]
movdqu xmm2, xmmword [rcx + 0x10]
movdqu xmm3, xmmword [r8]
movdqa xmm4, xmmword [0x140001010]
movdqa xmmword [rsp + 0x10], xmm1
movdqa xmmword [rsp + 0x20], xmm2
movdqa xmmword [rsp + 0x30], xmm3
mov rbp, rdx
jmp 0x1400012c0
mov eax, 0x61707865
mov ebx, 0x3320646e
mov ecx, 0x79622d32
mov edx, 0x6b206574
mov r8d, dword [rsp + 0x10]
mov r9d, dword [rsp + 0x14]
mov r10d, dword [rsp + 0x18]
mov r11d, dword [rsp + 0x1c]
movd r12d, xmm3
mov r13d, dword [rsp + 0x34]
mov r14d, dword [rsp + 0x38]
mov r15d, dword [rsp + 0x3c]
mov qword [rsp + 0x40], rbp
mov ebp, 0xa
mov qword [rsp + 0x48], rsi
movq rsi, xmm2
mov qword [rsp + 0x50], rdi
mov rdi, rsi
shr rdi, 0x20
jmp 0x140001340
add eax, r8d
xor r12d, eax
rol r12d, 0x10
add ebx, r9d
xor r13d, ebx
rol r13d, 0x10
add esi, r12d
xor r8d, esi
rol r8d, 0xc
add edi, r13d
xor r9d, edi
rol r9d, 0xc
add eax, r8d
xor r12d, eax
rol r12d, 8
add ebx, r9d
xor r13d, ebx
rol r13d, 8
add esi, r12d
xor r8d, esi
rol r8d, 7
add edi, r13d
xor r9d, edi
rol r9d, 7
mov dword [rsp + 0x20], esi
mov dword [rsp + 0x24], edi
mov esi, dword [rsp + 0x28]
mov edi, dword [rsp + 0x2c]
add ecx, r10d
xor r14d, ecx
rol r14d, 0x10
add edx, r11d
xor r15d, edx
rol r15d, 0x10
add esi, r14d
xor r10d, esi
rol r10d, 0xc
add edi, r15d
xor r11d, edi
rol r11d, 0xc
add ecx, r10d
xor r14d, ecx
rol r14d, 8
add edx, r11d
xor r15d, edx
rol r15d, 8
add esi, r14d
xor r10d, esi
rol r10d, 7
add edi, r15d
xor r11d, edi
rol r11d, 7
add eax, r9d
xor r15d, eax
rol r15d, 0x10
add ebx, r10d
xor r12d, ebx
rol r12d, 0x10
add esi, r15d
xor r9d, esi
rol r9d, 0xc
add edi, r12d
xor r10d, edi
rol r10d, 0xc
add eax, r9d
xor r15d, eax
rol r15d, 8
add ebx, r10d
xor r12d, ebx
rol r12d, 8
add esi, r15d
xor r9d, esi
rol r9d, 7
add edi, r12d
xor r10d, edi
rol r10d, 7
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x2c], edi
mov esi, dword [rsp + 0x20]
mov edi, dword [rsp + 0x24]
add ecx, r11d
xor r13d, ecx
rol r13d, 0x10
add edx, r8d
xor r14d, edx
rol r14d, 0x10
add esi, r13d
xor r11d, esi
rol r11d, 0xc
add edi, r14d
xor r8d, edi
rol r8d, 0xc
add ecx, r11d
xor r13d, ecx
rol r13d, 8
add edx, r8d
xor r14d, edx
rol r14d, 8
add esi, r13d
xor r11d, esi
rol r11d, 7
add edi, r14d
xor r8d, edi
rol r8d, 7
dec ebp
jne 0x140001340
mov dword [rsp + 0x24], edi
mov dword [rsp + 0x20], esi
mov rbp, qword [rsp + 0x40]
movdqa xmm1, xmm2
mov rsi, qword [rsp + 0x48]
paddd xmm3, xmm4
mov rdi, qword [rsp + 0x50]
add eax, 0x61707865
add ebx, 0x3320646e
add ecx, 0x79622d32
add edx, 0x6b206574
add r8d, dword [rsp + 0x10]
add r9d, dword [rsp + 0x14]
add r10d, dword [rsp + 0x18]
add r11d, dword [rsp + 0x1c]
add r12d, dword [rsp + 0x30]
add r13d, dword [rsp + 0x34]
add r14d, dword [rsp + 0x38]
add r15d, dword [rsp + 0x3c]
paddd xmm1, xmmword [rsp + 0x20]
cmp rbp, 0x40
jb 0x1400015a0
xor eax, dword [rsi]
xor ebx, dword [rsi + 4]
xor ecx, dword [rsi + 8]
xor edx, dword [rsi + 0xc]
xor r8d, dword [rsi + 0x10]
xor r9d, dword [rsi + 0x14]
xor r10d, dword [rsi + 0x18]
xor r11d, dword [rsi + 0x1c]
movdqu xmm0, xmmword [rsi + 0x20]
xor r12d, dword [rsi + 0x30]
xor r13d, dword [rsi + 0x34]
xor r14d, dword [rsi + 0x38]
xor r15d, dword [rsi + 0x3c]
lea rsi, [rsi + 0x40]
pxor xmm0, xmm1
movdqa xmmword [rsp + 0x20], xmm2
movd dword [rsp + 0x30], xmm3
mov dword [rdi], eax
mov dword [rdi + 4], ebx
mov dword [rdi + 8], ecx
mov dword [rdi + 0xc], edx
mov dword [rdi + 0x10], r8d
mov dword [rdi + 0x14], r9d
mov dword [rdi + 0x18], r10d
mov dword [rdi + 0x1c], r11d
movdqu xmmword [rdi + 0x20], xmm0
mov dword [rdi + 0x30], r12d
mov dword [rdi + 0x34], r13d
mov dword [rdi + 0x38], r14d
mov dword [rdi + 0x3c], r15d
lea rdi, [rdi + 0x40]
sub rbp, 0x40
jne 0x1400012c0
jmp 0x1400015fb
mov dword [rsp], eax
mov dword [rsp + 4], ebx
xor rbx, rbx
mov dword [rsp + 8], ecx
mov dword [rsp + 0xc], edx
mov dword [rsp + 0x10], r8d
mov dword [rsp + 0x14], r9d
mov dword [rsp + 0x18], r10d
mov dword [rsp + 0x1c], r11d
movdqa xmmword [rsp + 0x20], xmm1
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x34], r13d
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x3c], r15d
movzx eax, byte [rsi + rbx]
movzx edx, byte [rsp + rbx]
lea rbx, [rbx + 1]
xor eax, edx
mov byte [rdi + rbx - 1], al
dec rbp
jne 0x1400015e0
lea rsi, [rsp + 0x88]
mov r15, qword [rsi - 0x30]
mov r14, qword [rsi - 0x28]
mov r13, qword [rsi - 0x20]
mov r12, qword [rsi - 0x18]
mov rbp, qword [rsi - 0x10]
mov rbx, qword [rsi - 8]
lea rsp, [rsi]
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
repz ret
mov r9, rsp
cmp rdx, 0x80
je 0x1400018de
ja 0x140001c3e
sub rsp, 0x68
movaps xmmword [r9 - 0x28], xmm6
movaps xmmword [r9 - 0x18], xmm7
movdqa xmm0, xmmword [0x1400011c0]
movdqu xmm1, xmmword [rcx]
movdqu xmm2, xmmword [rcx + 0x10]
movdqu xmm3, xmmword [r8]
movdqa xmm6, xmmword [0x140001080]
movdqa xmm7, xmmword [0x140001090]
movdqa xmmword [rsp], xmm0
movdqa xmmword [rsp + 0x10], xmm1
movdqa xmmword [rsp + 0x20], xmm2
movdqa xmmword [rsp + 0x30], xmm3
mov r8d, 0xa
jmp 0x140001720
movdqa xmm3, xmmword [0x140001010]
movdqa xmm0, xmmword [rsp]
movdqa xmm1, xmmword [rsp + 0x10]
movdqa xmm2, xmmword [rsp + 0x20]
paddd xmm3, xmmword [rsp + 0x30]
mov r8d, 0xa
movdqa xmmword [rsp + 0x30], xmm3
jmp 0x140001720
paddd xmm0, xmm1
pxor xmm3, xmm0
pshufb xmm3, xmm6
paddd xmm2, xmm3
pxor xmm1, xmm2
movdqa xmm4, xmm1
psrld xmm1, 0x14
pslld xmm4, 0xc
por xmm1, xmm4
paddd xmm0, xmm1
pxor xmm3, xmm0
pshufb xmm3, xmm7
paddd xmm2, xmm3
pxor xmm1, xmm2
movdqa xmm4, xmm1
psrld xmm1, 0x19
pslld xmm4, 7
por xmm1, xmm4
pshufd xmm2, xmm2, 0x4e
pshufd xmm1, xmm1, 0x39
pshufd xmm3, xmm3, 0x93
nop
paddd xmm0, xmm1
pxor xmm3, xmm0
pshufb xmm3, xmm6
paddd xmm2, xmm3
pxor xmm1, xmm2
movdqa xmm4, xmm1
psrld xmm1, 0x14
pslld xmm4, 0xc
por xmm1, xmm4
paddd xmm0, xmm1
pxor xmm3, xmm0
pshufb xmm3, xmm7
paddd xmm2, xmm3
pxor xmm1, xmm2
movdqa xmm4, xmm1
psrld xmm1, 0x19
pslld xmm4, 7
por xmm1, xmm4
pshufd xmm2, xmm2, 0x4e
pshufd xmm1, xmm1, 0x93
pshufd xmm3, xmm3, 0x39
dec r8
jne 0x140001720
paddd xmm0, xmmword [rsp]
paddd xmm1, xmmword [rsp + 0x10]
paddd xmm2, xmmword [rsp + 0x20]
paddd xmm3, xmmword [rsp + 0x30]
cmp rdx, 0x40
jb 0x140001860
movdqu xmm4, xmmword [rsi]
movdqu xmm5, xmmword [rsi + 0x10]
pxor xmm0, xmm4
movdqu xmm4, xmmword [rsi + 0x20]
pxor xmm1, xmm5
movdqu xmm5, xmmword [rsi + 0x30]
lea rsi, [rsi + 0x40]
pxor xmm2, xmm4
pxor xmm3, xmm5
movdqu xmmword [rdi], xmm0
movdqu xmmword [rdi + 0x10], xmm1
movdqu xmmword [rdi + 0x20], xmm2
movdqu xmmword [rdi + 0x30], xmm3
lea rdi, [rdi + 0x40]
sub rdx, 0x40
jne 0x1400016e0
jmp 0x140001898
movdqa xmmword [rsp], xmm0
movdqa xmmword [rsp + 0x10], xmm1
movdqa xmmword [rsp + 0x20], xmm2
movdqa xmmword [rsp + 0x30], xmm3
xor r8, r8
movzx eax, byte [rsi + r8]
movzx ecx, byte [rsp + r8]
lea r8, [r8 + 1]
xor eax, ecx
mov byte [rdi + r8 - 1], al
dec rdx
jne 0x14000187a
movaps xmm6, xmmword [r9 - 0x28]
movaps xmm7, xmmword [r9 - 0x18]
lea rsp, [r9]
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
repz ret
mov r9, rsp
sub rsp, 0xa8
movaps xmmword [r9 - 0x68], xmm6
movaps xmmword [r9 - 0x58], xmm7
movaps xmmword [r9 - 0x48], xmm8
movaps xmmword [r9 - 0x38], xmm9
movaps xmmword [r9 - 0x28], xmm10
movaps xmmword [r9 - 0x18], xmm11
movdqa xmm8, xmmword [0x1400011c0]
movdqu xmm9, xmmword [rcx]
movdqu xmm2, xmmword [rcx + 0x10]
movdqu xmm3, xmmword [r8]
movdqa xmm1, xmmword [0x140001010]
movdqa xmm6, xmmword [0x140001080]
movdqa xmm7, xmmword [0x140001090]
movdqa xmm10, xmm8
movdqa xmmword [rsp], xmm8
movdqa xmm11, xmm9
movdqa xmmword [rsp + 0x10], xmm9
movdqa xmm0, xmm2
movdqa xmmword [rsp + 0x20], xmm2
paddd xmm1, xmm3
movdqa xmmword [rsp + 0x30], xmm3
mov r8d, 0xa
jmp 0x140001980
paddd xmm8, xmm9
pxor xmm3, xmm8
paddd xmm10, xmm11
pxor xmm1, xmm10
pshufb xmm3, xmm6
pshufb xmm1, xmm6
paddd xmm2, xmm3
paddd xmm0, xmm1
pxor xmm9, xmm2
pxor xmm11, xmm0
movdqa xmm4, xmm9
psrld xmm9, 0x14
movdqa xmm5, xmm11
pslld xmm4, 0xc
psrld xmm11, 0x14
por xmm9, xmm4
pslld xmm5, 0xc
por xmm11, xmm5
paddd xmm8, xmm9
pxor xmm3, xmm8
paddd xmm10, xmm11
pxor xmm1, xmm10
pshufb xmm3, xmm7
pshufb xmm1, xmm7
paddd xmm2, xmm3
paddd xmm0, xmm1
pxor xmm9, xmm2
pxor xmm11, xmm0
movdqa xmm4, xmm9
psrld xmm9, 0x19
movdqa xmm5, xmm11
pslld xmm4, 7
psrld xmm11, 0x19
por xmm9, xmm4
pslld xmm5, 7
por xmm11, xmm5
pshufd xmm2, xmm2, 0x4e
pshufd xmm9, xmm9, 0x39
pshufd xmm3, xmm3, 0x93
pshufd xmm0, xmm0, 0x4e
pshufd xmm11, xmm11, 0x39
pshufd xmm1, xmm1, 0x93
paddd xmm8, xmm9
pxor xmm3, xmm8
paddd xmm10, xmm11
pxor xmm1, xmm10
pshufb xmm3, xmm6
pshufb xmm1, xmm6
paddd xmm2, xmm3
paddd xmm0, xmm1
pxor xmm9, xmm2
pxor xmm11, xmm0
movdqa xmm4, xmm9
psrld xmm9, 0x14
movdqa xmm5, xmm11
pslld xmm4, 0xc
psrld xmm11, 0x14
por xmm9, xmm4
pslld xmm5, 0xc
por xmm11, xmm5
paddd xmm8, xmm9
pxor xmm3, xmm8
paddd xmm10, xmm11
pxor xmm1, xmm10
pshufb xmm3, xmm7
pshufb xmm1, xmm7
paddd xmm2, xmm3
paddd xmm0, xmm1
pxor xmm9, xmm2
pxor xmm11, xmm0
movdqa xmm4, xmm9
psrld xmm9, 0x19
movdqa xmm5, xmm11
pslld xmm4, 7
psrld xmm11, 0x19
por xmm9, xmm4
pslld xmm5, 7
por xmm11, xmm5
pshufd xmm2, xmm2, 0x4e
pshufd xmm9, xmm9, 0x93
pshufd xmm3, xmm3, 0x39
pshufd xmm0, xmm0, 0x4e
pshufd xmm11, xmm11, 0x93
pshufd xmm1, xmm1, 0x39
dec r8
jne 0x140001980
paddd xmm8, xmmword [rsp]
paddd xmm9, xmmword [rsp + 0x10]
paddd xmm2, xmmword [rsp + 0x20]
paddd xmm3, xmmword [rsp + 0x30]
paddd xmm1, xmmword [0x140001010]
paddd xmm10, xmmword [rsp]
paddd xmm11, xmmword [rsp + 0x10]
paddd xmm0, xmmword [rsp + 0x20]
paddd xmm1, xmmword [rsp + 0x30]
movdqu xmm4, xmmword [rsi]
movdqu xmm5, xmmword [rsi + 0x10]
pxor xmm8, xmm4
movdqu xmm4, xmmword [rsi + 0x20]
pxor xmm9, xmm5
movdqu xmm5, xmmword [rsi + 0x30]
pxor xmm2, xmm4
movdqu xmm4, xmmword [rsi + 0x40]
pxor xmm3, xmm5
movdqu xmm5, xmmword [rsi + 0x50]
pxor xmm10, xmm4
movdqu xmm4, xmmword [rsi + 0x60]
pxor xmm11, xmm5
movdqu xmm5, xmmword [rsi + 0x70]
pxor xmm0, xmm4
pxor xmm1, xmm5
movdqu xmmword [rdi], xmm8
movdqu xmmword [rdi + 0x10], xmm9
movdqu xmmword [rdi + 0x20], xmm2
movdqu xmmword [rdi + 0x30], xmm3
movdqu xmmword [rdi + 0x40], xmm10
movdqu xmmword [rdi + 0x50], xmm11
movdqu xmmword [rdi + 0x60], xmm0
movdqu xmmword [rdi + 0x70], xmm1
movaps xmm6, xmmword [r9 - 0x68]
movaps xmm7, xmmword [r9 - 0x58]
movaps xmm8, xmmword [r9 - 0x48]
movaps xmm9, xmmword [r9 - 0x38]
movaps xmm10, xmmword [r9 - 0x28]
movaps xmm11, xmmword [r9 - 0x18]
lea rsp, [r9]
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
repz ret
mov r9, rsp
mov r11, r10
cmp rdx, 0xc0
ja 0x140001c65
and r11, 0x4400000
cmp r11, 0x400000
je 0x140001674
sub rsp, 0x1e8
movaps xmmword [r9 - 0xa8], xmm6
movaps xmmword [r9 - 0x98], xmm7
movaps xmmword [r9 - 0x88], xmm8
movaps xmmword [r9 - 0x78], xmm9
movaps xmmword [r9 - 0x68], xmm10
movaps xmmword [r9 - 0x58], xmm11
movaps xmmword [r9 - 0x48], xmm12
movaps xmmword [r9 - 0x38], xmm13
movaps xmmword [r9 - 0x28], xmm14
movaps xmmword [r9 - 0x18], xmm15
movdqa xmm11, xmmword [0x1400011c0]
movdqu xmm15, xmmword [rcx]
movdqu xmm7, xmmword [rcx + 0x10]
movdqu xmm3, xmmword [r8]
lea rcx, [rsp + 0x100]
lea r10, [0x140001080]
lea r11, [0x140001090]
pshufd xmm8, xmm11, 0
pshufd xmm9, xmm11, 0x55
movdqa xmmword [rsp + 0x40], xmm8
pshufd xmm10, xmm11, 0xaa
movdqa xmmword [rsp + 0x50], xmm9
pshufd xmm11, xmm11, 0xff
movdqa xmmword [rsp + 0x60], xmm10
movdqa xmmword [rsp + 0x70], xmm11
pshufd xmm12, xmm15, 0
pshufd xmm13, xmm15, 0x55
movdqa xmmword [rcx - 0x80], xmm12
pshufd xmm14, xmm15, 0xaa
movdqa xmmword [rcx - 0x70], xmm13
pshufd xmm15, xmm15, 0xff
movdqa xmmword [rcx - 0x60], xmm14
movdqa xmmword [rcx - 0x50], xmm15
pshufd xmm4, xmm7, 0
pshufd xmm5, xmm7, 0x55
movdqa xmmword [rcx - 0x40], xmm4
pshufd xmm6, xmm7, 0xaa
movdqa xmmword [rcx - 0x30], xmm5
pshufd xmm7, xmm7, 0xff
movdqa xmmword [rcx - 0x20], xmm6
movdqa xmmword [rcx - 0x10], xmm7
pshufd xmm0, xmm3, 0
pshufd xmm1, xmm3, 0x55
paddd xmm0, xmmword [0x140001020]
pshufd xmm2, xmm3, 0xaa
movdqa xmmword [rcx + 0x10], xmm1
pshufd xmm3, xmm3, 0xff
movdqa xmmword [rcx + 0x20], xmm2
movdqa xmmword [rcx + 0x30], xmm3
jmp 0x140001e03
movdqa xmm8, xmmword [rsp + 0x40]
movdqa xmm9, xmmword [rsp + 0x50]
movdqa xmm10, xmmword [rsp + 0x60]
movdqa xmm11, xmmword [rsp + 0x70]
movdqa xmm12, xmmword [rcx - 0x80]
movdqa xmm13, xmmword [rcx - 0x70]
movdqa xmm14, xmmword [rcx - 0x60]
movdqa xmm15, xmmword [rcx - 0x50]
movdqa xmm4, xmmword [rcx - 0x40]
movdqa xmm5, xmmword [rcx - 0x30]
movdqa xmm6, xmmword [rcx - 0x20]
movdqa xmm7, xmmword [rcx - 0x10]
movdqa xmm0, xmmword [rcx]
movdqa xmm1, xmmword [rcx + 0x10]
movdqa xmm2, xmmword [rcx + 0x20]
movdqa xmm3, xmmword [rcx + 0x30]
paddd xmm0, xmmword [0x140001030]
movdqa xmmword [rsp + 0x20], xmm6
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmm7, xmmword [r10]
mov eax, 0xa
movdqa xmmword [rcx], xmm0
jmp 0x140001e40
paddd xmm8, xmm12
paddd xmm9, xmm13
pxor xmm0, xmm8
pxor xmm1, xmm9
pshufb xmm0, xmm7
pshufb xmm1, xmm7
paddd xmm4, xmm0
paddd xmm5, xmm1
pxor xmm12, xmm4
pxor xmm13, xmm5
movdqa xmm6, xmm12
pslld xmm12, 0xc
psrld xmm6, 0x14
movdqa xmm7, xmm13
pslld xmm13, 0xc
por xmm12, xmm6
psrld xmm7, 0x14
movdqa xmm6, xmmword [r11]
por xmm13, xmm7
paddd xmm8, xmm12
paddd xmm9, xmm13
pxor xmm0, xmm8
pxor xmm1, xmm9
pshufb xmm0, xmm6
pshufb xmm1, xmm6
paddd xmm4, xmm0
paddd xmm5, xmm1
pxor xmm12, xmm4
pxor xmm13, xmm5
movdqa xmm7, xmm12
pslld xmm12, 7
psrld xmm7, 0x19
movdqa xmm6, xmm13
pslld xmm13, 7
por xmm12, xmm7
psrld xmm6, 0x19
movdqa xmm7, xmmword [r10]
por xmm13, xmm6
movdqa xmmword [rsp], xmm4
movdqa xmmword [rsp + 0x10], xmm5
movdqa xmm4, xmmword [rsp + 0x20]
movdqa xmm5, xmmword [rsp + 0x30]
paddd xmm10, xmm14
paddd xmm11, xmm15
pxor xmm2, xmm10
pxor xmm3, xmm11
pshufb xmm2, xmm7
pshufb xmm3, xmm7
paddd xmm4, xmm2
paddd xmm5, xmm3
pxor xmm14, xmm4
pxor xmm15, xmm5
movdqa xmm6, xmm14
pslld xmm14, 0xc
psrld xmm6, 0x14
movdqa xmm7, xmm15
pslld xmm15, 0xc
por xmm14, xmm6
psrld xmm7, 0x14
movdqa xmm6, xmmword [r11]
por xmm15, xmm7
paddd xmm10, xmm14
paddd xmm11, xmm15
pxor xmm2, xmm10
pxor xmm3, xmm11
pshufb xmm2, xmm6
pshufb xmm3, xmm6
paddd xmm4, xmm2
paddd xmm5, xmm3
pxor xmm14, xmm4
pxor xmm15, xmm5
movdqa xmm7, xmm14
pslld xmm14, 7
psrld xmm7, 0x19
movdqa xmm6, xmm15
pslld xmm15, 7
por xmm14, xmm7
psrld xmm6, 0x19
movdqa xmm7, xmmword [r10]
por xmm15, xmm6
paddd xmm8, xmm13
paddd xmm9, xmm14
pxor xmm3, xmm8
pxor xmm0, xmm9
pshufb xmm3, xmm7
pshufb xmm0, xmm7
paddd xmm4, xmm3
paddd xmm5, xmm0
pxor xmm13, xmm4
pxor xmm14, xmm5
movdqa xmm6, xmm13
pslld xmm13, 0xc
psrld xmm6, 0x14
movdqa xmm7, xmm14
pslld xmm14, 0xc
por xmm13, xmm6
psrld xmm7, 0x14
movdqa xmm6, xmmword [r11]
por xmm14, xmm7
paddd xmm8, xmm13
paddd xmm9, xmm14
pxor xmm3, xmm8
pxor xmm0, xmm9
pshufb xmm3, xmm6
pshufb xmm0, xmm6
paddd xmm4, xmm3
paddd xmm5, xmm0
pxor xmm13, xmm4
pxor xmm14, xmm5
movdqa xmm7, xmm13
pslld xmm13, 7
psrld xmm7, 0x19
movdqa xmm6, xmm14
pslld xmm14, 7
por xmm13, xmm7
psrld xmm6, 0x19
movdqa xmm7, xmmword [r10]
por xmm14, xmm6
movdqa xmmword [rsp + 0x20], xmm4
movdqa xmmword [rsp + 0x30], xmm5
movdqa xmm4, xmmword [rsp]
movdqa xmm5, xmmword [rsp + 0x10]
paddd xmm10, xmm15
paddd xmm11, xmm12
pxor xmm1, xmm10
pxor xmm2, xmm11
pshufb xmm1, xmm7
pshufb xmm2, xmm7
paddd xmm4, xmm1
paddd xmm5, xmm2
pxor xmm15, xmm4
pxor xmm12, xmm5
movdqa xmm6, xmm15
pslld xmm15, 0xc
psrld xmm6, 0x14
movdqa xmm7, xmm12
pslld xmm12, 0xc
por xmm15, xmm6
psrld xmm7, 0x14
movdqa xmm6, xmmword [r11]
por xmm12, xmm7
paddd xmm10, xmm15
paddd xmm11, xmm12
pxor xmm1, xmm10
pxor xmm2, xmm11
pshufb xmm1, xmm6
pshufb xmm2, xmm6
paddd xmm4, xmm1
paddd xmm5, xmm2
pxor xmm15, xmm4
pxor xmm12, xmm5
movdqa xmm7, xmm15
pslld xmm15, 7
psrld xmm7, 0x19
movdqa xmm6, xmm12
pslld xmm12, 7
por xmm15, xmm7
psrld xmm6, 0x19
movdqa xmm7, xmmword [r10]
por xmm12, xmm6
dec eax
jne 0x140001e40
paddd xmm8, xmmword [rsp + 0x40]
paddd xmm9, xmmword [rsp + 0x50]
paddd xmm10, xmmword [rsp + 0x60]
paddd xmm11, xmmword [rsp + 0x70]
movdqa xmm6, xmm8
punpckldq xmm8, xmm9
movdqa xmm7, xmm10
punpckldq xmm10, xmm11
punpckhdq xmm6, xmm9
punpckhdq xmm7, xmm11
movdqa xmm9, xmm8
punpcklqdq xmm8, xmm10
movdqa xmm11, xmm6
punpcklqdq xmm6, xmm7
punpckhqdq xmm9, xmm10
punpckhqdq xmm11, xmm7
paddd xmm12, xmmword [rcx - 0x80]
paddd xmm13, xmmword [rcx - 0x70]
paddd xmm14, xmmword [rcx - 0x60]
paddd xmm15, xmmword [rcx - 0x50]
movdqa xmmword [rsp], xmm8
movdqa xmmword [rsp + 0x10], xmm9
movdqa xmm8, xmmword [rsp + 0x20]
movdqa xmm9, xmmword [rsp + 0x30]
movdqa xmm10, xmm12
punpckldq xmm12, xmm13
movdqa xmm7, xmm14
punpckldq xmm14, xmm15
punpckhdq xmm10, xmm13
punpckhdq xmm7, xmm15
movdqa xmm13, xmm12
punpcklqdq xmm12, xmm14
movdqa xmm15, xmm10
punpcklqdq xmm10, xmm7
punpckhqdq xmm13, xmm14
punpckhqdq xmm15, xmm7
paddd xmm4, xmmword [rcx - 0x40]
paddd xmm5, xmmword [rcx - 0x30]
paddd xmm8, xmmword [rcx - 0x20]
paddd xmm9, xmmword [rcx - 0x10]
movdqa xmmword [rsp + 0x20], xmm6
movdqa xmmword [rsp + 0x30], xmm11
movdqa xmm14, xmm4
punpckldq xmm4, xmm5
movdqa xmm7, xmm8
punpckldq xmm8, xmm9
punpckhdq xmm14, xmm5
punpckhdq xmm7, xmm9
movdqa xmm5, xmm4
punpcklqdq xmm4, xmm8
movdqa xmm9, xmm14
punpcklqdq xmm14, xmm7
punpckhqdq xmm5, xmm8
punpckhqdq xmm9, xmm7
paddd xmm0, xmmword [rcx]
paddd xmm1, xmmword [rcx + 0x10]
paddd xmm2, xmmword [rcx + 0x20]
paddd xmm3, xmmword [rcx + 0x30]
movdqa xmm8, xmm0
punpckldq xmm0, xmm1
movdqa xmm7, xmm2
punpckldq xmm2, xmm3
punpckhdq xmm8, xmm1
punpckhdq xmm7, xmm3
movdqa xmm1, xmm0
punpcklqdq xmm0, xmm2
movdqa xmm3, xmm8
punpcklqdq xmm8, xmm7
punpckhqdq xmm1, xmm2
punpckhqdq xmm3, xmm7
cmp rdx, 0x100
jb 0x140002405
movdqu xmm6, xmmword [rsi]
movdqu xmm11, xmmword [rsi + 0x10]
movdqu xmm2, xmmword [rsi + 0x20]
movdqu xmm7, xmmword [rsi + 0x30]
pxor xmm6, xmmword [rsp]
pxor xmm11, xmm12
pxor xmm2, xmm4
pxor xmm7, xmm0
movdqu xmmword [rdi], xmm6
movdqu xmm6, xmmword [rsi + 0x40]
movdqu xmmword [rdi + 0x10], xmm11
movdqu xmm11, xmmword [rsi + 0x50]
movdqu xmmword [rdi + 0x20], xmm2
movdqu xmm2, xmmword [rsi + 0x60]
movdqu xmmword [rdi + 0x30], xmm7
movdqu xmm7, xmmword [rsi + 0x70]
lea rsi, [rsi + 0x80]
pxor xmm6, xmmword [rsp + 0x10]
pxor xmm11, xmm13
pxor xmm2, xmm5
pxor xmm7, xmm1
movdqu xmmword [rdi + 0x40], xmm6
movdqu xmm6, xmmword [rsi]
movdqu xmmword [rdi + 0x50], xmm11
movdqu xmm11, xmmword [rsi + 0x10]
movdqu xmmword [rdi + 0x60], xmm2
movdqu xmm2, xmmword [rsi + 0x20]
movdqu xmmword [rdi + 0x70], xmm7
lea rdi, [rdi + 0x80]
movdqu xmm7, xmmword [rsi + 0x30]
pxor xmm6, xmmword [rsp + 0x20]
pxor xmm11, xmm10
pxor xmm2, xmm14
pxor xmm7, xmm8
movdqu xmmword [rdi], xmm6
movdqu xmm6, xmmword [rsi + 0x40]
movdqu xmmword [rdi + 0x10], xmm11
movdqu xmm11, xmmword [rsi + 0x50]
movdqu xmmword [rdi + 0x20], xmm2
movdqu xmm2, xmmword [rsi + 0x60]
movdqu xmmword [rdi + 0x30], xmm7
movdqu xmm7, xmmword [rsi + 0x70]
lea rsi, [rsi + 0x80]
pxor xmm6, xmmword [rsp + 0x30]
pxor xmm11, xmm15
pxor xmm2, xmm9
pxor xmm7, xmm3
movdqu xmmword [rdi + 0x40], xmm6
movdqu xmmword [rdi + 0x50], xmm11
movdqu xmmword [rdi + 0x60], xmm2
movdqu xmmword [rdi + 0x70], xmm7
lea rdi, [rdi + 0x80]
sub rdx, 0x100
jne 0x140001da0
jmp 0x1400026b7
cmp rdx, 0xc0
jae 0x1400025a0
cmp rdx, 0x80
jae 0x1400024e0
cmp rdx, 0x40
jae 0x140002460
xor r10, r10
movdqa xmmword [rsp + 0x10], xmm12
movdqa xmmword [rsp + 0x20], xmm4
movdqa xmmword [rsp + 0x30], xmm0
jmp 0x140002699
movdqu xmm6, xmmword [rsi]
movdqu xmm11, xmmword [rsi + 0x10]
movdqu xmm2, xmmword [rsi + 0x20]
movdqu xmm7, xmmword [rsi + 0x30]
pxor xmm6, xmmword [rsp]
pxor xmm11, xmm12
pxor xmm2, xmm4
pxor xmm7, xmm0
movdqu xmmword [rdi], xmm6
movdqu xmmword [rdi + 0x10], xmm11
movdqu xmmword [rdi + 0x20], xmm2
movdqu xmmword [rdi + 0x30], xmm7
je 0x1400026b7
movdqa xmm6, xmmword [rsp + 0x10]
lea rsi, [rsi + 0x40]
xor r10, r10
movdqa xmmword [rsp], xmm6
movdqa xmmword [rsp + 0x10], xmm13
lea rdi, [rdi + 0x40]
movdqa xmmword [rsp + 0x20], xmm5
sub rdx, 0x40
movdqa xmmword [rsp + 0x30], xmm1
jmp 0x140002699
movdqu xmm6, xmmword [rsi]
movdqu xmm11, xmmword [rsi + 0x10]
movdqu xmm2, xmmword [rsi + 0x20]
movdqu xmm7, xmmword [rsi + 0x30]
pxor xmm6, xmmword [rsp]
pxor xmm11, xmm12
pxor xmm2, xmm4
pxor xmm7, xmm0
movdqu xmmword [rdi], xmm6
movdqu xmm6, xmmword [rsi + 0x40]
movdqu xmmword [rdi + 0x10], xmm11
movdqu xmm11, xmmword [rsi + 0x50]
movdqu xmmword [rdi + 0x20], xmm2
movdqu xmm2, xmmword [rsi + 0x60]
movdqu xmmword [rdi + 0x30], xmm7
movdqu xmm7, xmmword [rsi + 0x70]
pxor xmm6, xmmword [rsp + 0x10]
pxor xmm11, xmm13
pxor xmm2, xmm5
pxor xmm7, xmm1
movdqu xmmword [rdi + 0x40], xmm6
movdqu xmmword [rdi + 0x50], xmm11
movdqu xmmword [rdi + 0x60], xmm2
movdqu xmmword [rdi + 0x70], xmm7
je 0x1400026b7
movdqa xmm6, xmmword [rsp + 0x20]
lea rsi, [rsi + 0x80]
xor r10, r10
movdqa xmmword [rsp], xmm6
movdqa xmmword [rsp + 0x10], xmm10
lea rdi, [rdi + 0x80]
movdqa xmmword [rsp + 0x20], xmm14
sub rdx, 0x80
movdqa xmmword [rsp + 0x30], xmm8
jmp 0x140002699
movdqu xmm6, xmmword [rsi]
movdqu xmm11, xmmword [rsi + 0x10]
movdqu xmm2, xmmword [rsi + 0x20]
movdqu xmm7, xmmword [rsi + 0x30]
pxor xmm6, xmmword [rsp]
pxor xmm11, xmm12
pxor xmm2, xmm4
pxor xmm7, xmm0
movdqu xmmword [rdi], xmm6
movdqu xmm6, xmmword [rsi + 0x40]
movdqu xmmword [rdi + 0x10], xmm11
movdqu xmm11, xmmword [rsi + 0x50]
movdqu xmmword [rdi + 0x20], xmm2
movdqu xmm2, xmmword [rsi + 0x60]
movdqu xmmword [rdi + 0x30], xmm7
movdqu xmm7, xmmword [rsi + 0x70]
lea rsi, [rsi + 0x80]
pxor xmm6, xmmword [rsp + 0x10]
pxor xmm11, xmm13
pxor xmm2, xmm5
pxor xmm7, xmm1
movdqu xmmword [rdi + 0x40], xmm6
movdqu xmm6, xmmword [rsi]
movdqu xmmword [rdi + 0x50], xmm11
movdqu xmm11, xmmword [rsi + 0x10]
movdqu xmmword [rdi + 0x60], xmm2
movdqu xmm2, xmmword [rsi + 0x20]
movdqu xmmword [rdi + 0x70], xmm7
lea rdi, [rdi + 0x80]
movdqu xmm7, xmmword [rsi + 0x30]
pxor xmm6, xmmword [rsp + 0x20]
pxor xmm11, xmm10
pxor xmm2, xmm14
pxor xmm7, xmm8
movdqu xmmword [rdi], xmm6
movdqu xmmword [rdi + 0x10], xmm11
movdqu xmmword [rdi + 0x20], xmm2
movdqu xmmword [rdi + 0x30], xmm7
je 0x1400026b7
movdqa xmm6, xmmword [rsp + 0x30]
lea rsi, [rsi + 0x40]
xor r10, r10
movdqa xmmword [rsp], xmm6
movdqa xmmword [rsp + 0x10], xmm15
lea rdi, [rdi + 0x40]
movdqa xmmword [rsp + 0x20], xmm9
sub rdx, 0xc0
movdqa xmmword [rsp + 0x30], xmm3
movzx eax, byte [rsi + r10]
movzx ecx, byte [rsp + r10]
lea r10, [r10 + 1]
xor eax, ecx
mov byte [rdi + r10 - 1], al
dec rdx
jne 0x140002699
movaps xmm6, xmmword [r9 - 0xa8]
movaps xmm7, xmmword [r9 - 0x98]
movaps xmm8, xmmword [r9 - 0x88]
movaps xmm9, xmmword [r9 - 0x78]
movaps xmm10, xmmword [r9 - 0x68]
movaps xmm11, xmmword [r9 - 0x58]
movaps xmm12, xmmword [r9 - 0x48]
movaps xmm13, xmmword [r9 - 0x38]
movaps xmm14, xmmword [r9 - 0x28]
movaps xmm15, xmmword [r9 - 0x18]
lea rsp, [r9]
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
repz ret