Function at 0x140046ff0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], 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 rax, qword [0x1400b8010]
xor rax, rsp
mov qword [rbp - 0x11], rax
mov rbx, r8
mov rdi, rdx
mov qword [rbp - 0x69], rdx
xor r14d, r14d
movzx esi, byte [0x1400cc098]
cmp byte [0x1400cc00c], r14b
je 0x14004709e
movsd xmm0, qword [str.RYP]
movsd qword [rbp - 0x69], xmm0
movzx eax, byte [0x1400aef98]
mov byte [rbp - 0x69], 0x4e
xor byte [rbp - 0x68], 0x33
xor byte [rbp - 0x67], 0x34
xor byte [rbp - 0x66], 0x35
xor byte [rbp - 0x65], 0x36
xor byte [rbp - 0x64], 0x37
xor byte [rbp - 0x63], 0x38
xor byte [rbp - 0x62], 0x39
xor al, 0x3a
mov byte [rbp - 0x61], al
lea rdx, [rbp - 0x69]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140053a80
lea rdx, [0x140053c50]
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]
test sil, sil
je 0x1400472e2
lea rcx, [rbx + 0x330]
call fcn.140053d50
movsxd r15, eax
lea rcx, [rbx + 0x328]
call fcn.140053c90
mov rsi, rax
mov eax, 2
mul r15
mov r13, 0xffffffffffffffff
cmovo rax, r13
mov rcx, rax
call fcn.140055684
mov r12, rax
mov r8, r15
mov rdx, rax
mov rcx, rsi
call fcn.140053e10
cmp byte [0x1400cc00c], r14b
je 0x140047350
movups xmm0, xmmword [0x1400af0a8]
movups xmmword [rbp - 0x51], xmm0
movsd xmm0, qword [0x1400af0b8]
movsd qword [rbp - 0x41], xmm0
movzx eax, word [0x1400af0c0]
mov word [rbp - 0x39], ax
cmp byte [0x1400af0c1], r14b
je 0x1400472c0
mov ecx, r14d
cmp dword [0x1400b8018], 2
jl 0x140047288
movdqa xmm5, xmmword [0x1400af580]
movdqa xmm4, xmmword [0x1400af7b0]
mov eax, 5
movd xmm6, eax
movdqa xmm7, xmmword [0x1400af5b0]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [0x1400af610]
movdqa xmmword [rbp - 0x69], xmm0
lea rdx, [rbp - 0x51]
mov r8d, dword [rbp - 0x69]
nop
movd xmm2, ecx
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
paddd xmm1, xmm2
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
andps xmm2, xmmword [0x1400af5f0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
lea eax, [rcx + 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
paddd xmm1, xmm3
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
andps xmm2, xmmword [0x1400af5f0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx + 4]
xorps xmm2, xmm0
movd dword [rdx + 4], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x18
jl 0x140047180
cmp ecx, 0x1a
jge 0x1400472c0
movsxd rax, ecx
lea r8, [rbp - 0x51]
add r8, rax
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, cl
sub al, dl
add al, 0x32
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1a
jl 0x140047292
lea rdx, [rbp - 0x51]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140053a80
lea rdx, [0x140053c50]
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]
jmp 0x140047350
lea rcx, [rbx + 0xae8]
call fcn.140053c90
mov rsi, rax
lea rcx, [rax + 0x10]
call fcn.140053d50
movsxd r15, eax
test eax, eax
jg 0x14004731b
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], r14b
jmp 0x1400474f1
mov eax, 2
mul r15
mov r13, 0xffffffffffffffff
cmovo rax, r13
mov rcx, rax
call fcn.140055684
mov r12, rax
lea rcx, [rsi + 8]
call fcn.140053c90
mov r8, r15
mov rdx, r12
mov rcx, rax
call fcn.140053e10
lea edx, [r15 - 1]
mov r8d, r14d
mov rcx, r12
and edx, 3
nop dword [rax]
lea eax, [r15 - 1]
test r15d, r15d
cmove eax, r14d
cmp r8d, eax
jge 0x140047386
add edx, 3
inc r8d
movzx eax, dx
and ax, 7
add word [rcx], ax
add rcx, 2
jmp 0x140047360
mov rdx, r12
lea rcx, [rbp - 0x31]
call fcn.140053410
nop
mov rcx, r12
call fcn.14005522c
lea r8, [rbp - 0x31]
mov rcx, qword [rbp - 0x31]
mov rdx, qword [rbp - 0x19]
mov rax, qword [rbp - 0x21]
cmp rdx, 8
jb 0x1400473ba
lea rbx, [rcx + rax*2]
mov rsi, rcx
jmp 0x1400473c2
lea rbx, [r8 + rax*2]
lea rsi, [rbp - 0x31]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
cmp rsi, rbx
jne 0x1400473e1
mov byte [rdi], 0
jmp 0x1400474b6
mov rax, rbx
sub rax, rsi
sar rax, 1
movabs r15, 0x7fffffffffffffff
cmp rax, r15
ja 0x140047530
cmp rax, 0x10
jb 0x140047472
or rax, 0xf
cmp rax, r15
ja 0x14004741b
mov r15, rax
mov ecx, 0x16
cmp rax, rcx
cmovb r15, rcx
mov rcx, r15
add rcx, 1
cmovb rcx, r13
cmp rcx, 0x1000
jb 0x14004745e
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14004752a
mov rcx, rax
call fcn.1400553c4
test rax, rax
je 0x140047457
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x14004746b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x14004746b
call fcn.1400553c4
mov r14, rax
mov qword [rdi], r14
mov qword [rdi + 0x18], r15
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14004747f
mov rdx, qword [rdi]
movzx ecx, byte [rsi]
mov rax, qword [rdi + 0x10]
mov byte [rdx + rax], cl
mov rax, qword [rdi + 0x10]
inc rax
mov qword [rdi + 0x10], rax
add rsi, 2
cmp rsi, rbx
jne 0x140047472
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400474aa
mov rcx, qword [rdi]
mov byte [rcx + rax], 0
mov rdx, qword [rbp - 0x19]
mov rcx, qword [rbp - 0x31]
cmp rdx, 8
jb 0x1400474f1
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400474ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400474ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005522c
mov rax, rdi
mov rcx, qword [rbp - 0x11]
xor rcx, rsp
call fcn.140054fc0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x40]
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
call fcn.1400304e0
nop
call fcn.140045940
int3