Function at 0x14001c490
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 [0x140104080]
xor rax, rsp
mov qword [rbp + 0xb0], rax
xor r15d, r15d
lea rcx, [rbp + 0x90]
call fcn.14003514c
nop
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x40]
call fcn.14001f67c
nop
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 [0x1400f23f0]
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.14001fe20
movdqu xmmword [rbp + 0x50], xmm6
mov word [rbp + 0x60], reloc.WLDAP32.dll_Ordinal_46
mov rcx, r15
mov al, byte [rbp + 0x50]
xor byte [rbp + rcx + 0x51], al
inc rcx
cmp rcx, 0x10
jb 0x14001c54e
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 0x14001c57f
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x51]
xor r8d, r8d
mov rbx, qword [rbp + 0x80]
mov rdx, rbx
call fcn.1400185ac
cmp rax, r13
je 0x14001c516
movdqa xmm0, xmmword [0x1400f23c0]
movdqu xmmword [rbp + 0x50], xmm0
mov word [rbp + 0x60], 0x3e
mov rcx, r15
mov al, byte [rbp + 0x50]
xor byte [rbp + rcx + 0x51], al
inc rcx
cmp rcx, 0x10
jb 0x14001c5c2
mov byte [rbp + 0x61], r15b
lea rcx, [rbp + 0x51]
mov rax, r13
inc rax
cmp byte [rcx + rax], r15b
jne 0x14001c5dd
lea rcx, [rbp + 0x70]
cmp rsi, r12
cmova rcx, rdi
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x51]
xor r8d, r8d
mov rdx, rbx
call fcn.1400185ac
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 0x14001c861
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.140009fc0
mov rdx, qword [rbp + 0x88]
cmp rdx, r12
jbe 0x14001c682
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c67d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c73b
call fcn.1400cb7a4
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 0x14001c6d7
mov r8, rdi
mov edx, reloc.WLDAP32.dll_Ordinal_41
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14001c6d7
sub rax, rbx
jmp 0x14001c6da
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.140009fc0
mov rdx, qword [rbp + 0x88]
cmp rdx, r12
jbe 0x14001c747
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c742
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001c742
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cb7a4
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 0x14001c7c3
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c7be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001c7be
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cb7a4
mov qword [rbp + 0x80], r15
mov qword [rbp + 0x88], r12
mov byte [rbp + 0x70], r15b
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
lea rcx, [rsp + 0x50]
call fcn.140006548
lea rcx, [rsp + 0x58]
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 - 0x10]
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 + 0x90]
call fcn.140008574
mov rax, rbx
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.1400cb500
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.140008d1c
nop
int3