Function at 0x7ff7ed4e67c0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x7ff7ed868f18]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov r13, qword [rbp + 0x3f0]
xor edi, edi
mov rax, qword [rbp + 0x3f8]
mov r15, r9
mov qword [rsp + 0x40], r8
mov r12, rcx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x48], rax
cmp r13, 1
jne 0x7ff7ed4e69c2
test byte [rbp + 0x400], 0x1f
jne 0x7ff7ed4e69c2
mov al, r15b
and al, 0x3f
cmp al, 0x33
ja 0x7ff7ed4e69c2
lea rax, [rbp - 0x70]
mov r8, rdx
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x220]
lea rax, [rsp + 0x50]
mov rdx, rcx
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x20], rax
call fcn.7ff7ed4e7970
mov rdx, qword [rsp + 0x40]
lea r9, [rbp + 0x220]
mov r8, r15
lea rcx, [rbp - 0x50]
call fcn.7ff7ed4e7a74
mov esi, dword [rbp - 0x30]
lea r9, [rbp + 0x220]
lea r8d, [rdi + 4]
and esi, 0x1f8
lea rdx, [0x7ff7ed74d6f0]
lea rcx, [rbp - 0x50]
call fcn.7ff7ed4e7a74
mov rax, qword [rbp - 0x30]
and eax, 0x1f8
cmp rax, rsi
jb 0x7ff7ed4e69bd
lea r8, [rbp + 0x220]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x50]
call fcn.7ff7ed4e6ca4
test eax, eax
jne 0x7ff7ed4e69bd
add qword [rbp + 0x38], 0x100
lea r8, [rbp + 0x220]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x18]
call fcn.7ff7ed4e6ca4
cmp qword [rbp + 0x400], rdi
jbe 0x7ff7ed4e6b84
mov r12, qword [rsp + 0x48]
lea ebx, [rdi + 0x20]
shr rsi, 3
lea r13d, [rdi + 4]
mov r15d, edi
lea ecx, [rdi + 1]
mov r8, rbx
mov eax, ecx
mov byte [rbp + rsi - 0x25], cl
shr eax, 8
lea rdx, [rbp - 0x50]
mov byte [rbp + rsi - 0x26], al
mov eax, ecx
shr ecx, 0x18
mov byte [rbp + rsi - 0x28], cl
lea rcx, [rsp + 0x50]
shr eax, 0x10
mov byte [rbp + rsi - 0x27], al
call fcn.7ff7ed6b67f0
lea r9, [rbp + 0x320]
lea r8, [rbp + 0x220]
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x50]
call fcn.7ff7ed4e6d68
mov r8, r13
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x40]
call fcn.7ff7ed4e7bfc
mov r8, rbx
lea rdx, [rbp + 0x18]
lea rcx, [rsp + 0x50]
call fcn.7ff7ed6b67f0
lea r9, [rbp + 0x320]
lea r8, [rbp + 0x220]
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.7ff7ed4e6d68
lea rcx, [r15 + r12]
mov r8, r13
lea rdx, [rsp + 0x50]
call fcn.7ff7ed4e7bfc
inc rdi
mov r15, rdi
shl r15, 5
cmp r15, qword [rbp + 0x400]
jb 0x7ff7ed4e6905
jmp 0x7ff7ed4e6b84
mov rdx, qword [rsp + 0x38]
lea rax, [rbp - 0x70]
mov r8, rdx
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x220]
lea rax, [rsp + 0x50]
mov rdx, r12
lea rcx, [rbp + 0x150]
mov qword [rsp + 0x20], rax
call fcn.7ff7ed4e7970
mov r8d, 0xd0
lea rdx, [rbp + 0x150]
lea rcx, [rbp + 0x80]
call fcn.7ff7ed6b67f0
mov rdx, qword [rsp + 0x40]
lea r9, [rbp + 0x220]
mov r8, r15
lea rcx, [rbp + 0x80]
call fcn.7ff7ed4e7a74
mov r15, rdi
cmp qword [rbp + 0x400], rdi
jbe 0x7ff7ed4e6b84
mov rsi, rdi
mov ebx, 0x20
lea ecx, [r15 + 1]
mov r8d, 0xd0
mov eax, ecx
mov byte [rsp + 0x33], cl
shr eax, 8
lea rdx, [rbp + 0x80]
mov byte [rsp + 0x32], al
mov eax, ecx
shr ecx, 0x18
mov byte [rsp + 0x30], cl
lea rcx, [rbp - 0x50]
shr eax, 0x10
mov byte [rsp + 0x31], al
call fcn.7ff7ed6b67f0
lea r9, [rbp + 0x220]
mov r8d, 4
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x50]
call fcn.7ff7ed4e7a74
lea r9, [rsp + 0x50]
lea r8, [rbp + 0x220]
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x340]
call fcn.7ff7ed4e7910
cmp r13, 1
jbe 0x7ff7ed4e6b48
mov r8, rbx
lea rdx, [rbp + 0x340]
lea rcx, [rbp + 0x360]
call fcn.7ff7ed6b67f0
lea r12, [r13 - 1]
mov r8d, 0xd0
lea rdx, [rbp + 0x150]
lea rcx, [rbp - 0x50]
call fcn.7ff7ed6b67f0
lea r9, [rbp + 0x220]
mov r8, rbx
lea rdx, [rbp + 0x360]
lea rcx, [rbp - 0x50]
call fcn.7ff7ed4e7a74
lea r9, [rsp + 0x50]
lea r8, [rbp + 0x220]
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x360]
call fcn.7ff7ed4e7910
mov rax, rdi
movdqu xmm0, xmmword [rbp + rax + 0x340]
movdqu xmm1, xmmword [rbp + rax + 0x360]
xorps xmm1, xmm0
movdqu xmmword [rbp + rax + 0x340], xmm1
add rax, 0x10
cmp rax, rbx
jl 0x7ff7ed4e6b1b
sub r12, 1
jne 0x7ff7ed4e6acc
mov r8, qword [rbp + 0x400]
lea rdx, [rbp + 0x340]
mov rcx, qword [rsp + 0x48]
sub r8, rsi
cmp r8, rbx
cmova r8, rbx
add rcx, rsi
call fcn.7ff7ed6b67f0
inc r15
mov rsi, r15
shl rsi, 5
cmp rsi, qword [rbp + 0x400]
jb 0x7ff7ed4e6a3a
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.7ff7ed6b54e0
add rsp, 0x490
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret