Function at 0x140198c60
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 - 0x918]
sub rsp, 0xa18
mov rax, qword [0x1403721e8]
xor rax, rsp
mov qword [rbp + 0x900], rax
mov r13, r9
mov rdi, r8
mov qword [rsp + 0x48], r8
mov rsi, rdx
mov rbx, rcx
mov rcx, r8
call fcn.1400e4510
xor edx, edx
mov r8d, 0x2b8
lea rcx, [rbp + 0x640]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x640]
call fcn.14019c4a0
nop
xor edx, edx
mov r8d, 0x128
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
lea r12, vtable._ckSymSettings.0
mov qword [rbp - 0x80], r12
xor r14d, r14d
mov qword [rbp - 0x78], r14
mov dword [rbp - 0x70], 0x100
lea rcx, [rbp - 0x68]
call fcn.1400e20a0
nop
mov dword [rbp - 0x38], r14d
lea rcx, [rbp - 0x30]
call fcn.1400e20a0
nop
lea rcx, [rbp]
call fcn.1400e20a0
nop
lea rcx, [rbp + 0x30]
call fcn.1400e20a0
mov dword [rbp + 0x60], r14d
mov byte [rbp + 0x84], 1
mov qword [rbp + 0x88], r14
mov dword [rbp + 0xa0], 0x80
mov byte [rbp + 0xa4], r14b
mov byte [rbp - 0x40], 1
mov byte [rbp - 8], 1
xor edx, edx
mov r8d, 0x588
lea rcx, [rbp + 0xb0]
call sub.VCRUNTIME140.dll_memset
lea rax, vtable._ckCryptContext.0
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xc8], r14
lea rcx, [rbp + 0xd0]
call fcn.1400e20a0
nop
lea rcx, [rbp + 0x100]
call fcn.140237990
nop
lea rcx, [rbp + 0x550]
call fcn.140237960
nop
lea r15, vtable._ckGcmContext.0
mov qword [rbp + 0x5a0], r15
mov ecx, 0x10008
call fcn.1402548a0
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140198dc5
lea rcx, vtable._ckGcmContextTables.0
mov qword [rax], rcx
jmp 0x140198dc8
mov rax, r14
mov qword [rbp + 0x620], rax
mov qword [rbp + 0x5a8], 1
mov qword [rbp + 0xb8], r14
mov qword [rbp + 0xc0], r14
mov dword [rbp - 0x78], 1
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.1400e26b0
lea rcx, [rbp - 0x68]
call fcn.1400e6bc0
shl eax, 3
mov dword [rbp - 0x70], eax
mov dword [rbp - 0x74], 3
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0xb0]
lea r8, [rbp - 0x80]
mov dl, 1
lea rcx, [rbp + 0x640]
call fcn.140197770
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x50]
call fcn.1400e20a0
nop
mov byte [rsp + 0x78], 1
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.1400e26b0
lea rcx, [rsp + 0x50]
call fcn.1400e6bc0
mov ebx, eax
mov dword [rsp + 0x30], eax
cmp eax, 2
jb 0x140198f95
test bl, 7
jne 0x140198f95
mov r8d, 8
mov dl, 0xa6
mov rcx, rdi
call fcn.1400e2a20
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1400e26b0
mov r15d, ebx
shr r15d, 3
mov rcx, rdi
call fcn.1400e6890
mov rsi, rax
mov r12d, r14d
add rax, 8
nop word [rax + rax]
mov rdi, rax
mov ebx, 1
cmp r15d, ebx
jb 0x140198f32
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 + 0x640]
call fcn.14019af30
mov rax, qword [rsp + 0x38]
mov qword [rsi], rax
lea ecx, [rbx + r14]
shr rax, 0x38
xor cl, al
mov byte [rsi + 7], cl
mov rax, qword [rsp + 0x40]
mov qword [rdi], rax
lea rdi, [rdi + 8]
inc ebx
cmp ebx, r15d
jle 0x140198ee0
lea rax, [rsi + 8]
inc r12d
cmp r12d, 5
jle 0x140198ec0
mov bl, 1
mov rdi, qword [rsp + 0x48]
mov rcx, rdi
call fcn.1400e6bc0
mov edx, dword [rsp + 0x30]
add edx, 8
cmp eax, edx
je 0x140198f82
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.1400e6bc0
mov r8d, eax
lea rdx, str.outNumBytes
mov rcx, r13
call fcn.1400f6d00
xor bl, bl
xor r14d, r14d
lea r15, vtable._ckGcmContext.0
lea r12, vtable._ckSymSettings.0
jmp 0x140198fba
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.1400f6d00
xor bl, bl
lea rcx, [rsp + 0x50]
call fcn.1400e2250
nop
lea rax, vtable._ckCryptContext.0
mov qword [rbp + 0xb0], rax
mov rcx, qword [rbp + 0xc8]
test rcx, rcx
je 0x140198feb
call fcn.1400d4050
mov qword [rbp + 0xc8], r14
mov qword [rbp + 0x5a0], r15
mov rcx, qword [rbp + 0x620]
test rcx, rcx
je 0x140199008
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rbp + 0x620], r14
mov qword [rbp + 0x5a8], r14
lea rcx, [rbp + 0x550]
call fcn.1402379d0
lea rcx, [rbp + 0x100]
call fcn.1402379e0
lea rcx, [rbp + 0xd0]
call fcn.1400e2250
nop
mov qword [rbp - 0x80], r12
lea rcx, [rbp + 0x30]
call fcn.1400e2250
lea rcx, [rbp]
call fcn.1400e2250
lea rcx, [rbp - 0x30]
call fcn.1400e2250
lea rcx, [rbp - 0x68]
call fcn.1400e2250
nop
lea rcx, [rbp + 0x640]
call fcn.14019c500
movzx eax, bl
mov rcx, qword [rbp + 0x900]
xor rcx, rsp
call fcn.1402545b0
add rsp, 0xa18
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret