Function at 0x14007c060
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
mov rax, qword [0x140164040]
xor rax, rsp
mov qword [rbp - 0x11], rax
mov r14, qword [0x140265a48]
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
lea r15, [rbp + 0x5f]
movabs r12, 0xff00ff00ff00ff00
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x19], r15
mov rsi, qword [r15]
xor rsi, r12
mov qword [rbp - 0x29], rsi
xor edi, edi
mov qword [r15], rdi
lea rdx, [r14 + 0x318]
mov ecx, dword [0x140265448]
call fcn.14009fe50
mov r8d, dword [0x1402657cc]
mov rdx, rax
lea rcx, [rbp - 0x79]
call fcn.1400770f0
cmp byte [0x1402657e7], dil
je 0x14007c6e3
movsd xmm8, qword [rbp - 0x71]
movaps xmm0, xmm8
subsd xmm0, qword [0x140265728]
cvtpd2ps xmm0, xmm0
movss xmm6, dword [0x140150ab8]
movaps xmm1, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movaps xmm7, xmm0
movsd xmm9, qword [rbp - 0x79]
movaps xmm0, xmm9
subsd xmm0, qword [0x140265720]
cvtpd2ps xmm0, xmm0
movaps xmm1, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm7, xmm0
movsd xmm10, qword [rbp - 0x69]
movaps xmm2, xmm10
subsd xmm2, qword [0x140265730]
cvtpd2ps xmm0, xmm2
movaps xmm1, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm7, xmm0
xorps xmm1, xmm1
ucomiss xmm1, xmm7
ja 0x14007c18b
xorps xmm0, xmm0
sqrtss xmm0, xmm7
jmp 0x14007c193
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
cvtss2sd xmm0, xmm0
cvttsd2si ebx, xmm0
lea rdx, [r14 + 0x198]
mov ecx, dword [0x140265448]
call fcn.14009fe50
lea r8, [rax + 0x168]
mov edx, dword [0x140265448]
lea rcx, [rbp - 0x49]
call fcn.1400a0180
movd xmm1, ebx
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x1402654fc]
cvtps2pd xmm3, xmm1
movss xmm0, dword [0x1402654f8]
mulss xmm0, dword [0x140150c7c]
andps xmm0, xmmword [0x140150eb0]
mulss xmm1, xmm1
mulss xmm0, dword [0x140150a38]
mulss xmm1, xmm0
cvtps2pd xmm2, xmm1
movaps xmm0, xmm3
mulsd xmm0, qword [rbp - 0x39]
addsd xmm2, xmm0
movaps xmm1, xmm3
mulsd xmm1, qword [rbp - 0x49]
addsd xmm1, xmm9
movsd qword [rbp - 0x79], xmm1
mulsd xmm3, qword [rbp - 0x41]
addsd xmm3, xmm8
movsd qword [rbp - 0x71], xmm3
addsd xmm2, xmm10
movsd qword [rbp - 0x69], xmm2
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x59]
call fcn.140076d80
mov eax, dword [0x140265aec]
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
imul ecx, dword [0x140250e3c]
movd xmm8, ecx
cvtdq2ps xmm8, xmm8
divss xmm8, dword [0x140265750]
mulss xmm8, dword [0x140150a38]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsd xmm9, qword [rbp - 0x59]
movaps xmm0, xmm9
subsd xmm0, xmm1
cvtpd2ps xmm2, xmm0
movaps xmm0, xmm2
movaps xmm4, xmm0
andps xmm4, xmmword [0x140150eb0]
mov eax, dword [0x140265af8]
cdq
sub eax, edx
sar eax, 1
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsd xmm10, qword [rbp - 0x51]
movaps xmm0, xmm10
subsd xmm0, xmm1
cvtpd2ps xmm2, xmm0
movaps xmm6, xmm2
andps xmm6, xmmword [0x140150eb0]
addss xmm6, xmm4
cmp byte [0x14026544d], 0
je 0x14007c6cc
movups xmm0, xmmword [0x14014eba0]
movups xmmword [rbp - 0x79], xmm0
movsd xmm0, qword [0x14014ebb0]
movsd qword [rbp - 0x69], xmm0
mov ebx, dword [0x140164090]
cmp byte [0x14014ebb7], 0
je 0x14007c483
cmp ebx, 2
jl 0x14007c447
movdqa xmm5, xmmword [0x140150d30]
mov edx, edi
movdqa xmm4, xmmword [0x140150ef0]
movdqa xmm7, xmmword [0x140150d50]
movdqa xmm0, xmmword [str.5555555555555555]
movdqa xmmword [rbp - 0x59], xmm0
lea rcx, [rbp - 0x75]
mov r8d, dword [rbp - 0x59]
nop dword [rax]
movd xmm2, edx
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, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140150da0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 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, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140150da0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x18
jl 0x14007c340
jmp 0x14007c483
lea r9, [rbp - 0x79]
mov r8d, edi
nop
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, r8b
sub al, dl
add al, 0x35
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x18
jl 0x14007c450
lea rdx, [rbp - 0x79]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14009f930
movss xmm1, dword [0x1402654fc]
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___float____ptr64]
movzx ecx, word [0x14014e5ec]
mov word [rsp + 0x20], cx
cmp byte [0x14014e5ed], 0
je 0x14007c4c3
mov byte [rsp + 0x20], 0xa
xor byte [rsp + 0x21], 0x36
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.14009f930
movups xmm0, xmmword [str.PZD_]
movups xmmword [rbp - 0x79], xmm0
mov eax, dword [0x14014fe90]
mov dword [rbp - 0x69], eax
movzx eax, word [0x14014fe94]
mov word [rbp - 0x65], ax
cmp byte [0x14014fe95], 0
je 0x14007c67f
cmp ebx, 2
jl 0x14007c63b
movdqa xmm5, xmmword [0x140150d30]
movdqa xmm4, xmmword [0x140150ef0]
movdqa xmm7, xmmword [0x140150d50]
movdqa xmm0, xmmword [str.5555555555555555]
movdqa xmmword [rbp - 0x59], xmm0
lea rcx, [rbp - 0x75]
mov edx, dword [rbp - 0x59]
movd xmm2, edi
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, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140150da0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdi + 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, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140150da0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edi, 8
mov eax, edi
lea rcx, [rcx + 8]
cmp edi, 0x10
jl 0x14007c531
cmp eax, 0x16
jge 0x14007c67f
movsxd rax, edi
lea r8, [rbp - 0x79]
add r8, rax
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul edi
add edx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, dil
sub al, dl
add al, 0x35
xor byte [r8], al
inc edi
lea r8, [r8 + 1]
cmp edi, 0x16
jl 0x14007c650
lea rdx, [rbp - 0x79]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14009f930
movss xmm1, dword [0x1402654f8]
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___float____ptr64]
movzx ecx, word [0x14014e5ec]
mov word [rsp + 0x20], cx
cmp byte [0x14014e5ed], 0
je 0x14007c6bf
mov byte [rsp + 0x20], 0xa
xor byte [rsp + 0x21], 0x36
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.14009f930
xorps xmm0, xmm0
ucomiss xmm6, xmm0
jp 0x14007c6da
je 0x14007cbb1
comiss xmm8, xmm6
jmp 0x14007cb99
movups xmm0, xmmword [rbp - 0x79]
movaps xmmword [rbp - 0x49], xmm0
movsd xmm1, qword [rbp - 0x69]
movsd qword [rbp - 0x39], xmm1
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x59]
call fcn.140076d80
mov eax, dword [0x140265aec]
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
imul ecx, dword [0x140250e3c]
movd xmm7, ecx
cvtdq2ps xmm7, xmm7
divss xmm7, dword [0x140265750]
mulss xmm7, dword [0x140150a38]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsd xmm9, qword [rbp - 0x59]
movaps xmm0, xmm9
subsd xmm0, xmm1
cvtpd2ps xmm2, xmm0
movaps xmm0, xmm2
movaps xmm4, xmm0
andps xmm4, xmmword [0x140150eb0]
mov eax, dword [0x140265af8]
cdq
sub eax, edx
sar eax, 1
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsd xmm10, qword [rbp - 0x51]
movaps xmm0, xmm10
subsd xmm0, xmm1
cvtpd2ps xmm2, xmm0
movaps xmm6, xmm2
andps xmm6, xmmword [0x140150eb0]
addss xmm6, xmm4
cmp byte [0x14026544d], 0
je 0x14007cb8c
movups xmm0, xmmword [0x14014eba0]
movups xmmword [rbp - 0x79], xmm0
movsd xmm0, qword [0x14014ebb0]
movsd qword [rbp - 0x69], xmm0
mov ebx, dword [0x140164090]
cmp byte [0x14014ebb7], 0
je 0x14007c943
cmp ebx, 2
jl 0x14007c909
movdqa xmm5, xmmword [0x140150d30]
mov edx, edi
movdqa xmm4, xmmword [0x140150ef0]
movdqa xmm8, xmmword [0x140150d50]
movdqa xmm0, xmmword [str.5555555555555555]
movdqa xmmword [rbp - 0x59], xmm0
lea rcx, [rbp - 0x75]
mov r8d, dword [rbp - 0x59]
nop dword [rax + rax]
movd xmm2, edx
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, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140150da0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 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, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140150da0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x18
jl 0x14007c800
jmp 0x14007c943
lea r9, [rbp - 0x79]
mov r8d, edi
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, r8b
sub al, dl
add al, 0x35
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x18
jl 0x14007c910
lea rdx, [rbp - 0x79]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14009f930
movss xmm1, dword [0x1402654fc]
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___float____ptr64]
movzx ecx, word [0x14014e5ec]
mov word [rsp + 0x20], cx
cmp byte [0x14014e5ed], 0
je 0x14007c983
mov byte [rsp + 0x20], 0xa
xor byte [rsp + 0x21], 0x36
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.14009f930
movups xmm0, xmmword [str.PZD_]
movups xmmword [rbp - 0x79], xmm0
mov eax, dword [0x14014fe90]
mov dword [rbp - 0x69], eax
movzx eax, word [0x14014fe94]
mov word [rbp - 0x65], ax
cmp byte [0x14014fe95], 0
je 0x14007cb3f
cmp ebx, 2
jl 0x14007cafe
movdqa xmm5, xmmword [0x140150d30]
movdqa xmm4, xmmword [0x140150ef0]
movdqa xmm8, xmmword [0x140150d50]
movdqa xmm0, xmmword [str.5555555555555555]
movdqa xmmword [rbp - 0x59], xmm0
lea rcx, [rbp - 0x75]
mov edx, dword [rbp - 0x59]
movd xmm2, edi
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, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140150da0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdi + 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, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140150da0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edi, 8
mov eax, edi
lea rcx, [rcx + 8]
cmp edi, 0x10
jl 0x14007c9f2
cmp eax, 0x16
jge 0x14007cb3f
movsxd rax, edi
lea r8, [rbp - 0x79]
add r8, rax
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
imul edi
add edx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, dil
sub al, dl
add al, 0x35
xor byte [r8], al
inc edi
lea r8, [r8 + 1]
cmp edi, 0x16
jl 0x14007cb10
lea rdx, [rbp - 0x79]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14009f930
movss xmm1, dword [0x1402654f8]
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___float____ptr64]
movzx ecx, word [0x14014e5ec]
mov word [rsp + 0x20], cx
cmp byte [0x14014e5ed], 0
je 0x14007cb7f
mov byte [rsp + 0x20], 0xa
xor byte [rsp + 0x21], 0x36
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.14009f930
xorps xmm0, xmm0
ucomiss xmm6, xmm0
jp 0x14007cb96
je 0x14007cbb1
comiss xmm7, xmm6
jbe 0x14007cbb1
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsd2ss xmm1, xmm10
cvtsd2ss xmm0, xmm9
call fcn.14007b2b0
nop
xor rsi, r12
mov qword [r15], rsi
mov rcx, qword [rbp - 0x11]
xor rcx, rsp
call fcn.14010e270
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
pop r14
pop rbp
ret