Function at 0x18001cf00
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [0x1801ae098]
xor rax, rsp
mov qword [rbp + 0x108], rax
mov rsi, rcx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
mov qword [rbp + 0xe0], rax
xor r15d, r15d
mov qword [rbp + 0xd0], r15
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0xc0]
call fcn.180011c90
nop
lea r8, [0x18018d3a8]
lea rdx, str.rage
lea rcx, [rbp + 0xc0]
call fcn.180011fd0
mov r14, rax
movzx ebx, byte [0x1801e5cde]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
mov edi, 6
mov r8d, edi
lea rdx, str.enable
lea rcx, [rsp + 0x30]
call fcn.180005880
lea rax, [rsp + 0x30]
mov qword [rsp + 0x78], rax
mov byte [rsp + 0x58], 5
and dword [rsp + 0x58], 0xfffffeff
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov byte [rsp + 0x50], bl
lea rcx, [rsp + 0x30]
mov r8, qword [rsp + 0x40]
cmp qword [rsp + 0x48], 0x10
jb 0x18001d001
mov rdx, qword [rsp + 0x30]
add r8, rdx
jmp 0x18001d009
add r8, rcx
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.180011fd0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.180010f10
nop
lea rcx, [rsp + 0x50]
call fcn.180011ea0
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x18001d05a
lea r9, [fcn.1800055b0]
mov edx, 0x20
lea r8d, [rdx - 0x1d]
mov rcx, rbx
call fcn.1800b8498
nop
mov edx, 0x60
mov rcx, rbx
call fcn.1800b7e4c
nop
lea rcx, [rsp + 0x30]
call fcn.180005690
mov r8, rsi
lea rdx, [0x1801e5ee0]
lea rcx, [rbp + 0xe8]
call fcn.18005a6a0
nop
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0xc0]
call fcn.1800129a0
nop
mov edx, r15d
cmp qword [rbp + 0xb0], rdx
jbe 0x18001d0cd
mov rcx, r15
nop
lea rax, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0x10
cmovae rax, qword [rbp + 0xa0]
xor byte [rcx + rax], 0xef
inc edx
lea rcx, [rcx + 1]
movsxd rax, edx
cmp rax, qword [rbp + 0xb0]
jb 0x18001d0a0
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x70]
call fcn.1801248c0
lea rdx, [rbp + 0xe8]
lea rcx, [rbp - 0x70]
call fcn.1800577f0
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
cmp dword [rbp + rcx - 0x60], 0
jne 0x18001d125
lea rdx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0x10
cmovae rdx, qword [rbp + 0xa0]
mov r8, qword [rbp + 0xb0]
lea rcx, [rbp - 0x70]
call fcn.18001aa40
lea rcx, [rbp - 0x68]
call fcn.180059a90
test rax, rax
jne 0x18001d15e
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
mov eax, 2
cmp qword [rbp + rcx - 0x28], 0
cmovne edi, eax
or edi, dword [rbp + rcx - 0x60]
and edi, 0x17
mov dword [rbp + rcx - 0x60], edi
and edi, dword [rbp + rcx - 0x5c]
jne 0x18001d250
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x70], rax
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x68]
call fcn.180058510
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x70], rax
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx - 0x74], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x38], rax
lea rcx, [rbp + 0x38]
call fcn.180095738
nop
lea rcx, [rbp + 0xa0]
call fcn.180005690
nop
lea rcx, [rbp + 0xe8]
call fcn.180005690
nop
lea rcx, [rbp + 0xc0]
call fcn.180011ea0
mov dword [rbp + 0xc0], r15d
mov rbx, qword [rbp + 0xd0]
test rbx, rbx
je 0x18001d224
lea r9, [fcn.1800055b0]
mov edx, 0x20
lea r8d, [rdx - 0x1d]
mov rcx, rbx
call fcn.1800b8498
nop
mov edx, 0x60
mov rcx, rbx
call fcn.1800b7e4c
mov rcx, qword [rbp + 0x108]
xor rcx, rsp
call fcn.1800b7df0
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
test dil, 4
je 0x18001d25f
lea rbx, str.ios_base::badbit_set
jmp 0x18001d274
test al, dil
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x78]
call fcn.180005b10
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.1800063e0
lea rdx, [0x1801ac7d8]
lea rcx, [rsp + 0x50]
call fcn.180124080
int3