Function at 0x14007cc20
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rax, qword [rsp + 0x98]
mov rbp, rcx
mov r15d, r8d
movzx r11d, byte [rax]
movzx r12d, byte [rax + 4]
movzx ecx, byte [rax + 7]
lea r10, [rax + 1]
shl ecx, 8
mov rsi, rdx
movzx eax, byte [r10]
shl eax, 8
or r11d, eax
movzx eax, byte [r10 + 1]
shl eax, 0x10
or r11d, eax
movzx eax, byte [r10 + 2]
shl eax, 0x18
or r11d, eax
movzx eax, byte [r10 + 4]
shl eax, 8
mov dword [rsp + 0x20], r11d
or r12d, eax
movzx eax, byte [r10 + 5]
or ecx, eax
mov rax, qword [rsp + 0xa0]
movzx r8d, byte [rax]
movzx r9d, byte [rax + 4]
lea rdx, [rax + 1]
movzx eax, byte [rax + 1]
shl ecx, 0x10
shl eax, 8
or r12d, ecx
movzx ecx, byte [rdx + 6]
or r8d, eax
movzx eax, byte [rdx + 1]
shl ecx, 8
shl eax, 0x10
mov dword [rsp + 0x24], r12d
or r8d, eax
movzx eax, byte [rdx + 2]
shl eax, 0x18
or r8d, eax
movzx eax, byte [rdx + 4]
shl eax, 8
mov dword [rsp + 0x80], r8d
or r9d, eax
movzx eax, byte [rdx + 5]
or ecx, eax
shl ecx, 0x10
or r9d, ecx
cmp dword [rsp + 0xa8], 0
mov dword [rsp + 0x98], r9d
je 0x14007cff7
mov r14, qword [rsp + 0x90]
mov r13d, dword [rsp + 0x80]
lea edi, [r15 - 8]
movzx eax, byte [r14 + 1]
movzx r8d, byte [r14]
movzx r9d, byte [r14 + 4]
movzx ecx, byte [r14 + 7]
shl eax, 8
lea rbx, [r14 + 1]
or r8d, eax
movzx eax, byte [rbx + 1]
shl ecx, 8
shl eax, 0x10
mov qword [rsp + 0x28], rbx
or r8d, eax
movzx eax, byte [rbx + 2]
shl eax, 0x18
or r8d, eax
movzx eax, byte [rbx + 4]
shl eax, 8
or r9d, eax
movzx eax, byte [rbx + 5]
or ecx, eax
shl ecx, 0x10
or r9d, ecx
test edi, edi
js 0x14007ce9e
mov r15d, dword [rsp + 0x24]
mov r14d, dword [rsp + 0x98]
lea r12d, [rdi + 8]
shr r12, 3
mov ebx, r11d
mov eax, r12d
neg eax
lea edi, [rdi + rax*8]
mov dword [rsp + 0xa8], edi
mov rdi, qword [rsp + 0x88]
nop dword [rax + rax]
movzx eax, byte [rbp + 1]
movzx edx, byte [rbp]
movzx ecx, byte [rbp + 4]
shl eax, 8
add rbp, 8
or edx, eax
movzx eax, byte [rbp - 6]
shl eax, 0x10
or edx, eax
movzx eax, byte [rbp - 5]
shl eax, 0x18
or edx, eax
movzx eax, byte [rbp - 3]
shl eax, 8
xor edx, r8d
mov r8d, 1
or ecx, eax
movzx eax, byte [rbp - 2]
xor edx, ebx
shl eax, 0x10
mov dword [rsp + 0xa0], edx
mov rdx, rdi
or ecx, eax
movzx eax, byte [rbp - 1]
shl eax, 0x18
or ecx, eax
xor ecx, r9d
xor ecx, r15d
mov dword [rsp + 0xa4], ecx
lea rcx, [rsp + 0xa0]
call fcn.140047a50
mov r8d, dword [rsp + 0xa0]
mov r9d, dword [rsp + 0xa4]
xor r8d, r13d
xor r9d, r14d
add rsi, 8
mov byte [rsi - 8], r8b
mov eax, r8d
shr eax, 8
mov byte [rsi - 7], al
mov eax, r8d
shr eax, 0x10
mov byte [rsi - 6], al
mov eax, r8d
shr eax, 0x18
mov byte [rsi - 5], al
mov byte [rsi - 4], r9b
mov eax, r9d
shr eax, 8
mov byte [rsi - 3], al
mov eax, r9d
shr eax, 0x10
mov byte [rsi - 2], al
mov eax, r9d
shr eax, 0x18
dec r12
mov byte [rsi - 1], al
jne 0x14007cdb0
mov rbx, qword [rsp + 0x28]
mov edi, dword [rsp + 0xa8]
mov r11d, dword [rsp + 0x20]
mov r14, qword [rsp + 0x90]
mov r12d, r15d
cmp edi, 0xfffffff8
je 0x14007cfb8
xor edx, edx
lea ecx, [rdi + 8]
movsxd rax, ecx
mov r10d, edx
add rbp, rax
dec ecx
cmp ecx, 7
ja case.default.0x14007ced0
movsxd rax, ecx
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x7d2e0]
add rax, rcx
jmp rax
movzx edx, byte [rbp - 1]
dec rbp
shl edx, 0x18
movzx eax, byte [rbp - 1]
dec rbp
shl eax, 0x10
or edx, eax
movzx eax, byte [rbp - 1]
dec rbp
shl eax, 8
or edx, eax
movzx eax, byte [rbp - 1]
dec rbp
or edx, eax
movzx r10d, byte [rbp - 1]
dec rbp
shl r10d, 0x18
movzx eax, byte [rbp - 1]
dec rbp
shl eax, 0x10
or r10d, eax
movzx eax, byte [rbp - 1]
dec rbp
shl eax, 8
or r10d, eax
movzx eax, byte [rbp - 1]
or r10d, eax
xor edx, r9d
xor r10d, r8d
lea rcx, [rsp + 0xa0]
xor edx, r12d
xor r10d, r11d
mov r8d, 1
mov dword [rsp + 0xa4], edx
mov rdx, qword [rsp + 0x88]
mov dword [rsp + 0xa0], r10d
call fcn.140047a50
mov r8d, dword [rsp + 0xa0]
mov r9d, dword [rsp + 0xa4]
xor r9d, dword [rsp + 0x98]
xor r8d, r13d
mov byte [rsi], r8b
mov eax, r8d
shr eax, 8
mov byte [rsi + 1], al
mov eax, r8d
shr eax, 0x10
mov byte [rsi + 2], al
mov eax, r8d
shr eax, 0x18
mov byte [rsi + 3], al
mov byte [rsi + 4], r9b
mov eax, r9d
shr eax, 8
mov byte [rsi + 5], al
mov eax, r9d
shr eax, 0x10
mov byte [rsi + 6], al
mov eax, r9d
shr eax, 0x18
mov byte [rsi + 7], al
mov byte [r14], r8b
mov eax, r8d
shr eax, 8
mov byte [rbx], al
mov eax, r8d
shr r8d, 0x18
shr eax, 0x10
mov byte [rbx + 1], al
mov byte [rbx + 2], r8b
mov byte [rbx + 3], r9b
mov eax, r9d
shr eax, 8
mov byte [rbx + 4], al
mov eax, r9d
shr eax, 0x10
shr r9d, 0x18
mov byte [rbx + 5], al
mov byte [rbx + 6], r9b
jmp 0x14007d2c8
mov rax, qword [rsp + 0x90]
add r15d, 0xfffffff8
movzx r12d, byte [rax]
movzx r14d, byte [rax + 4]
movzx ecx, byte [rax + 7]
lea r13, [rax + 1]
shl ecx, 8
movzx eax, byte [r13]
mov qword [rsp + 0x28], r13
shl eax, 8
or r12d, eax
movzx eax, byte [r13 + 1]
shl eax, 0x10
or r12d, eax
movzx eax, byte [r13 + 2]
shl eax, 0x18
or r12d, eax
movzx eax, byte [r13 + 4]
shl eax, 8
or r14d, eax
movzx eax, byte [r13 + 5]
or ecx, eax
shl ecx, 0x10
or r14d, ecx
test r15d, r15d
jle 0x14007d176
lea eax, [r15 - 1]
shr eax, 3
inc eax
mov r13d, eax
neg eax
lea r15d, [r15 + rax*8]
mov dword [rsp + 0xa8], r15d
mov r15d, r11d
nop dword [rax + rax]
movzx eax, byte [rbp + 1]
movzx edi, byte [rbp]
movzx ebx, byte [rbp + 4]
mov rdx, qword [rsp + 0x88]
shl eax, 8
lea rcx, [rsp + 0xa0]
or edi, eax
movzx eax, byte [rbp + 2]
add rbp, 8
shl eax, 0x10
or edi, eax
movzx eax, byte [rbp - 5]
shl eax, 0x18
or edi, eax
mov eax, edi
xor eax, r8d
xor r8d, r8d
mov dword [rsp + 0xa0], eax
movzx eax, byte [rbp - 3]
shl eax, 8
or ebx, eax
movzx eax, byte [rbp - 2]
shl eax, 0x10
or ebx, eax
movzx eax, byte [rbp - 1]
shl eax, 0x18
or ebx, eax
mov eax, ebx
xor eax, r9d
mov dword [rsp + 0xa4], eax
call fcn.140047a50
xor r12d, dword [rsp + 0xa0]
xor r14d, dword [rsp + 0xa4]
mov r8d, dword [rsp + 0x80]
mov r9d, dword [rsp + 0x98]
xor r14d, dword [rsp + 0x24]
xor r12d, r15d
add rsi, 8
mov byte [rsi - 8], r12b
mov eax, r12d
shr eax, 8
mov byte [rsi - 7], al
mov eax, r12d
shr r12d, 0x18
shr eax, 0x10
mov byte [rsi - 6], al
mov byte [rsi - 5], r12b
mov byte [rsi - 4], r14b
mov eax, r14d
mov r12d, edi
shr eax, 8
mov byte [rsi - 3], al
mov eax, r14d
shr r14d, 0x18
shr eax, 0x10
dec r13
mov byte [rsi - 2], al
mov byte [rsi - 1], r14b
mov r14d, ebx
jne 0x14007d080
mov r13, qword [rsp + 0x28]
mov r15d, dword [rsp + 0xa8]
cmp r15d, 0xfffffff8
je 0x14007d281
movzx eax, byte [rbp + 1]
movzx ebx, byte [rbp]
movzx ecx, byte [rbp + 7]
movzx edi, byte [rbp + 4]
mov rdx, qword [rsp + 0x88]
shl eax, 8
or ebx, eax
movzx eax, byte [rbp + 2]
shl ecx, 8
shl eax, 0x10
or ebx, eax
movzx eax, byte [rbp + 3]
shl eax, 0x18
or ebx, eax
mov eax, ebx
xor eax, r8d
xor r8d, r8d
mov dword [rsp + 0xa0], eax
movzx eax, byte [rbp + 5]
shl eax, 8
or edi, eax
movzx eax, byte [rbp + 6]
or ecx, eax
shl ecx, 0x10
or edi, ecx
lea rcx, [rsp + 0xa0]
mov eax, edi
xor eax, r9d
mov dword [rsp + 0xa4], eax
call fcn.140047a50
xor r12d, dword [rsp + 0xa0]
xor r14d, dword [rsp + 0xa4]
xor r12d, dword [rsp + 0x20]
lea ecx, [r15 + 8]
xor r14d, dword [rsp + 0x24]
movsxd rax, ecx
add rsi, rax
dec ecx
cmp ecx, 7
ja case.default.0x14007d22d
movsxd rax, ecx
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x7d300]
add rax, rcx
jmp rax
dec rsi
mov eax, r14d
shr eax, 0x18
mov byte [rsi], al
dec rsi
mov eax, r14d
shr eax, 0x10
mov byte [rsi], al
dec rsi
mov eax, r14d
shr eax, 8
mov byte [rsi], al
dec rsi
mov byte [rsi], r14b
dec rsi
mov eax, r12d
shr eax, 0x18
mov byte [rsi], al
dec rsi
mov eax, r12d
shr eax, 0x10
mov byte [rsi], al
dec rsi
mov eax, r12d
shr eax, 8
mov byte [rsi], al
mov byte [rsi - 1], r12b
mov r12d, ebx
mov r14d, edi
mov rax, qword [rsp + 0x90]
mov byte [rax], r12b
mov eax, r12d
shr eax, 8
mov byte [r13], al
mov eax, r12d
shr r12d, 0x18
shr eax, 0x10
mov byte [r13 + 1], al
mov byte [r13 + 2], r12b
mov byte [r13 + 3], r14b
mov eax, r14d
shr eax, 8
mov byte [r13 + 4], al
mov eax, r14d
shr eax, 0x10
shr r14d, 0x18
mov byte [r13 + 5], al
mov byte [r13 + 6], r14b
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret