Function at 0x1011b950
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rcx
mov rax, rsp
sub rsp, 0x68
mov qword [rax - 8], rbx
mov qword [rax - 0x10], rbp
mov qword [rax - 0x18], rsi
mov qword [rax - 0x20], rdi
mov qword [rax - 0x28], r12
mov qword [rax - 0x30], r13
mov qword [rax - 0x38], r14
mov qword [rax - 0x40], r15
movzx eax, word [r8]
mov r10, rax
xor rax, 0x7f0
mov r11, r9
shr rax, 4
shr r10, 4
mov rdi, r8
mov r14d, dword [r9 + rax*4]
movzx eax, word [r8 + 0x10]
mov r15d, dword [r9 + r10*4]
shr rax, 4
xor r10d, r10d
mov r13d, edx
mov eax, dword [r9 + rax*4]
mov r12, rcx
mov dword [rsp + 0x80], r14d
add eax, r14d
test edx, edx
je 0x1011bb30
lea rbx, [rcx + 4]
mov r14d, eax
nop
mov eax, r10d
mov r12, rbx
shl eax, 4
xor esi, esi
lea rbp, [rdi + rax*2]
nop
mov edx, esi
mov r9d, esi
add esi, 2
shr edx, 2
shr r9d, 1
add r12, 8
lea eax, [rdx + 2]
mov ecx, r9d
movzx r8d, word [rbp + rax*2]
movzx eax, word [rbp + 2]
and ecx, 1
neg ecx
shr rax, 4
shr r8, 4
shr rcx, 4
and ecx, 0x7f
xor r8, rcx
mov ecx, edx
mov r8d, dword [r11 + r8*4]
neg ecx
shr rcx, 4
and ecx, 0x7f
xor rcx, rax
lea eax, [r9 + 4]
movzx eax, word [rbp + rax*2]
add r8d, dword [r11 + rcx*4]
mov rdx, rax
shr rax, 4
add r8d, r15d
mov eax, dword [r11 + rax*4]
xor rdx, 0x7f0
lea ecx, [r8 + rax]
shr rdx, 4
cmp esi, 8
mov dword [r12 - 8], ecx
mov eax, dword [r11 + rdx*4]
lea ecx, [r8 + rax]
mov dword [r12 - 4], ecx
jb 0x1011b9e0
lea r12, [rbx + 0x20]
xor esi, esi
nop
nop
nop
mov edx, esi
mov r9d, esi
add esi, 2
shr edx, 2
shr r9d, 1
add r12, 8
lea eax, [rdx + 2]
mov ecx, r9d
movzx r8d, word [rbp + rax*2 + 0x10]
movzx eax, word [rbp + 0x12]
and ecx, 1
neg ecx
shr rax, 4
shr r8, 4
shr rcx, 4
and ecx, 0x7f
xor r8, rcx
mov ecx, edx
mov r8d, dword [r11 + r8*4]
neg ecx
shr rcx, 4
and ecx, 0x7f
xor rcx, rax
lea eax, [r9 + 4]
movzx eax, word [rbp + rax*2 + 0x10]
add r8d, dword [r11 + rcx*4]
mov rdx, rax
shr rax, 4
add r8d, r14d
mov eax, dword [r11 + rax*4]
xor rdx, 0x7f0
lea ecx, [r8 + rax]
shr rdx, 4
cmp esi, 8
mov dword [r12 - 8], ecx
mov eax, dword [r11 + rdx*4]
lea ecx, [r8 + rax]
mov dword [r12 - 4], ecx
jb 0x1011ba80
inc r10d
add rbx, 0x440
cmp r10d, r13d
jb 0x1011b9d0
mov r14d, dword [rsp + 0x80]
mov r12, qword [rsp + 0x70]
mov r10d, dword [r12]
mov r15, qword [rsp + 0x28]
cmp r10d, 0x10
jbe 0x1011bc2c
movzx eax, word [rdi + 0x10]
add r10d, 0xfffffff1
shr r10d, 1
xor rax, 0x7f0
shr rax, 4
lea rbx, [r12 + r10*8 + 0x44]
lea rsi, [rdi + r10*2 + 0x300]
add r14d, dword [r11 + rax*4]
nop
nop
add r10d, 0xffffffff
sub rsi, 2
mov r9d, r14d
lea r8d, [r10 + 0x80]
sub rbx, 8
nop
nop
nop
mov eax, r8d
shr r8d, 1
movzx edx, word [rdi + r8*2 + 0x200]
and eax, 1
neg eax
shr rdx, 4
shr rax, 4
and eax, 0x7f
xor rdx, rax
add r9d, dword [r11 + rdx*4]
cmp r8d, 2
jae 0x1011bb90
movzx eax, word [rsi]
mov rdx, rax
shr rax, 4
mov eax, dword [r11 + rax*4]
xor rdx, 0x7f0
lea ecx, [r9 + rax]
shr rdx, 4
test r10d, r10d
mov dword [rbx], ecx
mov eax, dword [r11 + rdx*4]
lea ecx, [r9 + rax]
mov dword [rbx + 4], ecx
jne 0x1011bb70
mov esi, dword [r12]
add esi, 0xfffffff0
shl rsi, 2
cmp r13d, 1
jbe 0x1011bc2c
lea rbx, [r12 + 0x484]
lea edi, [r13 - 1]
nop
nop
lea rdx, [r12 + 0x44]
mov r8, rsi
mov rcx, rbx
call sub.msvcrt.dll_memcpy
add rbx, 0x440
dec rdi
jne 0x1011bc10
mov r14, qword [rsp + 0x30]
mov r13, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
add rsp, 0x68
ret