Function at 0x14002d428
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x18
mov ebx, dword [r8 + 0x20]
mov r9d, dword [rcx + 0xc]
mov r10d, dword [rcx + 8]
xor r10d, dword [r8 + 0x28]
xor r9d, dword [r8 + 0x2c]
xor ebx, dword [rcx]
mov r11d, dword [rcx + 4]
lea r13, [0x140000000]
mov rsi, r8
xor r11d, dword [r8 + 0x24]
mov rdi, rdx
mov eax, r9d
shr eax, 0x18
mov dword [rsp + 0xc], r9d
mov dword [rsp + 8], r10d
movzx edx, al
mov eax, r10d
mov dword [rsp + 4], r11d
mov r8d, dword [r13 + rdx*4 + 0x78d50]
shr eax, 0x10
mov dword [rsp], ebx
movzx ecx, al
mov eax, r11d
mov r12d, 1
xor r8d, dword [r13 + rcx*4 + 0x78950]
shr eax, 8
movzx ecx, al
movzx eax, bl
xor r8d, dword [r13 + rcx*4 + 0x78550]
xor r8d, dword [r13 + rax*4 + 0x78150]
mov eax, r9d
shr r9d, 8
shr eax, 0x10
mov dword [rdi], r8d
movzx edx, al
mov eax, r10d
mov r8d, dword [r13 + rdx*4 + 0x78950]
shr eax, 8
movzx edx, r9b
movzx ecx, al
mov eax, ebx
xor r8d, dword [r13 + rcx*4 + 0x78550]
shr eax, 0x18
movzx ecx, al
movzx eax, r11b
xor r8d, dword [r13 + rcx*4 + 0x78d50]
xor r8d, dword [r13 + rax*4 + 0x78150]
mov eax, r11d
shr r11d, 0x10
shr eax, 0x18
mov dword [rdi + 4], r8d
mov r8d, dword [r13 + rdx*4 + 0x78550]
movzx ecx, al
mov eax, ebx
shr ebx, 8
xor r8d, dword [r13 + rcx*4 + 0x78d50]
shr eax, 0x10
movzx ecx, al
movzx eax, r10b
shr r10d, 0x18
xor r8d, dword [r13 + rcx*4 + 0x78950]
movzx ecx, r10b
xor r8d, dword [r13 + rax*4 + 0x78150]
movzx eax, r11b
mov dword [rdi + 8], r8d
mov edx, dword [r13 + rcx*4 + 0x78d50]
xor edx, dword [r13 + rax*4 + 0x78950]
movzx eax, bl
xor edx, dword [r13 + rax*4 + 0x78550]
movzx eax, byte [rsp + 0xc]
xor edx, dword [r13 + rax*4 + 0x78150]
mov dword [rdi + 0xc], edx
mov eax, dword [rsi + 0x1c]
dec eax
cmp eax, r12d
jle 0x14002d6d2
lea rbp, [rsi + 0x34]
mov r9d, dword [rbp + 8]
mov r10d, dword [rbp + 4]
mov r11d, dword [rbp]
xor r10d, dword [rdi + 8]
xor r11d, dword [rdi + 4]
xor r9d, dword [rdi + 0xc]
mov ebx, dword [rbp - 4]
mov eax, r9d
mov dword [rsp + 0xc], r9d
xor ebx, dword [rdi]
shr eax, 0x18
mov dword [rsp + 8], r10d
movzx edx, al
mov eax, r10d
mov dword [rsp + 4], r11d
mov r8d, dword [r13 + rdx*4 + 0x78d50]
shr eax, 0x10
mov dword [rsp], ebx
movzx ecx, al
mov eax, r11d
inc r12d
xor r8d, dword [r13 + rcx*4 + 0x78950]
shr eax, 8
add rbp, 0x10
movzx ecx, al
movzx eax, bl
xor r8d, dword [r13 + rcx*4 + 0x78550]
xor r8d, dword [r13 + rax*4 + 0x78150]
mov eax, r9d
shr r9d, 8
shr eax, 0x10
mov dword [rdi], r8d
movzx edx, al
mov eax, r10d
mov r8d, dword [r13 + rdx*4 + 0x78950]
shr eax, 8
movzx edx, r9b
movzx ecx, al
mov eax, ebx
xor r8d, dword [r13 + rcx*4 + 0x78550]
shr eax, 0x18
movzx ecx, al
movzx eax, r11b
xor r8d, dword [r13 + rcx*4 + 0x78d50]
xor r8d, dword [r13 + rax*4 + 0x78150]
mov eax, r11d
shr r11d, 0x10
shr eax, 0x18
mov dword [rdi + 4], r8d
mov r8d, dword [r13 + rdx*4 + 0x78550]
movzx ecx, al
mov eax, ebx
shr ebx, 8
xor r8d, dword [r13 + rcx*4 + 0x78d50]
shr eax, 0x10
movzx ecx, al
movzx eax, r10b
shr r10d, 0x18
xor r8d, dword [r13 + rcx*4 + 0x78950]
movzx ecx, r10b
xor r8d, dword [r13 + rax*4 + 0x78150]
movzx eax, r11b
mov dword [rdi + 8], r8d
mov edx, dword [r13 + rcx*4 + 0x78d50]
xor edx, dword [r13 + rax*4 + 0x78950]
movzx eax, bl
xor edx, dword [r13 + rax*4 + 0x78550]
movzx eax, byte [rsp + 0xc]
xor edx, dword [r13 + rax*4 + 0x78150]
mov dword [rdi + 0xc], edx
mov eax, dword [rsi + 0x1c]
dec eax
cmp r12d, eax
jl 0x14002d58c
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 al, byte [r13 + rax*4 + 0x78151]
mov dword [rsp + 0xc], edx
mov dword [rsp], r8d
mov byte [rdi], al
mov eax, r9d
mov dword [rsp + 4], r9d
shr eax, 8
mov dword [rsp + 8], r10d
movzx ecx, al
mov al, byte [r13 + rcx*4 + 0x78151]
mov byte [rdi + 1], al
mov eax, r10d
shr eax, 0x10
movzx ecx, al
mov al, byte [r13 + rcx*4 + 0x78151]
mov byte [rdi + 2], al
mov eax, edx
shr eax, 0x18
movzx ecx, al
mov al, byte [r13 + rcx*4 + 0x78151]
mov byte [rdi + 3], al
movzx eax, r9b
mov al, byte [r13 + rax*4 + 0x78151]
mov byte [rdi + 4], al
mov eax, r10d
shr eax, 8
movzx ecx, al
mov al, byte [r13 + rcx*4 + 0x78151]
mov byte [rdi + 5], al
mov eax, edx
shr edx, 8
shr eax, 0x10
movzx ecx, al
mov al, byte [r13 + rcx*4 + 0x78151]
mov byte [rdi + 6], al
mov eax, r8d
shr eax, 0x18
movzx ecx, al
mov al, byte [r13 + rcx*4 + 0x78151]
mov byte [rdi + 7], al
movzx eax, r10b
mov al, byte [r13 + rax*4 + 0x78151]
mov byte [rdi + 8], al
movzx eax, dl
mov al, byte [r13 + rax*4 + 0x78151]
mov byte [rdi + 9], al
mov eax, r8d
shr r8d, 8
shr eax, 0x10
movzx ecx, al
mov al, byte [r13 + rcx*4 + 0x78151]
mov byte [rdi + 0xa], al
mov eax, r9d
shr eax, 0x18
shr r9d, 0x10
movzx ecx, al
mov al, byte [r13 + rcx*4 + 0x78151]
mov byte [rdi + 0xb], al
movzx eax, byte [rsp + 0xc]
mov al, byte [r13 + rax*4 + 0x78151]
mov byte [rdi + 0xc], al
movzx eax, r8b
mov al, byte [r13 + rax*4 + 0x78151]
mov byte [rdi + 0xd], al
movzx eax, r9b
mov al, byte [r13 + rax*4 + 0x78151]
mov byte [rdi + 0xe], al
shr r10d, 0x18
movzx eax, r10b
mov al, byte [r13 + rax*4 + 0x78151]
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
add rsp, 0x18
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret