Function at 0x140085500
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rbp
lea rbp, [r11 - 0x188]
sub rsp, 0x280
mov rax, qword [0x14018e080]
xor rax, rsp
mov qword [rbp + 0x158], rax
mov qword [r11 + 8], rsi
xor ecx, ecx
mov rsi, qword [0x1416123e8]
mov rbx, r8
mov qword [r11 + 0x10], rdi
movaps xmmword [r11 - 0x18], xmm6
mov qword [0x141612480], rdx
call fcn.140045920
mov edi, dword [0x14018e0d8]
xorps xmm0, xmm0
xor eax, eax
xorps xmm6, xmm6
cmp byte [0x14017187d], 0
mov ecx, 0xffff
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x10], rax
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp + 0x110], rax
movups xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x7c], al
movups xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x78], 2
movups xmmword [rbp - 0x70], xmm0
mov dword [rbp - 0x74], 1
movups xmmword [rbp - 0x60], xmm0
mov dword [rbp - 0x4c], 0x7f7fffff
movups xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x40], 0x3f800000
movups xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x3c], cx
movups xmm0, xmmword [0x140171860]
movups xmmword [rbp + 0xa0], xmm6
mov dword [rbp + 0xa8], 2
movups xmmword [rbp + 0xd0], xmm6
mov dword [rbp + 0xac], 1
movups xmmword [rbp + 0xe0], xmm6
mov dword [rbp + 0xd4], 0x7f7fffff
movups xmmword [rbp + 0x90], xmm6
mov byte [rbp + 0x9c], al
mov eax, dword [0x140171878]
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x58], eax
movsd xmm0, qword [0x140171870]
movzx eax, word [0x14017187c]
movups xmmword [rbp + 0xb0], xmm6
mov dword [rbp + 0xe0], 0x3f800000
movsd qword [rsp + 0x50], xmm0
mov word [rbp + 0xe4], cx
mov byte [rbp + 0xd8], 1
mov byte [rbp + 0xb0], 1
mov word [rsp + 0x5c], ax
je 0x1400857f1
xor r8d, r8d
cmp edi, 2
jl 0x1400857af
movdqa xmm0, xmmword [0x1401783b0]
lea rcx, [rsp + 0x44]
movdqa xmm5, xmmword [0x1401781d0]
movdqa xmm4, xmmword [0x140178510]
movdqa xmmword [rsp + 0x60], xmm0
mov edx, dword [rsp + 0x60]
movaps xmmword [rsp + 0x260], xmm7
movdqa xmm7, xmmword [0x140178200]
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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
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 [0x140178340]
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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
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 [0x140178340]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x1400856a0
movaps xmm7, xmmword [rsp + 0x260]
cmp r8d, 0x1e
jge 0x1400857f1
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop word [rax + rax]
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x38
xor byte [r9 - 1], al
cmp r8d, 0x1e
jl 0x1400857c0
movss xmm2, dword [0x14017805c]
lea r9, [rsp + 0x70]
mov rcx, qword [rbx + 0x30]
lea rdx, [rsp + 0x40]
call fcn.14004a1c0
movups xmm0, xmmword [rbp + 0x90]
lea rax, [0x14018e110]
movups xmm1, xmmword [rbp + 0xa0]
lea rdx, [rbp]
mov rcx, qword [rbx + 0x30]
movups xmmword [rbp], xmm0
movups xmm0, xmmword [rbp + 0xb0]
movups xmmword [rbp + 0x20], xmm0
movups xmm0, xmmword [rbp + 0xd0]
movups xmmword [rbp + 0x10], xmm1
movups xmm1, xmmword [rbp + 0xe0]
movups xmmword [rbp + 0x40], xmm0
movsd xmm0, qword [rbp + 0x110]
mov qword [rbp], rax
lea rax, [0x140171df8]
movups xmmword [rbp + 0x30], xmm6
movsd qword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x50], xmm1
movups xmmword [rbp + 0x60], xmm6
movups xmmword [rbp + 0x70], xmm6
mov dword [rbp + 8], 0xba660
mov dword [rbp + 0x14], 0x41500000
mov qword [rbp + 0x38], rax
call fcn.140049ea0
cmp byte [0x14017187d], 0
movups xmm0, xmmword [0x140171860]
mov eax, dword [0x140171878]
mov dword [rsp + 0x58], eax
movzx eax, word [0x14017187c]
movups xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x5c], ax
movsd xmm0, qword [0x140171870]
movsd qword [rsp + 0x50], xmm0
je 0x140085a61
xor r8d, r8d
cmp edi, 2
jl 0x140085a17
movdqa xmm0, xmmword [0x1401783b0]
lea rcx, [rsp + 0x44]
movdqa xmm5, xmmword [0x1401781d0]
movdqa xmm4, xmmword [0x140178510]
movdqa xmm6, xmmword [0x140178200]
movdqa xmmword [rsp + 0x60], xmm0
mov edx, dword [rsp + 0x60]
nop dword [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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140178340]
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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140178340]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x140085910
cmp r8d, 0x1e
jge 0x140085a61
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x38
xor byte [r9 - 1], al
cmp r8d, 0x1e
jl 0x140085a30
movss xmm2, dword [0x140178060]
lea r9, [rsp + 0x70]
mov rcx, qword [rbx + 0x30]
lea rdx, [rsp + 0x40]
call fcn.14004a1c0
movups xmm0, xmmword [rsp + 0x70]
lea rax, [0x140248770]
movups xmm1, xmmword [rbp - 0x80]
lea rdx, [rbp]
mov rcx, qword [rbx + 0x30]
movups xmmword [rbp], xmm0
movups xmm0, xmmword [rbp - 0x70]
movups xmmword [rbp + 0x10], xmm1
movups xmm1, xmmword [rbp - 0x60]
movups xmmword [rbp + 0x20], xmm0
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rbp + 0x40], xmm0
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rbp + 0x30], xmm1
movups xmm1, xmmword [rbp - 0x40]
movups xmmword [rbp + 0x60], xmm0
movsd xmm0, qword [rbp - 0x10]
movups xmmword [rbp + 0x50], xmm1
movups xmm1, xmmword [rbp - 0x20]
movsd qword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x70], xmm1
mov qword [rbp], rax
mov dword [rbp + 8], 0x8a0
mov dword [rbp + 0x14], 0x41880000
call fcn.140049ea0
cmp byte [0x14017187d], 0
movups xmm0, xmmword [0x140171860]
mov eax, dword [0x140171878]
mov dword [rsp + 0x58], eax
movzx eax, word [0x14017187c]
movups xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x5c], ax
movsd xmm0, qword [0x140171870]
movsd qword [rsp + 0x50], xmm0
je 0x140085cc1
xor r8d, r8d
cmp edi, 2
jl 0x140085c77
movdqa xmm0, xmmword [0x1401783b0]
lea rcx, [rsp + 0x44]
movdqa xmm5, xmmword [0x1401781d0]
movdqa xmm4, xmmword [0x140178510]
movdqa xmm6, xmmword [0x140178200]
movdqa xmmword [rsp + 0x60], xmm0
mov edx, dword [rsp + 0x60]
nop dword [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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140178340]
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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140178340]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x140085b70
cmp r8d, 0x1e
jge 0x140085cc1
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x38
xor byte [r9 - 1], al
cmp r8d, 0x1e
jl 0x140085c90
movss xmm2, dword [0x140178080]
lea r9, [rsp + 0x70]
mov rcx, qword [rbx + 0x30]
lea rdx, [rsp + 0x40]
call fcn.14004a1c0
lea rax, [0x141612608]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x120]
mov r8d, 0x14e13
mov qword [rsp + 0x20], 0
lea rdx, [0x1415fb0d0]
mov qword [rbp + 0x120], 0xffffffffffffffff
mov rcx, rsi
mov qword [rbp + 0x128], 0xffffffffffffffff
mov qword [rbp + 0x130], 0xffffffffffffffff
mov qword [rbp + 0x138], 0xffffffffffffffff
mov dword [rbp + 0x140], 0xffffffff
mov qword [rbp + 0x144], 0xfffffffffffffffd
mov dword [rbp + 0x14c], 0xffffffff
mov qword [rbp + 0x150], 0
call qword [0x140152080]
mov rdx, qword [0x141612508]
lea rbx, [0x140171888]
cmp rdx, qword [0x141612510]
lea r8, [0x14006d130]
movaps xmm6, xmmword [rsp + 0x270]
mov rdi, qword [rsp + 0x298]
mov rsi, qword [rsp + 0x290]
je 0x140085dc2
mov qword [rdx], rbx
mov qword [rdx + 8], r8
mov qword [rdx + 0x38], rdx
mov rdx, qword [0x141612508]
add rdx, 0x40
mov qword [0x141612508], rdx
jmp 0x140085dce
call fcn.14008adc0
mov rdx, qword [0x141612508]
cmp rdx, qword [0x141612510]
lea r8, [0x1400716a0]
je 0x140085dfd
mov qword [rdx], rbx
mov qword [rdx + 8], r8
mov qword [rdx + 0x38], rdx
mov rdx, qword [0x141612508]
add rdx, 0x40
mov qword [0x141612508], rdx
jmp 0x140085e09
call fcn.14008adc0
mov rdx, qword [0x141612508]
cmp rdx, qword [0x141612510]
lea r8, [0x140076390]
je 0x140085e2e
mov qword [rdx], rbx
mov qword [rdx + 8], r8
mov qword [rdx + 0x38], rdx
add qword [0x141612508], 0x40
jmp 0x140085e33
call fcn.14008adc0
mov rcx, qword [rbp + 0x158]
xor rcx, rsp
call fcn.140148480
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x280
pop rbp
ret