Function at 0x1401424c0
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 - 0x928]
sub rsp, 0xa28
mov rax, qword [0x1403291e8]
xor rax, rsp
mov qword [rbp + 0x918], rax
mov r13, r9
mov r14, r8
mov qword [rsp + 0x50], r8
mov rdi, rdx
mov rbx, rcx
mov rcx, r8
call fcn.14008ed30
xor edx, edx
mov r8d, 0x2b8
lea rcx, [rbp + 0x650]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x650]
call fcn.1401461a0
nop
xor edx, edx
mov r8d, 0x128
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
lea rax, vtable._ckSymSettings.0
mov qword [rbp - 0x70], rax
xor esi, esi
mov qword [rbp - 0x68], rsi
mov dword [rbp - 0x60], 0x100
lea rcx, [rbp - 0x58]
call fcn.14008c8c0
nop
mov dword [rbp - 0x28], esi
lea rcx, [rbp - 0x20]
call fcn.14008c8c0
nop
lea rcx, [rbp + 0x10]
call fcn.14008c8c0
nop
lea rcx, [rbp + 0x40]
call fcn.14008c8c0
mov dword [rbp + 0x70], esi
mov byte [rbp + 0x94], 1
mov qword [rbp + 0x98], rsi
mov dword [rbp + 0xb0], 0x80
mov byte [rbp + 0xb4], sil
mov byte [rbp - 0x30], 1
mov byte [rbp + 8], 1
xor edx, edx
mov r8d, 0x588
lea rcx, [rbp + 0xc0]
call sub.VCRUNTIME140.dll_memset
lea rax, vtable._ckCryptContext.0
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xd8], rsi
lea rcx, [rbp + 0xe0]
call fcn.14008c8c0
nop
lea rcx, [rbp + 0x110]
call fcn.1401e1690
nop
lea rcx, [rbp + 0x560]
call fcn.1401e1660
nop
lea r12, vtable._ckGcmContext.0
mov qword [rbp + 0x5b0], r12
mov ecx, 0x10008
call fcn.1401fe370
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140142622
lea rcx, vtable._ckGcmContextTables.0
mov qword [rax], rcx
jmp 0x140142625
mov rax, rsi
mov qword [rbp + 0x630], rax
mov qword [rbp + 0x5b8], 1
mov qword [rbp + 0xc8], rsi
mov qword [rbp + 0xd0], rsi
mov dword [rbp - 0x68], 1
mov rdx, rbx
lea rcx, [rbp - 0x58]
call fcn.14008ced0
lea rcx, [rbp - 0x58]
call fcn.1400913e0
shl eax, 3
mov dword [rbp - 0x60], eax
mov dword [rbp - 0x64], 3
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0xc0]
lea r8, [rbp - 0x70]
xor edx, edx
lea rcx, [rbp + 0x650]
call fcn.140141470
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
lea rcx, [rsp + 0x58]
call fcn.14008c8c0
nop
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.14008ced0
lea rcx, [rsp + 0x58]
call fcn.1400913e0
mov r15d, eax
cmp eax, 0x10
jb 0x140142849
test r15b, 7
jne 0x140142849
shr r15d, 3
dec r15d
lea edi, [r15*8]
mov dword [rsp + 0x30], edi
mov r8d, edi
xor edx, edx
mov rcx, r14
call fcn.14008d240
lea rcx, [rsp + 0x58]
call fcn.1400910b0
mov rsi, rax
mov rcx, r14
call fcn.1400910b0
mov r14, rax
mov rbx, qword [rsi]
mov qword [rbp + 0x910], rbx
movsxd rdi, edi
lea rdx, [rsi + 8]
mov r8, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov r12d, 5
lea rax, [r14 - 8]
add rax, rdi
mov qword [rsp + 0x48], rax
nop dword [rax]
mov rsi, rax
mov edi, r15d
cmp r15d, 1
jl 0x1401427b5
movzx eax, r12b
movzx r14d, r15b
imul r14d, eax
nop dword [rax + rax]
mov qword [rsp + 0x38], rbx
lea eax, [rdi + r14]
shr rbx, 0x38
xor al, bl
mov byte [rsp + 0x3f], al
mov rax, qword [rsi]
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x650]
call fcn.1401434d0
mov rbx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
mov qword [rsi], rax
lea rsi, [rsi - 8]
dec edi
cmp edi, 1
jge 0x140142760
mov qword [rbp + 0x910], rbx
mov rax, qword [rsp + 0x48]
sub r12d, 1
jns 0x140142740
mov bl, 1
mov rdi, qword [rsp + 0x50]
mov rcx, rdi
call fcn.1400913e0
cmp eax, dword [rsp + 0x30]
je 0x140142808
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.1400913e0
mov r8d, eax
lea rdx, str.outNumBytes
mov rcx, r13
call fcn.1400a1520
xor bl, bl
xor esi, esi
lea r12, vtable._ckGcmContext.0
jmp 0x14014286e
xor esi, esi
mov ecx, esi
nop dword [rax]
movsxd rax, ecx
cmp byte [rbp + rax + 0x910], 0xa6
jne 0x14014282d
inc ecx
cmp ecx, 8
jl 0x140142810
lea r12, vtable._ckGcmContext.0
jmp 0x14014286e
mov rax, qword [r13]
lea rdx, str.KEK_is_not_the_correct_key.
mov rcx, r13
call qword [rax + 0x28]
xor bl, bl
lea r12, vtable._ckGcmContext.0
jmp 0x14014286e
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, r15d
lea rdx, str.keyDataLen
mov rcx, r13
call fcn.1400a1520
xor bl, bl
lea rcx, [rsp + 0x58]
call fcn.14008ca70
nop
lea rax, vtable._ckCryptContext.0
mov qword [rbp + 0xc0], rax
mov rcx, qword [rbp + 0xd8]
test rcx, rcx
je 0x14014289f
call fcn.14007e870
mov qword [rbp + 0xd8], rsi
mov qword [rbp + 0x5b0], r12
mov rcx, qword [rbp + 0x630]
test rcx, rcx
je 0x1401428bc
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rbp + 0x630], rsi
mov qword [rbp + 0x5b8], rsi
lea rcx, [rbp + 0x560]
call fcn.1401e16d0
lea rcx, [rbp + 0x110]
call fcn.1401e16e0
lea rcx, [rbp + 0xe0]
call fcn.14008ca70
nop
lea rax, vtable._ckSymSettings.0
mov qword [rbp - 0x70], rax
lea rcx, [rbp + 0x40]
call fcn.14008ca70
lea rcx, [rbp + 0x10]
call fcn.14008ca70
lea rcx, [rbp - 0x20]
call fcn.14008ca70
lea rcx, [rbp - 0x58]
call fcn.14008ca70
nop
lea rcx, [rbp + 0x650]
call fcn.140146200
movzx eax, bl
mov rcx, qword [rbp + 0x918]
xor rcx, rsp
call fcn.1401feb70
add rsp, 0xa28
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret