Function at 0x140025f90
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 - 0x48]
sub rsp, 0x148
movaps xmmword [rsp + 0x130], xmm6
mov rax, qword [0x14025e900]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov r13, r9
mov rdi, r8
mov r12, rdx
mov r15, rcx
xor ebx, ebx
test r8, r8
jne 0x140026192
movups xmm0, xmmword [0x14012e3d8]
movups xmmword [rsp + 0x38], xmm0
mov eax, dword [0x14012e3e8]
mov dword [rsp + 0x48], eax
movzx eax, byte [0x14012e3ec]
mov byte [rsp + 0x4c], al
cmp dword [0x14025e950], 2
jl 0x140026135
movdqa xmm5, xmmword [0x14012fd60]
movdqa xmm4, xmmword [0x14012fef0]
movdqa xmm6, xmmword [0x14012fd80]
movdqa xmm0, xmmword [str.0000000000000000]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x3c]
mov edx, dword [rsp + 0x60]
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, 4
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 [0x14012fda0]
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
psrad xmm1, 4
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 [0x14012fda0]
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 0x140026033
cmp eax, 0x15
jge 0x14002616c
movsxd rax, ebx
lea r8, [rsp + 0x38]
add r8, 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, 0x30
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x15
jl 0x140026140
lea rdx, [rsp + 0x38]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140002650
lea rdx, [0x140003460]
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 0x1400264f4
cvttss2si edx, dword [r8 + 8]
lea rcx, [rbp]
call fcn.1400351d0
mov r14, rax
cvttss2si edx, dword [rdi + 4]
lea rcx, [rbp - 0x20]
call fcn.1400351d0
mov rsi, rax
cvttss2si edx, dword [rdi]
lea rcx, [rbp - 0x40]
call fcn.1400351d0
mov r10, rax
mov rdx, qword [rax + 0x10]
mov r8, qword [rax + 0x18]
mov rcx, r8
sub rcx, rdx
cmp rcx, 1
jb 0x1400261f5
lea rax, [rdx + 1]
mov qword [r10 + 0x10], rax
mov rax, r10
cmp r8, 0xf
jbe 0x1400261ed
mov rax, qword [r10]
mov word [rax + rdx], 0x2c
jmp 0x14002621b
mov qword [rsp + 0x20], 1
lea r9, [0x14012e3f0]
movzx r8d, byte [rsp + 0x30]
mov edx, 1
mov rcx, r10
call fcn.140002f60
mov r10, rax
movups xmm0, xmmword [r10]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [r10 + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [r10 + 0x10], rbx
mov qword [r10 + 0x18], 0xf
mov byte [r10], 0
mov r9, rsi
lea r8, [rbp - 0x60]
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140003a20
nop
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x14002628e
lea rax, [rcx + 1]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x38]
mov word [rax + rcx], 0x2c
lea rax, [rsp + 0x38]
jmp 0x1400262b3
mov qword [rsp + 0x20], 1
lea r9, [0x14012e3f0]
movzx r8d, byte [rsp + 0x30]
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.140002f60
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r9, r14
lea r8, [rsp + 0x60]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp - 0x80]
call fcn.140003a20
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x14002632b
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140026325
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140026325
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012a648
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x14002636b
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140026366
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140026366
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012a648
movdqa xmm0, xmmword [0x14012fd50]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x1400263bd
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400263b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400263b7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012a648
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1400263fb
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400263f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400263f6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012a648
movdqa xmm0, xmmword [0x14012fd50]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x14002644a
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140026445
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140026445
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012a648
movdqa xmm0, xmmword [0x14012fd50]
movdqu xmmword [rbp - 0x10], xmm0
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x140026499
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140026494
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140026494
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012a648
lea r8, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova r8, qword [rbp - 0x80]
mov r9, r13
mov rdx, r12
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x1400264f4
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400264ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400264ef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012a648
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.14012a5c0
movaps xmm6, xmmword [rsp + 0x130]
add rsp, 0x148
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret