Function at 0x140002230
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]
movzx edx, byte [r8 + 1]
shl rax, 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 0x14000225b
lea rax, [rsp + 0x60]
mov rdx, rcx
sub rdx, rax
mov r8, r11
lea rax, [rsp + 0x60]
add rax, r9
mov rcx, qword [rax + rdx + 0x68]
mov qword [rax], rcx
xor rcx, qword [rbp + r9 - 0x20]
mov qword [rbp + r9 - 0x60], rcx
add r9, r11
sub r8, 1
jne 0x1400022d1
lea r15, [0x1400393a8]
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 rsi, qword [rsp + 0x78]
mov rax, rbx
shr rax, 8
movzx edx, al
mov rax, rsi
mov r14, qword [rbp - 0x68]
mov r8, qword [rsp + 0x68]
shr rax, 0x10
mov rdx, qword [r12 + rdx*8 + 0x37ba0]
movzx ecx, al
mov rax, rdi
mov r9, qword [rsp + 0x60]
shr rax, 0x18
xor rdx, qword [r12 + rcx*8 + 0x363a0]
movzx ecx, al
mov rax, r11
shr rax, 0x20
xor rdx, qword [r12 + rcx*8 + 0x39400]
movzx ecx, al
mov rax, r10
shr rax, 0x28
xor rdx, qword [r12 + rcx*8 + 0x36ba0]
movzx ecx, al
mov rax, r14
shr rax, 0x30
xor rdx, qword [r12 + rcx*8 + 0x35ba0]
movzx ecx, al
movzx eax, r8b
xor rdx, qword [r12 + rcx*8 + 0x373a0]
xor rdx, qword [r12 + rax*8 + 0x383a0]
mov rax, r9
shr rax, 0x38
xor rdx, qword [r12 + rax*8 + 0x38ba0]
mov rax, rsi
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 [r15 + rdx*8 + 0x37ba0]
xor r12, qword [r15 + rcx*8 + 0x363a0]
movzx ecx, al
mov rax, r10
shr rax, 0x20
xor r12, qword [r15 + rcx*8 + 0x39400]
movzx ecx, al
mov rax, r9
shr rax, 0x30
xor r12, qword [r15 + rcx*8 + 0x36ba0]
movzx ecx, al
mov rax, r14
shr rax, 0x28
xor r12, qword [r15 + rcx*8 + 0x373a0]
movzx ecx, al
movzx eax, bl
xor r12, qword [r15 + rcx*8 + 0x35ba0]
xor r12, qword [r15 + rax*8 + 0x383a0]
mov rax, r8
shr rax, 0x38
xor r12, qword [r15 + rax*8 + 0x38ba0]
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 + 0x37ba0]
xor r13, qword [r15 + rcx*8 + 0x363a0]
shr rax, 0x18
movzx ecx, al
mov rax, r14
shr rax, 0x20
xor r13, qword [r15 + rcx*8 + 0x39400]
movzx ecx, al
mov rax, r8
shr rax, 0x30
xor r13, qword [r15 + rcx*8 + 0x36ba0]
movzx ecx, al
mov rax, r9
shr rax, 0x28
xor r13, qword [r15 + rcx*8 + 0x373a0]
movzx ecx, al
movzx eax, sil
xor r13, qword [r15 + rcx*8 + 0x35ba0]
xor r13, qword [r15 + rax*8 + 0x383a0]
mov rax, rbx
shr rax, 0x38
xor r13, qword [r15 + rax*8 + 0x38ba0]
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 + 0x36ba0]
mov qword [rsp + 0x10], r13
xor rdx, qword [r15 + rcx*8 + 0x37ba0]
movzx ecx, al
mov rax, r14
shr rax, 0x18
xor rdx, qword [r15 + rcx*8 + 0x363a0]
movzx ecx, al
mov rax, r8
shr rax, 0x28
xor rdx, qword [r15 + rcx*8 + 0x39400]
movzx ecx, al
mov rax, rbx
shr rax, 0x30
xor rdx, qword [r15 + rcx*8 + 0x35ba0]
movzx ecx, al
movzx eax, dil
xor rdx, qword [r15 + rcx*8 + 0x373a0]
xor rdx, qword [r15 + rax*8 + 0x383a0]
mov rax, rsi
shr rax, 0x38
xor rdx, qword [r15 + rax*8 + 0x38ba0]
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 + 0x36ba0]
xor rdx, qword [r15 + rcx*8 + 0x39400]
movzx ecx, al
mov rax, r14
shr rax, 0x10
xor rdx, qword [r15 + rcx*8 + 0x37ba0]
movzx ecx, al
mov rax, rbx
shr rax, 0x28
xor rdx, qword [r15 + rcx*8 + 0x363a0]
movzx ecx, al
mov rax, rsi
shr rax, 0x30
xor rdx, qword [r15 + rcx*8 + 0x35ba0]
movzx ecx, al
movzx eax, r11b
xor rdx, qword [r15 + rcx*8 + 0x373a0]
xor rdx, qword [r15 + rax*8 + 0x383a0]
mov rax, rdi
shr rax, 0x38
xor rdx, qword [r15 + rax*8 + 0x38ba0]
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 + 0x39400]
xor rdx, qword [r15 + rcx*8 + 0x363a0]
movzx ecx, al
mov rax, r14
shr rax, 8
xor rdx, qword [r15 + rcx*8 + 0x36ba0]
movzx ecx, al
mov rax, rsi
shr rax, 0x28
xor rdx, qword [r15 + rcx*8 + 0x37ba0]
movzx ecx, al
mov rax, rdi
shr rax, 0x30
xor rdx, qword [r15 + rcx*8 + 0x35ba0]
movzx ecx, al
movzx eax, r10b
xor rdx, qword [r15 + rcx*8 + 0x373a0]
xor rdx, qword [r15 + rax*8 + 0x383a0]
mov rax, r11
shr rax, 0x38
xor rdx, qword [r15 + rax*8 + 0x38ba0]
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 + 0x363a0]
shr r8, 8
xor rdx, qword [r15 + rcx*8 + 0x37ba0]
movzx ecx, al
mov rax, rsi
shr rax, 0x20
shr rbx, 0x10
shr rsi, 0x18
xor rdx, qword [r15 + rcx*8 + 0x39400]
movzx ecx, al
mov rax, rdi
shr rax, 0x28
shr rdi, 0x20
xor rdx, qword [r15 + rcx*8 + 0x36ba0]
movzx ecx, al
mov rax, r11
shr rax, 0x30
shr r11, 0x28
xor rdx, qword [r15 + rcx*8 + 0x35ba0]
movzx ecx, al
movzx eax, r14b
xor rdx, qword [r15 + rcx*8 + 0x373a0]
xor rdx, qword [r15 + rax*8 + 0x383a0]
mov rax, r10
shr rax, 0x38
shr r10, 0x30
movzx ecx, r8b
xor rdx, qword [r15 + rax*8 + 0x38ba0]
movzx eax, bl
mov rcx, qword [r15 + rcx*8 + 0x37ba0]
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x30], rdx
xor rcx, qword [r15 + rax*8 + 0x363a0]
movzx eax, sil
xor rcx, qword [r15 + rax*8 + 0x39400]
movzx eax, dil
xor rcx, qword [r15 + rax*8 + 0x36ba0]
movzx eax, r11b
xor rcx, qword [r15 + rax*8 + 0x35ba0]
movzx eax, r10b
xor rcx, qword [r15 + rax*8 + 0x373a0]
mov rdi, qword [rbp - 0x50]
mov rsi, qword [rbp - 0x40]
mov rbx, qword [rbp - 0x38]
mov r11, qword [rbp - 0x30]
movaps xmm0, xmmword [rsp]
mov r10, qword [rbp - 0x60]
movaps xmm1, xmmword [rsp + 0x10]
movzx eax, r9b
mov r9, qword [rbp - 0x58]
shr r14, 0x38
movaps xmmword [rsp + 0x60], xmm0
xor rcx, qword [r15 + rax*8 + 0x383a0]
mov rax, rdi
movaps xmm0, xmmword [rsp + 0x20]
xor rcx, qword [r15 + r14*8 + 0x38ba0]
mov r14, qword [rbp - 0x48]
shr rax, 8
movzx edx, al
mov rax, r14
shr rax, 0x10
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x58], rcx
mov r8, qword [r15 + rdx*8 + 0x37ba0]
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 [r15 + rcx*8 + 0x363a0]
movzx ecx, al
mov rax, rbx
shr rax, 0x20
movaps xmmword [rbp - 0x80], xmm0
movaps xmmword [rbp - 0x70], xmm1
xor r8, qword [r15 + rcx*8 + 0x39400]
movzx ecx, al
mov rax, r11
shr rax, 0x28
xor r8, qword [r15 + rcx*8 + 0x36ba0]
movzx ecx, al
xor r8, qword [r15 + rcx*8 + 0x35ba0]
mov r15, qword [rbp - 0x28]
mov rax, r15
shr rax, 0x30
movzx ecx, al
movzx eax, r9b
xor r8, qword [rdx + rcx*8 + 0x373a0]
xor r8, qword [rdx + rax*8 + 0x383a0]
mov rax, r10
shr rax, 0x38
xor r8, qword [rdx + rax*8 + 0x38ba0]
mov rax, r14
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 + 0x37ba0]
lea rdx, [0x140000000]
xor r8, qword [rdx + rcx*8 + 0x363a0]
movzx ecx, al
mov rax, r11
shr rax, 0x20
xor r8, qword [rdx + rcx*8 + 0x39400]
movzx ecx, al
mov rax, r10
shr rax, 0x30
xor r8, qword [rdx + rcx*8 + 0x36ba0]
movzx ecx, al
mov rax, r15
shr rax, 0x28
xor r8, qword [rdx + rcx*8 + 0x373a0]
movzx ecx, al
movzx eax, dil
xor r8, qword [rdx + rcx*8 + 0x35ba0]
xor r8, qword [rdx + rax*8 + 0x383a0]
mov rax, r9
shr rax, 0x38
xor r8, qword [rdx + rax*8 + 0x38ba0]
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 + 0x37ba0]
shr rax, 0x18
xor r8, qword [r12 + rcx*8 + 0x363a0]
movzx ecx, al
mov rax, r15
shr rax, 0x20
xor r8, qword [r12 + rcx*8 + 0x39400]
movzx ecx, al
mov rax, r9
shr rax, 0x30
xor r8, qword [r12 + rcx*8 + 0x36ba0]
movzx ecx, al
mov rax, r10
shr rax, 0x28
xor r8, qword [r12 + rcx*8 + 0x373a0]
movzx ecx, al
movzx eax, r14b
xor r8, qword [r12 + rcx*8 + 0x35ba0]
xor r8, qword [r12 + rax*8 + 0x383a0]
mov rax, rdi
shr rax, 0x38
xor r8, qword [r12 + rax*8 + 0x38ba0]
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 + 0x36ba0]
xor r8, qword [r12 + rcx*8 + 0x37ba0]
movzx ecx, al
mov rax, r15
shr rax, 0x18
xor r8, qword [r12 + rcx*8 + 0x363a0]
movzx ecx, al
mov rax, r9
shr rax, 0x28
xor r8, qword [r12 + rcx*8 + 0x39400]
movzx ecx, al
mov rax, rdi
shr rax, 0x30
xor r8, qword [r12 + rcx*8 + 0x35ba0]
movzx ecx, al
movzx eax, sil
xor r8, qword [r12 + rcx*8 + 0x373a0]
xor r8, qword [r12 + rax*8 + 0x383a0]
mov rax, r14
shr rax, 0x38
xor r8, qword [r12 + rax*8 + 0x38ba0]
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 + 0x36ba0]
shr rax, 8
xor r8, qword [r12 + rcx*8 + 0x39400]
movzx ecx, al
xor r8, qword [r12 + rcx*8 + 0x37ba0]
mov rax, r15
shr rax, 0x10
movzx ecx, al
mov rax, rdi
shr rax, 0x28
xor r8, qword [r12 + rcx*8 + 0x363a0]
movzx ecx, al
mov rax, r14
shr rax, 0x30
xor r8, qword [r12 + rcx*8 + 0x35ba0]
movzx ecx, al
movzx eax, bl
xor r8, qword [r12 + rcx*8 + 0x373a0]
xor r8, qword [r12 + rax*8 + 0x383a0]
mov rax, rsi
shr rax, 0x38
xor r8, qword [r12 + rax*8 + 0x38ba0]
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 + 0x39400]
xor r8, qword [r12 + rcx*8 + 0x363a0]
movzx ecx, al
mov rax, r15
shr rax, 8
xor r8, qword [r12 + rcx*8 + 0x36ba0]
movzx ecx, al
mov rax, r14
shr rax, 0x28
xor r8, qword [r12 + rcx*8 + 0x37ba0]
movzx ecx, al
mov rax, rsi
shr rax, 0x30
xor r8, qword [r12 + rcx*8 + 0x35ba0]
movzx ecx, al
movzx eax, r11b
xor r8, qword [r12 + rcx*8 + 0x373a0]
xor r8, qword [r12 + rax*8 + 0x383a0]
mov rax, rbx
shr rax, 0x38
xor r8, qword [r12 + rax*8 + 0x38ba0]
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 + 0x363a0]
xor r8, qword [r12 + rcx*8 + 0x37ba0]
movzx ecx, al
mov rax, r14
shr rax, 0x20
xor r8, qword [r12 + rcx*8 + 0x39400]
movzx ecx, al
mov rax, rsi
shr rax, 0x28
xor r8, qword [r12 + rcx*8 + 0x36ba0]
movzx ecx, al
mov rax, rbx
shr rax, 0x30
xor r8, qword [r12 + rcx*8 + 0x35ba0]
movzx ecx, al
movzx eax, r15b
xor r8, qword [r12 + rcx*8 + 0x373a0]
xor r8, qword [r12 + rax*8 + 0x383a0]
mov rax, r11
shr rax, 0x38
xor r8, qword [r12 + rax*8 + 0x38ba0]
xor r8, qword [rsp + 0x50]
mov qword [rsp + 0x30], r8
movaps xmm0, xmmword [rsp]
movaps xmm1, xmmword [rsp + 0x10]
shr r15, 0x38
shr r9, 8
shr rdi, 0x10
movzx eax, dil
shr r14, 0x18
shr rsi, 0x20
shr rbx, 0x28
shr r11, 0x30
movzx ecx, r9b
movaps xmmword [rbp - 0x60], xmm0
movaps xmm0, xmmword [rsp + 0x20]
movaps xmmword [rbp - 0x50], xmm1
mov rdx, qword [r12 + rcx*8 + 0x37ba0]
xor rdx, qword [r12 + rax*8 + 0x363a0]
movzx eax, r14b
movaps xmmword [rbp - 0x40], xmm0
xor rdx, qword [r12 + rax*8 + 0x39400]
movzx eax, sil
xor rdx, qword [r12 + rax*8 + 0x36ba0]
movzx eax, bl
xor rdx, qword [r12 + rax*8 + 0x35ba0]
movzx eax, r11b
xor rdx, qword [r12 + rax*8 + 0x373a0]
movzx eax, r10b
xor rdx, qword [r12 + rax*8 + 0x383a0]
lea rax, [0x1400393f0]
xor rdx, qword [r12 + r15*8 + 0x38ba0]
xor rdx, qword [rsp + 0x58]
mov r15, qword [rbp + 0x78]
add r15, 8
mov qword [rsp + 0x38], rdx
movaps xmm1, xmmword [rsp + 0x30]
movaps xmmword [rbp - 0x30], xmm1
mov qword [rbp + 0x78], r15
cmp r15, rax
jle 0x140002306
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 [rdx + rcx - 0x68]
xor rax, qword [rcx + r8 - 0x68]
xor qword [rcx], rax
lea rcx, [rcx + 8]
sub r9, 1
jne 0x140002cd6
add rsp, 0x128
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret