Function at 0x140002dd0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
movaps xmmword [rsp + 0x170], xmm6
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x68], rax
mov r12, r9
mov r13, r8
mov r15, rdx
mov rsi, rcx
movq xmm6, r9
punpcklqdq xmm6, xmm6
mov qword [rsp + 0x30], rcx
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
mov rdx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140002e3b
mov rdx, qword [rsi]
lea rcx, [rsp + 0x40]
call fcn.140007670
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x40], rbx
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x3c], edx
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x40]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
test al, al
jne 0x140002f14
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x40], rbx
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x3c], edx
lea rcx, [rsp + 0x48]
call fcn.140005d70
lea rcx, [rsp + 0x50]
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 - 0x18]
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 [rsi + 0x18]
cmp rdx, 7
jbe 0x140002f0c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140002f07
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003195
mov rcx, r8
call fcn.140008904
xor r14d, r14d
jmp 0x140003156
mov rax, r13
and rax, 0xfffffffffffffff8
add rax, 8
mov rdi, r13
test r13b, 7
cmovne rdi, rax
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x50], xmm1
xor r14d, r14d
mov qword [rbp + 0x60], r14
test rdi, rdi
je 0x140002fb2
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x1400031a2
cmp rdi, 0x1000
jb 0x140002f86
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x14000319c
call fcn.1400088c0
mov rcx, rax
test rax, rax
je 0x1400030c2
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140002f8e
mov rcx, rdi
call fcn.1400088c0
mov qword [rbp + 0x50], rax
lea rbx, [rax + rdi]
mov qword [rbp + 0x60], rbx
mov r8, rdi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x58], rbx
lea rbx, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
shr rdi, 3
mov r8d, r14d
cmp rdi, 8
jb 0x14000304e
lea eax, [rdi - 1]
movsxd rcx, eax
mov rdx, qword [rbp + 0x50]
lea r9, [rdx + rcx*8]
lea rax, [r15 + rcx*8]
cmp rdx, rax
ja 0x140002fdf
cmp r9, r15
jae 0x14000304e
mov rdx, rdi
and rdx, 0xfffffffffffffff8
mov rax, qword [rbp + 0x50]
lea rcx, [rax + 0x10]
mov r9, r15
sub r9, rax
nop dword [rax]
nop dword [rax + rax]
movdqu xmm0, xmmword [rcx + r9 - 0x10]
xorps xmm0, xmm6
movdqu xmmword [rcx - 0x10], xmm0
movdqu xmm0, xmmword [rcx + r9]
movdqa xmm1, xmm6
xorps xmm1, xmm0
movdqu xmmword [rcx], xmm1
movdqu xmm0, xmmword [rcx + r9 + 0x10]
xorps xmm0, xmm6
movdqu xmmword [rcx + 0x10], xmm0
movdqu xmm1, xmmword [rcx + r9 + 0x20]
xorps xmm1, xmm6
movdqu xmmword [rcx + 0x20], xmm1
add r8d, 8
lea rcx, [rcx + 0x40]
movsxd rax, r8d
cmp rax, rdx
jb 0x140003000
movsxd rdx, r8d
cmp rdx, rdi
jae 0x14000307e
lea rdx, [rdx*8]
nop
mov rcx, r12
xor rcx, qword [r15 + rdx]
mov rax, qword [rbp + 0x50]
mov qword [rdx + rax], rcx
inc r8d
lea rdx, [rdx + 8]
movsxd rax, r8d
cmp rax, rdi
jb 0x140003060
mov r8, r13
mov rdx, qword [rbp + 0x50]
lea rcx, [rsp + 0x40]
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]
nop
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x1400030da
mov rdx, qword [rbp + 0x60]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400030c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400030c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008904
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], r14
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x40], rbx
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x3c], edx
lea rcx, [rsp + 0x48]
call fcn.140005d70
lea rcx, [rsp + 0x50]
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 - 0x18]
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 [rsi + 0x18]
cmp rdx, 7
jbe 0x140003156
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140003151
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003195
mov rcx, r8
call fcn.140008904
mov word [rsi], r14w
mov qword [rsi + 0x18], 7
mov qword [rsi + 0x10], r14
mov rcx, qword [rbp + 0x68]
xor rcx, rsp
call fcn.1400088a0
mov rbx, qword [rsp + 0x1c8]
movaps xmm6, xmmword [rsp + 0x170]
add rsp, 0x180
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 fcn.140001110
nop
call fcn.140007a60
int3