Function at 0x1400141c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x160]
sub rsp, 0x260
movaps xmmword [rsp + 0x250], xmm6
mov rax, qword [0x140050040]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x50], rcx
xor esi, esi
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x30]
call sub.VCRUNTIME140.dll_memset
cmp qword [rdi + 0x18], 0xf
jbe 0x140014218
mov rdi, qword [rdi]
mov r8d, 0x20
mov rdx, rdi
lea rcx, [rbp + 0x30]
call fcn.14001a3d0
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x30], rdi
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x2c], edx
xorps xmm0, xmm0
cmp qword [rbp + 0xc0], 0
jne 0x1400142a1
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
xor r8d, r8d
lea rdx, [0x140042db9]
mov rcx, rbx
call fcn.14001d0c0
nop
mov rcx, qword [rbp + 0x30]
movsxd rdx, dword [rcx + 4]
mov qword [rbp + rdx + 0x30], rdi
mov rcx, qword [rbp + 0x30]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0xb0]
mov dword [rbp + rdx + 0x2c], r8d
jmp 0x140014731
mov qword [rsp + 0x30], rsi
mov word [rsp + 0x38], 1
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
mov rcx, qword [rbp + rcx + 0x78]
mov qword [rsp + 0x50], rcx
test rcx, rcx
sete byte [rsp + 0x58]
mov byte [rsp + 0x59], 0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
movaps xmm0, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
movaps xmm6, xmmword [rsp + 0x30]
test rcx, rcx
je 0x140014321
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 0x14001430d
mov byte [rsp + 0x59], al
mov rax, qword [rsp + 0x50]
mov byte [rsp + 0x58], 1
movaps xmm0, xmmword [rsp + 0x50]
jmp 0x140014326
mov rax, rsi
mov qword [rsp + 0x50], rax
mov byte [rsp + 0x58], 1
movaps xmm0, xmmword [rsp + 0x50]
jmp 0x140014326
movq rax, xmm0
test rax, rax
movq rax, xmm6
jne 0x140014610
test rax, rax
je 0x140014619
movdqa xmmword [rsp + 0x30], xmm6
movdqa xmmword [rsp + 0x50], xmm0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140021b60
nop
lea rcx, [rbp + 0x40]
call fcn.14001a310
test rax, rax
jne 0x140014389
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x30]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rax
movups xmm0, xmmword [0x140044818]
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [0x140044828]
movsd qword [rsp + 0x60], xmm0
mov eax, dword [0x140044830]
mov dword [rsp + 0x68], eax
movzx eax, word [0x140044834]
mov word [rsp + 0x6c], ax
cmp byte [0x140044835], 0
je 0x14001453b
mov ecx, esi
cmp dword [0x140050090], 2
jl 0x140014504
movdqa xmm4, xmmword [0x140045b50]
movdqa xmm3, xmmword [0x140045c50]
movdqa xmm5, xmmword [str.7777]
movdqa xmm0, xmmword [0x140045c60]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x54]
movdqa xmm6, xmmword [0x140045c40]
mov r8d, dword [rsp + 0x30]
nop
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x18
jl 0x140014420
cmp ecx, 0x1e
jge 0x14001453b
movsxd rax, ecx
lea r8, [rsp + 0x50]
add r8, rax
nop
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
sub al, dl
add al, 0x31
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1e
jl 0x140014510
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x70]
call fcn.140017520
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp - 0x40], rsi
mov byte [rbp - 0x38], 0
movdqu xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
mov qword [rbp - 0x10], rsi
mov byte [rbp - 8], 0
movdqu xmmword [rbp], xmm0
mov byte [rbp + 0x10], 0
mov qword [rbp + 0x18], rsi
mov qword [rbp + 0x20], rsi
mov byte [rbp + 0x28], 0
lea r10, [rsp + 0x70]
mov r9, qword [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova r10, r9
lea rcx, [rsp + 0x70]
cmova rcx, r9
mov rdx, qword [rbp - 0x80]
add rdx, rcx
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rcx, r9
mov qword [rsp + 0x28], r10
lea r9, [rbp - 0x70]
lea r8, [rbp - 0x40]
call fcn.140021f80
test al, al
je 0x14001477e
mov rcx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x30]
sub rcx, r8
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 1
ja 0x140014630
lea rax, [rbp + 0x18]
lea r8, [rbp + 0x28]
jmp 0x140014638
test rax, rax
je 0x14001433d
movdqa xmm0, xmmword [0x140045b30]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
jmp 0x14001435e
lea rax, [r8 + 0x18]
add r8, 0x28
cmp byte [r8], 0
je 0x140014648
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
jmp 0x140014651
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
cmp rdx, r8
jne 0x14001467f
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
jmp 0x14001468b
sub r8, rdx
mov rcx, rbx
call fcn.14001d0c0
nop
lea rcx, [rbp - 0x30]
call fcn.140017400
nop
lea rcx, [rbp - 0x70]
call fcn.14001a1a0
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x1400146c4
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x1400146c4
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140014700
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400146fb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014817
call fcn.14003c604
movdqa xmm0, xmmword [0x140045b30]
mov byte [rsp + 0x70], 0
movdqu xmmword [rbp - 0x80], xmm0
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x30], rdi
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x2c], edx
lea rcx, [rbp + 0x40]
call fcn.1400182f0
lea rcx, [rbp + 0x48]
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 + 0xe0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rax, rbx
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14003c5a0
mov rbx, qword [rsp + 0x290]
movaps xmm6, xmmword [rsp + 0x250]
add rsp, 0x260
pop rdi
pop rsi
pop rbp
ret
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
xor r8d, r8d
lea rdx, [0x140042db9]
mov rcx, rbx
call fcn.14001d0c0
nop
lea rcx, [rbp - 0x30]
call fcn.140017400
nop
lea rcx, [rbp - 0x70]
call fcn.14001a1a0
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x1400147d8
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x1400147d8
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140014700
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400146fb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400146fb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3