Function at 0x1401d44f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
push r15
mov edi, dword [rcx]
movzx eax, r8b
mov r10d, dword [rcx + 4]
or al, r9b
mov rsi, r9
mov r14, r8
mov rbp, rdx
mov r15, rcx
test al, 7
jne 0x1401d492b
mov qword [rsp + 0x28], rbx
test rdx, 0xfffffffffffffff8
je 0x1401d4711
nop
mov rbx, qword [r14]
lea eax, [rdi + 1]
movzx r9d, al
mov r8d, dword [r15 + r9*4 + 8]
lea rdx, [r15 + r9*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r15 + r10*4 + 8]
mov dword [r15 + r10*4 + 8], r8d
mov dword [rdx + 8], ecx
lea eax, [rcx + r8]
movzx ecx, al
lea eax, [r9 + 1]
movzx r9d, al
mov r8d, dword [r15 + r9*4 + 8]
lea rdx, [r15 + r9*4]
mov r11d, dword [r15 + rcx*4 + 8]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r15 + r10*4 + 8]
mov dword [r15 + r10*4 + 8], r8d
mov dword [rdx + 8], ecx
lea eax, [rcx + r8]
movzx ecx, al
mov eax, dword [r15 + rcx*4 + 8]
shl rax, 8
or r11, rax
lea eax, [r9 + 1]
movzx r9d, al
mov r8d, dword [r15 + r9*4 + 8]
lea rdx, [r15 + r9*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r15 + r10*4 + 8]
mov dword [r15 + r10*4 + 8], r8d
mov dword [rdx + 8], ecx
lea eax, [rcx + r8]
movzx ecx, al
mov eax, dword [r15 + rcx*4 + 8]
shl rax, 0x10
or r11, rax
lea eax, [r9 + 1]
movzx r9d, al
mov r8d, dword [r15 + r9*4 + 8]
lea rdx, [r15 + r9*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r15 + r10*4 + 8]
mov dword [r15 + r10*4 + 8], r8d
mov dword [rdx + 8], ecx
lea eax, [rcx + r8]
movzx ecx, al
mov eax, dword [r15 + rcx*4 + 8]
shl rax, 0x18
or r11, rax
lea eax, [r9 + 1]
movzx r9d, al
mov r8d, dword [r15 + r9*4 + 8]
lea rdx, [r15 + r9*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r15 + r10*4 + 8]
mov dword [r15 + r10*4 + 8], r8d
mov dword [rdx + 8], ecx
lea eax, [rcx + r8]
movzx ecx, al
mov eax, dword [r15 + rcx*4 + 8]
shl rax, 0x20
or r11, rax
lea eax, [r9 + 1]
movzx r9d, al
mov r8d, dword [r15 + r9*4 + 8]
lea rdx, [r15 + r9*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r15 + r10*4 + 8]
mov dword [r15 + r10*4 + 8], r8d
mov dword [rdx + 8], ecx
lea eax, [rcx + r8]
movzx ecx, al
mov eax, dword [r15 + rcx*4 + 8]
shl rax, 0x28
add r14, 8
or r11, rax
sub rbp, 8
lea eax, [r9 + 1]
movzx r9d, al
mov r8d, dword [r15 + r9*4 + 8]
lea rdx, [r15 + r9*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r15 + r10*4 + 8]
mov dword [r15 + r10*4 + 8], r8d
mov dword [rdx + 8], ecx
lea eax, [rcx + r8]
movzx ecx, al
mov eax, dword [r15 + rcx*4 + 8]
shl rax, 0x30
or r11, rax
lea eax, [r9 + 1]
movzx edi, al
mov r8d, dword [r15 + rdi*4 + 8]
lea rdx, [r15 + rdi*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r15 + r10*4 + 8]
mov dword [r15 + r10*4 + 8], r8d
mov dword [rdx + 8], ecx
lea eax, [rcx + r8]
movzx ecx, al
mov eax, dword [r15 + rcx*4 + 8]
shl rax, 0x38
or rax, r11
xor rax, rbx
mov qword [rsi], rax
add rsi, 8
test rbp, 0xfffffffffffffff8
jne 0x1401d4530
test rbp, rbp
je 0x1401d4921
xor r11d, r11d
mov qword [rsp + 0x30], r12
mov r12, qword [r14]
mov ecx, 8
sub cl, bpl
mov qword [rsp + 0x38], r13
mov r13, qword [rsi]
or r14, 0xffffffffffffffff
shl cl, 3
and ebp, 7
shr r14, cl
mov ebx, r11d
dec rbp
cmp rbp, 6
ja case.default.0x1401d4763
lea rcx, [0x140000000]
mov eax, dword [rcx + rbp*4 + 0x1d4d54]
add rax, rcx
jmp rax
lea eax, [rdi + 1]
mov ebx, 8
movzx edi, al
mov r8d, dword [r15 + rdi*4 + 8]
lea rdx, [r15 + rdi*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r15 + r10*4 + 8]
mov dword [r15 + r10*4 + 8], r8d
mov dword [rdx + 8], ecx
lea eax, [rcx + r8]
movzx ecx, al
mov r11d, dword [r15 + rcx*4 + 8]
lea eax, [rdi + 1]
movzx edi, al
mov r8d, dword [r15 + rdi*4 + 8]
lea rdx, [r15 + rdi*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r15 + r10*4 + 8]
mov dword [r15 + r10*4 + 8], r8d
mov dword [rdx + 8], ecx
lea eax, [rcx + r8]
movzx ecx, al
mov eax, dword [r15 + rcx*4 + 8]
mov rcx, rbx
shl rax, cl
or r11, rax
add rbx, 8
lea eax, [rdi + 1]
movzx edi, al
mov r8d, dword [r15 + rdi*4 + 8]
lea rdx, [r15 + rdi*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r15 + r10*4 + 8]
mov dword [r15 + r10*4 + 8], r8d
mov dword [rdx + 8], ecx
lea eax, [rcx + r8]
movzx ecx, al
mov eax, dword [r15 + rcx*4 + 8]
mov rcx, rbx
shl rax, cl
or r11, rax
add rbx, 8
lea eax, [rdi + 1]
movzx edi, al
mov r8d, dword [r15 + rdi*4 + 8]
lea rdx, [r15 + rdi*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r15 + r10*4 + 8]
mov dword [r15 + r10*4 + 8], r8d
mov dword [rdx + 8], ecx
lea eax, [rcx + r8]
movzx ecx, al
mov eax, dword [r15 + rcx*4 + 8]
mov rcx, rbx
shl rax, cl
or r11, rax
add rbx, 8
lea eax, [rdi + 1]
movzx edi, al
mov r8d, dword [r15 + rdi*4 + 8]
lea rdx, [r15 + rdi*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r15 + r10*4 + 8]
mov dword [r15 + r10*4 + 8], r8d
mov dword [rdx + 8], ecx
lea eax, [rcx + r8]
movzx ecx, al
mov eax, dword [r15 + rcx*4 + 8]
mov rcx, rbx
shl rax, cl
or r11, rax
add rbx, 8
lea eax, [rdi + 1]
movzx edi, al
mov r8d, dword [r15 + rdi*4 + 8]
lea rdx, [r15 + rdi*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r15 + r10*4 + 8]
mov dword [r15 + r10*4 + 8], r8d
mov dword [rdx + 8], ecx
lea eax, [rcx + r8]
movzx ecx, al
mov eax, dword [r15 + rcx*4 + 8]
mov rcx, rbx
shl rax, cl
or r11, rax
add rbx, 8
lea eax, [rdi + 1]
mov rcx, rbx
movzx edi, al
mov r9d, dword [r15 + rdi*4 + 8]
lea r8, [r15 + rdi*4]
lea eax, [r9 + r10]
movzx r10d, al
mov edx, dword [r15 + r10*4 + 8]
mov dword [r15 + r10*4 + 8], r9d
mov dword [r8 + 8], edx
lea eax, [rdx + r9]
movzx edx, al
mov eax, dword [r15 + rdx*4 + 8]
shl rax, cl
or r11, rax
xor r11, r12
mov r12, qword [rsp + 0x30]
and r11, r14
not r14
and r14, r13
mov r13, qword [rsp + 0x38]
or r11, r14
mov qword [rsi], r11
mov rbx, qword [rsp + 0x28]
jmp 0x1401d4d40
mov r11, rbp
shr r11, 3
test r11, r11
je 0x1401d4b1e
nop dword [rax + rax]
lea eax, [rdi + 1]
movzx r9d, al
mov r8d, dword [r15 + r9*4 + 8]
lea rdx, [r15 + r9*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r15 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r15 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r15 + rcx*4 + 8]
xor al, byte [r14]
mov byte [rsi], al
lea eax, [r9 + 1]
movzx r9d, al
mov r8d, dword [r15 + r9*4 + 8]
lea rdx, [r15 + r9*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r15 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r15 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r15 + rcx*4 + 8]
xor al, byte [r14 + 1]
mov byte [rsi + 1], al
lea eax, [r9 + 1]
movzx r9d, al
mov r8d, dword [r15 + r9*4 + 8]
lea rdx, [r15 + r9*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r15 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r15 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r15 + rcx*4 + 8]
xor al, byte [r14 + 2]
mov byte [rsi + 2], al
lea eax, [r9 + 1]
movzx r9d, al
mov r8d, dword [r15 + r9*4 + 8]
lea rdx, [r15 + r9*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r15 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r15 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r15 + rcx*4 + 8]
xor al, byte [r14 + 3]
mov byte [rsi + 3], al
lea eax, [r9 + 1]
movzx r9d, al
mov r8d, dword [r15 + r9*4 + 8]
lea rdx, [r15 + r9*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r15 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r15 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r15 + rcx*4 + 8]
xor al, byte [r14 + 4]
mov byte [rsi + 4], al
lea eax, [r9 + 1]
movzx r9d, al
mov r8d, dword [r15 + r9*4 + 8]
lea rdx, [r15 + r9*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r15 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r15 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r15 + rcx*4 + 8]
xor al, byte [r14 + 5]
mov byte [rsi + 5], al
lea eax, [r9 + 1]
movzx r9d, al
mov r8d, dword [r15 + r9*4 + 8]
lea rdx, [r15 + r9*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r15 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r15 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r15 + rcx*4 + 8]
xor al, byte [r14 + 6]
mov byte [rsi + 6], al
lea eax, [r9 + 1]
movzx edi, al
mov r8d, dword [r15 + rdi*4 + 8]
lea rdx, [r15 + rdi*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r15 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r15 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r15 + rcx*4 + 8]
xor al, byte [r14 + 7]
add r14, 8
mov byte [rsi + 7], al
add rsi, 8
sub r11, 1
jne 0x1401d4940
and ebp, 7
je 0x1401d4d40
lea eax, [rdi + 1]
movzx edi, al
mov r8d, dword [r15 + rdi*4 + 8]
lea rdx, [r15 + rdi*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r15 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r15 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r15 + rcx*4 + 8]
xor al, byte [r14]
inc r14
mov byte [rsi], al
inc rsi
sub rbp, 1
je 0x1401d4d40
nop dword [rax]
lea eax, [rdi + 1]
movzx edi, al
mov r8d, dword [r15 + rdi*4 + 8]
lea rdx, [r15 + rdi*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r15 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r15 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r15 + rcx*4 + 8]
xor al, byte [r14]
mov byte [rsi], al
sub rbp, 1
je 0x1401d4d40
lea eax, [rdi + 1]
movzx edi, al
mov r8d, dword [r15 + rdi*4 + 8]
lea rdx, [r15 + rdi*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r15 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r15 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r15 + rcx*4 + 8]
xor al, byte [r14 + 1]
mov byte [rsi + 1], al
sub rbp, 1
je 0x1401d4d40
lea eax, [rdi + 1]
movzx edi, al
mov r8d, dword [r15 + rdi*4 + 8]
lea rdx, [r15 + rdi*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r15 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r15 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r15 + rcx*4 + 8]
xor al, byte [r14 + 2]
mov byte [rsi + 2], al
sub rbp, 1
je 0x1401d4d40
lea eax, [rdi + 1]
movzx edi, al
mov r8d, dword [r15 + rdi*4 + 8]
lea rdx, [r15 + rdi*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r15 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r15 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r15 + rcx*4 + 8]
xor al, byte [r14 + 3]
mov byte [rsi + 3], al
sub rbp, 1
je 0x1401d4d40
lea eax, [rdi + 1]
movzx edi, al
mov r8d, dword [r15 + rdi*4 + 8]
lea rdx, [r15 + rdi*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r15 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r15 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r15 + rcx*4 + 8]
xor al, byte [r14 + 4]
mov byte [rsi + 4], al
sub rbp, 1
je 0x1401d4d40
lea eax, [rdi + 1]
movzx edi, al
mov r8d, dword [r15 + rdi*4 + 8]
lea rdx, [r15 + rdi*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r15 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r15 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r15 + rcx*4 + 8]
xor al, byte [r14 + 5]
mov byte [rsi + 5], al
sub rbp, 1
je 0x1401d4d40
lea eax, [rdi + 1]
movzx edi, al
mov r8d, dword [r15 + rdi*4 + 8]
lea rdx, [r15 + rdi*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r15 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r15 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r15 + rcx*4 + 8]
xor al, byte [r14 + 6]
add r14, 7
mov byte [rsi + 6], al
add rsi, 7
sub rbp, 1
jne 0x1401d4b70
mov rbp, qword [rsp + 0x40]
mov dword [r15 + 4], r10d
mov dword [r15], edi
pop r15
pop r14
pop rdi
pop rsi
ret