Function at 0x140012010
Capabilities:
Encode data using xor

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov ecx, dword [0x14001dc10]
mov edx, 0x47
movups xmm0, xmmword [str.wescFZURKJ:]
movzx eax, word [0x14001dc14]
mov dword [rbp + 0x17], ecx
xor ax, 0x3a
xor word [rbp + 0x19], 0x39
xor cx, 0x38
movups xmmword [rbp + 7], xmm0
xor word [rbp + 9], 0x31
xor word [rbp + 0xb], 0x32
xor word [rbp + 0xd], 0x33
xor word [rbp + 0xf], 0x34
xor word [rbp + 0x11], 0x35
xor word [rbp + 0x13], 0x36
xor word [rbp + 0x15], 0x37
mov word [rbp + 0x17], cx
lea rcx, [rbp + 7]
mov word [rbp + 7], dx
mov word [rbp + 0x1b], ax
call fcn.14000ef00
test eax, eax
jne 0x14001225a
mov eax, dword [0x14001dd90]
xor r8d, r8d
cmp dword [0x140022090], 2
movups xmm0, xmmword [str.vP__QQ]
mov dword [rbp + 0x37], eax
movzx eax, word [0x14001dd94]
mov word [rbp + 0x3b], ax
movzx eax, byte [0x14001dd96]
mov byte [rbp + 0x3d], al
movups xmmword [rbp + 0x27], xmm0
jl 0x1400121f1
movdqa xmm0, xmmword [0x14001de70]
lea rcx, [rbp + 0x2b]
movdqa xmm4, xmmword [0x14001de40]
movdqa xmm3, xmmword [0x14001de80]
movdqa xmm5, xmmword [str.4444]
movdqa xmmword [rbp + 7], xmm0
mov edx, dword [rbp + 7]
movaps xmmword [rsp + 0x90], xmm6
movdqa xmm6, xmmword [0x14001de60]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x140012100
movaps xmm6, xmmword [rsp + 0x90]
cmp r8d, 0x17
jge 0x140012231
movsxd rax, r8d
lea r9, [rbp + 0x27]
add r9, rax
nop dword [rax + rax]
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, r8b
inc r8d
sub al, dl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0x17
jl 0x140012200
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, [rbp + 0x27]
call fcn.140018320
lea rdx, [0x1400186b0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
add rsp, 0xa0
pop rbp
ret
lea r9, [rbp - 0x19]
mov dword [rbp - 9], 0xabf9c15c
mov r8d, 0x10
mov dword [rbp - 5], 0xe014a647
lea rdx, [rbp - 9]
mov dword [rbp - 1], 0
mov ecx, eax
mov dword [rbp + 3], 0x3f5e13d8
mov dword [rbp - 0x19], 0xabf9c15c
mov qword [rbp - 0x15], 0x47
mov dword [rbp - 0xd], 0
call fcn.14000f490
add rsp, 0xa0
pop rbp
ret