Function at 0x1402a8120
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov r11d, dword [rcx]
mov rbp, rdx
mov r10d, dword [rcx + 4]
mov rdi, r9
shr rbp, 3
mov rsi, r8
mov rbx, rdx
mov r14, rcx
test rbp, rbp
je 0x1402a8338
nop dword [rax]
lea eax, [r11 + 1]
movzx r9d, al
mov r8d, dword [r14 + r9*4 + 8]
lea rdx, [r14 + r9*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r14 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r14 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 8]
xor al, byte [rsi]
mov byte [rdi], al
lea eax, [r9 + 1]
movzx r9d, al
mov r8d, dword [r14 + r9*4 + 8]
lea rdx, [r14 + r9*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r14 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r14 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 8]
xor al, byte [rsi + 1]
mov byte [rdi + 1], al
lea eax, [r9 + 1]
movzx r9d, al
mov r8d, dword [r14 + r9*4 + 8]
lea rdx, [r14 + r9*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r14 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r14 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 8]
xor al, byte [rsi + 2]
mov byte [rdi + 2], al
lea eax, [r9 + 1]
movzx r9d, al
mov r8d, dword [r14 + r9*4 + 8]
lea rdx, [r14 + r9*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r14 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r14 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 8]
xor al, byte [rsi + 3]
mov byte [rdi + 3], al
lea eax, [r9 + 1]
movzx r9d, al
mov r8d, dword [r14 + r9*4 + 8]
lea rdx, [r14 + r9*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r14 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r14 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 8]
xor al, byte [rsi + 4]
mov byte [rdi + 4], al
lea eax, [r9 + 1]
movzx r9d, al
mov r8d, dword [r14 + r9*4 + 8]
lea rdx, [r14 + r9*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r14 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r14 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 8]
xor al, byte [rsi + 5]
mov byte [rdi + 5], al
lea eax, [r9 + 1]
movzx r9d, al
mov r8d, dword [r14 + r9*4 + 8]
lea rdx, [r14 + r9*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r14 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r14 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 8]
xor al, byte [rsi + 6]
mov byte [rdi + 6], al
lea eax, [r9 + 1]
movzx r11d, al
mov r8d, dword [r14 + r11*4 + 8]
lea rdx, [r14 + r11*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r14 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r14 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 8]
xor al, byte [rsi + 7]
add rsi, 8
mov byte [rdi + 7], al
add rdi, 8
sub rbp, 1
jne 0x1402a8160
and ebx, 7
je 0x1402a8551
lea eax, [r11 + 1]
movzx r11d, al
mov r8d, dword [r14 + r11*4 + 8]
lea rdx, [r14 + r11*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r14 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r14 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 8]
xor al, byte [rsi]
mov byte [rdi], al
sub rbx, 1
je 0x1402a8551
lea eax, [r11 + 1]
movzx r11d, al
mov r8d, dword [r14 + r11*4 + 8]
lea rdx, [r14 + r11*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r14 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r14 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 8]
xor al, byte [rsi + 1]
mov byte [rdi + 1], al
sub rbx, 1
je 0x1402a8551
lea eax, [r11 + 1]
movzx r11d, al
mov r8d, dword [r14 + r11*4 + 8]
lea rdx, [r14 + r11*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r14 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r14 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 8]
xor al, byte [rsi + 2]
mov byte [rdi + 2], al
sub rbx, 1
je 0x1402a8551
lea eax, [r11 + 1]
movzx r11d, al
mov r8d, dword [r14 + r11*4 + 8]
lea rdx, [r14 + r11*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r14 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r14 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 8]
xor al, byte [rsi + 3]
mov byte [rdi + 3], al
sub rbx, 1
je 0x1402a8551
lea eax, [r11 + 1]
movzx r11d, al
mov r8d, dword [r14 + r11*4 + 8]
lea rdx, [r14 + r11*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r14 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r14 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 8]
xor al, byte [rsi + 4]
mov byte [rdi + 4], al
sub rbx, 1
je 0x1402a8551
lea eax, [r11 + 1]
movzx r11d, al
mov r8d, dword [r14 + r11*4 + 8]
lea rdx, [r14 + r11*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r14 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r14 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 8]
xor al, byte [rsi + 5]
mov byte [rdi + 5], al
sub rbx, 1
je 0x1402a8551
lea eax, [r11 + 1]
movzx r11d, al
mov r8d, dword [r14 + r11*4 + 8]
lea rdx, [r14 + r11*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r14 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r14 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 8]
xor al, byte [rsi + 6]
mov byte [rdi + 6], al
sub rbx, 1
je 0x1402a8551
lea eax, [r11 + 1]
movzx r11d, al
mov r8d, dword [r14 + r11*4 + 8]
lea rdx, [r14 + r11*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r14 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r14 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 8]
xor al, byte [rsi]
mov byte [rdi], al
sub rbx, 1
jne 0x1402a8382
mov rbx, qword [rsp + 0x10]
mov rbp, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
mov dword [r14], r11d
mov dword [r14 + 4], r10d
pop r14
ret