Function at 0x140002ee0
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 [0x14006be98]
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [0x14006bea8]
movsd qword [rsp + 0x60], xmm0
movzx eax, word [0x14006beb0]
mov word [rsp + 0x68], ax
xor ebx, ebx
mov edi, dword [0x1400801d8]
movdqa xmm6, xmmword [0x14006c230]
cmp byte [0x14006beb1], bl
je 0x140003130
mov r8d, ebx
cmp edi, 2
jl 0x1400030e7
movdqa xmm4, xmmword [0x14006c200]
movdqa xmm3, xmmword [0x14006c260]
movdqa xmm5, xmmword [0x14006c220]
movdqa xmm0, xmmword [0x14006c250]
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 0x140003000
cmp r8d, 0x1a
jge 0x140003130
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x1a
jl 0x140003100
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.14000d140
nop
lea rcx, [rsp + 0x70]
call fcn.140038dc4
nop
mov rdx, qword [rsp + 0x88]
cmp rdx, 0xf
jbe 0x14000318e
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003189
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003189
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005d62c
cmp qword [rsi + 0x10], 0
jne 0x14000333d
movups xmm0, xmmword [0x14006b9a0]
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [0x14006b9b0]
movsd qword [rsp + 0x60], xmm0
movzx eax, byte [0x14006b9b8]
mov byte [rsp + 0x68], al
mov ecx, ebx
cmp edi, 2
jl 0x1400032e4
movdqa xmm4, xmmword [0x14006c200]
movdqa xmm3, xmmword [0x14006c260]
movdqa xmm5, xmmword [0x14006c220]
movdqa xmm0, xmmword [0x14006c250]
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 0x140003200
cmp ecx, 0x19
jge 0x14000331c
movsxd rax, ecx
lea r8, [rsp + 0x50]
add r8, rax
nop
mov eax, 0x4d4873ed
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
sub al, dl
add al, 0x39
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x19
jl 0x1400032f0
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.14000de00
mov rdx, rsi
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.14000e020
nop
lea rcx, [rsp + 0x50]
call fcn.140001fc0
nop
mov rdx, rax
mov rcx, rsi
call fcn.14002db58
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140003394
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000338f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000338f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005d62c
movups xmm0, xmmword [str.xOOTXPK__7__f4_.___:_S]
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [0x14006be18]
movsd qword [rsp + 0x60], xmm0
movzx eax, word [0x14006be20]
mov word [rsp + 0x68], ax
movzx eax, byte [0x14006be22]
mov byte [rsp + 0x6a], al
cmp edi, 2
jl 0x1400034e2
movdqa xmm4, xmmword [0x14006c200]
movdqa xmm3, xmmword [0x14006c260]
movdqa xmm5, xmmword [0x14006c220]
movdqa xmm0, xmmword [0x14006c250]
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 0x140003400
cmp ebx, 0x1b
jge 0x14000351c
movsxd rax, ebx
lea r8, [rsp + 0x50]
add r8, rax
nop dword [rax]
mov eax, 0x4d4873ed
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, bl
sub al, dl
add al, 0x39
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x1b
jl 0x1400034f0
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.14000de00
lea rdx, [0x14000dfe0]
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.140002630
nop
movaps xmm6, xmmword [rsp + 0xf0]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret