Function at 0x14004aef0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x140067010]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov dword [rbp - 0x29], 0xaaa8a0b7
mov dword [rbp - 0x25], 0xaca6aaa8
mov dword [rbp - 0x21], 0x969492
mov byte [rbp - 0x1d], 1
xor r14d, r14d
mov ecx, r14d
nop
lea eax, [rcx - 0x68]
xor byte [rbp + rcx - 0x29], al
inc rcx
cmp rcx, 0xb
jb 0x14004af40
mov byte [rbp - 0x1d], r14b
lea rcx, [rbp + 7]
call fcn.140045800
mov rsi, rax
lea rax, [rbp - 0x29]
mov rdi, 0xffffffffffffffff
nop dword [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x14004af70
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x14004afb9
lea rax, [rcx + rdi]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0x10
jb 0x14004afa0
mov rax, qword [rsi]
lea rbx, [rax + rcx]
mov r8, rdi
lea rdx, [rbp - 0x29]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], 0
jmp 0x14004afd0
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x29]
mov rdx, rdi
mov rcx, rsi
call fcn.140051750
mov rsi, rax
mov qword [rbp + 0x27], r14
mov qword [rbp + 0x37], r14
mov qword [rbp + 0x3f], r14
movups xmm0, xmmword [rsi]
movups xmmword [rbp + 0x27], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbp + 0x37], xmm1
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x14004b038
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004b033
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004b033
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140052b18
mov qword [rbp + 0x17], r14
mov qword [rbp + 0x1f], 0xf
mov byte [rbp + 7], 0
mov rdi, qword [rbp + 0x37]
lea rbx, [rbp + 0x27]
cmp qword [rbp + 0x3f], 0x10
cmovae rbx, qword [rbp + 0x27]
call fcn.140052074
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x21], rdi
lea r8, [rbp - 0x29]
mov edx, eax
lea rcx, [rbp - 0x19]
call fcn.140047490
nop
lea rcx, [rbp - 0x19]
call fcn.140047eb0
test al, al
sete bl
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x14004b0c8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004b0c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004b0c3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140052b18
test bl, bl
je 0x14004b162
mov rdi, qword [rbp + 0x37]
lea rbx, [rbp + 0x27]
cmp qword [rbp + 0x3f], 0x10
cmovae rbx, qword [rbp + 0x27]
call fcn.140052074
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x21], rdi
lea r8, [rbp - 0x29]
mov edx, eax
lea rcx, [rbp - 0x19]
call fcn.140047490
nop
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rcx, qword [rbp - 0x19]
call fcn.1400521b0
shr rax, 0x20
test eax, eax
jne 0x14004b1c9
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x14004b162
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004b15c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004b15c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140052b18
nop
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0x10
jb 0x14004b1a0
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004b19b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004b19b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140052b18
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140052570
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea r8, [rbp - 0x19]
mov edx, eax
call fcn.140047de0
int3