Function at 0x14003fd64
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x10
movsxd rax, dword [rcx]
mov r9d, dword [rdx + 0xc]
mov r11d, dword [rdx + 4]
mov r10d, dword [rdx + 8]
add rax, rax
lea r13, [0x140000000]
xor r9d, dword [rcx + rax*8 + 0x20]
xor r11d, dword [rcx + rax*8 + 0x18]
xor r10d, dword [rcx + rax*8 + 0x1c]
mov ebx, dword [rcx + rax*8 + 0x14]
mov rdi, r8
mov rbp, rcx
xor ebx, dword [rdx]
mov eax, r9d
mov dword [rsp + 0xc], r9d
shr eax, 8
mov dword [rsp + 8], r10d
mov dword [rsp + 4], r11d
movzx edx, al
mov eax, r10d
mov dword [rsp], ebx
mov r8d, dword [r13 + rdx*4 + 0x8a0d0]
shr eax, 0x10
movzx ecx, al
mov eax, r11d
xor r8d, dword [r13 + rcx*4 + 0x89cd0]
shr eax, 0x18
movzx ecx, al
movzx eax, bl
xor r8d, dword [r13 + rcx*4 + 0x898d0]
xor r8d, dword [r13 + rax*4 + 0x8a4d0]
mov eax, r9d
shr r9d, 0x18
shr eax, 0x10
mov dword [rdi], r8d
movzx edx, al
mov eax, r10d
mov r8d, dword [r13 + rdx*4 + 0x89cd0]
shr eax, 0x18
movzx edx, r9b
movzx ecx, al
mov eax, ebx
xor r8d, dword [r13 + rcx*4 + 0x898d0]
shr eax, 8
movzx ecx, al
movzx eax, r11b
xor r8d, dword [r13 + rcx*4 + 0x8a0d0]
xor r8d, dword [r13 + rax*4 + 0x8a4d0]
mov eax, r11d
shr r11d, 0x10
shr eax, 8
mov dword [rdi + 4], r8d
mov r8d, dword [r13 + rdx*4 + 0x898d0]
movzx ecx, al
mov eax, ebx
shr ebx, 0x18
xor r8d, dword [r13 + rcx*4 + 0x8a0d0]
shr eax, 0x10
movzx ecx, al
movzx eax, r10b
shr r10d, 8
xor r8d, dword [r13 + rcx*4 + 0x89cd0]
movzx ecx, r10b
xor r8d, dword [r13 + rax*4 + 0x8a4d0]
movzx eax, r11b
mov dword [rdi + 8], r8d
mov edx, dword [r13 + rcx*4 + 0x8a0d0]
xor edx, dword [r13 + rax*4 + 0x89cd0]
movzx eax, bl
xor edx, dword [r13 + rax*4 + 0x898d0]
movzx eax, byte [rsp + 0xc]
xor edx, dword [r13 + rax*4 + 0x8a4d0]
mov dword [rdi + 0xc], edx
mov eax, dword [rbp]
dec eax
movsxd rcx, eax
cmp rcx, 1
jle 0x14004001b
mov rax, rcx
lea r12, [rcx - 1]
add rax, rax
lea rsi, [rbp + rax*8 + 0x1c]
mov r9d, dword [rsi + 4]
mov r11d, dword [rsi - 4]
mov ebx, dword [rsi - 8]
xor r11d, dword [rdi + 4]
xor ebx, dword [rdi]
xor r9d, dword [rdi + 0xc]
mov r10d, dword [rdi + 8]
mov eax, r9d
mov dword [rsp + 0xc], r9d
xor r10d, dword [rsi]
shr eax, 8
mov dword [rsp + 4], r11d
movzx edx, al
mov eax, r10d
mov dword [rsp + 8], r10d
mov r8d, dword [r13 + rdx*4 + 0x8a0d0]
shr eax, 0x10
mov dword [rsp], ebx
movzx ecx, al
mov eax, r11d
sub rsi, 0x10
xor r8d, dword [r13 + rcx*4 + 0x89cd0]
shr eax, 0x18
movzx ecx, al
movzx eax, bl
xor r8d, dword [r13 + rcx*4 + 0x898d0]
xor r8d, dword [r13 + rax*4 + 0x8a4d0]
mov eax, r9d
shr r9d, 0x18
shr eax, 0x10
mov dword [rdi], r8d
movzx edx, al
mov eax, r10d
mov r8d, dword [r13 + rdx*4 + 0x89cd0]
shr eax, 0x18
movzx edx, r9b
movzx ecx, al
mov eax, ebx
xor r8d, dword [r13 + rcx*4 + 0x898d0]
shr eax, 8
movzx ecx, al
movzx eax, r11b
xor r8d, dword [r13 + rcx*4 + 0x8a0d0]
xor r8d, dword [r13 + rax*4 + 0x8a4d0]
mov eax, r11d
shr r11d, 0x10
shr eax, 8
mov dword [rdi + 4], r8d
mov r8d, dword [r13 + rdx*4 + 0x898d0]
movzx ecx, al
mov eax, ebx
shr ebx, 0x18
xor r8d, dword [r13 + rcx*4 + 0x8a0d0]
shr eax, 0x10
movzx ecx, al
movzx eax, r10b
shr r10d, 8
xor r8d, dword [r13 + rcx*4 + 0x89cd0]
movzx ecx, r10b
xor r8d, dword [r13 + rax*4 + 0x8a4d0]
movzx eax, r11b
mov dword [rdi + 8], r8d
mov edx, dword [r13 + rcx*4 + 0x8a0d0]
xor edx, dword [r13 + rax*4 + 0x89cd0]
movzx eax, bl
xor edx, dword [r13 + rax*4 + 0x898d0]
movzx eax, byte [rsp + 0xc]
xor edx, dword [r13 + rax*4 + 0x8a4d0]
sub r12, 1
mov dword [rdi + 0xc], edx
jne 0x14003fedd
mov edx, dword [rbp + 0x30]
mov r9d, dword [rbp + 0x28]
mov r8d, dword [rbp + 0x2c]
xor r8d, dword [rdi + 8]
xor edx, dword [rdi + 0xc]
xor r9d, dword [rdi + 4]
mov r10d, dword [rdi]
mov dword [rsp + 0xc], edx
mov dword [rsp + 8], r8d
xor r10d, dword [rbp + 0x24]
mov dword [rsp + 4], r9d
movzx eax, r10b
mov dword [rsp], r10d
mov al, byte [rax + r13 + 0x8b8f0]
mov byte [rdi], al
mov eax, edx
shr eax, 8
movzx ecx, al
mov al, byte [rcx + r13 + 0x8b8f0]
mov byte [rdi + 1], al
mov eax, r8d
shr eax, 0x10
movzx ecx, al
mov al, byte [rcx + r13 + 0x8b8f0]
mov byte [rdi + 2], al
mov eax, r9d
shr eax, 0x18
movzx ecx, al
mov al, byte [rcx + r13 + 0x8b8f0]
mov byte [rdi + 3], al
movzx eax, r9b
mov al, byte [rax + r13 + 0x8b8f0]
mov byte [rdi + 4], al
mov eax, r10d
shr eax, 8
movzx ecx, al
mov al, byte [rcx + r13 + 0x8b8f0]
mov byte [rdi + 5], al
mov eax, edx
shr edx, 0x18
shr eax, 0x10
movzx ecx, al
mov al, byte [rcx + r13 + 0x8b8f0]
mov byte [rdi + 6], al
mov eax, r8d
shr eax, 0x18
movzx ecx, al
mov al, byte [rcx + r13 + 0x8b8f0]
mov byte [rdi + 7], al
movzx eax, r8b
shr r8d, 8
mov al, byte [rax + r13 + 0x8b8f0]
mov byte [rdi + 8], al
mov eax, r9d
shr r9d, 0x10
shr eax, 8
movzx ecx, al
mov al, byte [rcx + r13 + 0x8b8f0]
mov byte [rdi + 9], al
mov eax, r10d
shr eax, 0x10
shr r10d, 0x18
movzx ecx, al
mov al, byte [rcx + r13 + 0x8b8f0]
mov byte [rdi + 0xa], al
movzx eax, dl
mov al, byte [rax + r13 + 0x8b8f0]
mov byte [rdi + 0xb], al
movzx eax, byte [rsp + 0xc]
mov al, byte [rax + r13 + 0x8b8f0]
mov byte [rdi + 0xc], al
movzx eax, r8b
mov al, byte [rax + r13 + 0x8b8f0]
mov byte [rdi + 0xd], al
movzx eax, r9b
mov al, byte [rax + r13 + 0x8b8f0]
mov byte [rdi + 0xe], al
movzx eax, r10b
mov al, byte [rax + r13 + 0x8b8f0]
mov byte [rdi + 0xf], al
mov eax, dword [rbp + 0x14]
xor dword [rdi], eax
mov eax, dword [rbp + 0x18]
mov rbx, qword [rsp + 0x58]
xor dword [rdi + 4], eax
mov eax, dword [rbp + 0x1c]
xor dword [rdi + 8], eax
mov eax, dword [rbp + 0x20]
xor dword [rdi + 0xc], eax
add rsp, 0x10
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret