Function at 0x140070bc0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
movzx eax, byte [rdx + 1]
mov rbx, r8
xchg r11, r11
movzx r11d, byte [rdx]
mov r8, rcx
movzx ecx, byte [rdx + 5]
shl r11d, 8
mov dword [rsp - 0x30], ecx
or r11d, eax
movzx eax, byte [rdx + 2]
shl r11d, 8
or r11d, eax
mov dword [rsp - 0x14], esp
movzx eax, byte [rdx + 3]
shl r11d, 8
or r11d, eax
movzx eax, byte [rdx + 4]
mov rbx, rbx
shl eax, 8
or eax, ecx
movzx ecx, byte [rdx + 6]
xchg rsp, rsp
shl eax, 8
or eax, ecx
movzx ecx, byte [rdx + 7]
mov r10, r10
shl eax, 8
or eax, ecx
mov ecx, dword [r8 + 4]
xchg rdx, rdx
dec ecx
movsxd rdi, ecx
test ecx, ecx
jle 0x140070e52
mov dword [rsp - 0x40], 0xf9ac5f0
mov rdx, qword [r8 + 8]
mov qword [rsp + 0x10], rsi
lea rsi, [rdi - 1]
mov dword [rsp - 0x20], 0x7a72ce9e
lea rsi, [rdi + rsi*2]
mov qword [rsp + 0x18], r14
dec rdi
lea r14, [0x1400a5f60]
mov dword [rsp - 0x10], esi
shr rdi, 1
lea rsi, [rdx + rsi*4]
inc rdi
nop dword [rax + rax]
mov dword [rsp - 0xc], esi
mov r10d, dword [rsi + 0xc]
lea rsi, [rsi - 0x18]
mov edx, eax
mov r13, r13
mov r9d, eax
and edx, 0x3ff00
ror r9d, 0xe
mov dword [rsp - 0x38], 0x28b466e5
shl edx, 2
and r9d, 0xffc00
mov ecx, eax
mov dword [rsp - 0x34], edx
shr ecx, 0x10
and ecx, 0x3ff
or r9d, ecx
mov ecx, eax
mov rsp, rsp
and ecx, 0x3ff
or edx, ecx
mov r8d, edx
xor edx, r9d
mov dword [rsp - 0x14], esi
and edx, dword [rsi + 0x28]
xor r10, r8
mov r8d, dword [rsi + 0x20]
xor r10, rdx
mov dword [rsp - 0x30], 0x7c4c6d33
xor r8, r9
mov rcx, r10
xor r8, rdx
mov dword [rsp - 0x2c], ecx
shr rcx, 0xa
and r10d, 0x3ff
mov r9d, dword [r14 + rcx*4 + 0x2000]
mov rcx, r8
xchg r14, r14
shr rcx, 0xa
and r8d, 0x3ff
xor r9d, 0x7a1f126d
mov dword [rsp - 0x3c], ebx
mov edx, dword [r14 + rcx*4]
mov ecx, dword [r14 + r8*4 + 0x1000]
xor edx, 0x7a1f126d
xor ecx, 0x7a1f126d
mov dword [rsp - 0x10], 0x1e5106ba
or r9d, edx
or r9d, ecx
mov ecx, dword [r14 + r10*4 + 0x3000]
xor ecx, 0x7a1f126d
xchg r12, r12
or r9d, ecx
xor r11d, r9d
mov r9d, dword [rsi + 0x14]
mov edx, r11d
xchg r11, r11
mov r8d, r11d
ror r8d, 0xe
and edx, 0x3ff00
mov r9, r9
and r8d, 0xffc00
shl edx, 2
mov ecx, r11d
shr ecx, 0x10
mov r8, r8
and ecx, 0x3ff
or r8d, ecx
mov ecx, r11d
xchg r15, r15
and ecx, 0x3ff
xor r9, r8
or edx, ecx
mov ecx, dword [rsi + 0x18]
mov dword [rsp - 0x38], ebx
mov r10d, edx
xor edx, r8d
and edx, dword [rsi + 0x1c]
xor r10, rcx
mov dword [rsp - 0xc], ecx
xor r10, rdx
xor r9, rdx
mov rcx, r10
mov dword [rsp - 0x34], ebp
and r10d, 0x3ff
shr rcx, 0xa
mov r8d, dword [r14 + rcx*4 + 0x2000]
mov dword [rsp - 0x14], esi
mov rcx, r9
shr rcx, 0xa
xor r8d, 0x7a1f126d
mov rbx, rbx
and r9d, 0x3ff
mov edx, dword [r14 + rcx*4]
mov ecx, dword [r14 + r10*4 + 0x3000]
xor edx, 0x7a1f126d
mov dword [rsp - 0x20], edx
xor ecx, 0x7a1f126d
or r8d, edx
or r8d, ecx
mov ecx, dword [r14 + r9*4 + 0x1000]
mov dword [rsp - 0xc], ebx
xor ecx, 0x7a1f126d
or r8d, ecx
xor eax, r8d
mov dword [rsp - 0x20], edi
sub rdi, 1
jne 0x140070c7f
mov r14, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x10]
mov dword [rsp - 0x38], edi
mov byte [rbx + 3], al
mov byte [rbx + 7], r11b
shr eax, 8
mov dword [rsp - 0xc], 0x9fcb2e4
mov byte [rbx + 2], al
shr r11d, 8
mov byte [rbx + 6], r11b
mov dword [rsp - 0x30], esi
shr eax, 8
mov byte [rbx + 1], al
shr r11d, 8
mov dword [rsp - 0x1c], 0x79c20bcc
mov byte [rbx + 5], r11b
shr eax, 8
mov byte [rbx], al
shr r11d, 8
mov rdx, rdx
mov byte [rbx + 4], r11b
mov rbx, qword [rsp + 0x20]
pop rdi
mov dword [rsp - 0x44], 0x6057c13f
ret