Function at 0x1400d7df0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r15
mov rbp, rsp
sub rsp, 0x10
mov r9d, dword [rcx + 0x1c]
lea r12, [0x140000000]
mov rsi, r8
mov r15, rcx
lea rax, [r9 + 2]
add r9, r9
add rax, rax
mov r10d, dword [rcx + r9*8 + 0x2c]
mov edi, dword [rcx + rax*8]
mov ebx, dword [rcx + r9*8 + 0x24]
mov r11d, dword [rcx + r9*8 + 0x28]
xor edi, dword [rdx]
xor ebx, dword [rdx + 4]
xor r11d, dword [rdx + 8]
xor r10d, dword [rdx + 0xc]
mov eax, r10d
mov dword [rbp - 4], r10d
shr eax, 8
movzx edx, al
mov eax, r11d
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 0x18
mov r8d, dword [r12 + rdx*4 + 0x321a30]
mov dword [rbp - 8], r11d
xor r8d, dword [r12 + rcx*4 + 0x322b20]
movzx ecx, al
movzx eax, dil
mov dword [rbp - 0xc], ebx
mov dword [rbp - 0x10], edi
xor r8d, dword [r12 + rcx*4 + 0x324a20]
xor r8d, dword [r12 + rax*4 + 0x3257d0]
mov eax, r10d
shr eax, 0x10
movzx edx, al
mov eax, r11d
shr eax, 0x18
movzx ecx, al
mov eax, edi
mov dword [rsi], r8d
mov r8d, dword [r12 + rdx*4 + 0x322b20]
shr eax, 8
xor r8d, dword [r12 + rcx*4 + 0x324a20]
movzx ecx, al
movzx eax, bl
shr r10d, 0x18
movzx edx, r10b
xor r8d, dword [r12 + rcx*4 + 0x321a30]
xor r8d, dword [r12 + rax*4 + 0x3257d0]
mov eax, ebx
shr eax, 8
movzx ecx, al
mov eax, edi
mov dword [rsi + 4], r8d
mov r9d, dword [r12 + rdx*4 + 0x324a20]
shr eax, 0x10
xor r9d, dword [r12 + rcx*4 + 0x321a30]
movzx ecx, al
movzx eax, r11b
shr r11d, 8
shr ebx, 0x10
xor r9d, dword [r12 + rcx*4 + 0x322b20]
xor r9d, dword [r12 + rax*4 + 0x3257d0]
mov dword [rsi + 8], r9d
movzx ecx, r11b
movzx eax, bl
shr edi, 0x18
mov edx, dword [r12 + rcx*4 + 0x321a30]
xor edx, dword [r12 + rax*4 + 0x322b20]
movzx eax, dil
xor edx, dword [r12 + rax*4 + 0x324a20]
movzx eax, byte [rbp - 4]
xor edx, dword [r12 + rax*4 + 0x3257d0]
mov dword [rsi + 0xc], edx
mov eax, dword [r15 + 0x1c]
dec eax
movsxd rcx, eax
cmp rcx, 1
jle 0x1400d80bc
mov rax, rcx
mov qword [rsp + 0x30], r14
shl rax, 4
lea rdi, [r15 + 0x24]
add rdi, rax
lea r14, [rcx - 1]
nop dword [rax + rax]
xor r8d, dword [rdi]
mov r10d, dword [rdi + 4]
mov r11d, r8d
mov ebx, dword [rdi - 4]
lea rdi, [rdi - 0x10]
xor ebx, dword [rsi]
xor r10d, r9d
mov r9d, dword [rdi + 0x18]
xor r9d, edx
mov dword [rbp - 0xc], r8d
mov eax, r9d
mov dword [rbp - 4], r9d
shr eax, 8
movzx edx, al
mov eax, r10d
shr eax, 0x10
movzx ecx, al
mov eax, r11d
shr eax, 0x18
mov r8d, dword [r12 + rdx*4 + 0x321a30]
mov dword [rbp - 8], r10d
xor r8d, dword [r12 + rcx*4 + 0x322b20]
movzx ecx, al
movzx eax, bl
mov dword [rbp - 0x10], ebx
xor r8d, dword [r12 + rcx*4 + 0x324a20]
xor r8d, dword [r12 + rax*4 + 0x3257d0]
mov eax, r9d
shr eax, 0x10
movzx edx, al
mov eax, r10d
shr eax, 0x18
movzx ecx, al
mov eax, ebx
mov dword [rsi], r8d
mov r8d, dword [r12 + rdx*4 + 0x322b20]
shr eax, 8
xor r8d, dword [r12 + rcx*4 + 0x324a20]
movzx ecx, al
shr r9d, 0x18
movzx edx, r9b
movzx eax, r11b
xor r8d, dword [r12 + rcx*4 + 0x321a30]
xor r8d, dword [r12 + rax*4 + 0x3257d0]
mov eax, r11d
shr eax, 8
movzx ecx, al
mov eax, ebx
mov dword [rsi + 4], r8d
mov r9d, dword [r12 + rdx*4 + 0x324a20]
shr eax, 0x10
xor r9d, dword [r12 + rcx*4 + 0x321a30]
movzx ecx, al
movzx eax, r10b
shr r10d, 8
shr r11d, 0x10
xor r9d, dword [r12 + rcx*4 + 0x322b20]
xor r9d, dword [r12 + rax*4 + 0x3257d0]
mov dword [rsi + 8], r9d
movzx eax, r11b
shr ebx, 0x18
movzx ecx, r10b
mov edx, dword [r12 + rcx*4 + 0x321a30]
xor edx, dword [r12 + rax*4 + 0x322b20]
movzx eax, bl
xor edx, dword [r12 + rax*4 + 0x324a20]
movzx eax, byte [rbp - 4]
xor edx, dword [r12 + rax*4 + 0x3257d0]
mov dword [rsi + 0xc], edx
sub r14, 1
jne 0x1400d7f80
mov r14, qword [rsp + 0x30]
mov r10d, dword [r15 + 0x30]
xor r10d, dword [rsi]
mov r9d, dword [r15 + 0x34]
xor r9d, dword [rsi + 4]
mov r8d, dword [r15 + 0x38]
xor r8d, dword [rsi + 8]
mov edx, dword [r15 + 0x3c]
xor edx, dword [rsi + 0xc]
movzx eax, r10b
mov dword [rbp - 4], edx
mov dword [rbp - 8], r8d
mov dword [rbp - 0xc], r9d
movzx eax, byte [rax + r12 + 0x2930d0]
mov byte [rsi], al
mov eax, edx
shr eax, 8
movzx ecx, al
mov dword [rbp - 0x10], r10d
movzx eax, byte [rcx + r12 + 0x2930d0]
mov byte [rsi + 1], al
mov eax, r8d
shr eax, 0x10
movzx ecx, al
movzx eax, byte [rcx + r12 + 0x2930d0]
mov byte [rsi + 2], al
mov eax, r9d
shr eax, 0x18
movzx ecx, al
movzx eax, byte [rcx + r12 + 0x2930d0]
mov byte [rsi + 3], al
movzx eax, r9b
movzx eax, byte [rax + r12 + 0x2930d0]
mov byte [rsi + 4], al
mov eax, r10d
shr eax, 8
movzx ecx, al
movzx eax, byte [rcx + r12 + 0x2930d0]
mov byte [rsi + 5], al
mov eax, edx
shr eax, 0x10
movzx ecx, al
shr edx, 0x18
movzx eax, byte [rcx + r12 + 0x2930d0]
mov byte [rsi + 6], al
mov eax, r8d
shr eax, 0x18
movzx ecx, al
movzx eax, byte [rcx + r12 + 0x2930d0]
mov byte [rsi + 7], al
movzx eax, r8b
shr r8d, 8
movzx eax, byte [rax + r12 + 0x2930d0]
mov byte [rsi + 8], al
mov eax, r9d
shr eax, 8
movzx ecx, al
shr r9d, 0x10
movzx eax, byte [rcx + r12 + 0x2930d0]
mov byte [rsi + 9], al
mov eax, r10d
shr eax, 0x10
movzx ecx, al
shr r10d, 0x18
movzx eax, byte [rcx + r12 + 0x2930d0]
mov byte [rsi + 0xa], al
movzx eax, dl
movzx eax, byte [rax + r12 + 0x2930d0]
mov byte [rsi + 0xb], al
movzx eax, byte [rbp - 4]
movzx eax, byte [rax + r12 + 0x2930d0]
mov byte [rsi + 0xc], al
movzx eax, r8b
movzx eax, byte [rax + r12 + 0x2930d0]
mov byte [rsi + 0xd], al
movzx eax, r9b
movzx eax, byte [rax + r12 + 0x2930d0]
mov byte [rsi + 0xe], al
movzx eax, r10b
movzx eax, byte [rax + r12 + 0x2930d0]
mov byte [rsi + 0xf], al
mov eax, dword [r15 + 0x20]
xor dword [rsi], eax
mov eax, dword [r15 + 0x24]
xor dword [rsi + 4], eax
mov eax, dword [r15 + 0x28]
xor dword [rsi + 8], eax
mov eax, dword [r15 + 0x2c]
xor dword [rsi + 0xc], eax
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x10
pop r15
pop r12
pop rbp
ret