Function at 0x1400e2740
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x3078
lea rbp, [rsp + 0x80]
vmovups xmmword [rbp + 0x2fe0], xmm6
and rsp, 0xffffffffffffffc0
vmovss xmm0, dword [rcx]
vmovss xmm1, dword [rcx + 4]
mov rax, qword [rcx + 8]
mov qword [rsp + 0x40], rax
mov r15, qword [rcx + 0x10]
mov rdx, qword [rcx + 0x18]
mov rax, qword [rcx + 0x20]
mov qword [rsp + 0x78], rax
vxorps xmm2, xmm2, xmm2
vmovups ymmword [rsp + 0x130], 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
movsxd r8, dword [rcx + 0x28]
vmovups ymmword [rsp + 0x80], ymm2
test r8, r8
jle 0x1400e2fef
lea rax, [rdx + 6]
mov qword [rsp + 0x60], rax
mov r10d, 0xffffffff
xor esi, esi
mov edi, 1
vxorps xmm2, xmm2, xmm2
xor ebx, ebx
xor r9d, r9d
xor r14d, r14d
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x48], r15
jmp 0x1400e2843
movsxd rax, r10d
inc r10d
mov word [rsp + rax*8 + 0x18c], r13w
vmovss dword [rsp + rax*8 + 0x188], xmm3
mov word [rsp + rax*8 + 0x18e], r12w
xor r9d, r9d
add r14d, r12d
inc rsi
cmp r14d, r8d
jge 0x1400e2b18
movsx r12d, word [r15 + rsi*2]
mov rax, qword [rsp + 0x78]
movzx eax, word [rax + rsi*2]
test eax, eax
je 0x1400e2ad9
mov dword [rsp + 0x3c], r10d
cmp r12w, 0x11
jge 0x1400e28f0
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
movsxd r9, ebx
lea r15, [rsp + r9*4]
add r15, 0xe40
lea r9, [rsp + r9*2]
add r9, 0x5c0
vxorps xmm3, xmm3, xmm3
xor r13d, r13d
nop word cs:[rax + rax]
xor r10d, r10d
tzcnt r10d, eax
lea r11d, [r10 + r14]
movsxd r11, r11d
vmulss xmm4, xmm0, dword [rcx + r11*4]
movzx r11d, word [rdx + r11*2]
vaddss xmm3, xmm4, xmm3
vmovss dword [r15 + r13*4], xmm4
mov word [r9 + r13*2], r11w
shlx r10d, edi, r10d
inc r13
xor eax, r10d
jne 0x1400e28a0
add ebx, r13d
mov r10d, dword [rsp + 0x3c]
mov r15, qword [rsp + 0x48]
jmp 0x1400e2810
mov dword [rsp + 0x58], r9d
mov dword [rsp + 0x5c], r12d
movsxd r11, r12d
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
movsxd r10, r14d
lea rcx, [r10 + r11]
mov qword [rsp + 0x68], rcx
lea r9, [r10 + 1]
mov r8, r11
shr r8, 2
mov rcx, qword [rsp + 0x60]
lea r12, [rcx + r10*2]
mov qword [rsp + 0x70], r10
lea rcx, [rax + r10*4]
add rcx, 0xc
vxorps xmm4, xmm4, xmm4
xor r13d, r13d
xor r10d, r10d
vxorps xmm3, xmm3, xmm3
jmp 0x1400e2960
inc r10
add rcx, 0x10
cmp r8, r10
je 0x1400e2a40
vmovss xmm5, dword [rcx - 0xc]
vucomiss xmm4, xmm5
je 0x1400e2993
movzx r15d, word [r12 + r10*8 - 6]
vmulss xmm5, xmm5, xmm0
movsxd rbx, ebx
vmovss dword [rsp + rbx*4 + 0xe40], xmm5
vaddss xmm3, xmm5, xmm3
mov word [rsp + rbx*2 + 0x5c0], r15w
inc ebx
inc r13d
vmovss xmm5, dword [rcx - 8]
vucomiss xmm4, xmm5
je 0x1400e29c6
movzx r15d, word [r12 + r10*8 - 4]
vmulss xmm5, xmm5, xmm0
movsxd rbx, ebx
vmovss dword [rsp + rbx*4 + 0xe40], xmm5
vaddss xmm3, xmm5, xmm3
mov word [rsp + rbx*2 + 0x5c0], r15w
inc ebx
inc r13d
vmovss xmm5, dword [rcx - 4]
vucomiss xmm4, xmm5
je 0x1400e29f9
movzx r15d, word [r12 + r10*8 - 2]
vmulss xmm5, xmm5, xmm0
movsxd rbx, ebx
vmovss dword [rsp + rbx*4 + 0xe40], xmm5
vaddss xmm3, xmm5, xmm3
mov word [rsp + rbx*2 + 0x5c0], r15w
inc ebx
inc r13d
vmovss xmm5, dword [rcx]
vucomiss xmm4, xmm5
je 0x1400e2950
movzx r15d, word [r12 + r10*8]
vmulss xmm5, xmm5, xmm0
movsxd rbx, ebx
vmovss dword [rsp + rbx*4 + 0xe40], xmm5
vaddss xmm3, xmm5, xmm3
mov word [rsp + rbx*2 + 0x5c0], r15w
inc ebx
inc r13d
jmp 0x1400e2950
and r11, 0xfffffffffffffffc
mov rcx, qword [rsp + 0x68]
cmp rcx, r9
cmovg r9, rcx
mov rcx, r9
mov r8, qword [rsp + 0x70]
sub rcx, r8
cmp r11, rcx
mov r10d, dword [rsp + 0x3c]
jae 0x1400e2abc
add r11, r8
mov r8, qword [rsp + 0x50]
mov r15, qword [rsp + 0x48]
jmp 0x1400e2a88
inc r11
cmp r9, r11
je 0x1400e2ac6
vmovss xmm4, dword [rax + r11*4]
vucomiss xmm2, xmm4
je 0x1400e2a80
movzx ecx, word [rdx + r11*2]
vmulss xmm4, xmm4, xmm0
movsxd rbx, ebx
vmovss dword [rsp + rbx*4 + 0xe40], xmm4
vaddss xmm3, xmm4, xmm3
mov word [rsp + rbx*2 + 0x5c0], cx
inc ebx
inc r13d
jmp 0x1400e2a80
mov r8, qword [rsp + 0x50]
mov r15, qword [rsp + 0x48]
test r13d, r13d
mov r12d, dword [rsp + 0x5c]
mov r9d, dword [rsp + 0x58]
jg 0x1400e2810
movsxd rax, r10d
test r9d, r9d
je 0x1400e2aec
add word [rsp + rax*8 + 0x186], r12w
jmp 0x1400e2b0d
inc r10d
mov word [rsp + rax*8 + 0x18c], 0
mov dword [rsp + rax*8 + 0x188], 0
mov word [rsp + rax*8 + 0x18e], r12w
mov r9d, 1
jmp 0x1400e2834
mov dword [rsp + 0x3c], r10d
vmovss xmm3, dword [0x140221d94]
vmovss xmm2, dword [0x140225680]
vfmadd213ss xmm2, xmm1, xmm3
vsubss xmm3, xmm3, xmm1
xor esi, esi
vxorps xmm4, xmm4, xmm4
xor r11d, r11d
xor r10d, r10d
jmp 0x1400e2b5c
inc rsi
cmp r10d, r8d
jge 0x1400e2da5
movsxd rax, r10d
movsx r10, word [rsp + rsi*8 + 0x186]
add r10, rax
movsx ebx, word [rsp + rsi*8 + 0x184]
test ebx, ebx
je 0x1400e2be0
mov rcx, rax
nop word [rax + rax]
movzx r8d, byte [rdx + rcx*2]
movzx r14d, byte [rdx + rcx*2 + 1]
and r14d, 0xfffffffc
vmulss xmm5, xmm3, dword [rsp + r14 + 0x80]
and r8d, 0xfffffffc
vsubss xmm6, xmm4, dword [rsp + r8 + 0x80]
vfmsub213ss xmm6, xmm3, xmm5
vmovss dword [rsp + rcx*4 + 0x1f40], xmm6
inc rcx
cmp rcx, r10
jl 0x1400e2b80
movsxd rcx, r11d
cmp ebx, 2
mov r8d, 1
cmovge r8d, ebx
cmp bx, 2
jge 0x1400e2c20
xor r14d, r14d
jmp 0x1400e2cdf
movzx ecx, byte [rdx + rax*2]
movzx r9d, byte [rdx + rax*2 + 1]
and r9d, 0xfffffffc
vmulss xmm5, xmm2, dword [rsp + r9 + 0x80]
and ecx, 0xfffffffc
vsubss xmm6, xmm4, dword [rsp + rcx + 0x80]
vfmsub213ss xmm6, xmm2, xmm5
vmovss dword [rsp + rax*4 + 0x1f40], xmm6
inc rax
cmp rax, r10
jl 0x1400e2be0
jmp 0x1400e2b50
mov r15d, r8d
and r15d, 0x7ffffffe
lea r9, [rsp + 0x5c3]
lea r12, [r9 + rcx*2]
lea r9, [rsp + 0xe44]
lea r13, [r9 + rcx*4]
xor r14d, r14d
nop word cs:[rax + rax]
movzx r9d, byte [r12 + r14*2 - 3]
vmovss xmm5, dword [r13 + r14*4 - 4]
and r9d, 0xfffffffc
vaddss xmm6, xmm5, dword [rsp + r9 + 0x80]
movzx edi, byte [r12 + r14*2 - 2]
vmovss dword [rsp + r9 + 0x80], xmm6
and edi, 0xfffffffc
vaddss xmm5, xmm5, dword [rsp + rdi + 0x80]
vmovss dword [rsp + rdi + 0x80], xmm5
movzx r9d, byte [r12 + r14*2 - 1]
vmovss xmm5, dword [r13 + r14*4]
and r9d, 0xfffffffc
vaddss xmm6, xmm5, dword [rsp + r9 + 0x80]
vmovss dword [rsp + r9 + 0x80], xmm6
movzx r9d, byte [r12 + r14*2]
and r9d, 0xfffffffc
vaddss xmm5, xmm5, dword [rsp + r9 + 0x80]
vmovss dword [rsp + r9 + 0x80], xmm5
add r14, 2
cmp r15, r14
jne 0x1400e2c50
test r8b, 1
je 0x1400e2d38
lea r8, [rsp + rcx*2]
add r8, 0x5c0
movzx r9d, byte [r8 + r14*2]
movzx r8d, byte [r8 + r14*2 + 1]
add r14, rcx
vmovss xmm5, dword [rsp + r14*4 + 0xe40]
and r9d, 0xfffffffc
vaddss xmm6, xmm5, dword [rsp + r9 + 0x80]
vmovss dword [rsp + r9 + 0x80], xmm6
and r8d, 0xfffffffc
vaddss xmm5, xmm5, dword [rsp + r8 + 0x80]
vmovss dword [rsp + r8 + 0x80], xmm5
vaddss xmm4, xmm4, dword [rsp + rsi*8 + 0x180]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8, qword [rsp + 0x50]
nop
movzx edi, byte [rdx + rax*2]
movzx r9d, byte [rdx + rax*2 + 1]
and edi, 0xfffffffc
vmovss xmm5, dword [rsp + rdi + 0x80]
and r9d, 0xfffffffc
vmovss xmm6, dword [rcx + rax*4]
vaddss xmm5, xmm5, dword [rsp + r9 + 0x80]
vfnmsub132ss xmm6, xmm4, xmm0
vaddss xmm5, xmm5, xmm6
vfmadd213ss xmm5, xmm1, dword [rsp + rax*4 + 0x1f40]
vmovss dword [rsp + rax*4 + 0x1f40], xmm5
inc rax
cmp rax, r10
jl 0x1400e2d50
add r11d, ebx
jmp 0x1400e2b50
vxorps xmm0, xmm0, xmm0
vmovups ymmword [rsp + 0x130], 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
mov eax, dword [rsp + 0x3c]
test eax, eax
js 0x1400e2fef
mov eax, eax
vxorps xmm0, xmm0, xmm0
jmp 0x1400e2e1c
vaddss xmm0, xmm0, dword [rsp + rax*8 + 0x180]
mov r11d, ecx
lea rcx, [rax - 1]
test rax, rax
mov rax, rcx
jle 0x1400e2fef
movsx r9d, word [rsp + rax*8 + 0x186]
movsxd rcx, r10d
sub r10d, r9d
movsxd rdi, r10d
nop
movzx r9d, byte [rdx + rdi*2]
movzx esi, byte [rdx + rdi*2 + 1]
and r9d, 0xfffffffc
vmovss xmm1, dword [rsp + r9 + 0x80]
and esi, 0xfffffffc
vmovss xmm2, dword [rsp + rsi + 0x80]
vsubss xmm1, xmm1, xmm0
vaddss xmm2, xmm2, dword [rsp + rdi*4 + 0x1f40]
vaddss xmm1, xmm2, xmm1
vmovss dword [rsp + rdi*4 + 0x1f40], xmm1
inc rdi
cmp rdi, rcx
jl 0x1400e2e30
movzx r12d, word [rsp + rax*8 + 0x184]
test r12w, r12w
jle 0x1400e2e0c
mov ecx, r11d
sub ecx, r12d
cmp r12d, 1
jne 0x1400e2eb0
xor r11d, r11d
xor esi, esi
test r12b, 1
je 0x1400e2e00
jmp 0x1400e2f93
mov esi, r12d
and esi, 0xfffffffe
movsxd rdi, r11d
add rdi, rdi
sub rdi, r12
sub rdi, r12
lea r9, [rsp + 0x5c3]
add rdi, r9
mov r9d, r12d
neg r9d
lea ebx, [r11 + r9]
inc ebx
mov r14d, ecx
xor r11d, r11d
nop
movzx r9d, byte [rdi + r11*2 - 3]
lea r15d, [r14 + r11]
movsxd r15, r15d
vmovss xmm1, dword [rsp + r15*4 + 0xe40]
and r9d, 0xfffffffc
vaddss xmm2, xmm1, dword [rsp + r9 + 0x80]
vmovss dword [rsp + r9 + 0x80], xmm2
movzx r9d, byte [rdi + r11*2 - 2]
and r9d, 0xfffffffc
vaddss xmm1, xmm1, dword [rsp + r9 + 0x80]
vmovss dword [rsp + r9 + 0x80], xmm1
movzx r9d, byte [rdi + r11*2 - 1]
lea r15d, [rbx + r11]
movsxd r15, r15d
vmovss xmm1, dword [rsp + r15*4 + 0xe40]
and r9d, 0xfffffffc
vaddss xmm2, xmm1, dword [rsp + r9 + 0x80]
vmovss dword [rsp + r9 + 0x80], xmm2
movzx r9d, byte [rdi + r11*2]
and r9d, 0xfffffffc
vaddss xmm1, xmm1, dword [rsp + r9 + 0x80]
vmovss dword [rsp + r9 + 0x80], xmm1
add r11, 2
cmp rsi, r11
jne 0x1400e2ee0
mov esi, r11d
test r12b, 1
je 0x1400e2e00
movsxd r9, ecx
lea rdi, [rsp + r9*2]
add rdi, 0x5c0
movzx r9d, byte [rdi + r11*2]
add esi, ecx
movsxd rsi, esi
vmovss xmm1, dword [rsp + rsi*4 + 0xe40]
and r9d, 0xfffffffc
vaddss xmm2, xmm1, dword [rsp + r9 + 0x80]
movzx r11d, byte [rdi + r11*2 + 1]
vmovss dword [rsp + r9 + 0x80], xmm2
and r11d, 0xfffffffc
vaddss xmm1, xmm1, dword [rsp + r11 + 0x80]
vmovss dword [rsp + r11 + 0x80], xmm1
jmp 0x1400e2e00
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
shl r8, 2
lea rdx, [rsp + 0x1f40]
vzeroupper
call fcn.1401bb6d0
vmovups xmm6, xmmword [rbp + 0x2fe0]
lea rsp, [rbp + 0x2ff8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret