Function at 0x140002f60
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x100
movaps xmmword [rsp + 0xf0], xmm6
mov r12, r9
mov r15, r8
mov r14, rdx
mov rsi, rcx
mov qword [rsp + 0xd8], rdx
mov qword [rsp + 0xd0], r8
mov qword [rsp + 0xc8], r9
mov r13, qword [rsp + 0x160]
mov qword [rsp + 0xc0], r13
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0xa8], rax
movups xmm0, xmmword [0x140070ab0]
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [0x140070ac0]
movsd qword [rsp + 0x60], xmm0
movzx eax, word [0x140070ac8]
mov word [rsp + 0x68], ax
xor ebx, ebx
mov edi, dword [0x1400841d8]
movdqa xmm6, xmmword [0x140070b10]
cmp byte [0x140070ac9], bl
je 0x1400031b0
mov r8d, ebx
cmp edi, 2
jl 0x140003167
movdqa xmm4, xmmword [0x140070ae0]
movdqa xmm3, xmmword [0x140070b40]
movdqa xmm5, xmmword [0x140070b00]
movdqa xmm0, xmmword [0x140070b30]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x54]
mov edx, dword [rsp + 0x70]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x18
jl 0x140003080
cmp r8d, 0x1a
jge 0x1400031b0
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x1a
jl 0x140003180
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.14000d170
nop
lea rcx, [rsp + 0x70]
call fcn.14003a2a0
nop
mov rdx, qword [rsp + 0x88]
cmp rdx, 0xf
jbe 0x14000320e
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003209
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003209
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005fab0
cmp qword [rsi + 0x10], 0
jne 0x1400033bd
movups xmm0, xmmword [0x140070460]
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [0x140070470]
movsd qword [rsp + 0x60], xmm0
movzx eax, byte [0x140070478]
mov byte [rsp + 0x68], al
mov ecx, ebx
cmp edi, 2
jl 0x140003364
movdqa xmm4, xmmword [0x140070ae0]
movdqa xmm3, xmmword [0x140070b40]
movdqa xmm5, xmmword [0x140070b00]
movdqa xmm0, xmmword [0x140070b30]
movdqa xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x54]
mov r8d, dword [rsp + 0x70]
nop dword [rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x18
jl 0x140003280
cmp ecx, 0x19
jge 0x14000339c
movsxd rax, ecx
lea r8, [rsp + 0x50]
add r8, rax
nop
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, cl
sub al, dl
add al, 0x38
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x19
jl 0x140003370
lea rdx, [rsp + 0x50]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000ded0
mov rdx, rsi
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.14000e0f0
nop
lea rcx, [rsp + 0x50]
call fcn.140002040
nop
mov rdx, rax
mov rcx, rsi
call fcn.14002edc0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140003414
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000340f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000340f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005fab0
movups xmm0, xmmword [str.yLNSYSJV_6_e52_8____R]
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [0x140070650]
movsd qword [rsp + 0x60], xmm0
movzx eax, word [0x140070658]
mov word [rsp + 0x68], ax
movzx eax, byte [0x14007065a]
mov byte [rsp + 0x6a], al
cmp edi, 2
jl 0x140003562
movdqa xmm4, xmmword [0x140070ae0]
movdqa xmm3, xmmword [0x140070b40]
movdqa xmm5, xmmword [0x140070b00]
movdqa xmm0, xmmword [0x140070b30]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x54]
mov edx, dword [rsp + 0x70]
nop dword [rax]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rbx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
lea rcx, [rcx + 8]
cmp ebx, 0x18
jl 0x140003480
cmp ebx, 0x1b
jge 0x14000359c
movsxd rax, ebx
lea r8, [rsp + 0x50]
add r8, rax
nop dword [rax]
mov eax, 0x4ec4ec4f
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, bl
sub al, dl
add al, 0x38
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x1b
jl 0x140003570
lea rdx, [rsp + 0x50]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000ded0
lea rdx, [0x14000e0b0]
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]
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x38], rax
movzx eax, byte [rsp + 0x170]
mov byte [rsp + 0x30], al
mov qword [rsp + 0x28], rsi
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9, r13
mov r8, r12
mov rdx, r15
mov rcx, r14
call fcn.1400026b0
nop
movaps xmm6, xmmword [rsp + 0xf0]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret