Function at 0x14000223c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x28]
sub rsp, 0x128
xor r9d, r9d
lea r8, [rcx + 0x20]
mov r10d, r9d
lea r11d, [r9 + 8]
movzx eax, byte [r8 + 1]
movzx edx, byte [r8]
shl rdx, 8
xor rdx, rax
movzx eax, byte [r8 + 2]
shl rdx, 8
xor rdx, rax
movzx eax, byte [r8 + 3]
shl rdx, 8
xor rdx, rax
movzx eax, byte [r8 + 4]
shl rdx, 8
xor rdx, rax
movzx eax, byte [r8 + 5]
shl rdx, 8
xor rdx, rax
movzx eax, byte [r8 + 6]
shl rdx, 8
xor rdx, rax
movzx eax, byte [r8 + 7]
shl rdx, 8
add r8, r11
xor rdx, rax
mov qword [rbp + r10*8 - 0x20], rdx
inc r10
cmp r10, r11
jl 0x140002267
lea rax, [rsp + 0x60]
mov rdx, rcx
sub rdx, rax
mov r8, r11
lea rax, [rsp + 0x60]
add rax, r9
mov rcx, qword [rdx + rax + 0x68]
mov qword [rax], rcx
xor rcx, qword [rbp + r9 - 0x20]
mov qword [rbp + r9 - 0x60], rcx
add r9, r11
sub r8, 1
jne 0x1400022dd
lea r15, [0x14003a3a8]
mov qword [rbp + 0x78], r15
lea r12, [0x140000000]
mov rdi, qword [rbp - 0x80]
mov r11, qword [rbp - 0x78]
mov r10, qword [rbp - 0x70]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
mov rax, rbx
shr rax, 8
movzx edx, al
mov rax, r14
mov rsi, qword [rbp - 0x68]
mov r8, qword [rsp + 0x68]
shr rax, 0x10
mov rdx, qword [r12 + rdx*8 + 0x38ba0]
movzx ecx, al
mov rax, rdi
mov r9, qword [rsp + 0x60]
shr rax, 0x18
xor rdx, qword [r12 + rcx*8 + 0x373a0]
movzx ecx, al
mov rax, r11
shr rax, 0x20
xor rdx, qword [r12 + rcx*8 + 0x3a400]
movzx ecx, al
mov rax, r10
shr rax, 0x28
xor rdx, qword [r12 + rcx*8 + 0x37ba0]
movzx ecx, al
mov rax, rsi
shr rax, 0x30
xor rdx, qword [r12 + rcx*8 + 0x36ba0]
movzx ecx, al
movzx eax, r8b
xor rdx, qword [r12 + rcx*8 + 0x383a0]
xor rdx, qword [r12 + rax*8 + 0x393a0]
mov rax, r9
shr rax, 0x38
xor rdx, qword [r12 + rax*8 + 0x39ba0]
mov rax, r14
xor rdx, qword [r15]
lea r15, [0x140000000]
shr rax, 8
mov qword [rbp + 0x80], rdx
mov qword [rsp], rdx
movzx edx, al
mov rax, rdi
shr rax, 0x10
movzx ecx, al
mov rax, r11
shr rax, 0x18
mov r12, qword [r12 + rdx*8 + 0x38ba0]
xor r12, qword [r15 + rcx*8 + 0x373a0]
movzx ecx, al
mov rax, r10
shr rax, 0x20
xor r12, qword [r15 + rcx*8 + 0x3a400]
movzx ecx, al
mov rax, r9
shr rax, 0x30
xor r12, qword [r15 + rcx*8 + 0x37ba0]
movzx ecx, al
mov rax, rsi
shr rax, 0x28
xor r12, qword [r15 + rcx*8 + 0x383a0]
movzx ecx, al
movzx eax, bl
xor r12, qword [r15 + rcx*8 + 0x36ba0]
xor r12, qword [r15 + rax*8 + 0x393a0]
mov rax, r8
shr rax, 0x38
xor r12, qword [r15 + rax*8 + 0x39ba0]
mov rax, rdi
shr rax, 8
movzx edx, al
mov rax, r11
shr rax, 0x10
movzx ecx, al
mov rax, r10
mov qword [rsp + 8], r12
mov r13, qword [r15 + rdx*8 + 0x38ba0]
xor r13, qword [r15 + rcx*8 + 0x373a0]
shr rax, 0x18
movzx ecx, al
mov rax, rsi
shr rax, 0x20
xor r13, qword [r15 + rcx*8 + 0x3a400]
movzx ecx, al
mov rax, r8
shr rax, 0x30
xor r13, qword [r15 + rcx*8 + 0x37ba0]
movzx ecx, al
mov rax, r9
shr rax, 0x28
xor r13, qword [r15 + rcx*8 + 0x383a0]
movzx ecx, al
movzx eax, r14b
xor r13, qword [r15 + rcx*8 + 0x36ba0]
xor r13, qword [r15 + rax*8 + 0x393a0]
mov rax, rbx
shr rax, 0x38
xor r13, qword [r15 + rax*8 + 0x39ba0]
mov rax, r9
shr rax, 0x20
movzx edx, al
mov rax, r11
shr rax, 8
movzx ecx, al
mov rax, r10
shr rax, 0x10
mov rdx, qword [r15 + rdx*8 + 0x37ba0]
mov qword [rsp + 0x10], r13
xor rdx, qword [r15 + rcx*8 + 0x38ba0]
movzx ecx, al
mov rax, rsi
shr rax, 0x18
xor rdx, qword [r15 + rcx*8 + 0x373a0]
movzx ecx, al
mov rax, r8
shr rax, 0x28
xor rdx, qword [r15 + rcx*8 + 0x3a400]
movzx ecx, al
mov rax, rbx
shr rax, 0x30
xor rdx, qword [r15 + rcx*8 + 0x36ba0]
movzx ecx, al
movzx eax, dil
xor rdx, qword [r15 + rcx*8 + 0x383a0]
xor rdx, qword [r15 + rax*8 + 0x393a0]
mov rax, r14
shr rax, 0x38
xor rdx, qword [r15 + rax*8 + 0x39ba0]
mov rax, r8
shr rax, 0x20
mov qword [rbp + 0x88], rdx
mov qword [rsp + 0x18], rdx
movzx edx, al
mov rax, r9
shr rax, 0x18
movzx ecx, al
mov rax, r10
shr rax, 8
mov rdx, qword [r15 + rdx*8 + 0x37ba0]
xor rdx, qword [r15 + rcx*8 + 0x3a400]
movzx ecx, al
mov rax, rsi
shr rax, 0x10
xor rdx, qword [r15 + rcx*8 + 0x38ba0]
movzx ecx, al
mov rax, rbx
shr rax, 0x28
xor rdx, qword [r15 + rcx*8 + 0x373a0]
movzx ecx, al
mov rax, r14
shr rax, 0x30
xor rdx, qword [r15 + rcx*8 + 0x36ba0]
movzx ecx, al
movzx eax, r11b
xor rdx, qword [r15 + rcx*8 + 0x383a0]
xor rdx, qword [r15 + rax*8 + 0x393a0]
mov rax, rdi
shr rax, 0x38
xor rdx, qword [r15 + rax*8 + 0x39ba0]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x20], rdx
mov rax, r8
shr rax, 0x18
movzx edx, al
mov rax, r9
shr rax, 0x10
movzx ecx, al
mov rax, rbx
shr rax, 0x20
mov rdx, qword [r15 + rdx*8 + 0x3a400]
xor rdx, qword [r15 + rcx*8 + 0x373a0]
movzx ecx, al
mov rax, rsi
shr rax, 8
xor rdx, qword [r15 + rcx*8 + 0x37ba0]
movzx ecx, al
mov rax, r14
shr rax, 0x28
xor rdx, qword [r15 + rcx*8 + 0x38ba0]
movzx ecx, al
mov rax, rdi
shr rax, 0x30
xor rdx, qword [r15 + rcx*8 + 0x36ba0]
movzx ecx, al
movzx eax, r10b
xor rdx, qword [r15 + rcx*8 + 0x383a0]
xor rdx, qword [r15 + rax*8 + 0x393a0]
mov rax, r11
shr rax, 0x38
xor rdx, qword [r15 + rax*8 + 0x39ba0]
mov rax, r8
shr rax, 0x10
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x28], rdx
movzx edx, al
mov rax, r9
shr rax, 8
movzx ecx, al
mov rax, rbx
shr rax, 0x18
mov rdx, qword [r15 + rdx*8 + 0x373a0]
shr r8, 8
xor rdx, qword [r15 + rcx*8 + 0x38ba0]
movzx ecx, al
mov rax, r14
shr rax, 0x20
shr rbx, 0x10
shr r14, 0x18
xor rdx, qword [r15 + rcx*8 + 0x3a400]
movzx ecx, al
mov rax, rdi
shr rax, 0x28
shr rdi, 0x20
xor rdx, qword [r15 + rcx*8 + 0x37ba0]
movzx ecx, al
mov rax, r11
shr rax, 0x30
shr r11, 0x28
xor rdx, qword [r15 + rcx*8 + 0x36ba0]
movzx ecx, al
mov rax, r10
shr rax, 0x38
shr r10, 0x30
xor rdx, qword [r15 + rcx*8 + 0x383a0]
xor rdx, qword [r15 + rax*8 + 0x39ba0]
movzx eax, sil
movzx ecx, r8b
xor rdx, qword [r15 + rax*8 + 0x393a0]
mov rcx, qword [r15 + rcx*8 + 0x38ba0]
movzx eax, bl
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x30], rdx
xor rcx, qword [r15 + rax*8 + 0x373a0]
movzx eax, r14b
xor rcx, qword [r15 + rax*8 + 0x3a400]
movzx eax, dil
xor rcx, qword [r15 + rax*8 + 0x37ba0]
movzx eax, r11b
xor rcx, qword [r15 + rax*8 + 0x36ba0]
movzx eax, r10b
xor rcx, qword [r15 + rax*8 + 0x383a0]
mov rbx, qword [rbp - 0x38]
lea r8, [0x140000000]
mov r11, qword [rbp - 0x30]
movaps xmm0, xmmword [rsp]
mov r14, qword [rbp - 0x28]
mov rdi, qword [rbp - 0x50]
mov r10, qword [rbp - 0x60]
movaps xmm1, xmmword [rsp + 0x10]
shr rsi, 0x38
movzx eax, r9b
mov r9, qword [rbp - 0x58]
movaps xmmword [rsp + 0x60], xmm0
xor rcx, qword [r15 + rsi*8 + 0x39ba0]
xor rcx, qword [r15 + rax*8 + 0x393a0]
mov rax, rdi
mov r15, qword [rbp - 0x48]
mov rsi, qword [rbp - 0x40]
movaps xmm0, xmmword [rsp + 0x20]
shr rax, 8
movzx edx, al
mov rax, r15
shr rax, 0x10
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x58], rcx
mov r8, qword [r8 + rdx*8 + 0x38ba0]
lea rdx, [0x140000000]
movzx ecx, al
mov rax, rsi
shr rax, 0x18
movaps xmmword [rsp + 0x70], xmm1
movaps xmm1, xmmword [rsp + 0x30]
xor r8, qword [rdx + rcx*8 + 0x373a0]
movzx ecx, al
mov rax, rbx
shr rax, 0x20
movaps xmmword [rbp - 0x80], xmm0
movaps xmmword [rbp - 0x70], xmm1
xor r8, qword [rdx + rcx*8 + 0x3a400]
movzx ecx, al
mov rax, r11
shr rax, 0x28
xor r8, qword [rdx + rcx*8 + 0x37ba0]
movzx ecx, al
mov rax, r14
shr rax, 0x30
xor r8, qword [rdx + rcx*8 + 0x36ba0]
movzx ecx, al
movzx eax, r9b
xor r8, qword [rdx + rcx*8 + 0x383a0]
xor r8, qword [rdx + rax*8 + 0x393a0]
mov rax, r10
shr rax, 0x38
xor r8, qword [rdx + rax*8 + 0x39ba0]
mov rax, r15
xor r8, qword [rbp + 0x80]
shr rax, 8
movzx edx, al
mov rax, rsi
shr rax, 0x10
movzx ecx, al
mov rax, rbx
shr rax, 0x18
mov qword [rsp], r8
lea r8, [0x140000000]
mov r8, qword [r8 + rdx*8 + 0x38ba0]
lea rdx, [0x140000000]
xor r8, qword [rdx + rcx*8 + 0x373a0]
movzx ecx, al
mov rax, r11
shr rax, 0x20
xor r8, qword [rdx + rcx*8 + 0x3a400]
movzx ecx, al
mov rax, r10
shr rax, 0x30
xor r8, qword [rdx + rcx*8 + 0x37ba0]
movzx ecx, al
mov rax, r14
shr rax, 0x28
xor r8, qword [rdx + rcx*8 + 0x383a0]
movzx ecx, al
xor r8, qword [rdx + rcx*8 + 0x36ba0]
movzx eax, dil
xor r8, qword [rdx + rax*8 + 0x393a0]
mov rax, r9
shr rax, 0x38
xor r8, qword [rdx + rax*8 + 0x39ba0]
mov rax, rsi
shr rax, 8
xor r8, r12
movzx edx, al
lea r12, [0x140000000]
mov qword [rsp + 8], r8
mov rax, rbx
shr rax, 0x10
movzx ecx, al
mov rax, r11
mov r8, qword [r12 + rdx*8 + 0x38ba0]
shr rax, 0x18
xor r8, qword [r12 + rcx*8 + 0x373a0]
movzx ecx, al
mov rax, r14
shr rax, 0x20
xor r8, qword [r12 + rcx*8 + 0x3a400]
movzx ecx, al
mov rax, r9
shr rax, 0x30
xor r8, qword [r12 + rcx*8 + 0x37ba0]
movzx ecx, al
mov rax, r10
shr rax, 0x28
xor r8, qword [r12 + rcx*8 + 0x383a0]
movzx ecx, al
movzx eax, r15b
xor r8, qword [r12 + rcx*8 + 0x36ba0]
xor r8, qword [r12 + rax*8 + 0x393a0]
mov rax, rdi
shr rax, 0x38
xor r8, qword [r12 + rax*8 + 0x39ba0]
mov rax, r10
shr rax, 0x20
xor r8, r13
movzx edx, al
mov rax, rbx
shr rax, 8
movzx ecx, al
mov rax, r11
shr rax, 0x10
mov qword [rsp + 0x10], r8
mov r8, qword [r12 + rdx*8 + 0x37ba0]
xor r8, qword [r12 + rcx*8 + 0x38ba0]
movzx ecx, al
mov rax, r14
shr rax, 0x18
xor r8, qword [r12 + rcx*8 + 0x373a0]
movzx ecx, al
mov rax, r9
shr rax, 0x28
xor r8, qword [r12 + rcx*8 + 0x3a400]
movzx ecx, al
mov rax, rdi
shr rax, 0x30
xor r8, qword [r12 + rcx*8 + 0x36ba0]
movzx ecx, al
movzx eax, sil
xor r8, qword [r12 + rcx*8 + 0x383a0]
xor r8, qword [r12 + rax*8 + 0x393a0]
mov rax, r15
shr rax, 0x38
xor r8, qword [r12 + rax*8 + 0x39ba0]
mov rax, r9
xor r8, qword [rbp + 0x88]
shr rax, 0x20
movzx edx, al
mov rax, r10
shr rax, 0x18
movzx ecx, al
mov rax, r11
mov qword [rsp + 0x18], r8
mov r8, qword [r12 + rdx*8 + 0x37ba0]
xor r8, qword [r12 + rcx*8 + 0x3a400]
shr rax, 8
movzx ecx, al
xor r8, qword [r12 + rcx*8 + 0x38ba0]
mov rax, r14
shr rax, 0x10
movzx ecx, al
mov rax, rdi
shr rax, 0x28
xor r8, qword [r12 + rcx*8 + 0x373a0]
movzx ecx, al
mov rax, r15
shr rax, 0x30
xor r8, qword [r12 + rcx*8 + 0x36ba0]
movzx ecx, al
movzx eax, bl
xor r8, qword [r12 + rcx*8 + 0x383a0]
xor r8, qword [r12 + rax*8 + 0x393a0]
mov rax, rsi
shr rax, 0x38
xor r8, qword [r12 + rax*8 + 0x39ba0]
mov rax, r9
xor r8, qword [rsp + 0x40]
shr rax, 0x18
movzx edx, al
mov rax, r10
shr rax, 0x10
movzx ecx, al
mov rax, rdi
shr rax, 0x20
mov qword [rsp + 0x20], r8
mov r8, qword [r12 + rdx*8 + 0x3a400]
xor r8, qword [r12 + rcx*8 + 0x373a0]
movzx ecx, al
mov rax, r14
shr rax, 8
xor r8, qword [r12 + rcx*8 + 0x37ba0]
movzx ecx, al
mov rax, r15
shr rax, 0x28
xor r8, qword [r12 + rcx*8 + 0x38ba0]
movzx ecx, al
mov rax, rsi
shr rax, 0x30
xor r8, qword [r12 + rcx*8 + 0x36ba0]
movzx ecx, al
movzx eax, r11b
xor r8, qword [r12 + rcx*8 + 0x383a0]
xor r8, qword [r12 + rax*8 + 0x393a0]
mov rax, rbx
shr rax, 0x38
xor r8, qword [r12 + rax*8 + 0x39ba0]
mov rax, r9
xor r8, qword [rsp + 0x48]
shr rax, 0x10
movzx edx, al
mov rax, r10
shr rax, 8
movzx ecx, al
mov rax, rdi
shr rax, 0x18
mov qword [rsp + 0x28], r8
mov r8, qword [r12 + rdx*8 + 0x373a0]
xor r8, qword [r12 + rcx*8 + 0x38ba0]
movzx ecx, al
mov rax, r15
shr rax, 0x20
xor r8, qword [r12 + rcx*8 + 0x3a400]
movzx ecx, al
mov rax, rsi
shr rax, 0x28
xor r8, qword [r12 + rcx*8 + 0x37ba0]
movzx ecx, al
mov rax, rbx
shr rax, 0x30
xor r8, qword [r12 + rcx*8 + 0x36ba0]
movzx ecx, al
mov rax, r11
shr rax, 0x38
xor r8, qword [r12 + rcx*8 + 0x383a0]
xor r8, qword [r12 + rax*8 + 0x39ba0]
movzx eax, r14b
xor r8, qword [r12 + rax*8 + 0x393a0]
xor r8, qword [rsp + 0x50]
movaps xmm0, xmmword [rsp]
movaps xmm1, xmmword [rsp + 0x10]
shr r15, 0x18
shr r9, 8
shr rdi, 0x10
movzx eax, dil
shr rsi, 0x20
shr rbx, 0x28
shr r11, 0x30
shr r14, 0x38
movzx ecx, r9b
mov qword [rsp + 0x30], r8
movaps xmmword [rbp - 0x60], xmm0
movaps xmm0, xmmword [rsp + 0x20]
mov rdx, qword [r12 + rcx*8 + 0x38ba0]
xor rdx, qword [r12 + rax*8 + 0x373a0]
movzx eax, r15b
mov r15, qword [rbp + 0x78]
add r15, 8
movaps xmmword [rbp - 0x50], xmm1
movaps xmmword [rbp - 0x40], xmm0
xor rdx, qword [r12 + rax*8 + 0x3a400]
movzx eax, sil
mov qword [rbp + 0x78], r15
xor rdx, qword [r12 + rax*8 + 0x37ba0]
movzx eax, bl
xor rdx, qword [r12 + rax*8 + 0x36ba0]
movzx eax, r11b
xor rdx, qword [r12 + rax*8 + 0x383a0]
xor rdx, qword [r12 + r14*8 + 0x39ba0]
movzx eax, r10b
xor rdx, qword [r12 + rax*8 + 0x393a0]
lea rax, [0x14003a3f0]
xor rdx, qword [rsp + 0x58]
mov qword [rsp + 0x38], rdx
movaps xmm1, xmmword [rsp + 0x30]
movaps xmmword [rbp - 0x30], xmm1
cmp r15, rax
jle 0x140002312
mov rax, qword [rbp + 0x70]
lea rdx, [rbp - 0x60]
sub rdx, rax
lea r8, [rbp - 0x20]
sub r8, rax
mov r9d, 8
lea rcx, [rax + 0x68]
mov rax, qword [r8 + rcx - 0x68]
xor rax, qword [rdx + rcx - 0x68]
xor qword [rcx], rax
lea rcx, [rcx + 8]
sub r9, 1
jne 0x140002ce9
add rsp, 0x128
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret