Function at 0x1400541c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
movaps xmmword [rsp + 0x120], xmm6
mov rax, qword [0x140164040]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r15, r9
mov rdi, r8
mov r14, rdx
mov rsi, rcx
xor ebx, ebx
test r8, r8
jne 0x1400543d3
movups xmm0, xmmword [str.XAYUS_]
movups xmmword [rbp - 0x38], xmm0
mov eax, dword [0x14014f110]
mov dword [rbp - 0x28], eax
movzx eax, byte [0x14014f114]
mov byte [rbp - 0x24], al
cmp dword [0x140164090], 2
jl 0x14005436a
movdqa xmm5, xmmword [0x140150d30]
movdqa xmm4, xmmword [0x140150ef0]
movdqa xmm6, xmmword [0x140150d50]
movdqa xmm0, xmmword [str.5555555555555555]
movdqa xmmword [rbp - 0x10], xmm0
lea rcx, [rbp - 0x34]
mov edx, dword [rbp - 0x10]
nop dword [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
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
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, [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
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
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 ebx, 8
mov eax, ebx
lea rcx, [rcx + 8]
cmp ebx, 0x10
jl 0x140054260
cmp eax, 0x15
jge 0x1400543ae
movsxd rax, ebx
lea r8, [rbp - 0x38]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, bl
sub al, cl
add al, 0x35
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x15
jl 0x140054380
lea rdx, [rbp - 0x38]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14009f930
lea rdx, [0x14009fb00]
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 0x140054819
cvttss2si r8d, dword [r8 + 8]
lea r9, [rbp - 0x23]
test r8d, r8d
jns 0x140054430
neg r8d
nop word [rax + rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x1400543f0
dec r9
mov byte [r9], 0x2d
jmp 0x14005445a
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x140054430
lea r8, [rbp - 0x23]
mov rdx, r9
lea rcx, [rbp - 0x78]
call fcn.1400a20e0
nop
cvttss2si r8d, dword [rdi + 4]
lea r9, [rbp + 5]
test r8d, r8d
jns 0x1400544c0
neg r8d
nop dword [rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x140054480
dec r9
mov byte [r9], 0x2d
jmp 0x1400544ea
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x1400544c0
lea r8, [rbp + 5]
mov rdx, r9
lea rcx, [rsp + 0x68]
call fcn.1400a20e0
nop
cvttss2si r8d, dword [rdi]
lea r9, [rbp - 0x23]
test r8d, r8d
jns 0x140054550
neg r8d
nop dword [rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x140054510
dec r9
mov byte [r9], 0x2d
jmp 0x14005457a
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x140054550
lea r8, [rbp - 0x23]
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.1400a20e0
nop
mov r8d, 1
lea rdx, [0x14014d8b0]
lea rcx, [rsp + 0x48]
call fcn.14009f700
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp], xmm1
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], rbx
mov byte [rax], 0
lea r9, [rsp + 0x68]
lea r8, [rbp - 0x10]
lea rcx, [rsp + 0x28]
call fcn.1400a1dd0
nop
mov r8d, 1
lea rdx, [0x14014d8ac]
lea rcx, [rsp + 0x28]
call fcn.14009f700
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x28], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea r9, [rbp - 0x78]
lea r8, [rbp - 0x38]
lea rcx, [rbp - 0x58]
call fcn.1400a1dd0
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x14005465b
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054655
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054655
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010e8d0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14005469b
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054696
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054696
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010e8d0
movdqa xmm0, xmmword [0x140150ce0]
movdqu xmmword [rsp + 0x38], xmm0
mov byte [rsp + 0x28], 0
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x1400546ed
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400546e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400546e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010e8d0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14005472d
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054728
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054728
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010e8d0
movdqa xmm0, xmmword [0x140150ce0]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140054780
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005477a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005477a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010e8d0
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x1400547be
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400547b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400547b9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010e8d0
lea r8, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova r8, qword [rbp - 0x58]
mov r9, r15
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x140054819
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054814
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054814
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010e8d0
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.14010e270
mov rbx, qword [rsp + 0x170]
movaps xmm6, xmmword [rsp + 0x120]
add rsp, 0x130
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret