Function at 0x1400e3650
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x56f8
lea rbp, [rsp + 0x80]
vmovups xmmword [rbp + 0x5660], xmm6
and rsp, 0xffffffffffffffc0
vmovups xmm0, xmmword [rcx]
vmovddup xmm1, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x20], rax
mov r15, qword [rcx + 0x18]
mov r8, qword [rcx + 0x20]
mov rax, qword [rcx + 0x28]
mov qword [rsp + 0x38], rax
vxorps xmm2, xmm2, xmm2
vmovups ymmword [rsp + 0x1c0], ymm2
vmovups ymmword [rsp + 0x1a0], ymm2
vmovups ymmword [rsp + 0x180], ymm2
vmovups ymmword [rsp + 0x160], ymm2
vmovups ymmword [rsp + 0x140], ymm2
vmovups ymmword [rsp + 0x120], ymm2
vmovups ymmword [rsp + 0x100], ymm2
vmovups ymmword [rsp + 0xe0], ymm2
vmovups ymmword [rsp + 0xc0], ymm2
vmovups ymmword [rsp + 0xa0], ymm2
vmovups ymmword [rsp + 0x80], ymm2
vmovups ymmword [rsp + 0x60], ymm2
mov esi, dword [rcx + 0x30]
vmovups ymmword [rsp + 0x40], ymm2
test esi, esi
jle 0x1400e3f5e
mov ecx, 0xffffffff
xor r11d, r11d
vxorps xmm2, xmm2, xmm2
mov edi, 1
vxorps xmm3, xmm3, xmm3
xor ebx, ebx
xor r12d, r12d
xor r14d, r14d
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r15
jmp 0x1400e3794
test r13d, r13d
mov ecx, dword [rsp + 0x14]
mov r10d, dword [rsp + 0x18]
jle 0x1400e3860
movsxd rax, ecx
inc ecx
shl rax, 4
lea rdx, [rsp + 0x200]
mov word [rax + rdx + 0x18], r13w
vmovlps qword [rax + rdx + 0x10], xmm4
mov word [rax + rdx + 0x1a], r10w
xor r12d, r12d
inc r11
cmp r14d, esi
jge 0x1400e3922
mov r9d, r14d
movsx r10d, word [r15 + r11*2]
mov r14d, r10d
add r14d, r9d
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + r11*2]
test eax, eax
je 0x1400e3860
mov dword [rsp + 0x14], ecx
mov dword [rsp + 0x18], r10d
cmp r10w, 0x11
jge 0x1400e3880
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rcx]
mov r10, qword [rcx + 8]
movsxd rsi, ebx
lea r12, [rsp + rsi*8]
add r12, 0x3500
lea rsi, [rsp + rsi*2]
add rsi, 0xa80
vxorps xmm4, xmm4, xmm4
xor r13d, r13d
nop word cs:[rax + rax]
xor ecx, ecx
tzcnt ecx, eax
lea r15d, [rcx + r9]
movsxd r15, r15d
vmovss xmm5, dword [rdx + r15*4]
vinsertps xmm5, xmm5, dword [r10 + r15*4], 0x10
movzx r15d, word [r8 + r15*2]
mov word [rsi + r13*2], r15w
vmulps xmm5, xmm5, xmm0
vmovlps qword [r12 + r13*8], xmm5
shlx ecx, edi, ecx
inc r13
xor eax, ecx
vaddps xmm4, xmm5, xmm4
jne 0x1400e3800
add ebx, r13d
mov rsi, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x14]
mov r15, qword [rsp + 0x30]
mov r10d, dword [rsp + 0x18]
jmp 0x1400e3762
movsxd rax, ecx
test r12d, r12d
je 0x1400e38f6
shl rax, 4
add word [rsp + rax + 0x20a], r10w
jmp 0x1400e3917
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx]
mov rdx, qword [rcx + 8]
movsxd r9, r9d
movsxd r10, r14d
vxorps xmm4, xmm4, xmm4
xor r13d, r13d
jmp 0x1400e38d8
movzx ecx, word [r8 + r9*2]
vinsertps xmm5, xmm6, xmm5, 0x10
vmulps xmm5, xmm5, xmm0
movsxd rbx, ebx
vmovlps qword [rsp + rbx*8 + 0x3500], xmm5
vaddps xmm4, xmm5, xmm4
mov word [rsp + rbx*2 + 0xa80], cx
inc ebx
inc r13d
inc r9
cmp r9, r10
jge 0x1400e3750
vmovss xmm5, dword [rdx + r9*4]
vmovss xmm6, dword [rax + r9*4]
vucomiss xmm6, xmm3
jne 0x1400e38a0
jp 0x1400e38a0
vucomiss xmm5, xmm3
jne 0x1400e38a0
jnp 0x1400e38cc
jmp 0x1400e38a0
inc ecx
shl rax, 4
lea rdx, [rsp + 0x200]
mov word [rax + rdx + 0x18], 0
vmovlps qword [rax + rdx + 0x10], xmm2
mov word [rax + rdx + 0x1a], r10w
mov r12d, 1
jmp 0x1400e3788
mov dword [rsp + 0x14], ecx
vbroadcastss xmm2, dword [0x140225680]
vbroadcastss xmm3, dword [0x140221d94]
vfmadd213ps xmm2, xmm1, xmm3
vsubps xmm3, xmm3, xmm1
vxorps xmm4, xmm4, xmm4
xor esi, esi
xor r12d, r12d
xor r10d, r10d
jmp 0x1400e395e
inc rsi
cmp r10d, dword [rsp + 0x28]
jge 0x1400e3bb4
mov r15, rsi
shl r15, 4
movsxd rbx, r10d
movsx r10, word [rsp + r15 + 0x20a]
add r10, rbx
movsx r14d, word [rsp + r15 + 0x208]
test r14d, r14d
je 0x1400e39f0
mov rax, rbx
nop word cs:[rax + rax]
movzx ecx, byte [r8 + rax*2]
movzx edx, byte [r8 + rax*2 + 1]
shr ecx, 2
shr edx, 2
vmovsd xmm5, qword [rsp + rcx*8 + 0x40]
vmovsd xmm6, qword [rsp + rdx*8 + 0x40]
vmulps xmm6, xmm3, xmm6
vsubps xmm5, xmm4, xmm5
vfmsub213ps xmm5, xmm3, xmm6
vmovlps qword [rsp + rax*8 + 0x1300], xmm5
inc rax
cmp rax, r10
jl 0x1400e3990
mov qword [rsp + 0x18], r12
movsxd r12, r12d
cmp r14d, 2
mov r13d, 1
cmovge r13d, r14d
cmp r14w, 2
jge 0x1400e3a30
xor eax, eax
jmp 0x1400e3add
movzx eax, byte [r8 + rbx*2]
movzx ecx, byte [r8 + rbx*2 + 1]
shr eax, 2
shr ecx, 2
vmovsd xmm5, qword [rsp + rax*8 + 0x40]
vmovsd xmm6, qword [rsp + rcx*8 + 0x40]
vmulps xmm6, xmm2, xmm6
vsubps xmm5, xmm4, xmm5
vfmsub213ps xmm5, xmm2, xmm6
vmovlps qword [rsp + rbx*8 + 0x1300], xmm5
inc rbx
cmp rbx, r10
jl 0x1400e39f0
jmp 0x1400e3950
mov edx, r13d
and edx, 0x7ffffffe
lea rax, [rsp + 0xa83]
lea r9, [rax + r12*2]
lea rax, [rsp + 0x3508]
lea rdi, [rax + r12*8]
xor eax, eax
nop word cs:[rax + rax]
movzx ecx, byte [r9 + rax*2 - 3]
movzx r11d, byte [r9 + rax*2 - 2]
shr ecx, 2
shr r11d, 2
vmovsd xmm5, qword [rdi + rax*8 - 8]
vmovsd xmm6, qword [rsp + rcx*8 + 0x40]
vaddps xmm6, xmm6, xmm5
vmovlps qword [rsp + rcx*8 + 0x40], xmm6
vmovsd xmm6, qword [rsp + r11*8 + 0x40]
vaddps xmm5, xmm6, xmm5
vmovlps qword [rsp + r11*8 + 0x40], xmm5
movzx ecx, byte [r9 + rax*2 - 1]
movzx r11d, byte [r9 + rax*2]
shr ecx, 2
shr r11d, 2
vmovsd xmm5, qword [rdi + rax*8]
vmovsd xmm6, qword [rsp + rcx*8 + 0x40]
vaddps xmm6, xmm6, xmm5
vmovlps qword [rsp + rcx*8 + 0x40], xmm6
vmovsd xmm6, qword [rsp + r11*8 + 0x40]
vaddps xmm5, xmm6, xmm5
vmovlps qword [rsp + r11*8 + 0x40], xmm5
add rax, 2
cmp rdx, rax
jne 0x1400e3a60
test r13b, 1
je 0x1400e3b29
lea rcx, [rsp + r12*2]
add rcx, 0xa80
movzx edx, byte [rcx + rax*2]
movzx ecx, byte [rcx + rax*2 + 1]
add rax, r12
shr edx, 2
shr ecx, 2
vmovsd xmm5, qword [rsp + rax*8 + 0x3500]
vmovsd xmm6, qword [rsp + rdx*8 + 0x40]
vaddps xmm6, xmm6, xmm5
vmovlps qword [rsp + rdx*8 + 0x40], xmm6
vmovsd xmm6, qword [rsp + rcx*8 + 0x40]
vaddps xmm5, xmm6, xmm5
vmovlps qword [rsp + rcx*8 + 0x40], xmm5
vmovsd xmm5, qword [rsp + r15 + 0x200]
vaddps xmm4, xmm5, xmm4
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx]
mov rdx, qword [rcx + 8]
nop word cs:[rax + rax]
movzx ecx, byte [r8 + rbx*2]
movzx r9d, byte [r8 + rbx*2 + 1]
shr ecx, 2
shr r9d, 2
vmovsd xmm5, qword [rsp + rcx*8 + 0x40]
vmovsd xmm6, qword [rsp + r9*8 + 0x40]
vaddps xmm5, xmm5, xmm6
vmovss xmm6, dword [rax + rbx*4]
vinsertps xmm6, xmm6, dword [rdx + rbx*4], 0x10
vfmadd213ps xmm6, xmm0, xmm4
vsubps xmm5, xmm5, xmm6
vmovsd xmm6, qword [rsp + rbx*8 + 0x1300]
vfmadd231ps xmm6, xmm1, xmm5
vmovlps qword [rsp + rbx*8 + 0x1300], xmm6
inc rbx
cmp rbx, r10
jl 0x1400e3b50
mov r12, qword [rsp + 0x18]
add r12d, r14d
jmp 0x1400e3950
vxorps xmm0, xmm0, xmm0
vmovups ymmword [rsp + 0x1c0], ymm0
vmovups ymmword [rsp + 0x1a0], ymm0
vmovups ymmword [rsp + 0x180], ymm0
vmovups ymmword [rsp + 0x160], ymm0
vmovups ymmword [rsp + 0x140], ymm0
vmovups ymmword [rsp + 0x120], ymm0
vmovups ymmword [rsp + 0x100], ymm0
vmovups ymmword [rsp + 0xe0], ymm0
vmovups ymmword [rsp + 0xc0], ymm0
vmovups ymmword [rsp + 0xa0], ymm0
vmovups ymmword [rsp + 0x80], ymm0
vmovups ymmword [rsp + 0x60], ymm0
vmovups ymmword [rsp + 0x40], ymm0
mov eax, dword [rsp + 0x14]
test eax, eax
js 0x1400e3e2e
mov ecx, eax
vxorps xmm0, xmm0, xmm0
jmp 0x1400e3c60
vmovsd xmm1, qword [rsp + rsi + 0x200]
vaddps xmm0, xmm1, xmm0
mov r12d, edi
lea rax, [rcx - 1]
test rcx, rcx
mov rcx, rax
jle 0x1400e3e2e
mov rsi, rcx
shl rsi, 4
movsx edx, word [rsp + rsi + 0x20a]
movsxd rax, r10d
sub r10d, edx
movsxd rdx, r10d
nop dword [rax + rax]
movzx r9d, byte [r8 + rdx*2]
movzx r11d, byte [r8 + rdx*2 + 1]
shr r9d, 2
shr r11d, 2
vmovsd xmm1, qword [rsp + r9*8 + 0x40]
vmovsd xmm2, qword [rsp + r11*8 + 0x40]
vmovsd xmm3, qword [rsp + rdx*8 + 0x1300]
vaddps xmm2, xmm2, xmm3
vsubps xmm1, xmm1, xmm0
vaddps xmm1, xmm1, xmm2
vmovlps qword [rsp + rdx*8 + 0x1300], xmm1
inc rdx
cmp rdx, rax
jl 0x1400e3c80
movzx ebx, word [rsp + rsi + 0x208]
test bx, bx
jle 0x1400e3c50
mov edi, r12d
sub edi, ebx
cmp ebx, 1
jne 0x1400e3d00
xor r11d, r11d
xor eax, eax
test bl, 1
je 0x1400e3c40
jmp 0x1400e3dda
mov r14d, ebx
and r14d, 0xfffffffe
movsxd r15, r12d
add r15, r15
sub r15, rbx
sub r15, rbx
lea rax, [rsp + 0xa83]
add r15, rax
mov eax, ebx
neg eax
add eax, r12d
inc eax
mov edx, edi
xor r11d, r11d
nop dword [rax]
movzx r9d, byte [r15 + r11*2 - 3]
movzx r12d, byte [r15 + r11*2 - 2]
lea r13d, [rdx + r11]
movsxd r13, r13d
shr r9d, 2
shr r12d, 2
vmovsd xmm1, qword [rsp + r13*8 + 0x3500]
vmovsd xmm2, qword [rsp + r9*8 + 0x40]
vaddps xmm2, xmm2, xmm1
vmovlps qword [rsp + r9*8 + 0x40], xmm2
vmovsd xmm2, qword [rsp + r12*8 + 0x40]
vaddps xmm1, xmm2, xmm1
vmovlps qword [rsp + r12*8 + 0x40], xmm1
movzx r9d, byte [r15 + r11*2 - 1]
movzx r12d, byte [r15 + r11*2]
lea r13d, [rax + r11]
movsxd r13, r13d
shr r9d, 2
shr r12d, 2
vmovsd xmm1, qword [rsp + r13*8 + 0x3500]
vmovsd xmm2, qword [rsp + r9*8 + 0x40]
vaddps xmm2, xmm2, xmm1
vmovlps qword [rsp + r9*8 + 0x40], xmm2
vmovsd xmm2, qword [rsp + r12*8 + 0x40]
vaddps xmm1, xmm2, xmm1
vmovlps qword [rsp + r12*8 + 0x40], xmm1
add r11, 2
cmp r14, r11
jne 0x1400e3d30
mov eax, r11d
test bl, 1
je 0x1400e3c40
movsxd rdx, edi
lea rdx, [rsp + rdx*2]
add rdx, 0xa80
movzx r9d, byte [rdx + r11*2]
movzx edx, byte [rdx + r11*2 + 1]
add eax, edi
cdqe
shr r9d, 2
shr edx, 2
vmovsd xmm1, qword [rsp + rax*8 + 0x3500]
vmovsd xmm2, qword [rsp + r9*8 + 0x40]
vaddps xmm2, xmm2, xmm1
vmovlps qword [rsp + r9*8 + 0x40], xmm2
vmovsd xmm2, qword [rsp + rdx*8 + 0x40]
vaddps xmm1, xmm2, xmm1
vmovlps qword [rsp + rdx*8 + 0x40], xmm1
jmp 0x1400e3c40
mov rax, qword [rsp + 0x20]
mov r8, qword [rax]
mov rcx, qword [rax + 8]
mov r9, qword [rsp + 0x28]
cmp r9d, 4
jb 0x1400e3ee7
mov eax, r9d
shr eax, 2
shl rax, 4
xor edx, edx
nop word cs:[rax + rax]
vmovss xmm0, dword [rsp + rdx*2 + 0x1300]
vmovss dword [r8 + rdx], xmm0
vmovss xmm0, dword [rsp + rdx*2 + 0x1304]
vmovss dword [rcx + rdx], xmm0
vmovss xmm0, dword [rsp + rdx*2 + 0x1308]
vmovss dword [r8 + rdx + 4], xmm0
vmovss xmm0, dword [rsp + rdx*2 + 0x130c]
vmovss dword [rcx + rdx + 4], xmm0
vmovss xmm0, dword [rsp + rdx*2 + 0x1310]
vmovss dword [r8 + rdx + 8], xmm0
vmovss xmm0, dword [rsp + rdx*2 + 0x1314]
vmovss dword [rcx + rdx + 8], xmm0
vmovss xmm0, dword [rsp + rdx*2 + 0x1318]
vmovss dword [r8 + rdx + 0xc], xmm0
vmovss xmm0, dword [rsp + rdx*2 + 0x131c]
vmovss dword [rcx + rdx + 0xc], xmm0
add rdx, 0x10
cmp rax, rdx
jne 0x1400e3e60
mov eax, r9d
and eax, 0xfffffffc
and r9d, 3
cmp r9, 1
je 0x1400e3f41
cmp r9d, 2
je 0x1400e3f22
cmp r9d, 3
jne 0x1400e3f5e
vmovss xmm0, dword [rsp + rax*8 + 0x1310]
vmovss dword [r8 + rax*4 + 8], xmm0
vmovss xmm0, dword [rsp + rax*8 + 0x1314]
vmovss dword [rcx + rax*4 + 8], xmm0
vmovss xmm0, dword [rsp + rax*8 + 0x1308]
vmovss dword [r8 + rax*4 + 4], xmm0
vmovss xmm0, dword [rsp + rax*8 + 0x130c]
vmovss dword [rcx + rax*4 + 4], xmm0
vmovss xmm0, dword [rsp + rax*8 + 0x1300]
vmovss dword [r8 + rax*4], xmm0
vmovss xmm0, dword [rsp + rax*8 + 0x1304]
vmovss dword [rcx + rax*4], xmm0
vmovups xmm6, xmmword [rbp + 0x5660]
lea rsp, [rbp + 0x5678]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
vzeroupper
ret