Function at 0x1400052f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x160]
sub rsp, 0x260
movaps xmmword [rsp + 0x250], xmm6
mov rax, qword [0x14001c040]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov rbx, r8
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x30], rdx
xor r15d, r15d
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov rdx, rbx
lea rcx, [rbp + 0x30]
call fcn.140006cc0
nop
mov qword [rsp + 0x30], r15
mov word [rsp + 0x38], 1
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
mov rcx, qword [rbp + rcx + 0x78]
mov qword [rbp - 0x40], rcx
test rcx, rcx
sete byte [rbp - 0x38]
mov byte [rbp - 0x37], r15b
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 8], xmm1
movaps xmm0, xmmword [rbp - 0x40]
movaps xmmword [rbp - 0x40], xmm0
movaps xmm6, xmmword [rsp + 0x30]
test rcx, rcx
je 0x1400053c9
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 0x1400053b8
mov byte [rbp - 0x37], al
mov rax, qword [rbp - 0x40]
mov byte [rbp - 0x38], 1
movaps xmm0, xmmword [rbp - 0x40]
jmp 0x1400053ce
mov rax, r15
mov qword [rbp - 0x40], rax
mov byte [rbp - 0x38], 1
movaps xmm0, xmmword [rbp - 0x40]
jmp 0x1400053ce
movq rax, xmm0
test rax, rax
movq rax, xmm6
jne 0x140005650
test rax, rax
je 0x140005659
movdqa xmmword [rbp - 0x40], xmm6
movdqa xmmword [rsp + 0x30], xmm0
lea r8, [rbp - 0x40]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x18]
call fcn.1400098f0
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 8], xmm0
movups xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x28], rax
movups xmm0, xmmword [0x1400159b8]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x1400159c8]
movups xmmword [rbp - 0x80], xmm1
mov eax, dword [0x1400159d8]
mov dword [rbp - 0x70], eax
mov ecx, r15d
cmp dword [0x14001c090], 2
jl 0x140005564
movdqa xmm4, xmmword [0x1400161c0]
movdqa xmm3, xmmword [0x140016220]
movdqa xmm5, xmmword [0x1400161e0]
movdqa xmm0, xmmword [0x140016210]
movdqa xmmword [rbp - 0x40], xmm0
lea rdx, [rsp + 0x74]
movdqa xmm6, xmmword [0x1400161f0]
mov r8d, dword [rbp - 0x40]
nop word [rax + rax]
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, 4
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, 4
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, 0x20
jl 0x140005480
cmp ecx, 0x24
jge 0x14000559c
movsxd rax, ecx
lea r8, [rsp + 0x70]
add r8, rax
nop
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
sub al, dl
add al, 0x37
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x24
jl 0x140005570
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 8]
call fcn.140006f60
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x48], r15
lea rax, [rsp + 0x50]
mov qword [rbp - 0x40], rax
mov rcx, qword [rbp + 0x28]
mov qword [rsp + 0x68], rcx
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rsp + 0x50]
call fcn.140007be0
nop
mov rbx, qword [rbp + 8]
test rbx, rbx
je 0x1400055f8
lock inc dword [rbx + 0x2c]
lea rcx, [rsp + 0x48]
call fcn.140007a00
mov qword [rsp + 0x48], rbx
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x68]
call fcn.140007610
nop
lea r9, [rsp + 0x48]
mov r8, rax
lea rdx, [rbp - 0x30]
call fcn.140004c90
nop
mov rsi, qword [rbp - 0x28]
mov rbx, qword [rbp - 0x30]
cmp rbx, rsi
je 0x140005686
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x14000566f
mov rdx, rbx
mov rcx, rax
call fcn.140007610
add qword [rdi + 8], 0x20
jmp 0x14000567d
test rax, rax
je 0x1400053e5
movdqa xmm0, xmmword [0x1400161b0]
movdqu xmmword [rbp - 8], xmm0
mov byte [rbp - 0x18], 0
jmp 0x140005403
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call fcn.14000a6e0
add rbx, 0x20
cmp rbx, rsi
jne 0x140005634
mov rdx, rdi
mov rcx, r14
call fcn.1400071f0
nop
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1400056ec
mov rdx, qword [rbp - 0x28]
call fcn.140008b60
mov rdx, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x30]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400056db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400056db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013404
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r15
lea rcx, [rbp + 8]
call fcn.140007a00
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x140005717
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rax
test rax, rax
je 0x140005717
mov rax, qword [rax]
mov edx, 1
call qword [rax]
nop
mov rdx, qword [rbp]
cmp rdx, 0xf
jbe 0x140005755
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005750
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005750
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013404
movdqa xmm0, xmmword [0x1400161b0]
movdqu xmmword [rbp - 8], xmm0
mov byte [rbp - 0x18], 0
mov rcx, qword [rbp + 0x30]
movsxd rdx, dword [rcx + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rdx + 0x30], rax
mov rcx, qword [rbp + 0x30]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0xb0]
mov dword [rbp + rdx + 0x2c], r8d
lea rcx, [rbp + 0x40]
call fcn.140006be0
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, r14
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1400133a0
mov rbx, qword [rsp + 0x2a8]
movaps xmm6, xmmword [rsp + 0x250]
add rsp, 0x260
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret