Function at 0x14004a840
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x98
call fcn.140001080
test al, al
jne 0x14004abcd
movsd xmm0, qword [0x14008cca8]
xor ecx, ecx
cmp byte [0x14008ccb3], cl
mov eax, dword [0x14008ccb0]
movdqa xmm4, xmmword [0x14008f3b0]
movdqa xmm5, xmmword [0x14008ee00]
mov r10d, dword [0x140097010]
movaps xmmword [rsp + 0x80], xmm6
movdqa xmm6, xmmword [0x14008eea0]
movaps xmmword [rsp + 0x70], xmm7
movdqa xmm7, xmmword [0x14008ee80]
movaps xmmword [rsp + 0x60], xmm8
movdqa xmm8, xmmword [0x14008eef0]
movsd qword [rsp + 0x20], xmm0
mov dword [rsp + 0x28], eax
je 0x14004aa23
mov r8d, ecx
cmp r10d, 2
jl 0x14004a9e8
movdqa xmm2, xmmword [0x14008ee20]
movdqa xmm1, xmm5
movdqa xmm3, xmmword [0x14008ee30]
movdqa xmm0, xmm5
punpckhdq xmm0, xmm5
pmuldq xmm0, xmm4
punpckldq xmm1, xmm5
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm5
pmulld xmm0, xmm7
psubd xmm1, xmm0
movd xmm0, dword [0x14008cca8]
andps xmm1, xmm6
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm8
xorps xmm1, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movd dword [rsp + 0x20], xmm1
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
pmulld xmm0, xmm7
psubd xmm2, xmm0
punpckldq xmm1, xmm3
movd xmm0, dword [rsp + 0x24]
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
pmuldq xmm1, xmm4
paddb xmm2, xmm8
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rsp + 0x24], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
movd xmm0, eax
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm8
xorps xmm3, xmm0
movd dword [rsp + 0x28], xmm3
jmp 0x14004aa23
lea r9, [rsp + 0x20]
nop dword [rax]
mov eax, 0x2f684bdb
lea r9, [r9 + 1]
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul edx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, dl
add al, 0x37
xor byte [r9 - 1], al
cmp r8d, 0xc
jl 0x14004a9f0
movups xmm1, xmmword [0x14008eb00]
movups xmm0, xmmword [str.QYPVX]
movups xmmword [rsp + 0x50], xmm1
psrldq xmm1, 0xf
movd eax, xmm1
movups xmmword [rsp + 0x40], xmm0
test al, al
je 0x14004ab8e
cmp r10d, 2
jl 0x14004ab53
movdqa xmmword [rsp + 0x30], xmm8
lea rdx, [rsp + 0x44]
mov r8d, dword [rsp + 0x30]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
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, xmm7
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movd dword [rdx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
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, xmm7
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x20
jl 0x14004aa70
jmp 0x14004ab8e
lea r8, [rsp + 0x40]
nop dword [rax + rax]
mov eax, 0x2f684bdb
lea r8, [r8 + 1]
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul edx, eax, 0x36
movzx eax, cl
inc ecx
sub al, dl
add al, 0x37
xor byte [r8 - 1], al
cmp ecx, 0x20
jl 0x14004ab60
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r9d, 0x10
lea r8, [rsp + 0x20]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
movaps xmm8, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x80]
xor eax, eax
add rsp, 0x98
ret