Function at 0x14006c960
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rdi, rdx
mov rsi, rcx
xor r15d, r15d
movaps xmm0, xmmword [0x14019b4a0]
movaps xmmword [rbp - 0x40], xmm0
movaps xmm1, xmmword [0x14019b4b0]
movaps xmmword [rbp - 0x30], xmm1
movaps xmm0, xmmword [0x14019b4c0]
movaps xmmword [rbp - 0x20], xmm0
movaps xmm1, xmmword [0x14019b4d0]
movaps xmmword [rbp - 0x10], xmm1
call fcn.14004fe00
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r15
mov r12, 0xffffffffffffffff
mov r8, r12
nop
inc r8
cmp byte [rax + r8], 0
jne 0x14006c9e0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400458c0
nop
movdqa xmm0, xmmword [0x1400bb8b0]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x5a5c4255
mov word [rsp + 0x44], 0x76
mov byte [rsp + 0x46], 1
mov rcx, r15
nop dword [rax]
lea eax, [rcx + 0x16]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 0x15
jb 0x14006ca20
mov byte [rsp + 0x46], 0
lea rax, [rsp + 0x30]
mov r8, r12
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14006ca40
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.1400454c0
mov r8, rsi
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x40]
call fcn.1400504f0
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140054eb0
nop
mov qword [rbp - 0x70], r15
mov edx, 2
lea rcx, [rsp + 0x70]
call fcn.14004a550
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x230]
call fcn.14004e860
cmp dword [rax], 1
setbe bl
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x14006cae9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006cae4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006cae4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400744bc
test bl, bl
je 0x14006cb84
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140054eb0
nop
mov qword [rbp - 0x70], r15
mov edx, 2
lea rcx, [rsp + 0x70]
call fcn.14004a550
nop
mov dword [rsp + 0x30], r15d
lea rax, [0x1400c9098]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.14004dcc0
cmp dword [rsp + 0x30], 0
jne 0x14006ce2c
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x14006cb84
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006cb7f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006cb7f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400744bc
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14006cb91
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rsp + 0x50]
call fcn.1400454c0
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
lea rcx, [rbp]
call fcn.140053790
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea r13, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx], r13
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 4], edx
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova rdx, qword [rbp - 0x68]
mov r8, qword [rbp - 0x58]
lea rcx, [rbp]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp + 8]
call fcn.140053980
test rax, rax
jne 0x14006cc25
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea rax, [rbp]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova r8, qword [rsp + 0x50]
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
mov r9d, r12d
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
mov eax, 2
mul rbx
cmovo rax, r12
mov rcx, rax
call fcn.140074904
mov r14, rax
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova r8, qword [rsp + 0x50]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, r12d
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
nop
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx], r13
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 4], edx
lea rcx, [rbp + 8]
call fcn.1400531c0
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xa8]
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 [rbp - 0x50]
cmp rdx, 0xf
jbe 0x14006cd13
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006cd0e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006cd0e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400744bc
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x50], 0xf
mov byte [rbp - 0x68], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14006cd63
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006cd5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006cd5e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400744bc
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x14006cdac
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x14006cda7
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006ce1e
mov rcx, r8
call fcn.1400744bc
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14006cdf1
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14006cdec
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006ce25
mov rcx, r8
call fcn.1400744bc
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rax, r14
mov rbx, qword [rsp + 0x338]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
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, [rsp + 0x30]
call fcn.140049b40
mov edx, eax
lea rcx, [rbp + 0x110]
call fcn.140053e10
nop
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x70]
mov rdx, rax
lea rcx, [rbp + 0x130]
call fcn.14004d8f0
lea rdx, [0x1400c5ad8]
lea rcx, [rbp + 0x130]
call sub.VCRUNTIME140.dll__CxxThrowException
int3