Function at 0x1400358f0
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 - 0x17]
sub rsp, 0xe8
mov rax, qword [0x140125998]
xor rax, rsp
mov qword [rbp + 7], rax
mov r12, r9
mov qword [rbp - 0x79], r9
mov r14, r8
mov qword [rsp + 0x50], r8
mov rsi, rdx
mov qword [rbp - 0x71], rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x38], rdx
mov qword [rbp - 0x69], r8
mov qword [rbp - 0x61], r9
mov r13, qword [rbp + 0x7f]
mov qword [rsp + 0x38], r13
mov qword [rbp - 0x59], r13
mov rax, qword [r13]
mov qword [rbp - 0x11], rax
mov rax, qword [r9]
mov qword [rsp + 0x20], rax
mov rax, qword [r8]
mov qword [rsp + 0x48], rax
mov rbx, qword [r8 + 8]
sub rbx, rax
mov qword [rsp + 0x40], rbx
test bl, 0xf
jne 0x140035bdb
mov ecx, ebx
call fcn.1400e26cc
mov r15, rax
mov ecx, dword [rdi + 4]
inc ecx
shl ecx, 4
call fcn.1400e26cc
mov qword [rsp + 0x30], rax
mov r8, rax
mov rdx, qword [rsp + 0x20]
mov rcx, rdi
call fcn.140036400
mov rax, qword [rbp - 0x11]
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x11], xmm0
xor eax, eax
mov dword [rsp + 0x20], eax
test ebx, ebx
je 0x140035aae
mov r12, rbx
mov r13, rdi
mov r14, qword [rsp + 0x30]
nop dword [rax]
mov edi, eax
lea rbx, [rax + r15]
mov rsi, qword [rsp + 0x48]
add rsi, rdi
mov r9, r14
mov r8, rbx
mov rdx, rsi
mov rcx, r13
call fcn.140035480
movzx eax, byte [rbp - 0x11]
xor byte [rbx], al
movzx eax, byte [rbp - 0x10]
xor byte [rdi + r15 + 1], al
movzx eax, byte [rbp - 0xf]
xor byte [rdi + r15 + 2], al
movzx eax, byte [rbp - 0xe]
xor byte [rdi + r15 + 3], al
movzx eax, byte [rbp - 0xd]
xor byte [rdi + r15 + 4], al
movzx eax, byte [rbp - 0xc]
xor byte [rdi + r15 + 5], al
movzx eax, byte [rbp - 0xb]
xor byte [rdi + r15 + 6], al
movzx eax, byte [rbp - 0xa]
xor byte [rdi + r15 + 7], al
movzx eax, byte [rbp - 9]
xor byte [rdi + r15 + 8], al
movzx eax, byte [rbp - 8]
xor byte [rdi + r15 + 9], al
movzx eax, byte [rbp - 7]
xor byte [rdi + r15 + 0xa], al
movzx eax, byte [rbp - 6]
xor byte [rdi + r15 + 0xb], al
movzx eax, byte [rbp - 5]
xor byte [rdi + r15 + 0xc], al
movzx eax, byte [rbp - 4]
xor byte [rdi + r15 + 0xd], al
movzx eax, byte [rbp - 3]
xor byte [rdi + r15 + 0xe], al
movzx eax, byte [rbp - 2]
xor byte [rdi + r15 + 0xf], al
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x11], xmm0
mov eax, dword [rsp + 0x20]
add eax, 0x10
mov dword [rsp + 0x20], eax
cmp eax, r12d
jb 0x1400359d0
mov r14, qword [rsp + 0x50]
mov r12, qword [rbp - 0x79]
mov r13, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x28]
mov rsi, qword [rbp - 0x71]
mov rcx, qword [rsp + 0x30]
call fcn.1400e2238
mov r9, qword [r14 + 8]
sub r9, qword [r14]
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call fcn.1400353b0
mov rcx, r15
call fcn.1400e2238
nop
mov rcx, qword [r14]
test rcx, rcx
je 0x140035b21
mov rdx, qword [r14 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140035b06
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140035b1a
mov rcx, r8
call fcn.1400e2238
xor ebx, ebx
mov qword [r14], rbx
mov qword [r14 + 8], rbx
mov qword [r14 + 0x10], rbx
jmp 0x140035b23
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor ebx, ebx
mov rcx, qword [r12]
test rcx, rcx
je 0x140035b68
mov rdx, qword [r12 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140035b55
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140035bcd
mov rcx, r8
call fcn.1400e2238
mov qword [r12], rbx
mov qword [r12 + 8], rbx
mov qword [r12 + 0x10], rbx
mov rcx, qword [r13]
test rcx, rcx
je 0x140035baa
mov rdx, qword [r13 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140035b99
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140035bd4
mov rcx, r8
call fcn.1400e2238
mov qword [r13], rbx
mov qword [r13 + 8], rbx
mov qword [r13 + 0x10], rbx
mov rax, rsi
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1400e25b0
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov edx, 0x10
lea rcx, [rbp - 0x51]
call fcn.140036640
nop
mov r8, rax
lea rdx, str.Plaintext_length_must_be_divisible_by
lea rcx, [rbp - 0x31]
call fcn.140035160
nop
mov rdx, rax
lea rcx, [rbp - 0x11]
call fcn.140035310
lea rdx, [0x14011cfb0]
lea rcx, [rbp - 0x11]
call sub.VCRUNTIME140.dll__CxxThrowException
int3