Function at 0x1400458c0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
mov r15, r8
mov r14, 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 [0x140179ec8], eax
jg 0x140045db0
mov r8, qword [0x140179ec0]
test r8, r8
jne 0x140045cf8
mov rax, qword [0x14008e4f8]
mov qword [rbp - 0x59], rax
cmp byte [0x14008e4ff], r8b
je 0x140045ad0
cmp edi, 2
jl 0x140045a90
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 - 0x59]
pxor xmm2, xmm1
movd dword [rbp - 0x59], 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 - 0x55]
pxor xmm2, xmm1
movd dword [rbp - 0x55], xmm2
jmp 0x140045ad0
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
lea rax, [rbp - 0x49]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
je 0x140045d47
jmp 0x140045a80
lea r9, [rbp - 0x59]
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 0x140045aa0
mov r9d, 0x40
lea r8d, [r9 - 0x36]
lea rdx, [rbp - 0x59]
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 [0x14008e500]
movups xmmword [rbp - 0x31], xmm0
movups xmm1, xmmword [0x14008e510]
movups xmmword [rbp - 0x21], xmm1
mov eax, dword [0x14008e520]
mov dword [rbp - 0x11], eax
movzx eax, word [0x14008e524]
mov word [rbp - 0xd], ax
cmp edi, 2
jl 0x140045c72
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 - 0x59], xmm0
lea rcx, [rbp - 0x2d]
mov edx, dword [rbp - 0x59]
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, 0x20
jl 0x140045b70
cmp ebx, 0x26
jge 0x140045cac
movsxd rax, ebx
lea r8, [rbp - 0x31]
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, 0x26
jl 0x140045c80
lea rdx, [rbp - 0x31]
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 0x140045cf4
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 0x140045d0c
mov qword [rsp + 0x20], r15
mov r9, r14
lea rdx, [rbp - 0x59]
mov rcx, rsi
call fcn.14002a120
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x58]
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, [0x140179ec8]
call fcn.14008293c
jmp 0x14004592c
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x31]
call fcn.140030830
nop
lea r8, [rbp - 0x31]
mov rdx, qword [0x140179e78]
mov rcx, rsi
call fcn.140040ce0
mov qword [0x140179ec0], rax
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x140045d36
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140045f85
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140045f85
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [0x140179ec8]
call fcn.14008299c
cmp dword [0x140179ec8], 0xffffffff
jne 0x14004592c
movups xmm0, xmmword [str.x_bVT_KpR_T__]
movups xmmword [rbp - 0x49], xmm0
movzx eax, word [0x14008e4f0]
mov word [rbp - 0x39], ax
movzx eax, byte [0x14008e4f2]
mov byte [rbp - 0x37], al
mov r8d, ebx
cmp edi, 2
jl 0x140045f3b
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 - 0x59], xmm0
lea rcx, [rbp - 0x45]
mov edx, dword [rbp - 0x59]
nop dword [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, 0x10
jl 0x140045e30
cmp r8d, 0x13
jge 0x140045a5f
movsxd rax, r8d
lea r9, [rbp - 0x49]
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, 0x13
jl 0x140045f50
jmp 0x140045a5f
call fcn.1400825b4
jmp 0x140045d36