Function at 0x1400d84c0
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.140169bf0
sub rsp, rax
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x14026be10]
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.140035e00
xor edx, edx
mov r8d, 0x2b8
lea rcx, [rbp + 0x80]
call fcn.14016c710
lea rcx, [rbp + 0x80]
call fcn.1400dba90
nop
xor edx, edx
mov r8d, 0xf0
lea rcx, [rbp - 0x70]
call fcn.14016c710
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.140034320
nop
mov dword [rbp - 0x28], r14d
lea rcx, [rbp - 0x20]
call fcn.140034320
nop
lea rcx, [rbp + 0x10]
call fcn.140034320
nop
lea rcx, [rbp + 0x40]
call fcn.140034320
mov dword [rbp + 0x70], r14d
mov dword [rbp + 0x74], pe_nt_image_headers64
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.14016c710
lea rax, vtable._ckCryptContext.0
mov qword [rbp + 0x340], rax
mov qword [rbp + 0x358], r14
lea rcx, [rbp + 0x360]
call fcn.140034320
nop
lea rcx, [rbp + 0x390]
call fcn.14013b240
nop
lea rcx, [rbp + 0x7e0]
call fcn.14013b200
mov qword [rbp + 0x348], r14
mov qword [rbp + 0x350], r14
mov dword [rbp - 0x68], 1
mov rdx, rbx
lea rcx, [rbp - 0x58]
call fcn.1400348f0
lea rcx, [rbp - 0x58]
call fcn.1400372d0
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.1400d79f0
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.140034320
nop
mov byte [rbp - 0x80], 1
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.1400348f0
lea rcx, [rsp + 0x58]
call fcn.1400372d0
mov ebx, eax
mov dword [rsp + 0x30], eax
cmp eax, 2
jb 0x1400d87a8
test bl, 7
jne 0x1400d87a8
lea r8d, [r14 + 8]
mov dl, 0xa6
mov rcx, rsi
call fcn.140034c10
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.1400348f0
mov r15d, ebx
shr r15d, 3
mov rcx, rsi
call fcn.140036f60
mov rsi, rax
mov r12d, r14d
add rax, 8
nop word [rax + rax]
mov rdi, rax
mov ebx, 1
cmp r15d, ebx
jl 0x1400d874c
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.1400da5b0
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 0x1400d8700
lea rax, [rsi + 8]
inc r12d
cmp r12d, 5
jle 0x1400d86e0
mov bl, 1
mov rdi, qword [rsp + 0x48]
mov rcx, rdi
call fcn.1400372d0
mov edx, dword [rsp + 0x30]
add edx, 8
cmp eax, edx
je 0x1400d879c
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.1400372d0
mov r8d, eax
lea rdx, str.outNumBytes
mov rcx, r13
call fcn.1400717d0
xor bl, bl
xor r14d, r14d
lea r15, vtable._ckSymSettings.0
jmp 0x1400d87cd
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.1400717d0
xor bl, bl
lea rcx, [rsp + 0x58]
call fcn.1400344a0
nop
lea rax, vtable._ckCryptContext.0
mov qword [rbp + 0x340], rax
mov rcx, qword [rbp + 0x358]
test rcx, rcx
je 0x1400d87fe
call fcn.14006fa10
mov qword [rbp + 0x358], r14
lea rcx, [rbp + 0x7e0]
call fcn.14013b280
lea rcx, [rbp + 0x390]
call fcn.14013b290
lea rcx, [rbp + 0x360]
call fcn.1400344a0
nop
mov qword [rbp - 0x70], r15
lea rcx, [rbp + 0x40]
call fcn.1400344a0
lea rcx, [rbp + 0x10]
call fcn.1400344a0
lea rcx, [rbp - 0x20]
call fcn.1400344a0
lea rcx, [rbp - 0x58]
call fcn.1400344a0
nop
lea rcx, [rbp + 0x80]
call fcn.1400dbb00
movzx eax, bl
mov rcx, qword [rbp + 0x108a0]
xor rcx, rsp
call fcn.140168e10
add rsp, 0x109b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret