Function at 0x180089680
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x108]
sub rsp, 0x1f0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x1800c2040]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x68], rdx
xor r14d, r14d
lea rcx, [rbp - 0x80]
call fcn.18002d100
nop
mov qword [rbp - 0x60], r14
lea edx, [r14 + 2]
lea rcx, [rbp - 0x80]
call fcn.1800259d0
nop
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x70]
call fcn.180028280
cmp dword [rax], 1
seta bl
lea rcx, [rbp - 0x80]
call fcn.180016510
test bl, bl
je 0x1800898e2
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x1800aeb90]
movdqu xmmword [rbp - 0x70], xmm1
mov byte [rbp - 0x80], r14b
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
mov rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.18002af00
nop
mov qword [rsp + 0x30], r14
mov word [rsp + 0x38], 1
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
mov rcx, qword [rbp + rcx - 8]
mov qword [rsp + 0x70], rcx
test rcx, rcx
sete byte [rsp + 0x78]
mov byte [rsp + 0x79], r14b
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
movaps xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x70], xmm0
movaps xmm6, xmmword [rsp + 0x30]
test rcx, rcx
je 0x1800897c4
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
je 0x1800897b0
mov byte [rsp + 0x79], al
mov rax, qword [rsp + 0x70]
mov byte [rsp + 0x78], 1
movaps xmm0, xmmword [rsp + 0x70]
jmp 0x1800897c9
mov rax, r14
mov qword [rsp + 0x70], rax
mov byte [rsp + 0x78], 1
movaps xmm0, xmmword [rsp + 0x70]
jmp 0x1800897c9
movq rax, xmm0
test rax, rax
movq rax, xmm6
jne 0x1800898c7
test rax, rax
je 0x1800898d0
movdqa xmmword [rsp + 0x30], xmm6
movdqa xmmword [rsp + 0x70], xmm0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.180089990
movdqu xmm6, xmmword [rsp + 0x50]
movups xmm7, xmmword [rsp + 0x40]
movups xmmword [rbp - 0x80], xmm7
movdqu xmmword [rbp - 0x70], xmm6
movdqa xmm0, xmmword [0x1800aeb90]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
lea rcx, [rsp + 0x40]
call fcn.18000f7e0
lea rcx, [rbp - 0x40]
call fcn.18002b5b0
test rax, rax
jne 0x18008985b
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
movups xmmword [rdi], xmm7
movups xmmword [rdi + 0x10], xmm6
movdqa xmm0, xmmword [0x1800aeb90]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rdx, dword [rax + 4]
lea r8d, [rdx - 0xb0]
mov dword [rbp + rdx - 0x54], r8d
lea rcx, [rbp - 0x40]
call fcn.18002ae90
lea rcx, [rbp - 0x38]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x60]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x80]
call fcn.18000f7e0
jmp 0x180089948
test rax, rax
je 0x1800897e0
movdqa xmm6, xmmword [0x1800aeb90]
mov byte [rsp + 0x40], 0
jmp 0x180089806
mov dword [rsp + 0x70], 0x55125e7e
mov dword [rsp + 0x74], 0x53595d
mov byte [rsp + 0x78], 1
mov rcx, r14
nop word [rax + rax]
lea eax, [rcx + 0x30]
xor byte [rsp + rcx + 0x70], al
inc rcx
cmp rcx, 7
jb 0x180089900
mov byte [rsp + 0x78], 0
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x180089930
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.18000fb90
nop
mov rcx, rsi
call fcn.18000f7e0
mov rax, rdi
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.180099e40
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret