Function at 0x1401d3910
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 ecx, eax
ror edi, 0x1f
shr ecx, 0x10
movzx edx, cl
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov r9d, dword [r15 + rdx*4 + 0xcb0]
mov edx, ebp
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, 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, esi
mov edx, dword [r12]
add r8d, r9d
shl ecx, 0x1f
add edx, r8d
mov r10d, edx
xor edx, esi
shr edx, 1
shl r10d, 0x1f
xor r10d, ecx
mov ecx, dword [r12 + 4]
add ecx, r8d
or r10d, edx
add ecx, r9d
xor edi, ecx
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, ebp
mov edx, dword [r12 + 8]
add r8d, r9d
add edx, r8d
shl ecx, 0x1f
mov r11d, edx
xor edx, ebp
shl r11d, 0x1f
xor r11d, ecx
shr edx, 1
mov ecx, dword [r12 + 0xc]
or r11d, edx
ror eax, 0x1f
add ecx, r8d
ror edi, 0x1f
add ecx, r9d
xor eax, ecx
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, r11d
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, 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, r10d
mov edx, dword [r12 + 0x10]
add r8d, r9d
shl ecx, 0x1f
add edx, r8d
mov ebx, edx
xor edx, r10d
shr edx, 1
shl ebx, 0x1f
xor ebx, ecx
mov ecx, dword [r12 + 0x14]
add ecx, r8d
or ebx, edx
add ecx, r9d
xor edi, ecx
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, r11d
mov edx, dword [r12 + 0x18]
add r8d, r9d
add edx, r8d
shl ecx, 0x1f
mov r10d, edx
xor edx, r11d
shl r10d, 0x1f
xor r10d, ecx
shr edx, 1
mov ecx, dword [r12 + 0x1c]
or r10d, edx
add ecx, r8d
ror eax, 0x1f
add ecx, r9d
ror edi, 0x1f
xor eax, ecx
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]
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, 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, ebx
mov edx, dword [r12 + 0x20]
add r8d, r9d
shl ecx, 0x1f
add edx, r8d
mov r11d, edx
xor edx, ebx
shr edx, 1
shl r11d, 0x1f
xor r11d, ecx
mov ecx, dword [r12 + 0x24]
add ecx, r8d
or r11d, edx
add ecx, r9d
xor edi, ecx
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, r10d
mov edx, dword [r12 + 0x28]
add r8d, r9d
add edx, r8d
mov ebx, edx
shl ebx, 0x1f
shl ecx, 0x1f
xor ebx, ecx
ror eax, 0x1f
mov ecx, dword [r12 + 0x2c]
xor edx, r10d
add ecx, r8d
shr edx, 1
add ecx, r9d
ror edi, 0x1f
xor eax, ecx
or ebx, edx
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]
mov ecx, r11d
mov edx, dword [r12 + 0x30]
add r8d, r9d
shl ecx, 0x1f
add edx, r8d
mov esi, edx
xor edx, r11d
shr edx, 1
shl esi, 0x1f
xor esi, ecx
mov ecx, dword [r12 + 0x34]
add ecx, r8d
or esi, edx
add ecx, r9d
xor edi, ecx
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, 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 edx, dword [r12 + 0x38]
add r8d, r9d
add edx, r8d
mov ebp, edx
shl ebp, 0x1f
lea r12, [r12 + 0x40]
xor edx, ebx
ror eax, 0x1f
shr edx, 1
mov ecx, ebx
shl ecx, 0x1f
xor ebp, ecx
mov ecx, dword [r12 - 4]
add ecx, r8d
or ebp, edx
add ecx, r9d
xor eax, ecx
sub r13, 1
jne 0x1401d39e0
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