Function at 0x140040e10
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x370
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
movabs rsi, 0x7432a383a5c65e0c
movabs rax, 0xc6548d017241ecc1
mov qword [rbp], rax
movabs r14, 0xc654e8621b35838f
mov rax, qword [rbp]
movabs rcx, 0xb699c824606feb7d
mov qword [rbp + 0x40], rax
movabs rdx, 0x68796f551ed6a212
mov qword [rbp], rsi
movabs rdi, 0x725a92e0e6730d29
mov rax, qword [rbp]
movabs r13, 0xb0d1f761416d6bde
mov qword [rbp + 0x48], rax
movabs r15, 0xf2c2a1b6a12118d3
mov qword [rbp], r14
movabs rbx, 0x400b2927b96a5c80
mov rax, qword [rbp]
mov qword [rbp], rsi
mov qword [rbp + 0xe0], rax
mov rax, qword [rbp]
movdqa xmm0, xmmword [rbp + 0x40]
mov qword [rbp + 0xe8], rax
movabs rax, 0xa90dc8067740ecd8
xorps xmm0, xmmword [rbp + 0xe0]
movdqa xmmword [rbp + 0x40], xmm0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa0], rax
movabs rax, 0x2012c6e8cc8a7e79
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa8], rax
movabs rax, 0x5234f3858a302d46
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xb0], rax
movabs rax, 0xdf97d71224010298
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xb8], rax
movabs rax, 0xd28fc4c0c86738a1
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xc0], rax
movabs rax, 0x7f794c41d6052cd3
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xc8], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0xd0], rax
mov qword [rbp], rdx
mov rax, qword [rbp]
mov qword [rbp + 0xd8], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x180], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x188], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x190], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x198], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x1a0], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x1a8], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x1b0], rax
mov qword [rbp], rdx
mov rax, qword [rbp]
vmovdqu ymm0, ymmword [rbp + 0x180]
vpxor ymm1, ymm0, ymmword [rbp + 0xa0]
vmovdqa ymmword [rbp + 0xa0], ymm1
mov qword [rbp + 0x1b8], rax
vmovdqu ymm0, ymmword [rbp + 0xc0]
vpxor ymm1, ymm0, ymmword [rbp + 0x1a0]
vmovdqa ymmword [rbp + 0xc0], ymm1
mov r9d, 1
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0xa0]
xor ecx, ecx
vzeroupper
call fcn.141442332
nop
cmp eax, 1
jne 0x140041814
movabs rax, 0xe631860d7e58ecdc
lea rdx, [rbp + 0x100]
mov qword [rbp], rax
lea rcx, [rbp + 0x200]
mov rax, qword [rbp]
mov qword [rbp + 0x100], rax
movabs rax, 0x5456c6f0d6a32c5c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x108], rax
movabs rax, 0x1b1cb28e8716616a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x110], rax
movabs rax, 0xd5a79e27611e0eb2
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x118], rax
movabs rax, 0xf2c2a1b6a121369e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x120], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x128], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x140], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x148], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x150], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x158], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x160], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
movdqa xmm2, xmmword [rbp + 0x120]
vmovdqu ymm0, ymmword [rbp + 0x140]
vpxor ymm1, ymm0, ymmword [rbp + 0x100]
mov qword [rbp + 0x168], rax
vxorps xmm2, xmm2, xmmword [rbp + 0x160]
vmovdqa ymmword [rbp + 0x100], ymm1
vmovdqa xmmword [rbp + 0x120], xmm2
vzeroupper
call fcn.14004bf90
mov rdx, rax
lea rcx, [0x1410b3c10]
call fcn.14005b7a0
lea rcx, [0x1400cf530]
movups xmm0, xmmword [rcx]
lea rdx, [rbp + 0x220]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rdx + 0x10], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rdx + 0x20], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rdx + 0x30], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rdx + 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rdx + 0x50], xmm1
movups xmm1, xmmword [rcx]
movups xmmword [rdx + 0x60], xmm0
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rcx - 0x10]
movups xmmword [rdx - 0x10], xmm0
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rdx], xmm1
movups xmm1, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x10], xmm0
movups xmm0, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x20], xmm1
mov rax, qword [rcx + 0x50]
xor ebx, ebx
movups xmm1, xmmword [rcx + 0x40]
mov edi, dword [0x1400df0a0]
mov r8d, ebx
movups xmmword [rdx + 0x30], xmm0
lea r15d, [rbx + 4]
lea r12d, [rbx + 0x1f]
movups xmmword [rdx + 0x40], xmm1
mov qword [rdx + 0x50], rax
mov eax, dword [rcx + 0x58]
mov dword [rdx + 0x58], eax
cmp edi, 2
jl 0x14004139b
movdqa xmm0, xmmword [0x1400cf9c0]
lea rcx, [rbp + 0x224]
movdqa xmm5, xmmword [0x1400cf950]
movdqa xmm4, xmmword [0x1400cfad0]
movdqa xmm7, xmmword [0x1400cf970]
movdqa xmmword [rbp], xmm0
mov edx, dword [rbp]
movd xmm6, r15d
movd xmm8, r12d
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400cf9b0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400cf9b0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0xd8
jl 0x140041290
cmp r8d, 0xdc
jge 0x1400413e4
movsxd rax, r8d
lea r9, [rbp + 0x220]
add r9, rax
nop dword [rax + rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0xdc
jl 0x1400413b0
lea rcx, [rbp + 0x220]
call fcn.14143b080
nop
mov eax, dword [0x1400cf240]
mov dword [rbp + 0x30], eax
movzx eax, byte [0x1400cf244]
mov byte [rbp + 0x34], al
movups xmm0, xmmword [0x1400cf230]
movups xmmword [rbp + 0x20], xmm0
cmp edi, 2
jl 0x140041550
movdqa xmm0, xmmword [0x1400cf9c0]
lea rcx, [rbp + 0x24]
movdqa xmm5, xmmword [0x1400cf950]
movdqa xmm4, xmmword [0x1400cfad0]
movdqa xmm7, xmmword [0x1400cf970]
movdqa xmmword [rbp], xmm0
mov edx, dword [rbp]
movd xmm6, r15d
movd xmm8, r12d
nop
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400cf9b0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400cf9b0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x140041450
cmp ebx, 0x15
jge 0x14004158d
movsxd rax, ebx
lea r8, [rbp + 0x20]
add r8, rax
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, bl
inc ebx
sub al, cl
add al, 0x30
xor byte [r8 - 1], al
cmp ebx, 0x15
jl 0x140041560
lea rcx, [rbp + 0x20]
call fcn.14143b080
nop
movabs rax, 0xa930860b4c69b9cc
lea rcx, [rbp + 0x20]
mov qword [rbp], rax
movabs rbx, 0x725a92e0e6730d29
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
movabs rax, 0x1957d5eac39a2d7b
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
movabs rax, 0x725a92e092126f07
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
vmovdqu ymm0, ymmword [rbp + 0x60]
vpxor ymm1, ymm0, ymmword [rbp + 0x20]
vmovdqa ymmword [rbp + 0x20], ymm1
vzeroupper
call fcn.14143d958
nop
movabs rax, 0xc6279b077856f6dc
movabs rcx, 0xb699c824606feb7d
mov qword [rbp], rax
movabs rdx, 0x68796f551ed6a212
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp], rsi
mov qword [rbp + 0xf0], rax
mov rax, qword [rbp]
movdqa xmm0, xmmword [rbp + 0x50]
mov qword [rbp + 0xf8], rax
movabs rax, 0xe6308d0c7a50efcc
xorps xmm0, xmmword [rbp + 0xf0]
movdqa xmmword [rbp + 0x50], xmm0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
movabs rax, 0x115ecac585aa324d
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
movabs rax, 0x172ef38c83212d5a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
movabs rax, 0xc6b8b1412e394bba
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
movabs rax, 0x97a1c2c3f20155b6
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
movabs rax, 0x6e72454bcc0c2ff3
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x90], rax
mov qword [rbp], rdx
lea r8, [rbp + 0x50]
mov rax, qword [rbp]
xor r9d, r9d
mov qword [rbp + 0x98], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x1c0], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x1c8], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x1d0], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x1d8], rax
movabs rax, 0xf2c2a1b6a12118d3
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1e0], rax
movabs rax, 0x400b2927b96a5c80
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1e8], rax
mov qword [rbp], rcx
xor ecx, ecx
mov rax, qword [rbp]
mov qword [rbp + 0x1f0], rax
mov qword [rbp], rdx
lea rdx, [rbp + 0x60]
mov rax, qword [rbp]
vmovdqu ymm0, ymmword [rbp + 0x1c0]
vpxor ymm1, ymm0, ymmword [rbp + 0x60]
vmovdqu ymm0, ymmword [rbp + 0x80]
vmovdqa ymmword [rbp + 0x60], ymm1
mov qword [rbp + 0x1f8], rax
vpxor ymm1, ymm0, ymmword [rbp + 0x1e0]
vmovdqa ymmword [rbp + 0x80], ymm1
vzeroupper
call fcn.141442332
nop
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret