Function at 0x1400050a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x88
xor eax, eax
mov rdx, r8
mov dword [rbp + 7], eax
mov r10d, eax
nop dword [rax]
nop word [rax + rax]
mov ecx, r10d
mov r9d, r10d
and ecx, 3
shr r9, 2
inc r10d
lea rdx, [rdx + 4]
lea r8, [rcx + r9*4]
mov ecx, dword [rdx - 4]
mov dword [rbp + r8*4 - 0x59], ecx
cmp r10d, 0x10
jl 0x1400050e0
mov ecx, dword [rbp - 0x35]
mov eax, dword [rbp - 0x21]
mov r11d, dword [rbp - 0x1d]
mov r9d, dword [rbp - 0x25]
mov edx, dword [rbp - 0x29]
mov r14d, dword [rbp - 0x31]
mov ebx, dword [rbp - 0x39]
mov r8d, dword [rbp - 0x41]
mov esi, dword [rbp - 0x45]
mov r12d, dword [rbp - 0x49]
mov r10d, dword [rbp - 0x55]
mov edi, dword [rbp - 0x59]
mov dword [rbp - 0x61], ecx
mov ecx, dword [rbp - 0x3d]
mov dword [rbp - 0x65], ecx
mov ecx, dword [rbp - 0x4d]
mov dword [rbp + 0x7f], ecx
mov ecx, dword [rbp - 0x51]
mov dword [rbp - 0x69], eax
mov eax, dword [rbp - 0x2d]
mov dword [rbp + 0x67], ecx
mov qword [rbp + 0xf], 0xa
mov dword [rbp - 0x5d], r11d
nop word [rax + rax]
lea r15d, [rdi + rdx]
rol r15d, 7
xor r15d, r12d
lea r12d, [r10 + rsi]
rol r12d, 7
xor r12d, dword [rbp - 0x61]
lea r13d, [r15 + rdi]
rol r13d, 9
xor r13d, ebx
lea ecx, [r15 + r13]
ror ecx, 0xc
xor ecx, edx
mov dword [rbp - 0x19], ecx
lea ebx, [rcx + r13]
lea ecx, [r12 + rsi]
ror ebx, 0xe
rol ecx, 9
xor ebx, edi
xor ecx, r9d
mov dword [rbp - 0x15], ecx
lea r9d, [rcx + r12]
ror r9d, 0xc
xor r9d, r10d
lea edi, [r9 + rcx]
lea ecx, [r8 + r14]
ror edi, 0xe
rol ecx, 7
xor edi, esi
xor ecx, dword [rbp - 0x69]
mov dword [rbp - 0x69], ecx
lea edx, [rcx + r14]
rol edx, 9
xor edx, dword [rbp + 0x67]
lea r10d, [rdx + rcx]
lea ecx, [rax + r11]
ror r10d, 0xc
xor r10d, r8d
rol ecx, 7
xor ecx, dword [rbp + 0x7f]
lea esi, [r10 + rdx]
lea r8d, [r11 + rcx]
ror esi, 0xe
xor esi, r14d
rol r8d, 9
xor r8d, dword [rbp - 0x65]
lea r11d, [r8 + rcx]
ror r11d, 0xc
xor r11d, eax
lea eax, [rbx + rcx]
rol eax, 7
xor eax, r9d
mov dword [rbp - 0xd], eax
mov dword [rbp - 0x55], eax
lea r14d, [r11 + r8]
ror r14d, 0xe
xor r14d, dword [rbp - 0x5d]
lea r9d, [rax + rbx]
rol r9d, 9
xor r9d, edx
add eax, r9d
mov dword [rbp + 0x67], r9d
ror eax, 0xc
xor eax, ecx
mov dword [rbp - 0x51], r9d
mov dword [rbp + 0x7f], eax
mov dword [rbp - 0x4d], eax
add eax, r9d
ror eax, 0xe
xor eax, ebx
mov dword [rbp - 1], eax
mov dword [rbp - 0x59], eax
lea eax, [rdi + r15]
rol eax, 7
xor eax, r10d
mov dword [rbp - 0x11], eax
mov dword [rbp - 0x41], eax
lea ecx, [rdi + rax]
rol ecx, 9
xor ecx, r8d
mov dword [rbp - 0x65], ecx
mov dword [rbp - 0x3d], ecx
mov r10d, dword [rbp - 0xd]
add eax, ecx
ror eax, 0xc
xor eax, r15d
mov dword [rbp + 3], eax
mov dword [rbp - 0x49], eax
add eax, ecx
ror eax, 0xe
xor eax, edi
mov edi, dword [rbp - 1]
mov dword [rbp - 5], eax
mov dword [rbp - 0x45], eax
lea eax, [r12 + rsi]
rol eax, 7
xor eax, r11d
lea ebx, [rsi + rax]
rol ebx, 9
xor ebx, r13d
lea ecx, [rbx + rax]
ror ecx, 0xc
xor ecx, r12d
mov r12d, dword [rbp + 3]
mov dword [rbp - 0x61], ecx
mov dword [rbp - 0x35], ecx
add ecx, ebx
ror ecx, 0xe
xor ecx, esi
mov esi, dword [rbp - 5]
mov dword [rbp - 9], ecx
mov dword [rbp - 0x31], ecx
mov ecx, dword [rbp - 0x69]
lea edx, [rcx + r14]
rol edx, 7
xor edx, dword [rbp - 0x19]
lea r9d, [r14 + rdx]
rol r9d, 9
xor r9d, dword [rbp - 0x15]
lea r8d, [r9 + rdx]
ror r8d, 0xc
xor r8d, ecx
mov dword [rbp - 0x69], r8d
mov dword [rbp - 0x21], r8d
lea r11d, [r8 + r9]
mov r8d, dword [rbp - 0x11]
ror r11d, 0xe
xor r11d, r14d
mov r14d, dword [rbp - 9]
sub qword [rbp + 0xf], 1
mov dword [rbp - 0x5d], r11d
mov dword [rbp - 0x1d], r11d
jne 0x140005160
mov r8, qword [rbp + 0x6f]
mov dword [rbp - 0x25], r9d
mov r9, qword [rbp + 0x77]
mov dword [rbp - 0x2d], eax
sub r9, r8
mov eax, dword [rbp + 7]
mov dword [rbp - 0x29], edx
mov dword [rbp - 0x39], ebx
nop dword [rax]
nop word [rax + rax]
mov ecx, eax
mov edx, eax
shr rdx, 2
lea r8, [r8 + 4]
and ecx, 3
inc eax
lea rcx, [rcx + rdx*4]
mov edx, dword [rbp + rcx*4 - 0x59]
add edx, dword [r9 + r8 - 4]
mov dword [r8 - 4], edx
cmp eax, 0x10
jl 0x140005340
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret