Function at 0x1401bd3b0
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 r12
push r13
push r14
push r15
movzx eax, byte [rdx + 2]
mov r15, rcx
movzx ebp, byte [rdx + 3]
mov r14, r8
movzx esi, byte [rdx + 0xb]
mov r13d, 2
movzx edi, byte [rdx + 0xf]
shl ebp, 8
lea r12, [r15 + 0x10d0]
or ebp, eax
shl esi, 8
movzx eax, byte [rdx + 1]
shl edi, 8
shl ebp, 8
or ebp, eax
movzx eax, byte [rdx]
shl ebp, 8
or ebp, eax
movzx eax, byte [rdx + 7]
xor ebp, dword [rcx + 0x10b0]
movzx ecx, byte [rdx + 6]
shl eax, 8
or eax, ecx
movzx ecx, byte [rdx + 5]
shl eax, 8
or eax, ecx
movzx ecx, byte [rdx + 4]
shl eax, 8
or eax, ecx
movzx ecx, byte [rdx + 0xa]
xor eax, dword [r15 + 0x10b4]
or esi, ecx
movzx ecx, byte [rdx + 9]
shl esi, 8
or esi, ecx
movzx ecx, byte [rdx + 8]
shl esi, 8
or esi, ecx
movzx ecx, byte [rdx + 0xe]
xor esi, dword [r15 + 0x10b8]
or edi, ecx
movzx ecx, byte [rdx + 0xd]
shl edi, 8
or edi, ecx
movzx ecx, byte [rdx + 0xc]
shl edi, 8
or edi, ecx
xor edi, dword [r15 + 0x10bc]
nop word [rax + rax]
mov r10d, dword [r12]
mov ecx, eax
shr ecx, 0x10
movzx edx, cl
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov r11d, dword [r12 + 8]
mov r9d, dword [r15 + rdx*4 + 0xcb0]
rol edi, 1
xor r9d, dword [r15 + rcx*4 + 0x8b0]
mov ecx, eax
shr rcx, 0x18
mov edx, ebp
shr rdx, 0x18
xor r9d, dword [r15 + rcx*4 + 0xb0]
movzx ecx, al
mov r8d, dword [r15 + rdx*4 + 0xcb0]
rol eax, 1
xor r9d, dword [r15 + rcx*4 + 0x4b0]
mov ecx, ebp
shr ecx, 0x10
movzx ecx, cl
xor r8d, dword [r15 + rcx*4 + 0x8b0]
mov ecx, ebp
shr ecx, 8
movzx edx, cl
movzx ecx, bpl
xor r8d, dword [r15 + rdx*4 + 0x4b0]
xor r8d, dword [r15 + rcx*4 + 0xb0]
mov ecx, dword [r12 + 4]
add r8d, r9d
add ecx, r8d
add r10d, r8d
add ecx, r9d
xor r10d, esi
xor edi, ecx
ror r10d, 1
mov ecx, edi
shr ecx, 0x10
movzx edx, cl
mov ecx, edi
shr ecx, 8
movzx ecx, cl
mov r9d, dword [r15 + rdx*4 + 0xcb0]
mov edx, r10d
xor r9d, dword [r15 + rcx*4 + 0x8b0]
shr rdx, 0x18
mov ecx, edi
shr rcx, 0x18
mov r8d, dword [r15 + rdx*4 + 0xcb0]
xor r9d, dword [r15 + rcx*4 + 0xb0]
movzx ecx, dil
xor r9d, dword [r15 + rcx*4 + 0x4b0]
mov ecx, r10d
shr ecx, 0x10
movzx ecx, cl
xor r8d, dword [r15 + rcx*4 + 0x8b0]
mov ecx, r10d
shr ecx, 8
movzx edx, cl
movzx ecx, r10b
xor r8d, dword [r15 + rdx*4 + 0x4b0]
xor r8d, dword [r15 + rcx*4 + 0xb0]
mov ecx, dword [r12 + 0xc]
add r8d, r9d
add ecx, r8d
add r11d, r8d
add ecx, r9d
xor r11d, ebp
xor eax, ecx
ror r11d, 1
mov ecx, eax
shr ecx, 0x10
movzx edx, cl
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov r9d, dword [r15 + rdx*4 + 0xcb0]
xor r9d, dword [r15 + rcx*4 + 0x8b0]
mov ecx, eax
shr rcx, 0x18
mov ebx, dword [r12 + 0x10]
rol edi, 1
mov edx, r11d
xor r9d, dword [r15 + rcx*4 + 0xb0]
shr rdx, 0x18
movzx ecx, al
rol eax, 1
mov r8d, dword [r15 + rdx*4 + 0xcb0]
xor r9d, dword [r15 + rcx*4 + 0x4b0]
mov ecx, r11d
shr ecx, 0x10
movzx ecx, cl
xor r8d, dword [r15 + rcx*4 + 0x8b0]
mov ecx, r11d
shr ecx, 8
movzx edx, cl
movzx ecx, r11b
xor r8d, dword [r15 + rdx*4 + 0x4b0]
xor r8d, dword [r15 + rcx*4 + 0xb0]
mov ecx, dword [r12 + 0x14]
add r8d, r9d
add ecx, r8d
add ebx, r8d
add ecx, r9d
xor ebx, r10d
mov r10d, dword [r12 + 0x18]
xor edi, ecx
ror ebx, 1
mov ecx, edi
shr ecx, 0x10
movzx edx, cl
mov ecx, edi
shr ecx, 8
movzx ecx, cl
mov r9d, dword [r15 + rdx*4 + 0xcb0]
mov edx, ebx
xor r9d, dword [r15 + rcx*4 + 0x8b0]
shr rdx, 0x18
mov ecx, edi
shr rcx, 0x18
mov r8d, dword [r15 + rdx*4 + 0xcb0]
xor r9d, dword [r15 + rcx*4 + 0xb0]
movzx ecx, dil
xor r9d, dword [r15 + rcx*4 + 0x4b0]
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
xor r8d, dword [r15 + rcx*4 + 0x8b0]
mov ecx, ebx
shr ecx, 8
movzx edx, cl
movzx ecx, bl
xor r8d, dword [r15 + rdx*4 + 0x4b0]
xor r8d, dword [r15 + rcx*4 + 0xb0]
mov ecx, dword [r12 + 0x1c]
add r8d, r9d
add ecx, r8d
add r10d, r8d
add ecx, r9d
xor r10d, r11d
xor eax, ecx
ror r10d, 1
mov ecx, eax
shr ecx, 0x10
movzx edx, cl
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov r9d, dword [r15 + rdx*4 + 0xcb0]
mov edx, r10d
xor r9d, dword [r15 + rcx*4 + 0x8b0]
mov ecx, eax
shr rcx, 0x18
shr rdx, 0x18
xor r9d, dword [r15 + rcx*4 + 0xb0]
movzx ecx, al
xor r9d, dword [r15 + rcx*4 + 0x4b0]
mov ecx, r10d
shr ecx, 0x10
movzx ecx, cl
mov r8d, dword [r15 + rdx*4 + 0xcb0]
xor r8d, dword [r15 + rcx*4 + 0x8b0]
mov ecx, r10d
shr ecx, 8
movzx edx, cl
mov r11d, dword [r12 + 0x20]
movzx ecx, r10b
rol edi, 1
xor r8d, dword [r15 + rdx*4 + 0x4b0]
rol eax, 1
xor r8d, dword [r15 + rcx*4 + 0xb0]
mov ecx, dword [r12 + 0x24]
add r8d, r9d
add ecx, r8d
add r11d, r8d
add ecx, r9d
xor r11d, ebx
xor edi, ecx
mov ebx, dword [r12 + 0x28]
ror r11d, 1
mov ecx, edi
shr ecx, 0x10
movzx edx, cl
mov ecx, edi
shr ecx, 8
movzx ecx, cl
mov r9d, dword [r15 + rdx*4 + 0xcb0]
mov edx, r11d
xor r9d, dword [r15 + rcx*4 + 0x8b0]
shr rdx, 0x18
mov ecx, edi
shr rcx, 0x18
mov r8d, dword [r15 + rdx*4 + 0xcb0]
xor r9d, dword [r15 + rcx*4 + 0xb0]
movzx ecx, dil
xor r9d, dword [r15 + rcx*4 + 0x4b0]
mov ecx, r11d
shr ecx, 0x10
movzx ecx, cl
xor r8d, dword [r15 + rcx*4 + 0x8b0]
mov ecx, r11d
shr ecx, 8
movzx edx, cl
movzx ecx, r11b
xor r8d, dword [r15 + rdx*4 + 0x4b0]
xor r8d, dword [r15 + rcx*4 + 0xb0]
mov ecx, dword [r12 + 0x2c]
add r8d, r9d
add ecx, r8d
add ebx, r8d
add ecx, r9d
xor ebx, r10d
xor eax, ecx
ror ebx, 1
mov ecx, eax
shr ecx, 0x10
movzx edx, cl
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov r9d, dword [r15 + rdx*4 + 0xcb0]
mov edx, ebx
xor r9d, dword [r15 + rcx*4 + 0x8b0]
shr rdx, 0x18
mov ecx, eax
shr rcx, 0x18
mov r8d, dword [r15 + rdx*4 + 0xcb0]
xor r9d, dword [r15 + rcx*4 + 0xb0]
movzx ecx, al
xor r9d, dword [r15 + rcx*4 + 0x4b0]
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
xor r8d, dword [r15 + rcx*4 + 0x8b0]
mov ecx, ebx
shr ecx, 8
movzx edx, cl
movzx ecx, bl
xor r8d, dword [r15 + rdx*4 + 0x4b0]
xor r8d, dword [r15 + rcx*4 + 0xb0]
add r8d, r9d
mov ecx, dword [r12 + 0x34]
mov esi, dword [r12 + 0x30]
add ecx, r8d
mov ebp, dword [r12 + 0x38]
lea r12, [r12 + 0x40]
add ecx, r9d
rol edi, 1
xor edi, ecx
rol eax, 1
add esi, r8d
mov ecx, edi
shr ecx, 0x10
xor esi, r11d
movzx edx, cl
mov ecx, edi
shr ecx, 8
movzx ecx, cl
ror esi, 1
mov r9d, dword [r15 + rdx*4 + 0xcb0]
mov edx, esi
xor r9d, dword [r15 + rcx*4 + 0x8b0]
shr rdx, 0x18
mov ecx, edi
shr rcx, 0x18
mov r8d, dword [r15 + rdx*4 + 0xcb0]
xor r9d, dword [r15 + rcx*4 + 0xb0]
movzx ecx, dil
xor r9d, dword [r15 + rcx*4 + 0x4b0]
mov ecx, esi
shr ecx, 0x10
movzx ecx, cl
xor r8d, dword [r15 + rcx*4 + 0x8b0]
mov ecx, esi
shr ecx, 8
movzx edx, cl
movzx ecx, sil
xor r8d, dword [r15 + rdx*4 + 0x4b0]
xor r8d, dword [r15 + rcx*4 + 0xb0]
mov ecx, dword [r12 - 4]
add r8d, r9d
add ebp, r8d
add ecx, r8d
xor ebp, ebx
add ecx, r9d
ror ebp, 1
xor eax, ecx
sub r13, 1
jne 0x1401bd480
xor esi, dword [r15 + 0x10c0]
xor edi, dword [r15 + 0x10c4]
mov ecx, esi
xor ebp, dword [r15 + 0x10c8]
xor eax, dword [r15 + 0x10cc]
mov rbx, qword [rsp + 0x28]
shr ecx, 0x18
mov byte [r14 + 3], cl
mov ecx, esi
shr ecx, 0x10
mov byte [r14 + 2], cl
mov ecx, esi
shr ecx, 8
mov byte [r14 + 1], cl
mov ecx, edi
shr ecx, 0x18
mov byte [r14 + 7], cl
mov ecx, edi
shr ecx, 0x10
mov byte [r14 + 6], cl
mov ecx, edi
shr ecx, 8
mov byte [r14 + 5], cl
mov ecx, ebp
shr ecx, 0x18
mov byte [r14 + 0xb], cl
mov ecx, ebp
shr ecx, 0x10
mov byte [r14 + 0xa], cl
mov ecx, ebp
shr ecx, 8
mov byte [r14 + 9], cl
mov ecx, eax
shr ecx, 0x18
mov byte [r14 + 0xf], cl
mov ecx, eax
shr ecx, 0x10
mov byte [r14 + 0xe], cl
mov ecx, eax
shr ecx, 8
mov byte [r14], sil
mov rsi, qword [rsp + 0x38]
mov byte [r14 + 4], dil
mov rdi, qword [rsp + 0x40]
mov byte [r14 + 8], bpl
mov rbp, qword [rsp + 0x30]
mov byte [r14 + 0xd], cl
mov byte [r14 + 0xc], al
pop r15
pop r14
pop r13
pop r12
ret