Function at 0x140001d10
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3d0]
sub rsp, 0x4d0
mov rdi, r9
mov rsi, r8
mov r12, rcx
lea rcx, [rsp + 0x30]
call fcn.140002ef0
nop
mov r15, qword [rsp + 0x40]
lea rcx, [r15 + 1]
call fcn.140004ad4
mov r13, rax
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rdx, qword [rsp + 0x30]
lea r8, [r15 + 1]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [r15 + 1]
call fcn.140004ad4
mov r14, rax
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rdx, qword [rsp + 0x30]
lea r8, [r15 + 1]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rax, vtable.AES.0
mov qword [rsp + 0x50], rax
mov byte [rsp + 0x58], 0
xor ebx, ebx
mov qword [rbp + 0x31c], rbx
mov dword [rbp + 0x324], ebx
mov r8, rdi
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.1400043a0
cmp byte [rsp + 0x58], bl
je 0x140001f4e
test r15, r15
je 0x140001f4e
movsxd rcx, dword [rbp + 0x320]
xor edx, edx
mov rax, r15
div rcx
test rdx, rdx
jne 0x140001f4e
mov esi, ebx
mov rdi, r13
mov rbx, r14
test rax, rax
je 0x140001f4e
nop
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.140004040
lea r8, [rbp + 0x348]
mov rax, rbx
movsxd r9, dword [rbp + 0x320]
cmp byte [rsp + 0x58], 0
je 0x140001f11
xor r10d, r10d
test r9d, r9d
jle 0x140001f11
cmp r9d, 0x40
jb 0x140001eee
lea ecx, [r9 - 1]
movsxd rdx, ecx
lea r11, [rdx + rbx]
lea rcx, [rbp + 0x348]
add rcx, rdx
cmp rbx, rcx
ja 0x140001e78
lea rcx, [rbp + 0x348]
cmp r11, rcx
jae 0x140001eee
mov ecx, r9d
and ecx, 0x8000003f
jge 0x140001e8a
dec ecx
or ecx, 0xffffffc0
inc ecx
mov edx, r9d
sub edx, ecx
nop
movdqu xmm1, xmmword [rax]
movdqu xmm0, xmmword [r8]
pxor xmm1, xmm0
movdqu xmmword [rax], xmm1
movdqu xmm1, xmmword [rax + 0x10]
movdqu xmm0, xmmword [r8 + 0x10]
pxor xmm1, xmm0
movdqu xmmword [rax + 0x10], xmm1
movdqu xmm1, xmmword [rax + 0x20]
movdqu xmm0, xmmword [r8 + 0x20]
pxor xmm1, xmm0
movdqu xmmword [rax + 0x20], xmm1
movdqu xmm1, xmmword [rax + 0x30]
movdqu xmm0, xmmword [r8 + 0x30]
pxor xmm1, xmm0
movdqu xmmword [rax + 0x30], xmm1
add r8, 0x40
add rax, 0x40
add r10d, 0x40
cmp r10d, edx
jl 0x140001e90
cmp r10d, r9d
jge 0x140001f11
sub r8, rax
mov edx, r9d
sub edx, r10d
nop dword [rax]
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x140001f00
mov r8, r9
mov rdx, rdi
lea rcx, [rbp + 0x348]
call sub.VCRUNTIME140.dll_memcpy
movsxd rcx, dword [rbp + 0x320]
add rdi, rcx
add rbx, rcx
inc esi
xor edx, edx
mov rax, r15
div rcx
movsxd rcx, esi
cmp rcx, rax
jb 0x140001e10
movzx r9d, byte [r15 + r14 - 1]
jmp 0x140001f54
movzx r9d, byte [r14 + r15 - 1]
lea edx, [r15 - 1]
movsx rax, r9b
mov r8, r15
sub r8, rax
movsxd rax, edx
cmp rax, r8
jb 0x140001fb7
lea rcx, [rax + r14]
nop
cmp byte [rcx], r9b
jne 0x140001f87
mov byte [rcx], 0
dec edx
dec rcx
movsxd rax, edx
cmp rax, r8
jae 0x140001f70
jmp 0x140001fb7
mov r8, r15
xor edx, edx
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
lea rdx, [0x140009ad0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400014d0
mov rcx, rax
lea rdx, [0x1400016a0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor eax, eax
mov qword [r12], rax
mov qword [r12 + 0x10], rax
mov qword [r12 + 0x18], 0xf
mov byte [r12], al
mov r8, 0xffffffffffffffff
inc r8
cmp byte [r14 + r8], al
jne 0x140001fd6
mov rdx, r14
mov rcx, r12
call fcn.140002ab0
mov rcx, r13
call fcn.14000481c
mov rcx, r14
call fcn.14000481c
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14000203b
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002036
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002036
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000481c
mov rax, r12
lea r11, [rsp + 0x4d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret