Function at 0x1400be660
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov ebx, dword [rcx]
lea r12, [0x140109bd0]
mov edi, dword [rdx]
mov rbp, r8
mov rsi, rdx
mov r14, rcx
xor r15d, r15d
nop dword [rax]
nop word [rax + rax]
lea r11d, [r15*4]
mov r9d, edi
mov ecx, dword [rbp + r11*4]
lea eax, [r11 + 1]
mov r8d, dword [rbp + rax*4]
ror r9d, 4
xor r9, rcx
mov eax, edi
xor r8, rax
mov rcx, r8
mov rax, r8
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov edx, dword [r12 + rcx*4 + 0x100]
xor edx, dword [r12 + rax*4 + 0x300]
mov rax, r8
shr rax, 8
and r8d, 0x3f
and eax, 0x3f
xor edx, dword [r12 + rax*4 + 0x500]
mov rax, r9
shr rax, 0x18
and eax, 0x3f
xor edx, dword [r12 + rax*4]
mov rax, r9
shr rax, 0x10
and eax, 0x3f
xor edx, dword [r12 + rax*4 + 0x200]
mov rax, r9
shr rax, 8
and r9d, 0x3f
and eax, 0x3f
xor edx, dword [r12 + rax*4 + 0x400]
lea eax, [r11 + 2]
mov eax, dword [rbp + rax*4]
xor edx, dword [r12 + r8*4 + 0x700]
xor edx, dword [r12 + r9*4 + 0x600]
xor ebx, edx
mov edx, ebx
mov r9d, ebx
ror r9d, 4
xor r9, rax
lea eax, [r11 + 3]
mov r8d, dword [rbp + rax*4]
xor r8, rdx
mov rcx, r8
mov rax, r8
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov edx, dword [r12 + rcx*4 + 0x100]
xor edx, dword [r12 + rax*4 + 0x300]
mov rax, r8
shr rax, 8
and r8d, 0x3f
and eax, 0x3f
xor edx, dword [r12 + rax*4 + 0x500]
mov rax, r9
shr rax, 0x18
and eax, 0x3f
xor edx, dword [r12 + rax*4]
mov rax, r9
shr rax, 0x10
and eax, 0x3f
xor edx, dword [r12 + rax*4 + 0x200]
mov rax, r9
shr rax, 8
and r9d, 0x3f
and eax, 0x3f
xor edx, dword [r12 + rax*4 + 0x400]
lea eax, [r11 + 4]
xor edx, dword [r12 + r8*4 + 0x700]
xor edx, dword [r12 + r9*4 + 0x600]
mov eax, dword [rbp + rax*4]
xor edi, edx
mov r9d, edi
mov edx, edi
ror r9d, 4
xor r9, rax
lea eax, [r11 + 5]
mov r8d, dword [rbp + rax*4]
xor r8, rdx
mov rcx, r8
mov rax, r8
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov edx, dword [r12 + rcx*4 + 0x100]
xor edx, dword [r12 + rax*4 + 0x300]
mov rax, r8
shr rax, 8
and r8d, 0x3f
and eax, 0x3f
xor edx, dword [r12 + rax*4 + 0x500]
mov rax, r9
shr rax, 0x18
and eax, 0x3f
xor edx, dword [r12 + rax*4]
mov rax, r9
shr rax, 0x10
and eax, 0x3f
xor edx, dword [r12 + rax*4 + 0x200]
mov rax, r9
shr rax, 8
and r9d, 0x3f
and eax, 0x3f
xor edx, dword [r12 + rax*4 + 0x400]
lea eax, [r11 + 6]
mov eax, dword [rbp + rax*4]
xor edx, dword [r12 + r8*4 + 0x700]
xor edx, dword [r12 + r9*4 + 0x600]
xor ebx, edx
mov edx, ebx
mov r9d, ebx
ror r9d, 4
xor r9, rax
lea eax, [r11 + 7]
mov r8d, dword [rbp + rax*4]
xor r8, rdx
mov rcx, r8
mov rax, r8
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov edx, dword [r12 + rcx*4 + 0x100]
xor edx, dword [r12 + rax*4 + 0x300]
mov rax, r8
shr rax, 8
and r8d, 0x3f
and eax, 0x3f
xor edx, dword [r12 + rax*4 + 0x500]
mov rax, r9
shr rax, 0x18
and eax, 0x3f
xor edx, dword [r12 + rax*4]
mov rax, r9
shr rax, 0x10
and eax, 0x3f
xor edx, dword [r12 + rax*4 + 0x200]
mov rax, r9
shr rax, 8
and r9d, 0x3f
and eax, 0x3f
xor edx, dword [r12 + rax*4 + 0x400]
lea eax, [r15*4 + 8]
xor edx, dword [r12 + r8*4 + 0x700]
xor edx, dword [r12 + r9*4 + 0x600]
mov eax, dword [rbp + rax*4]
xor edi, edx
mov r9d, edi
mov edx, edi
ror r9d, 4
xor r9, rax
lea eax, [r11 + 9]
mov r8d, dword [rbp + rax*4]
xor r8, rdx
mov rcx, r8
shr rcx, 0x18
mov rax, r8
shr rax, 0x10
and ecx, 0x3f
and eax, 0x3f
mov edx, dword [r12 + rcx*4 + 0x100]
xor edx, dword [r12 + rax*4 + 0x300]
mov rax, r8
shr rax, 8
and r8d, 0x3f
and eax, 0x3f
xor edx, dword [r12 + rax*4 + 0x500]
mov rax, r9
shr rax, 0x18
and eax, 0x3f
xor edx, dword [r12 + rax*4]
mov rax, r9
shr rax, 0x10
and eax, 0x3f
xor edx, dword [r12 + rax*4 + 0x200]
mov rax, r9
shr rax, 8
and r9d, 0x3f
and eax, 0x3f
xor edx, dword [r12 + rax*4 + 0x400]
lea eax, [r11 + 0xa]
mov eax, dword [rbp + rax*4]
xor edx, dword [r12 + r8*4 + 0x700]
xor edx, dword [r12 + r9*4 + 0x600]
xor ebx, edx
mov edx, ebx
mov r9d, ebx
ror r9d, 4
xor r9, rax
lea eax, [r11 + 0xb]
mov r8d, dword [rbp + rax*4]
xor r8, rdx
mov rcx, r8
mov rax, r8
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov edx, dword [r12 + rcx*4 + 0x100]
xor edx, dword [r12 + rax*4 + 0x300]
mov rax, r8
shr rax, 8
and r8d, 0x3f
and eax, 0x3f
xor edx, dword [r12 + rax*4 + 0x500]
mov rax, r9
shr rax, 0x18
and eax, 0x3f
xor edx, dword [r12 + rax*4]
mov rax, r9
shr rax, 0x10
and eax, 0x3f
xor edx, dword [r12 + rax*4 + 0x200]
mov rax, r9
shr rax, 8
and r9d, 0x3f
and eax, 0x3f
xor edx, dword [r12 + rax*4 + 0x400]
lea eax, [r15*4 + 0xc]
xor edx, dword [r12 + r9*4 + 0x600]
mov eax, dword [rbp + rax*4]
xor edx, dword [r12 + r8*4 + 0x700]
xor edi, edx
mov r9d, edi
mov edx, edi
ror r9d, 4
xor r9, rax
lea eax, [r11 + 0xd]
mov r8d, dword [rbp + rax*4]
xor r8, rdx
mov rcx, r8
mov rax, r8
shr rcx, 0x18
and ecx, 0x3f
shr rax, 0x10
and eax, 0x3f
mov edx, dword [r12 + rcx*4 + 0x100]
add r15d, 4
xor edx, dword [r12 + rax*4 + 0x300]
mov rax, r8
shr rax, 8
and r8d, 0x3f
and eax, 0x3f
xor edx, dword [r12 + rax*4 + 0x500]
mov rax, r9
shr rax, 0x18
and eax, 0x3f
xor edx, dword [r12 + rax*4]
mov rax, r9
shr rax, 0x10
and eax, 0x3f
xor edx, dword [r12 + rax*4 + 0x200]
mov rax, r9
shr rax, 8
and r9d, 0x3f
and eax, 0x3f
xor edx, dword [r12 + rax*4 + 0x400]
lea eax, [r11 + 0xe]
mov eax, dword [rbp + rax*4]
xor edx, dword [r12 + r8*4 + 0x700]
xor edx, dword [r12 + r9*4 + 0x600]
xor ebx, edx
mov r9d, ebx
mov edx, ebx
ror r9d, 4
xor r9, rax
lea eax, [r11 + 0xf]
mov r8d, dword [rbp + rax*4]
xor r8, rdx
mov rcx, r8
mov rax, r8
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov edx, dword [r12 + rcx*4 + 0x100]
xor edx, dword [r12 + rax*4 + 0x300]
mov rax, r8
shr rax, 8
and r8d, 0x3f
and eax, 0x3f
xor edx, dword [r12 + rax*4 + 0x500]
mov rax, r9
shr rax, 0x18
and eax, 0x3f
xor edx, dword [r12 + rax*4]
mov rax, r9
shr rax, 0x10
and eax, 0x3f
xor edx, dword [r12 + rax*4 + 0x200]
mov rax, r9
shr rax, 8
and r9d, 0x3f
and eax, 0x3f
xor edx, dword [r12 + rax*4 + 0x400]
xor edx, dword [r12 + r8*4 + 0x700]
xor edx, dword [r12 + r9*4 + 0x600]
xor edi, edx
cmp r15d, 8
jb 0x1400be6a0
mov rbp, qword [rsp + 0x28]
mov dword [rsi], edi
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov dword [r14], ebx
mov rbx, qword [rsp + 0x20]
pop r15
pop r14
pop r12
ret