Function at 0x140064140
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x38]
sub rsp, 0x138
movaps xmmword [rsp + 0x120], xmm6
mov rax, qword [0x1401c0040]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r13, r9
mov r14, r8
mov r12, rdx
mov r15, rcx
xor esi, esi
test r8, r8
jne 0x140064355
movups xmm0, xmmword [str.y_DRXR]
movups xmmword [rsp + 0x20], xmm0
mov eax, dword [0x14019fda0]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x14019fda4]
mov byte [rsp + 0x34], al
cmp dword [0x1401c0090], 2
jl 0x1400642eb
movdqa xmm5, xmmword [0x1401a1d80]
movdqa xmm4, xmmword [0x1401a2010]
movdqa xmm6, xmmword [0x1401a1dc0]
movdqa xmm0, xmmword [str.00000000000000001111111111111111]
movdqa xmmword [rbp - 0x10], xmm0
lea rcx, [rsp + 0x24]
mov edx, dword [rbp - 0x10]
movd xmm2, esi
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 [0x1401a1e70]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rsi + 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 [0x1401a1e70]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add esi, 8
mov eax, esi
lea rcx, [rcx + 8]
cmp esi, 0x10
jl 0x1400641e1
cmp eax, 0x15
jge 0x14006432f
movsxd rax, esi
lea r8, [rsp + 0x20]
add r8, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, sil
sub al, cl
add al, 0x30
xor byte [r8], al
inc esi
lea r8, [r8 + 1]
cmp esi, 0x15
jl 0x140064300
lea rdx, [rsp + 0x20]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400b74b0
lea rdx, [0x1400b7680]
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 0x140064624
cvttss2si edx, dword [r8 + 8]
lea rcx, [rbp - 0x38]
call fcn.14005f3f0
mov rdi, rax
cvttss2si edx, dword [r14 + 4]
lea rcx, [rbp - 0x58]
call fcn.14005f3f0
mov rbx, rax
cvttss2si edx, dword [r14]
lea rcx, [rbp - 0x78]
call fcn.14005f3f0
nop
mov r8d, 1
lea rdx, [0x14019bbd0]
mov rcx, rax
call fcn.1400b6780
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], rsi
mov byte [rax], 0
mov r9, rbx
lea r8, [rsp + 0x68]
lea rcx, [rsp + 0x20]
call fcn.1400bc530
nop
mov r8d, 1
lea rdx, [0x14019bbcc]
lea rcx, [rsp + 0x20]
call fcn.1400b6780
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r9, rdi
lea r8, [rsp + 0x48]
lea rcx, [rbp - 0x10]
call fcn.1400bc530
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14006445a
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140064454
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140064454
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401503b0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14006449a
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140064495
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140064495
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401503b0
movdqa xmm0, xmmword [0x1401a1d30]
movdqu xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x20], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x1400644ed
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400644e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400644e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401503b0
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x14006452b
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140064526
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140064526
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401503b0
movdqa xmm0, xmmword [0x1401a1d30]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x14006457a
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140064575
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140064575
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401503b0
movdqa xmm0, xmmword [0x1401a1d30]
movdqu xmmword [rbp - 0x48], xmm0
mov byte [rbp - 0x58], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x1400645c9
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400645c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400645c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401503b0
lea r8, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
cmova r8, qword [rbp - 0x10]
mov r9, r13
mov rdx, r12
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x140064624
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006461f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006461f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401503b0
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.14014fd50
movaps xmm6, xmmword [rsp + 0x120]
add rsp, 0x138
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret