Function at 0x1400052e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x780]
sub rsp, 0x880
mov rax, qword [0x1400b8010]
xor rax, rsp
mov qword [rbp + 0x770], rax
mov ebx, edx
mov rsi, rcx
mov qword [rsp + 0x58], rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
lea rdi, [rsp + 0x70]
xor eax, eax
mov ecx, 0x400
rep stosb byte [rdi], al
mov eax, ebx
cdq
and edx, 0x3fff
add eax, edx
mov ecx, eax
and eax, 0x3fff
sub eax, edx
sar ecx, 0xe
mov edi, eax
lea eax, [rcx*8]
movsxd rcx, eax
mov rdx, qword [0x1400b8070]
add rdx, 0xb8
add rdx, rcx
mov qword [rsp + 0x20], r15
mov ebx, 8
mov r9d, ebx
lea r8, [rsp + 0x60]
mov rcx, qword [0x1400e1bc8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea eax, [rdi*8]
movsxd rdx, eax
add rdx, qword [rsp + 0x60]
mov qword [rsp + 0x20], r15
mov r9d, ebx
lea r8, [rsp + 0x68]
mov rcx, qword [0x1400e1bc8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rsp + 0x68]
add rdx, 0xc
mov qword [rsp + 0x20], r15
mov r14d, 0x3ff
mov r9d, r14d
lea r8, [rsp + 0x70]
mov rcx, qword [0x1400e1bc8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea rdi, [rbp + 0x370]
xor eax, eax
mov ecx, 0x400
rep stosb byte [rdi], al
lea edx, [rbx + 0x1e]
mov edi, r15d
movzx eax, byte [rsp + 0x70]
xor al, 0xd9
mov byte [rbp + 0x370], al
je 0x140005428
nop dword [rax + rax]
inc edi
add edx, edx
or edx, edi
movzx eax, dl
not al
xor al, byte [rsp + rdi + 0x70]
mov byte [rbp + rdi + 0x370], al
jne 0x140005410
lea rcx, [rsp + 0x70]
lea rax, [rbp + 0x370]
nop dword [rax]
nop dword [rax + rax]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rbx, 1
jne 0x140005440
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r15
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], r15b
jne 0x1400054b0
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.140009440
mov dword [rsp + 0x30], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
cmp qword [rsi + 0x10], r14
cmovb r14, qword [rsi + 0x10]
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1400054f5
mov rdx, qword [rsi]
mov r8, r14
lea rcx, [rsp + 0x38]
call fcn.140009440
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.140008740
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14000554f
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000554a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000554a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005c19c
mov rax, rsi
mov rcx, qword [rbp + 0x770]
xor rcx, rsp
call fcn.14005c140
mov rbx, qword [rsp + 0x8c0]
add rsp, 0x880
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret