Function at 0x140101110
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x200
mov r15, rcx
mov dword [rcx + 0xe8], 0
mov esi, 2
lea rbp, [rcx + 0x2ada]
movzx r11d, byte [rbp]
mov r9d, 1
xor ebx, ebx
mov r8d, r11d
and r11d, 1
mov r14d, r9d
or r11d, 2
shr r8d, 1
mov r10d, esi
dec r8d
mov ecx, r8d
shl r11d, cl
shl r14d, cl
lea rdi, [r15 + r11*4]
add r11d, esi
test r8d, r8d
je 0x1401011b7
nop dword [rax]
mov eax, r9d
mov edx, r10d
shr r10d, 1
movzx ecx, word [rdi + rax*2 + 0x21d8]
and edx, 1
mov eax, edx
shr rcx, 4
lea r9d, [rdx + r9*2]
neg eax
shr rax, 4
and eax, 0x7f
xor rcx, rax
add ebx, dword [r15 + rcx*4 + 0x588]
dec r8d
jne 0x140101180
mov eax, r9d
inc esi
inc rbp
movzx ecx, word [rdi + rax*2 + 0x21d8]
mov edx, ecx
mov eax, ecx
xor rdx, 0x7f0
shr rax, 4
mov ecx, dword [r15 + rax*4 + 0x588]
shr rdx, 4
lea eax, [r14 + r11]
mov edx, dword [r15 + rdx*4 + 0x588]
add ecx, ebx
add edx, ebx
mov dword [rsp + r11*4], ecx
mov dword [rsp + rax*4], edx
cmp esi, 0x40
jb 0x140101140
lea rdi, [rsp]
mov r14d, 4
lea r9, [r15 + 0x2adc]
sub rdi, r15
lea rbp, [r15 + 0x1fd8]
lea rsi, [r15 + 0x1460]
lea rbx, [r15 + 0x105c]
mov qword [rsp + 0x248], r14
sub rdi, 0x1458
nop word [rax + rax]
mov r11d, dword [r15 + 0xf0]
inc r11d
shr r11d, 1
mov dword [rsp + 0x240], r11d
je 0x1401013a3
mov eax, r11d
mov r14d, 0x20
lea r12, [rbx - 4]
mov r11d, eax
lea r13, [rbp + 0x40]
nop
mov r9d, r14d
mov eax, r14d
inc r14d
and eax, 1
shr r9d, 1
lea r12, [r12 + 8]
movzx edx, word [rbp + r9*2]
neg eax
lea r13, [r13 + 2]
shr rax, 4
shr rdx, 4
and eax, 0x7f
xor rdx, rax
mov eax, r9d
shr r9d, 1
mov r10d, dword [r15 + rdx*4 + 0x588]
movzx edx, word [rbp + r9*2]
and eax, 1
neg eax
shr rdx, 4
shr rax, 4
and eax, 0x7f
xor rdx, rax
mov eax, r9d
shr r9d, 1
add r10d, dword [r15 + rdx*4 + 0x588]
movzx edx, word [rbp + r9*2]
and eax, 1
neg eax
shr rdx, 4
shr rax, 4
and eax, 0x7f
xor rdx, rax
add r10d, dword [r15 + rdx*4 + 0x588]
mov edx, r9d
shr r9d, 1
and edx, 1
mov eax, r9d
mov ecx, r9d
movzx ecx, word [rbp + rcx*2]
shr rax, 1
and r9d, 1
movzx r8d, word [rbp + rax*2]
shr rcx, 4
mov eax, r9d
neg eax
shr r8, 4
shr rax, 4
and eax, 0x7f
xor r8, rax
mov eax, edx
neg eax
shr rax, 4
and eax, 0x7f
xor rcx, rax
mov eax, dword [r15 + r8*4 + 0x588]
add eax, dword [r15 + rcx*4 + 0x588]
add r10d, eax
movzx eax, word [r13 - 2]
mov edx, eax
shr rax, 4
mov ecx, dword [r15 + rax*4 + 0x588]
xor rdx, 0x7f0
add ecx, r10d
shr rdx, 4
mov dword [r12 - 8], ecx
mov ecx, dword [r15 + rdx*4 + 0x588]
add ecx, r10d
mov dword [r12 - 4], ecx
dec r11
jne 0x140101270
mov r11d, dword [rsp + 0x240]
mov r14, qword [rsp + 0x248]
lea r9, [r15 + 0x2adc]
mov edx, 0x20
cmp r11d, 7
jbe 0x1401013d1
lea rax, [rbx + 0x34]
lea r8d, [r11 - 7]
nop word [rax + rax]
add dword [rax], edx
add dword [rax + 4], edx
add edx, 0x10
lea rax, [rax + 8]
dec r8
jne 0x1401013c0
mov eax, dword [rbx - 4]
lea r8, [rsi + 0xc]
mov r10d, 0x3e
mov dword [rsi - 8], eax
mov eax, dword [rbx]
mov dword [rsi - 4], eax
mov eax, dword [rbx + 4]
mov dword [rsi], eax
mov eax, dword [rbx + 8]
mov dword [rsi + 4], eax
movzx eax, byte [r9]
mov ecx, dword [rdi + r8 - 4]
lea r8, [r8 + 8]
mov edx, dword [rbx + rax*4 - 4]
lea r9, [r9 + 2]
add ecx, edx
mov dword [r8 - 0xc], ecx
mov ecx, dword [rdi + r8 - 8]
add ecx, edx
mov dword [r8 - 8], ecx
dec r10
jne 0x1401013f1
add rbx, 0x100
sub rbp, 0xffffffffffffff80
add rsi, 0x200
sub rdi, 0x200
dec r14
lea r9, [r15 + 0x2adc]
mov qword [rsp + 0x248], r14
jne 0x140101240
mov rbx, qword [rsp + 0x258]
add rsp, 0x200
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret