Function at 0x140067160
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 [0x1400bd040]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x70], rcx
mov qword [rbp - 0x10], rdx
mov qword [rbp - 8], r8
xor r15d, r15d
mov dword [rsp + 0x48], r15d
mov rcx, qword [rdx + 0x10]
mov rax, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x1400671c3
mov rax, qword [rdx]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rcx
call fcn.14008c944
movaps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rbp + 0x10], xmm0
lea r8, [rbp + 0x10]
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.140015770
nop
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x10]
call fcn.1400171c0
movsd xmm0, qword [rax]
movsd qword [rsp + 0x30], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp + 0x10], ecx
lea rax, [0x1400bd0c8]
mov qword [rbp + 0x18], rax
movaps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rbp + 0x10], xmm0
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14006726b
cmp eax, 1
sete r14b
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14006727d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140067278
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140067278
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r14b, 1
test ecx, ecx
jne 0x140067715
jmp 0x14006722b
call fcn.14008b704
test r14b, r14b
je 0x14006752b
movups xmm0, xmmword [0x1400a39a8]
movups xmmword [rsp + 0x30], xmm0
mov eax, dword [0x1400a39b8]
mov dword [rsp + 0x40], eax
movzx eax, word [0x1400a39bc]
mov word [rsp + 0x44], ax
movzx eax, byte [0x1400a39be]
mov byte [rsp + 0x46], al
mov ecx, r15d
cmp dword [0x1400bd090], 2
jl 0x1400673ec
movdqa xmm4, xmmword [0x1400ac1e0]
movdqa xmm3, xmmword [0x1400ac790]
movdqa xmm5, xmmword [0x1400ac220]
movdqa xmm0, xmmword [0x1400ac2e0]
movdqa xmmword [rbp + 0x10], xmm0
lea rdx, [rsp + 0x34]
movdqa xmm6, xmmword [0x1400ac280]
mov r8d, dword [rbp + 0x10]
nop dword [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
paddd xmm1, xmm2
psrad xmm1, 5
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
paddd xmm1, xmm2
psrad xmm1, 5
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, 0x10
jl 0x140067300
cmp ecx, 0x17
jge 0x14006742e
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, cl
sub al, dl
add al, 0x36
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x17
jl 0x140067400
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140067450
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140002d00
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400674a2
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14006749d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400676b8
mov rcx, r8
call fcn.14008b704
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x1400674eb
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x1400674e6
add rdx, 0x27
mov rax, qword [rcx - 8]
sub rcx, rax
add rcx, 0xfffffffffffffff8
cmp rcx, 0x1f
ja 0x1400676bf
mov rcx, rax
call fcn.14008b704
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rax, rdi
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14008b6a0
mov rbx, qword [rsp + 0x2a8]
movaps xmm6, xmmword [rsp + 0x250]
add rsp, 0x260
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov rdx, rbx
lea rcx, [rbp + 0x30]
call fcn.14000b6d0
nop
mov qword [rbp - 0x18], r15
lea r8, [rbp - 0x50]
lea rdx, [rbp + 0x30]
lea rcx, [rbp]
call fcn.14006f090
nop
movzx ecx, byte [rbp]
test cl, cl
jne 0x14006757a
mov byte [rbp], 1
call fcn.14006f4d0
mov qword [rbp + 8], rax
movzx ecx, byte [rbp]
jmp 0x14006757e
mov rax, qword [rbp + 8]
cmp cl, 1
jne 0x14006772b
mov r8, rsi
lea rdx, [rbp + 0x10]
mov rcx, rax
call fcn.14006f830
mov rdx, qword [rax]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov dword [rsp + 0x48], 0x26
cmp byte [rdx + 0x40], 3
jne 0x1400676c6
mov rdx, qword [rdx + 0x48]
cmp rdi, rdx
je 0x1400675e0
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1400675d7
mov rdx, qword [rdx]
mov rcx, rdi
call fcn.140006c50
nop
movzx edx, byte [rbp]
lea rcx, [rbp + 8]
call fcn.14006e060
nop
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x30], rax
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.140005d50
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]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14006766b
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140067666
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400676b8
mov rcx, r8
call fcn.14008b704
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x1400674eb
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x1400674e6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400676bf
mov rcx, r8
jmp 0x1400674e6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rdx + 0x40]
call fcn.14006e560
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140002ca0
nop
mov r8, rax
lea rdx, str.type_must_be_string__but_is
lea rcx, [rbp + 0x10]
call fcn.14000c0c0
nop
mov r8, rax
mov edx, 0x12e
lea rcx, [rsp + 0x78]
call fcn.1400664b0
lea rdx, [0x1400b8d10]
lea rcx, [rsp + 0x78]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0x10]
lea rcx, str.exists
call fcn.14005f290
nop
lea rcx, [rbp]
call fcn.14006e560
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140002ca0
nop
mov r8, rax
lea rdx, str.cannot_use_operator___with_a_string_argument_with
lea rcx, [rbp + 0x10]
call fcn.14000c0c0
nop
mov r8, rax
mov edx, 0x131
lea rcx, [rsp + 0x78]
call fcn.1400664b0
lea rdx, [0x1400b8d10]
lea rcx, [rsp + 0x78]
call sub.VCRUNTIME140.dll__CxxThrowException
int3