Function at 0x1400d7970
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x10
mov r9d, dword [rcx + 0x2c]
lea r15, [0x140000000]
xor r9d, dword [rdx + 0xc]
mov rdi, r8
mov ebx, dword [rcx + 0x20]
mov rsi, rcx
mov r11d, dword [rcx + 0x24]
mov eax, r9d
mov r10d, dword [rcx + 0x28]
mov r14d, 1
xor ebx, dword [rdx]
xor r11d, dword [rdx + 4]
xor r10d, dword [rdx + 8]
shr eax, 0x18
movzx edx, al
mov eax, r10d
shr eax, 0x10
movzx ecx, al
mov eax, r11d
shr eax, 8
mov r8d, dword [r15 + rdx*4 + 0x325bd0]
mov dword [rbp - 4], r9d
xor r8d, dword [r15 + rcx*4 + 0x322310]
movzx ecx, al
movzx eax, bl
mov dword [rbp - 8], r10d
mov dword [rbp - 0xc], r11d
xor r8d, dword [r15 + rcx*4 + 0x324e20]
xor r8d, dword [r15 + rax*4 + 0x321ee0]
mov eax, r9d
shr eax, 0x10
movzx edx, al
mov eax, r10d
shr eax, 8
movzx ecx, al
mov eax, ebx
mov dword [rdi], r8d
mov r8d, dword [r15 + rdx*4 + 0x322310]
shr eax, 0x18
xor r8d, dword [r15 + rcx*4 + 0x324e20]
movzx ecx, al
shr r9d, 8
movzx eax, r11b
movzx edx, r9b
xor r8d, dword [r15 + rcx*4 + 0x325bd0]
mov dword [rbp - 0x10], ebx
xor r8d, dword [r15 + rax*4 + 0x321ee0]
mov eax, r11d
shr eax, 0x18
movzx ecx, al
mov eax, ebx
mov dword [rdi + 4], r8d
mov r9d, dword [r15 + rdx*4 + 0x324e20]
shr eax, 0x10
xor r9d, dword [r15 + rcx*4 + 0x325bd0]
movzx ecx, al
movzx eax, r10b
shr r10d, 0x18
shr r11d, 0x10
xor r9d, dword [r15 + rcx*4 + 0x322310]
xor r9d, dword [r15 + rax*4 + 0x321ee0]
mov dword [rdi + 8], r9d
movzx ecx, r11b
shr ebx, 8
movzx eax, r10b
mov eax, dword [r15 + rax*4 + 0x325bd0]
xor eax, dword [r15 + rcx*4 + 0x322310]
movzx ecx, bl
xor eax, dword [r15 + rcx*4 + 0x324e20]
movzx ecx, byte [rbp - 4]
xor eax, dword [r15 + rcx*4 + 0x321ee0]
mov dword [rdi + 0xc], eax
mov ecx, dword [rsi + 0x1c]
dec ecx
cmp ecx, r14d
jbe 0x1400d7c2b
nop dword [rax]
mov edx, r14d
inc r14d
lea rcx, [rdx + 2]
add rdx, rdx
add rcx, rcx
mov r10d, dword [rsi + rdx*8 + 0x28]
mov ebx, dword [rsi + rcx*8]
xor r10d, r9d
mov r9d, dword [rsi + rdx*8 + 0x2c]
mov r11d, dword [rsi + rdx*8 + 0x24]
xor r9d, eax
xor ebx, dword [rdi]
xor r11d, r8d
mov eax, r9d
mov dword [rbp - 4], r9d
shr eax, 0x18
movzx edx, al
mov eax, r10d
shr eax, 0x10
movzx ecx, al
mov eax, r11d
shr eax, 8
mov r8d, dword [r15 + rdx*4 + 0x325bd0]
mov dword [rbp - 8], r10d
xor r8d, dword [r15 + rcx*4 + 0x322310]
movzx ecx, al
movzx eax, bl
mov dword [rbp - 0xc], r11d
mov dword [rbp - 0x10], ebx
xor r8d, dword [r15 + rcx*4 + 0x324e20]
xor r8d, dword [r15 + rax*4 + 0x321ee0]
mov eax, r9d
shr eax, 0x10
movzx edx, al
mov eax, r10d
shr eax, 8
movzx ecx, al
mov eax, ebx
mov dword [rdi], r8d
mov r8d, dword [r15 + rdx*4 + 0x322310]
shr eax, 0x18
xor r8d, dword [r15 + rcx*4 + 0x324e20]
movzx ecx, al
shr r9d, 8
movzx eax, r11b
movzx edx, r9b
xor r8d, dword [r15 + rcx*4 + 0x325bd0]
xor r8d, dword [r15 + rax*4 + 0x321ee0]
mov eax, r11d
shr eax, 0x18
movzx ecx, al
mov eax, ebx
mov dword [rdi + 4], r8d
mov r9d, dword [r15 + rdx*4 + 0x324e20]
shr eax, 0x10
xor r9d, dword [r15 + rcx*4 + 0x325bd0]
movzx ecx, al
movzx eax, r10b
shr r10d, 0x18
shr r11d, 0x10
xor r9d, dword [r15 + rcx*4 + 0x322310]
xor r9d, dword [r15 + rax*4 + 0x321ee0]
mov dword [rdi + 8], r9d
movzx ecx, r11b
shr ebx, 8
movzx eax, r10b
mov eax, dword [r15 + rax*4 + 0x325bd0]
xor eax, dword [r15 + rcx*4 + 0x322310]
movzx ecx, bl
xor eax, dword [r15 + rcx*4 + 0x324e20]
movzx ecx, byte [rbp - 4]
xor eax, dword [r15 + rcx*4 + 0x321ee0]
mov dword [rdi + 0xc], eax
mov ecx, dword [rsi + 0x1c]
dec ecx
cmp r14d, ecx
jb 0x1400d7ae0
mov eax, dword [rsi + 0x1c]
dec eax
mov ecx, eax
add rax, 2
add rax, rax
add rcx, rcx
mov r8d, dword [rsi + rax*8]
mov r9d, dword [rsi + rcx*8 + 0x24]
mov r10d, dword [rsi + rcx*8 + 0x28]
mov edx, dword [rsi + rcx*8 + 0x2c]
xor r8d, dword [rdi]
xor r9d, dword [rdi + 4]
xor r10d, dword [rdi + 8]
xor edx, dword [rdi + 0xc]
movzx eax, r8b
mov dword [rbp - 4], edx
mov dword [rbp - 0x10], r8d
mov dword [rbp - 0xc], r9d
movzx eax, byte [r15 + rax*4 + 0x321ee1]
mov byte [rdi], al
mov eax, r9d
shr eax, 8
movzx ecx, al
mov dword [rbp - 8], r10d
movzx eax, byte [r15 + rcx*4 + 0x321ee1]
mov byte [rdi + 1], al
mov eax, r10d
shr eax, 0x10
movzx ecx, al
movzx eax, byte [r15 + rcx*4 + 0x321ee1]
mov byte [rdi + 2], al
mov eax, edx
shr eax, 0x18
movzx ecx, al
movzx eax, byte [r15 + rcx*4 + 0x321ee1]
mov byte [rdi + 3], al
movzx eax, r9b
movzx eax, byte [r15 + rax*4 + 0x321ee1]
mov byte [rdi + 4], al
mov eax, r10d
shr eax, 8
movzx ecx, al
movzx eax, byte [r15 + rcx*4 + 0x321ee1]
mov byte [rdi + 5], al
mov eax, edx
shr eax, 0x10
movzx ecx, al
shr edx, 8
movzx eax, byte [r15 + rcx*4 + 0x321ee1]
mov byte [rdi + 6], al
mov eax, r8d
shr eax, 0x18
movzx ecx, al
movzx eax, byte [r15 + rcx*4 + 0x321ee1]
mov byte [rdi + 7], al
movzx eax, r10b
movzx eax, byte [r15 + rax*4 + 0x321ee1]
mov byte [rdi + 8], al
movzx eax, dl
movzx eax, byte [r15 + rax*4 + 0x321ee1]
mov byte [rdi + 9], al
mov eax, r8d
shr eax, 0x10
movzx ecx, al
shr r8d, 8
movzx eax, byte [r15 + rcx*4 + 0x321ee1]
mov byte [rdi + 0xa], al
mov eax, r9d
shr eax, 0x18
movzx ecx, al
shr r9d, 0x10
movzx eax, byte [r15 + rcx*4 + 0x321ee1]
mov byte [rdi + 0xb], al
movzx eax, byte [rbp - 4]
movzx eax, byte [r15 + rax*4 + 0x321ee1]
mov byte [rdi + 0xc], al
movzx eax, r8b
movzx eax, byte [r15 + rax*4 + 0x321ee1]
mov byte [rdi + 0xd], al
movzx eax, r9b
movzx eax, byte [r15 + rax*4 + 0x321ee1]
mov rbx, qword [rsp + 0x30]
mov byte [rdi + 0xe], al
shr r10d, 0x18
movzx eax, r10b
movzx eax, byte [r15 + rax*4 + 0x321ee1]
mov byte [rdi + 0xf], al
mov eax, dword [rsi + 0x1c]
add rax, 2
add rax, rax
mov eax, dword [rsi + rax*8]
xor dword [rdi], eax
mov eax, dword [rsi + 0x1c]
add rax, rax
mov eax, dword [rsi + rax*8 + 0x24]
xor dword [rdi + 4], eax
mov eax, dword [rsi + 0x1c]
add rax, rax
mov eax, dword [rsi + rax*8 + 0x28]
xor dword [rdi + 8], eax
mov eax, dword [rsi + 0x1c]
add rax, rax
mov eax, dword [rsi + rax*8 + 0x2c]
xor dword [rdi + 0xc], eax
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x10
pop r15
pop r14
pop rbp
ret