Function at 0x1400812b0
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 [0x14017d080]
xor rax, rsp
mov qword [rbp + 0x158], rax
mov qword [r11 + 8], rsi
xor ecx, ecx
mov rsi, qword [0x14023c010]
mov rbx, r8
mov qword [r11 + 0x10], rdi
movaps xmmword [r11 - 0x18], xmm6
mov qword [0x14023c0a0], rdx
call fcn.140045280
mov edi, dword [0x14017d0d8]
xorps xmm0, xmm0
xor eax, eax
xorps xmm6, xmm6
cmp byte [0x14016208d], 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 [0x140162070]
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 [0x140162088]
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x58], eax
movsd xmm0, qword [0x140162080]
movzx eax, word [0x14016208c]
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 0x1400815a2
xor r8d, r8d
cmp edi, 2
jl 0x14008155f
movdqa xmm0, xmmword [0x140168170]
lea rcx, [rsp + 0x44]
movdqa xmm5, xmmword [0x140167f70]
movdqa xmm4, xmmword [0x140168100]
movdqa xmmword [rsp + 0x60], xmm0
mov edx, dword [rsp + 0x60]
movaps xmmword [rsp + 0x260], xmm7
movdqa xmm7, xmmword [0x140167ff0]
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, 1
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 [0x1401680f0]
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, 1
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 [0x1401680f0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x140081450
movaps xmm7, xmmword [rsp + 0x260]
cmp r8d, 0x1e
jge 0x1400815a2
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop word [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x37
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0x1e
jl 0x140081570
movss xmm2, dword [0x140167e04]
lea r9, [rsp + 0x70]
mov rcx, qword [rbx + 0x30]
lea rdx, [rsp + 0x40]
call fcn.140049ad0
movups xmm0, xmmword [rbp + 0x90]
lea rax, [0x14017d110]
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, [0x1401629a0]
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.1400497b0
cmp byte [0x14016208d], 0
movups xmm0, xmmword [0x140162070]
mov eax, dword [0x140162088]
mov dword [rsp + 0x58], eax
movzx eax, word [0x14016208c]
movups xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x5c], ax
movsd xmm0, qword [0x140162080]
movsd qword [rsp + 0x50], xmm0
je 0x140081812
xor r8d, r8d
cmp edi, 2
jl 0x1400817c7
movdqa xmm0, xmmword [0x140168170]
lea rcx, [rsp + 0x44]
movdqa xmm5, xmmword [0x140167f70]
movdqa xmm4, xmmword [0x140168100]
movdqa xmm6, xmmword [0x140167ff0]
movdqa xmmword [rsp + 0x60], xmm0
mov edx, dword [rsp + 0x60]
nop dword [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, 1
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 [0x1401680f0]
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, 1
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 [0x1401680f0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x1400816c0
cmp r8d, 0x1e
jge 0x140081812
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x37
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0x1e
jl 0x1400817e0
movss xmm2, dword [0x140167e08]
lea r9, [rsp + 0x70]
mov rcx, qword [rbx + 0x30]
lea rdx, [rsp + 0x40]
call fcn.140049ad0
movups xmm0, xmmword [rsp + 0x70]
lea rax, [0x140237770]
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.1400497b0
cmp byte [0x14016208d], 0
movups xmm0, xmmword [0x140162070]
mov eax, dword [0x140162088]
mov dword [rsp + 0x58], eax
movzx eax, word [0x14016208c]
movups xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x5c], ax
movsd xmm0, qword [0x140162080]
movsd qword [rsp + 0x50], xmm0
je 0x140081a72
xor r8d, r8d
cmp edi, 2
jl 0x140081a27
movdqa xmm0, xmmword [0x140168170]
lea rcx, [rsp + 0x44]
movdqa xmm5, xmmword [0x140167f70]
movdqa xmm4, xmmword [0x140168100]
movdqa xmm6, xmmword [0x140167ff0]
movdqa xmmword [rsp + 0x60], xmm0
mov edx, dword [rsp + 0x60]
nop dword [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, 1
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 [0x1401680f0]
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, 1
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 [0x1401680f0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x140081920
cmp r8d, 0x1e
jge 0x140081a72
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x37
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0x1e
jl 0x140081a40
movss xmm2, dword [0x140167e2c]
lea r9, [rsp + 0x70]
mov rcx, qword [rbx + 0x30]
lea rdx, [rsp + 0x40]
call fcn.140049ad0
lea rax, [0x14023c230]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x120]
mov r8d, 0xd14
mov qword [rsp + 0x20], 0
lea rdx, [0x140238e70]
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 [0x140143008]
mov rdx, qword [0x14023c130]
lea rbx, [0x1401624c0]
cmp rdx, qword [0x14023c138]
lea r8, [0x14006d280]
movaps xmm6, xmmword [rsp + 0x270]
mov rdi, qword [rsp + 0x298]
mov rsi, qword [rsp + 0x290]
je 0x140081b73
mov qword [rdx], rbx
mov qword [rdx + 8], r8
mov qword [rdx + 0x38], rdx
mov rdx, qword [0x14023c130]
add rdx, 0x40
mov qword [0x14023c130], rdx
jmp 0x140081b7f
call fcn.140086aa0
mov rdx, qword [0x14023c130]
cmp rdx, qword [0x14023c138]
lea r8, [0x1400712c0]
je 0x140081bae
mov qword [rdx], rbx
mov qword [rdx + 8], r8
mov qword [rdx + 0x38], rdx
mov rdx, qword [0x14023c130]
add rdx, 0x40
mov qword [0x14023c130], rdx
jmp 0x140081bba
call fcn.140086aa0
mov rdx, qword [0x14023c130]
cmp rdx, qword [0x14023c138]
lea r8, [0x140075f10]
je 0x140081bdf
mov qword [rdx], rbx
mov qword [rdx + 8], r8
mov qword [rdx + 0x38], rdx
add qword [0x14023c130], 0x40
jmp 0x140081be4
call fcn.140086aa0
mov rcx, qword [rbp + 0x158]
xor rcx, rsp
call fcn.14013a000
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x280
pop rbp
ret