Function at 0x14000a980
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140037040]
xor rax, rsp
mov qword [rsp + 0x60], rax
movups xmm0, xmmword [0x140032658]
mov edi, dword [reloc.d2d1.dll_Ordinal_1]
xor ebx, ebx
cmp byte [0x14003266f], bl
movups xmmword [rsp + 0x30], xmm0
movsd xmm0, qword [0x140032668]
movsd qword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x70], xmm6
je 0x14000ab51
cmp edi, 2
jl 0x14000ab11
movdqa xmm0, xmmword [str.5555555555555555]
lea rcx, [rsp + 0x34]
movdqa xmm5, xmmword [0x140032a30]
mov edx, ebx
movdqa xmm4, xmmword [0x140032bf0]
movdqa xmm6, xmmword [0x140032a50]
movdqa xmmword [rsp + 0x50], xmm0
mov r8d, dword [rsp + 0x50]
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
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 [0x140032a80]
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
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, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140032a80]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edx, 0x18
jl 0x14000aa10
jmp 0x14000ab51
lea r9, [rsp + 0x30]
mov r8d, ebx
nop dword [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, 0x35
xor byte [r9 - 1], al
cmp r8d, 0x18
jl 0x14000ab20
movups xmm0, xmmword [str.tED_TXWE]
movups xmmword [rsp + 0x20], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x14000acf1
cmp edi, 2
jl 0x14000acb1
movdqa xmm0, xmmword [str.5555555555555555]
lea rcx, [rsp + 0x24]
movdqa xmm5, xmmword [0x140032a30]
mov edx, ebx
movdqa xmm4, xmmword [0x140032bf0]
movdqa xmm6, xmmword [0x140032a50]
movdqa xmmword [rsp + 0x50], xmm0
mov r8d, dword [rsp + 0x50]
nop dword [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
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 [0x140032a80]
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
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, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140032a80]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edx, 0x10
jl 0x14000abb0
jmp 0x14000acf1
lea r9, [rsp + 0x20]
mov r8d, ebx
nop dword [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, 0x35
xor byte [r9 - 1], al
cmp r8d, 0x10
jl 0x14000acc0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.140005070
movaps xmm6, xmmword [rsp + 0x70]
mov rcx, rax
mov qword [0x140037aa0], rax
test rax, rax
je 0x14000aea9
cmp byte [0x1400320ff], bl
mov rax, qword [str.j_D___s_YYU]
mov qword [rsp + 0x50], rax
je 0x14000ae71
cmp edi, 2
jl 0x14000ae35
movdqa xmm2, xmmword [0x140032a30]
movdqa xmm4, xmmword [0x140032bf0]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x140032a40]
movdqa xmm0, xmm2
mov eax, dword [str.5555555555555555]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140032a50]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140032a80]
movd xmm1, dword [rsp + 0x50]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movdqa xmm0, xmm3
xorps xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
movd dword [rsp + 0x50], xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140032a50]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140032a80]
movd xmm1, dword [rsp + 0x54]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rsp + 0x54], xmm2
jmp 0x14000ae71
lea r9, [rsp + 0x50]
mov r8d, ebx
nop dword [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 edx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, dl
add al, 0x35
xor byte [r9 - 1], al
cmp r8d, 8
jl 0x14000ae40
lea rdx, [rsp + 0x50]
call fcn.140004b20
mov dword [rsp + 0x50], ebx
add rax, 0x18
je 0x14000aea3
mov r8d, 4
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.140003e70
mov ecx, dword [rsp + 0x50]
test al, al
cmove ecx, ebx
mov ebx, ecx
mov dword [0x140037aa8], ebx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14002fa10
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret