Function at 0x140019874
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xf8]
sub rsp, 0x1d0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x140128040]
xor rax, rsp
mov qword [rbp + 0xb0], rax
xor r15d, r15d
lea rcx, [rbp + 0x90]
call fcn.14003f4a0
nop
lea rdx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 7
cmova rdx, qword [rbp + 0x90]
lea rcx, [rsp + 0x40]
call fcn.140017d5c
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x40], rax
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x3c], edx
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], r15
lea r12d, [r15 + 0xf]
mov qword [rbp + 0x88], r12
mov byte [rbp + 0x70], r15b
or r13, 0xffffffffffffffff
movdqa xmm6, xmmword [0x140115270]
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x40]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
mov r8b, al
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.14001bb98
movdqu xmmword [rbp + 0x50], xmm6
mov word [rbp + 0x60], 0x49
mov rcx, r15
mov al, byte [rbp + 0x50]
xor byte [rbp + rcx + 0x51], al
inc rcx
cmp rcx, 0x10
jb 0x140019969
mov byte [rbp + 0x61], r15b
lea rcx, [rbp + 0x70]
mov rdi, qword [rbp + 0x70]
mov rsi, qword [rbp + 0x88]
cmp rsi, r12
cmova rcx, rdi
lea rdx, [rbp + 0x51]
mov rax, r13
inc rax
cmp byte [rdx + rax], r15b
jne 0x14001999a
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x51]
mov rbx, qword [rbp + 0x80]
mov rdx, rbx
call fcn.14000aad0
cmp rax, r13
je 0x140019931
movdqa xmm0, xmmword [0x140115670]
movdqu xmmword [rbp + 0x50], xmm0
mov word [rbp + 0x60], 0x1a
mov rcx, r15
mov al, byte [rbp + 0x50]
xor byte [rbp + rcx + 0x51], al
inc rcx
cmp rcx, 0x10
jb 0x1400199da
mov byte [rbp + 0x61], r15b
lea rcx, [rbp + 0x51]
mov rax, r13
inc rax
cmp byte [rcx + rax], r15b
jne 0x1400199f5
lea rcx, [rbp + 0x70]
cmp rsi, r12
cmova rcx, rdi
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x51]
mov rdx, rbx
call fcn.14000aad0
lea rcx, [rax + 0x15]
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], r15
cmp rbx, rcx
jb 0x140019c39
sub rbx, rcx
mov r8, r13
cmp rbx, r13
cmovb r8, rbx
lea rdx, [rbp + 0x70]
cmp rsi, r12
cmova rdx, rdi
add rdx, rcx
lea rcx, [rbp + 0x50]
call fcn.14000ac94
mov rdx, qword [rbp + 0x88]
cmp rdx, r12
jbe 0x140019a97
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019a92
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019b50
call fcn.1400df074
movups xmm0, xmmword [rbp + 0x50]
movups xmmword [rbp + 0x70], xmm0
movups xmm1, xmmword [rbp + 0x60]
movups xmmword [rbp + 0x80], xmm1
lea rbx, [rbp + 0x70]
movq rsi, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r14, xmm0
cmp r14, r12
cmova rbx, rsi
movq rdi, xmm1
test rdi, rdi
je 0x140019aec
mov r8, rdi
mov edx, 0x29
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140019aec
sub rax, rbx
jmp 0x140019aef
mov rax, r13
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], r15
cmp rdi, rax
cmovb rax, rdi
lea rdx, [rbp + 0x70]
cmp r14, r12
cmova rdx, rsi
mov r8, rax
lea rcx, [rbp + 0x50]
call fcn.14000ac94
mov rdx, qword [rbp + 0x88]
cmp rdx, r12
jbe 0x140019b5c
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019b57
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140019b57
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400df074
movups xmm0, xmmword [rbp + 0x50]
movups xmmword [rbp + 0x70], xmm0
movups xmm1, xmmword [rbp + 0x60]
movups xmmword [rbp + 0x80], xmm1
lea rcx, [rbp + 0x70]
movq rdx, xmm0
psrldq xmm1, 8
movq rax, xmm1
cmp rax, r12
cmova rcx, rdx
xor edx, edx
lea r8d, [rdx + 0x10]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoull]
mov rbx, rax
mov rdx, qword [rbp + 0x88]
cmp rdx, r12
jbe 0x140019bd8
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019bd3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140019bd3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400df074
mov qword [rbp + 0x80], r15
mov qword [rbp + 0x88], r12
mov byte [rbp + 0x70], r15b
lea rcx, [rsp + 0x40]
call fcn.140003690
nop
lea rcx, [rbp + 0x90]
call fcn.140014dd0
mov rax, rbx
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.1400df010
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140007a18
nop
int3