Function at 0x1400e47f0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa4b8
lea rbp, [rsp + 0x80]
vmovups xmmword [rbp + 0xa420], xmm7
vmovups xmmword [rbp + 0xa410], xmm6
and rsp, 0xffffffffffffffc0
vmovups xmm6, xmmword [rcx]
vmovups xmm7, xmmword [rcx + 0x10]
mov rax, qword [rcx + 0x20]
mov qword [rsp + 0x50], rax
mov rax, qword [rcx + 0x28]
mov qword [rsp + 0x68], rax
mov rbx, qword [rcx + 0x30]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x78], rax
movsxd r14, dword [rcx + 0x40]
xor r13d, r13d
lea rcx, [rsp + 0x80]
mov r8d, 0x340
xor edx, edx
call fcn.1401bb600
test r14, r14
mov qword [rsp + 0x58], r14
jle 0x1400e5014
mov ecx, 0xffffffff
vxorps xmm0, xmm0, xmm0
xor edx, edx
xor r10d, r10d
xor r8d, r8d
jmp 0x1400e48d4
test r11d, r11d
mov ecx, dword [rsp + 0x4c]
mov edi, dword [rsp + 0x60]
jle 0x1400e49c0
movsxd rax, ecx
inc ecx
shl rax, 5
lea r9, [rsp + 0xc40]
mov word [rax + r9 + 0x30], r11w
vmovups xmmword [rax + r9 + 0x20], xmm1
mov word [rax + r9 + 0x32], di
xor r10d, r10d
inc rdx
cmp r8d, r14d
jge 0x1400e4a97
mov esi, r8d
mov rax, qword [rsp + 0x68]
movsx edi, word [rax + rdx*2]
mov r8d, edi
add r8d, esi
mov rax, qword [rsp + 0x78]
movzx eax, word [rax + rdx*2]
test eax, eax
je 0x1400e49c0
mov dword [rsp + 0x4c], ecx
mov dword [rsp + 0x60], edi
cmp di, 0x11
jge 0x1400e49e0
mov dword [rsp + 0x74], r8d
mov rcx, qword [rsp + 0x50]
mov r10, qword [rcx]
mov rdi, qword [rcx + 8]
mov r14, qword [rcx + 0x10]
movsxd r11, r13d
lea r15, [rsp + r11*2]
add r15, 0x3c0
shl r11, 4
lea r12, [rsp + r11]
add r12, 0x6100
vxorps xmm1, xmm1, xmm1
xor r11d, r11d
mov r8d, 1
nop dword [rax + rax]
xor r9d, r9d
tzcnt r9d, eax
lea ecx, [r9 + rsi]
movsxd rcx, ecx
vmovss xmm2, dword [r10 + rcx*4]
vinsertps xmm2, xmm2, dword [rdi + rcx*4], 0x1c
vinsertps xmm2, xmm2, dword [r14 + rcx*4], 0x28
movzx ecx, word [rbx + rcx*2]
mov word [r15 + r11*2], cx
vmulps xmm2, xmm6, xmm2
vmovups xmmword [r12], xmm2
shlx ecx, r8d, r9d
add r12, 0x10
inc r11
xor eax, ecx
vaddps xmm1, xmm1, xmm2
jne 0x1400e4950
add r13d, r11d
mov r14, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x4c]
mov r8d, dword [rsp + 0x74]
mov edi, dword [rsp + 0x60]
jmp 0x1400e48a1
movsxd rax, ecx
shl rax, 5
test r10d, r10d
je 0x1400e4a6d
add word [rsp + rax + 0xc52], di
jmp 0x1400e4a8c
mov rax, qword [rsp + 0x50]
mov r15, qword [rax]
mov r12, qword [rax + 8]
mov rax, qword [rax + 0x10]
movsxd rsi, esi
movsxd rdi, r8d
vxorps xmm2, xmm2, xmm2
xor r11d, r11d
vxorps xmm1, xmm1, xmm1
jmp 0x1400e4a1c
inc rsi
cmp rsi, rdi
jge 0x1400e4890
vmovss xmm3, dword [r15 + rsi*4]
vinsertps xmm3, xmm3, dword [r12 + rsi*4], 0x1c
vinsertps xmm3, xmm3, dword [rax + rsi*4], 0x28
vcmpneqps xmm4, xmm3, xmm2
vtestps xmm4, xmm4
je 0x1400e4a10
movzx ecx, word [rbx + rsi*2]
vmulps xmm3, xmm6, xmm3
movsxd r13, r13d
mov r9, r13
shl r9, 4
vmovups xmmword [rsp + r9 + 0x6100], xmm3
vaddps xmm1, xmm1, xmm3
mov word [rsp + r13*2 + 0x3c0], cx
inc r13d
inc r11d
jmp 0x1400e4a10
lea r9, [rsp + 0xc40]
vmovups xmmword [rax + r9 + 0x20], xmm0
inc ecx
mov word [rax + r9 + 0x30], 0
mov word [rax + r9 + 0x32], di
mov r10d, 1
jmp 0x1400e48c8
mov dword [rsp + 0x4c], ecx
vbroadcastss xmm0, dword [0x140225680]
vbroadcastss xmm1, dword [0x140221d94]
vfmadd213ps xmm0, xmm7, xmm1
vsubps xmm1, xmm1, xmm7
vxorps xmm2, xmm2, xmm2
xor eax, eax
xor r15d, r15d
xor r12d, r12d
jmp 0x1400e4adc
inc rax
cmp r12d, r14d
jge 0x1400e4daf
mov r10, rax
shl r10, 5
movsxd rdx, r12d
movsx r12, word [rsp + r10 + 0xc52]
add r12, rdx
movsx r8d, word [rsp + r10 + 0xc50]
mov rcx, rdx
shl rcx, 4
test r8d, r8d
je 0x1400e4b90
lea r9, [rsp + rcx]
add r9, 0x1d40
mov rcx, r9
mov r11, rdx
nop dword [rax]
movzx esi, byte [rbx + r11*2]
movzx edi, byte [rbx + r11*2 + 1]
shr esi, 2
shl rsi, 4
vsubps xmm3, xmm2, xmmword [rsp + rsi + 0x80]
shr edi, 2
shl rdi, 4
vsubps xmm3, xmm3, xmmword [rsp + rdi + 0x80]
vmulps xmm3, xmm1, xmm3
vmovups xmmword [rcx], xmm3
inc r11
add rcx, 0x10
cmp r11, r12
jl 0x1400e4b20
mov qword [rsp + 0x60], r15
movsxd r11, r15d
cmp r8d, 2
mov r15d, 1
cmovge r15d, r8d
cmp r8w, 2
mov qword [rsp + 0x68], r11
jge 0x1400e4bf0
xor ecx, ecx
jmp 0x1400e4cc3
add rcx, rsp
add rcx, 0x1d40
nop word [rax + rax]
movzx r8d, byte [rbx + rdx*2]
movzx r9d, byte [rbx + rdx*2 + 1]
shr r8d, 2
shl r8, 4
vsubps xmm3, xmm2, xmmword [rsp + r8 + 0x80]
shr r9d, 2
shl r9, 4
vsubps xmm3, xmm3, xmmword [rsp + r9 + 0x80]
vmulps xmm3, xmm0, xmm3
vmovups xmmword [rcx], xmm3
inc rdx
add rcx, 0x10
cmp rdx, r12
jl 0x1400e4ba0
jmp 0x1400e4ad0
mov esi, r15d
and esi, 0x7ffffffe
lea rcx, [rsp + 0x3c3]
lea rdi, [rcx + r11*2]
shl r11, 4
lea rcx, [rsp + 0x6110]
add r11, rcx
xor ecx, ecx
nop word cs:[rax + rax]
movzx r13d, byte [rdi + rcx*2 - 3]
movzx r14d, byte [rdi + rcx*2 - 2]
shr r13d, 2
shl r13, 4
vmovups xmm3, xmmword [r11 - 0x10]
vaddps xmm4, xmm3, xmmword [rsp + r13 + 0x80]
vmovups xmmword [rsp + r13 + 0x80], xmm4
shr r14d, 2
shl r14, 4
vaddps xmm3, xmm3, xmmword [rsp + r14 + 0x80]
vmovups xmmword [rsp + r14 + 0x80], xmm3
movzx r14d, byte [rdi + rcx*2 - 1]
movzx r13d, byte [rdi + rcx*2]
shr r14d, 2
shl r14, 4
vmovups xmm3, xmmword [r11]
vaddps xmm4, xmm3, xmmword [rsp + r14 + 0x80]
vmovups xmmword [rsp + r14 + 0x80], xmm4
shr r13d, 2
shl r13, 4
vaddps xmm3, xmm3, xmmword [rsp + r13 + 0x80]
vmovups xmmword [rsp + r13 + 0x80], xmm3
add rcx, 2
add r11, 0x20
cmp rsi, rcx
jne 0x1400e4c20
test r15b, 1
je 0x1400e4d29
mov rdi, qword [rsp + 0x68]
lea r11, [rsp + rdi*2]
add r11, 0x3c0
movzx esi, byte [r11 + rcx*2]
movzx r11d, byte [r11 + rcx*2 + 1]
add rcx, rdi
shr esi, 2
shl rsi, 4
shl rcx, 4
vmovups xmm3, xmmword [rsp + rcx + 0x6100]
vaddps xmm4, xmm3, xmmword [rsp + rsi + 0x80]
vmovups xmmword [rsp + rsi + 0x80], xmm4
shr r11d, 2
shl r11, 4
vaddps xmm3, xmm3, xmmword [rsp + r11 + 0x80]
vmovups xmmword [rsp + r11 + 0x80], xmm3
vaddps xmm2, xmm2, xmmword [rsp + r10 + 0xc40]
mov r11, qword [rsp + 0x50]
mov rcx, qword [r11]
mov r10, qword [r11 + 8]
mov r11, qword [r11 + 0x10]
mov r14, qword [rsp + 0x58]
mov r15, qword [rsp + 0x60]
nop dword [rax]
movzx esi, byte [rbx + rdx*2]
vmovss xmm3, dword [rcx + rdx*4]
vinsertps xmm3, xmm3, dword [r10 + rdx*4], 0x1c
movzx edi, byte [rbx + rdx*2 + 1]
vinsertps xmm3, xmm3, dword [r11 + rdx*4], 0x28
shr edi, 2
shr esi, 2
shl rsi, 4
vsubps xmm4, xmm2, xmmword [rsp + rsi + 0x80]
shl rdi, 4
vsubps xmm4, xmm4, xmmword [rsp + rdi + 0x80]
vfmadd231ps xmm4, xmm6, xmm3
vfnmadd213ps xmm4, xmm7, xmmword [r9]
vmovups xmmword [r9], xmm4
inc rdx
add r9, 0x10
cmp rdx, r12
jl 0x1400e4d50
add r15d, r8d
jmp 0x1400e4ad0
lea rcx, [rsp + 0x80]
mov r8d, 0x340
xor edx, edx
call fcn.1401bb600
mov eax, dword [rsp + 0x4c]
test eax, eax
js 0x1400e5014
mov eax, eax
vxorps xmm0, xmm0, xmm0
jmp 0x1400e4dfc
vaddps xmm0, xmm0, xmmword [rsp + rcx + 0xc40]
mov r15d, edx
lea rcx, [rax - 1]
test rax, rax
mov rax, rcx
jle 0x1400e5014
mov rcx, rax
shl rcx, 5
movsx r8d, word [rsp + rcx + 0xc52]
movsxd rdx, r12d
sub r12d, r8d
movsxd r8, r12d
mov r9, r8
shl r9, 4
add r9, rsp
add r9, 0x1d40
nop word cs:[rax + rax]
movzx r10d, byte [rbx + r8*2]
movzx r11d, byte [rbx + r8*2 + 1]
shr r10d, 2
shl r10, 4
vsubps xmm1, xmm0, xmmword [rsp + r10 + 0x80]
shr r11d, 2
shl r11, 4
vsubps xmm1, xmm1, xmmword [rsp + r11 + 0x80]
vmovups xmm2, xmmword [r9]
vsubps xmm1, xmm2, xmm1
vmovups xmmword [r9], xmm1
inc r8
add r9, 0x10
cmp r8, rdx
jl 0x1400e4e30
movzx r8d, word [rsp + rcx + 0xc50]
test r8w, r8w
jle 0x1400e4dec
mov edx, r15d
sub edx, r8d
cmp r8d, 1
jne 0x1400e4eb0
xor r10d, r10d
xor r9d, r9d
test r8b, 1
je 0x1400e4de0
jmp 0x1400e4faa
mov r9d, r8d
and r9d, 0xfffffffe
movsxd r11, r15d
add r11, r11
sub r11, r8
sub r11, r8
lea r10, [rsp + 0x3c3]
add r11, r10
mov r10d, r8d
neg r10d
lea esi, [r15 + r10]
inc esi
mov r14d, edx
xor r10d, r10d
movzx edi, byte [r11 + r10*2 - 3]
movzx r15d, byte [r11 + r10*2 - 2]
lea r13d, [r14 + r10]
movsxd r13, r13d
shr edi, 2
shl rdi, 4
shl r13, 4
vmovups xmm1, xmmword [rsp + r13 + 0x6100]
vaddps xmm2, xmm1, xmmword [rsp + rdi + 0x80]
vmovups xmmword [rsp + rdi + 0x80], xmm2
shr r15d, 2
shl r15, 4
vaddps xmm1, xmm1, xmmword [rsp + r15 + 0x80]
vmovups xmmword [rsp + r15 + 0x80], xmm1
movzx edi, byte [r11 + r10*2 - 1]
movzx r15d, byte [r11 + r10*2]
lea r13d, [rsi + r10]
movsxd r13, r13d
shr edi, 2
shl rdi, 4
shl r13, 4
vmovups xmm1, xmmword [rsp + r13 + 0x6100]
vaddps xmm2, xmm1, xmmword [rsp + rdi + 0x80]
vmovups xmmword [rsp + rdi + 0x80], xmm2
shr r15d, 2
shl r15, 4
vaddps xmm1, xmm1, xmmword [rsp + r15 + 0x80]
vmovups xmmword [rsp + r15 + 0x80], xmm1
add r10, 2
cmp r9, r10
jne 0x1400e4ee0
mov r9d, r10d
mov r14, qword [rsp + 0x58]
test r8b, 1
je 0x1400e4de0
movsxd r8, edx
lea r8, [rsp + r8*2]
add r8, 0x3c0
movzx r11d, byte [r8 + r10*2]
movzx r8d, byte [r8 + r10*2 + 1]
add r9d, edx
movsxd r9, r9d
shr r11d, 2
shl r11, 4
shl r9, 4
vmovups xmm1, xmmword [rsp + r9 + 0x6100]
vaddps xmm2, xmm1, xmmword [rsp + r11 + 0x80]
vmovups xmmword [rsp + r11 + 0x80], xmm2
shr r8d, 2
shl r8, 4
vaddps xmm1, xmm1, xmmword [rsp + r8 + 0x80]
vmovups xmmword [rsp + r8 + 0x80], xmm1
jmp 0x1400e4de0
lea eax, [r14 + 3]
test r14d, r14d
cmovns eax, r14d
sar eax, 2
cmp r14d, 4
jl 0x1400e517c
mov rcx, qword [rsp + 0x50]
mov r8, qword [rcx]
mov rdx, qword [rcx + 8]
mov rcx, qword [rcx + 0x10]
mov r11d, eax
mov r9d, r14d
and r9d, 0xfffffffc
lea r10, [rsp + 0x1d40]
cmp r9d, 4
jne 0x1400e505c
xor r9d, r9d
jmp 0x1400e5123
mov esi, r11d
and esi, 0xfffffffe
mov edi, 4
xor r9d, r9d
vmovddup xmm0, qword [0x140225688]
nop word cs:[rax + rax]
vmovups xmm1, xmmword [r10]
vmovups xmm2, xmmword [r10 + 0x10]
vmovlhps xmm3, xmm1, xmm2
vmovups xmm4, xmmword [r10 + 0x20]
vunpcklpd xmm4, xmm4, xmmword [r10 + 0x30]
vshufps xmm5, xmm3, xmm4, 0x88
vpermps ymm6, ymm0, ymmword [r10 + 0x20]
vmovups xmmword [r8 + rdi*4 - 0x10], xmm5
vshufps xmm3, xmm3, xmm4, 0xdd
vmovups xmmword [rdx + rdi*4 - 0x10], xmm3
vunpckhps xmm1, xmm1, xmm2
vblendps xmm1, xmm6, xmm1, 3
vmovups xmmword [rcx + rdi*4 - 0x10], xmm1
vmovups xmm1, xmmword [r10 + 0x40]
vmovups xmm2, xmmword [r10 + 0x50]
vmovlhps xmm3, xmm1, xmm2
vmovups xmm4, xmmword [r10 + 0x60]
vunpcklpd xmm4, xmm4, xmmword [r10 + 0x70]
vshufps xmm5, xmm3, xmm4, 0x88
vpermps ymm6, ymm0, ymmword [r10 + 0x60]
vmovups xmmword [r8 + rdi*4], xmm5
vshufps xmm3, xmm3, xmm4, 0xdd
vmovups xmmword [rdx + rdi*4], xmm3
vunpckhps xmm1, xmm1, xmm2
vblendps xmm1, xmm6, xmm1, 3
vmovups xmmword [rcx + rdi*4], xmm1
add r9, 2
sub r10, 0xffffffffffffff80
add rdi, 8
cmp rsi, r9
jne 0x1400e5080
test r11b, 1
je 0x1400e517c
vmovups xmm0, xmmword [r10]
vmovups xmm1, xmmword [r10 + 0x10]
vmovups xmm2, xmmword [r10 + 0x20]
vunpcklpd xmm2, xmm2, xmmword [r10 + 0x30]
vmovlhps xmm3, xmm0, xmm1
vshufps xmm4, xmm3, xmm2, 0x88
shl r9, 4
vmovddup xmm5, qword [0x140225688]
vpermps ymm5, ymm5, ymmword [r10 + 0x20]
vmovups xmmword [r8 + r9], xmm4
vshufps xmm2, xmm3, xmm2, 0xdd
vmovups xmmword [rdx + r9], xmm2
vunpckhps xmm0, xmm0, xmm1
vblendps xmm0, xmm5, xmm0, 3
vmovups xmmword [rcx + r9], xmm0
shl eax, 2
cmp eax, r14d
jge 0x1400e536c
mov rcx, qword [rsp + 0x50]
mov r8, qword [rcx]
mov rdx, qword [rcx + 8]
mov rcx, qword [rcx + 0x10]
movsxd r9, eax
mov rax, r14
sub rax, r9
cmp rax, 4
jb 0x1400e5291
mov r10, rax
shr r10, 2
lea r11, [rcx + r9*4]
lea rsi, [rdx + r9*4]
lea rdi, [r8 + r9*4]
mov rbx, r9
shl rbx, 4
add rbx, rsp
add rbx, 0x1d40
mov r14d, listen
nop word cs:[rax + rax]
vmovss xmm0, dword [rbx + r14*4 - 0x30]
vmovss dword [rdi + r14 - 0xc], xmm0
vmovss xmm0, dword [rbx + r14*4 - 0x2c]
vmovss dword [rsi + r14 - 0xc], xmm0
vmovss xmm0, dword [rbx + r14*4 - 0x28]
vmovss dword [r11 + r14 - 0xc], xmm0
vmovss xmm0, dword [rbx + r14*4 - 0x20]
vmovss dword [rdi + r14 - 8], xmm0
vmovss xmm0, dword [rbx + r14*4 - 0x1c]
vmovss dword [rsi + r14 - 8], xmm0
vmovss xmm0, dword [rbx + r14*4 - 0x18]
vmovss dword [r11 + r14 - 8], xmm0
vmovss xmm0, dword [rbx + r14*4 - 0x10]
vmovss dword [rdi + r14 - 4], xmm0
vmovss xmm0, dword [rbx + r14*4 - 0xc]
vmovss dword [rsi + r14 - 4], xmm0
vmovss xmm0, dword [rbx + r14*4 - 8]
vmovss dword [r11 + r14 - 4], xmm0
vmovss xmm0, dword [rbx + r14*4]
vmovss dword [rdi + r14], xmm0
vmovss xmm0, dword [rbx + r14*4 + 4]
vmovss dword [rsi + r14], xmm0
vmovss xmm0, dword [rbx + r14*4 + 8]
vmovss dword [r11 + r14], xmm0
add r14, 0x10
dec r10
jne 0x1400e51e0
and rax, 0xfffffffffffffffc
mov r10, qword [rsp + 0x58]
and r10d, 3
cmp r10, 1
je 0x1400e52b9
cmp r10d, 3
je 0x1400e52be
cmp r10d, 2
jne 0x1400e536c
add rax, r9
jmp 0x1400e52fe
add rax, r9
jmp 0x1400e5337
lea r10, [rax + r9]
add r10, 2
add rax, r9
shl r10, 4
vmovss xmm0, dword [rsp + r10 + 0x1d40]
vmovss dword [r8 + rax*4 + 8], xmm0
vmovss xmm0, dword [rsp + r10 + 0x1d44]
vmovss dword [rdx + rax*4 + 8], xmm0
vmovss xmm0, dword [rsp + r10 + 0x1d48]
vmovss dword [rcx + rax*4 + 8], xmm0
lea r9, [rax + 1]
shl r9, 4
vmovss xmm0, dword [rsp + r9 + 0x1d40]
vmovss dword [r8 + rax*4 + 4], xmm0
vmovss xmm0, dword [rsp + r9 + 0x1d44]
vmovss dword [rdx + rax*4 + 4], xmm0
vmovss xmm0, dword [rsp + r9 + 0x1d48]
vmovss dword [rcx + rax*4 + 4], xmm0
mov r9, rax
shl r9, 4
vmovss xmm0, dword [rsp + r9 + 0x1d40]
vmovss dword [r8 + rax*4], xmm0
vmovss xmm0, dword [rsp + r9 + 0x1d44]
vmovss dword [rdx + rax*4], xmm0
vmovss xmm0, dword [rsp + r9 + 0x1d48]
vmovss dword [rcx + rax*4], xmm0
vmovups xmm6, xmmword [rbp + 0xa410]
vmovups xmm7, xmmword [rbp + 0xa420]
lea rsp, [rbp + 0xa438]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
vzeroupper
ret