Function at 0x1400451c0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
mov r14d, r8d
mov r15, rdx
mov rsi, rcx
mov ecx, dword [0x14017a0f4]
mov rax, qword gs:[0x58]
mov r8d, 4
mov rdx, qword [rax + rcx*8]
xor ebx, ebx
lea r12d, [rbx + 4]
lea r13d, [rbx + 0x1f]
mov edi, dword [0x1401798c0]
mov eax, dword [r8 + rdx]
cmp dword [0x140179eb8], eax
jg 0x1400456cf
mov r8, qword [0x140179eb0]
test r8, r8
jne 0x140045608
mov rax, qword [0x14008e4a8]
mov qword [rbp - 0x69], rax
cmp byte [0x14008e4af], r8b
je 0x1400453d0
cmp edi, 2
jl 0x140045390
movdqa xmm4, xmmword [0x1400b0990]
movd xmm6, r12d
movd xmm5, r13d
movdqa xmm2, xmmword [0x1400b0940]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400b0960]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400b0970]
packuswb xmm2, xmm2
mov eax, dword [str.5555555555555555YYP]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x69]
pxor xmm2, xmm1
movd dword [rbp - 0x69], xmm2
movdqa xmm3, xmmword [0x1400b0950]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400b0960]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400b0970]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x65]
pxor xmm2, xmm1
movd dword [rbp - 0x65], xmm2
jmp 0x1400453d0
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x49], xmm1
lea rax, [rbp - 0x29]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
je 0x140045666
jmp 0x140045380
lea r9, [rbp - 0x69]
mov r8d, ebx
nop word [rax + rax]
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x35
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x1400453a0
mov r9d, 0x40
lea r8d, [r9 - 0x36]
lea rdx, [rbp - 0x69]
lea rsi, str.h_a_v_
mov rcx, rsi
call fcn.140048930
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400b7008]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pubsetbuf_char____ptr64__long_long___int64_____ptr64]
movups xmm0, xmmword [0x14008e4b0]
movups xmmword [rbp - 0x59], xmm0
movups xmm1, xmmword [0x14008e4c0]
movups xmmword [rbp - 0x49], xmm1
movsd xmm0, qword [0x14008e4d0]
movsd qword [rbp - 0x39], xmm0
mov eax, dword [0x14008e4d8]
mov dword [rbp - 0x31], eax
movzx eax, byte [0x14008e4dc]
mov byte [rbp - 0x2d], al
cmp edi, 2
jl 0x140045582
movdqa xmm5, xmmword [0x1400b0940]
movdqa xmm4, xmmword [0x1400b0990]
movd xmm6, r12d
movdqa xmm7, xmmword [0x1400b0960]
movd xmm8, r13d
movdqa xmm0, xmmword [str.5555555555555555YYP]
movdqa xmmword [rbp - 0x69], xmm0
lea rcx, [rbp - 0x55]
mov edx, dword [rbp - 0x69]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400b0970]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rbx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400b0970]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
lea rcx, [rcx + 8]
cmp ebx, 0x28
jl 0x140045480
cmp ebx, 0x2d
jge 0x1400455bc
movsxd rax, ebx
lea r8, [rbp - 0x59]
add r8, rax
nop dword [rax]
mov eax, 0x51eb851f
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, bl
sub al, cl
add al, 0x35
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x2d
jl 0x140045590
lea rdx, [rbp - 0x59]
mov rcx, rsi
call fcn.140020d00
lea rdx, [0x140020ed0]
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]
lea rcx, [0x1400b7008]
call fcn.1400207b0
test rax, rax
jne 0x140045620
mov rax, qword [str.h_a_v_]
movsxd rcx, dword [rax + 4]
add rcx, rsi
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
xor al, al
jmp 0x14004562b
mov dword [rsp + 0x20], r14d
mov r9, r15
lea rdx, [rbp - 0x69]
mov rcx, rsi
call fcn.140026d90
test al, al
jne 0x140045624
xor al, al
jmp 0x14004562b
cmp dword [rbp - 0x69], 0
setge al
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x140179eb8]
call fcn.14008293c
jmp 0x14004522c
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x59]
call fcn.140030830
nop
lea r8, [rbp - 0x59]
mov rdx, qword [0x140179e78]
mov rcx, rsi
call fcn.140040ce0
mov qword [0x140179eb0], rax
mov rdx, qword [rbp - 0x41]
cmp rdx, 0x10
jb 0x140045655
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400458b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400458b5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [0x140179eb8]
call fcn.14008299c
cmp dword [0x140179eb8], 0xffffffff
jne 0x14004522c
movups xmm0, xmmword [0x14008e488]
movups xmmword [rbp - 0x29], xmm0
movsd xmm0, qword [0x14008e498]
movsd qword [rbp - 0x19], xmm0
movzx eax, word [0x14008e4a0]
mov word [rbp - 0x11], ax
cmp byte [0x14008e4a1], 0
je 0x14004535f
mov r8d, ebx
cmp edi, 2
jl 0x14004586b
movdqa xmm5, xmmword [0x1400b0940]
movdqa xmm4, xmmword [0x1400b0990]
movd xmm6, r12d
movdqa xmm7, xmmword [0x1400b0960]
movd xmm8, r13d
movdqa xmm0, xmmword [str.5555555555555555YYP]
movdqa xmmword [rbp - 0x69], xmm0
lea rcx, [rbp - 0x25]
mov edx, dword [rbp - 0x69]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400b0970]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400b0970]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x18
jl 0x140045760
cmp r8d, 0x1a
jge 0x14004535f
movsxd rax, r8d
lea r9, [rbp - 0x29]
add r9, rax
nop word [rax + rax]
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x35
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x1a
jl 0x140045880
jmp 0x14004535f
call fcn.1400825b4
jmp 0x140045655