Function at 0x18006f330
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x108b8]
mov eax, 0x109b8
call fcn.1800c9710
sub rsp, rax
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x18017a408]
xor rax, rsp
mov qword [rbp + 0x108a0], rax
mov r13, r9
mov rsi, r8
mov qword [rsp + 0x48], r8
mov rdi, rdx
mov rbx, rcx
mov rcx, r8
call fcn.180014650
xor edx, edx
mov r8d, 0x2b8
lea rcx, [rbp + 0x80]
call fcn.1800cae70
lea rcx, [rbp + 0x80]
call fcn.180079500
nop
xor edx, edx
mov r8d, 0xf0
lea rcx, [rbp - 0x70]
call fcn.1800cae70
lea r15, vtable._ckSymSettings.0
mov qword [rbp - 0x70], r15
xor r14d, r14d
mov qword [rbp - 0x68], r14
mov dword [rbp - 0x60], 0x100
lea rcx, [rbp - 0x58]
call fcn.180013170
nop
mov dword [rbp - 0x28], r14d
lea rcx, [rbp - 0x20]
call fcn.180013170
nop
lea rcx, [rbp + 0x10]
call fcn.180013170
nop
lea rcx, [rbp + 0x40]
call fcn.180013170
mov dword [rbp + 0x70], r14d
mov dword [rbp + 0x74], 0x80
mov byte [rbp + 0x78], r14b
mov byte [rbp - 0x30], 1
mov byte [rbp + 8], 1
xor edx, edx
mov r8d, 0x10560
lea rcx, [rbp + 0x340]
call fcn.1800cae70
lea rax, vtable._ckCryptContext.0
mov qword [rbp + 0x340], rax
mov qword [rbp + 0x358], r14
lea rcx, [rbp + 0x360]
call fcn.180013170
nop
lea rcx, [rbp + 0x390]
call fcn.1800b7600
nop
lea rcx, [rbp + 0x7e0]
call fcn.1800b75c0
mov qword [rbp + 0x348], r14
mov qword [rbp + 0x350], r14
mov dword [rbp - 0x68], 1
mov rdx, rbx
lea rcx, [rbp - 0x58]
call fcn.180013570
lea rcx, [rbp - 0x58]
call fcn.180015e00
shl eax, 3
mov dword [rbp - 0x60], eax
mov dword [rbp - 0x64], 3
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x340]
lea r8, [rbp - 0x70]
mov dl, 1
lea rcx, [rbp + 0x80]
call fcn.18006e860
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
lea rcx, [rsp + 0x58]
call fcn.180013170
nop
mov byte [rbp - 0x80], 1
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.180013570
lea rcx, [rsp + 0x58]
call fcn.180015e00
mov ebx, eax
mov dword [rsp + 0x30], eax
cmp eax, 2
jb 0x18006f618
test bl, 7
jne 0x18006f618
lea r8d, [r14 + 8]
mov dl, 0xa6
mov rcx, rsi
call fcn.180013770
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.180013570
mov r15d, ebx
shr r15d, 3
mov rcx, rsi
call fcn.180015b30
mov rsi, rax
mov r12d, r14d
add rax, 8
nop word [rax + rax]
mov rdi, rax
mov ebx, 1
cmp r15d, ebx
jl 0x18006f5bc
movzx ecx, r12b
movzx r14d, r15b
imul r14d, ecx
nop dword [rax]
mov rax, qword [rsi]
mov qword [rsp + 0x38], rax
mov rax, qword [rdi]
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x80]
call fcn.180072230
mov rax, qword [rsp + 0x38]
mov qword [rsi], rax
lea eax, [rbx + r14]
xor byte [rsi + 7], al
mov rax, qword [rsp + 0x40]
mov qword [rdi], rax
lea rdi, [rdi + 8]
inc ebx
cmp ebx, r15d
jle 0x18006f570
lea rax, [rsi + 8]
inc r12d
cmp r12d, 5
jle 0x18006f550
mov bl, 1
mov rdi, qword [rsp + 0x48]
mov rcx, rdi
call fcn.180015e00
mov edx, dword [rsp + 0x30]
add edx, 8
cmp eax, edx
je 0x18006f60c
mov rax, qword [r13]
lea rdx, str.Output_is_not_the_expected_size.
mov rcx, r13
call qword [rax + 0x28]
mov rcx, rdi
call fcn.180015e00
mov r8d, eax
lea rdx, str.outNumBytes
mov rcx, r13
call fcn.1800397c0
xor bl, bl
xor r14d, r14d
lea r15, vtable._ckSymSettings.0
jmp 0x18006f63d
mov rax, qword [r13]
lea rdx, str.Key_data_must_be_a_multiple_of_8_bytes_in_length.
mov rcx, r13
call qword [rax + 0x28]
mov r8d, ebx
lea rdx, str.keyDataLen
mov rcx, r13
call fcn.1800397c0
xor bl, bl
lea rcx, [rsp + 0x58]
call fcn.180013280
nop
lea rax, vtable._ckCryptContext.0
mov qword [rbp + 0x340], rax
mov rcx, qword [rbp + 0x358]
test rcx, rcx
je 0x18006f66e
call fcn.180035430
mov qword [rbp + 0x358], r14
lea rcx, [rbp + 0x7e0]
call fcn.1800b7640
lea rcx, [rbp + 0x390]
call fcn.1800b7650
lea rcx, [rbp + 0x360]
call fcn.180013280
nop
mov qword [rbp - 0x70], r15
lea rcx, [rbp + 0x40]
call fcn.180013280
lea rcx, [rbp + 0x10]
call fcn.180013280
lea rcx, [rbp - 0x20]
call fcn.180013280
lea rcx, [rbp - 0x58]
call fcn.180013280
nop
lea rcx, [rbp + 0x80]
call fcn.180079570
movzx eax, bl
mov rcx, qword [rbp + 0x108a0]
xor rcx, rsp
call fcn.1800c9b90
add rsp, 0x109b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret