Function at 0x14003efe0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x14024b028]
xor rax, rsp
mov qword [rbp - 9], rax
movups xmm0, xmmword [0x14022edb8]
mov ebx, dword [0x14024b008]
mov r15d, 5
mov rdi, rdx
mov rsi, rcx
movups xmmword [rbp - 0x19], xmm0
psrldq xmm0, 0xf
lea r12d, [r15 + 0x1a]
movd eax, xmm0
test al, al
je 0x14003f1d6
cmp ebx, 2
jl 0x14003f197
movdqa xmm0, xmmword [0x140230170]
lea rcx, [rbp - 0x15]
movdqa xmm5, xmmword [0x14022ffe0]
xor edx, edx
movdqa xmm4, xmmword [0x1402302d0]
movdqa xmm7, xmmword [0x140230000]
movdqa xmmword [rbp - 0x59], xmm0
mov r8d, dword [rbp - 0x59]
movd xmm6, r15d
movd xmm8, r12d
nop dword [rax + rax]
movd xmm2, edx
lea eax, [rdx + 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 edx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
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 [0x140230080]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
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
paddd xmm1, xmm3
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, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140230080]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edx, 0x10
jl 0x14003f090
jmp 0x14003f1d6
lea r9, [rbp - 0x19]
xor r8d, r8d
nop
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x39
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0x10
jl 0x14003f1a0
cmp qword [rsi + 0x20], 0x10
lea r10, [rsi + 8]
movups xmm0, xmmword [0x14022f218]
movzx eax, byte [0x14022f228]
mov byte [rbp - 0x21], al
movups xmmword [rbp - 0x31], xmm0
jb 0x14003f1f9
mov r10, qword [r10]
xor r8d, r8d
cmp ebx, 2
jl 0x14003f34d
movdqa xmm0, xmmword [0x140230170]
lea rcx, [rbp - 0x2d]
movdqa xmm5, xmmword [0x14022ffe0]
movdqa xmm4, xmmword [0x1402302d0]
movdqa xmm7, xmmword [0x140230000]
movdqa xmmword [rbp - 0x59], xmm0
mov edx, dword [rbp - 0x59]
movd xmm6, r15d
movd xmm8, r12d
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
paddd xmm1, xmm2
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 [0x140230080]
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
paddd xmm1, xmm3
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 [0x140230080]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x14003f240
cmp r8d, 0x11
jge 0x14003f396
movsxd rax, r8d
lea r9, [rbp - 0x31]
add r9, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x39
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0x11
jl 0x14003f360
movups xmm0, xmmword [0x14022f218]
movzx eax, byte [0x14022f228]
xor ecx, ecx
mov byte [rbp - 0x39], al
movups xmmword [rbp - 0x49], xmm0
cmp ebx, 2
jl 0x14003f4fa
movdqa xmm0, xmmword [0x140230170]
lea rdx, [rbp - 0x45]
movdqa xmm5, xmmword [0x14022ffe0]
movdqa xmm4, xmmword [0x1402302d0]
movdqa xmm7, xmmword [0x140230000]
movdqa xmmword [rbp - 0x59], xmm0
mov r8d, dword [rbp - 0x59]
movd xmm6, r15d
movd xmm8, r12d
nop dword [rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 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 ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
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 [0x140230080]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
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, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140230080]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x14003f3f0
cmp ecx, 0x11
jge 0x14003f541
movsxd rax, ecx
lea r9, [rbp - 0x49]
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x39
add dl, cl
inc ecx
xor byte [r9 - 1], dl
cmp ecx, 0x11
jl 0x14003f510
lea r9, [rbp - 0x19]
mov r8, r10
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x49]
call qword [0x1401e62b8]
movups xmm0, xmmword [0x14022f238]
movups xmmword [rbp - 0x19], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x14003f706
cmp ebx, 2
jl 0x14003f6c7
movdqa xmm0, xmmword [0x140230170]
lea rcx, [rbp - 0x15]
movdqa xmm5, xmmword [0x14022ffe0]
xor edx, edx
movdqa xmm4, xmmword [0x1402302d0]
movdqa xmm7, xmmword [0x140230000]
movdqa xmmword [rbp - 0x59], xmm0
mov r8d, dword [rbp - 0x59]
movd xmm6, r15d
movd xmm8, r12d
nop dword [rax]
nop dword [rax + rax]
movd xmm2, edx
lea eax, [rdx + 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 edx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
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 [0x140230080]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
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
paddd xmm1, xmm3
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, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140230080]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edx, 0x10
jl 0x14003f5c0
jmp 0x14003f706
lea r9, [rbp - 0x19]
xor r8d, r8d
nop
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x39
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0x10
jl 0x14003f6d0
cmp qword [rdi + 0x20], 0x10
lea r11, [rdi + 8]
jb 0x14003f714
mov r11, qword [r11]
movups xmm0, xmmword [0x14022eeb8]
movups xmmword [rbp - 0x49], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x14003f8c6
cmp ebx, 2
jl 0x14003f887
movdqa xmm0, xmmword [0x140230170]
lea rcx, [rbp - 0x45]
movdqa xmm5, xmmword [0x14022ffe0]
xor edx, edx
movdqa xmm4, xmmword [0x1402302d0]
movdqa xmm7, xmmword [0x140230000]
movdqa xmmword [rbp - 0x59], xmm0
mov r8d, dword [rbp - 0x59]
movd xmm6, r15d
movd xmm8, r12d
nop dword [rax]
nop word [rax + rax]
movd xmm2, edx
lea eax, [rdx + 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 edx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
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 [0x140230080]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
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
paddd xmm1, xmm3
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, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140230080]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edx, 0x10
jl 0x14003f780
jmp 0x14003f8c6
lea r9, [rbp - 0x49]
xor r8d, r8d
nop
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x39
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0x10
jl 0x14003f890
movups xmm0, xmmword [0x14022eeb8]
movups xmmword [rbp - 0x31], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x14003fa76
cmp ebx, 2
jl 0x14003fa37
movdqa xmm0, xmmword [0x140230170]
lea rcx, [rbp - 0x2d]
movdqa xmm5, xmmword [0x14022ffe0]
xor edx, edx
movdqa xmm4, xmmword [0x1402302d0]
movdqa xmm7, xmmword [0x140230000]
movdqa xmmword [rbp - 0x59], xmm0
mov r8d, dword [rbp - 0x59]
movd xmm6, r15d
movd xmm8, r12d
nop dword [rax]
nop dword [rax + rax]
movd xmm2, edx
lea eax, [rdx + 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 edx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
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 [0x140230080]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
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
paddd xmm1, xmm3
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, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140230080]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edx, 0x10
jl 0x14003f930
jmp 0x14003fa76
lea r10, [rbp - 0x31]
xor r9d, r9d
nop
mov eax, 0x8fb823ef
lea r10, [r10 + 1]
imul r9d
add edx, r9d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x39
add cl, r9b
inc r9d
xor byte [r10 - 1], cl
cmp r9d, 0x10
jl 0x14003fa40
lea r9, [rbp - 0x19]
mov r8, r11
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x31]
call qword [0x1401e62b8]
mov rcx, rsi
call fcn.14005b8a0
mov rcx, qword [rsi]
mov edx, 0x10
mov qword [rsi], 0
call fcn.140075fd0
mov rcx, rdi
call fcn.14005b8a0
mov rcx, qword [rdi]
mov edx, 0x10
mov qword [rdi], 0
call fcn.140075fd0
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.140075760
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret