Function at 0x140002270
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x120
xor r9d, r9d
lea r8, [rcx + 0x20]
mov r13, rcx
mov ecx, r9d
lea r10d, [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, r10
xor rdx, rax
mov qword [rbp + rcx*8 - 0x20], rdx
inc rcx
cmp rcx, r10
jl 0x1400022a8
lea rax, [rsp + 0x20]
mov rdx, r13
sub rdx, rax
mov r8, r10
lea rax, [rsp + 0x20]
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, r10
sub r8, 1
jne 0x14000231e
mov rbx, qword [rsp + 0x58]
lea r12, [0x14003a3b8]
mov r13, qword [rsp + 0x50]
lea r15, [0x140000000]
mov r9, qword [rsp + 0x48]
mov r10, qword [rsp + 0x40]
mov r11, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x28]
mov r14, qword [rsp + 0x20]
mov rax, rdi
shr rax, 8
movzx edx, al
mov rax, r11
shr rax, 0x10
movzx ecx, al
mov rax, r10
shr rax, 0x18
mov r8, qword [r15 + rdx*8 + 0x38bb0]
xor r8, qword [r15 + rcx*8 + 0x373b0]
movzx ecx, al
mov rax, r9
shr rax, 0x20
xor r8, qword [r15 + rcx*8 + 0x3a410]
movzx ecx, al
mov rax, r13
shr rax, 0x28
xor r8, qword [r15 + rcx*8 + 0x37bb0]
movzx ecx, al
mov rax, rbx
shr rax, 0x30
xor r8, qword [r15 + rcx*8 + 0x36bb0]
movzx ecx, al
movzx eax, sil
xor r8, qword [r15 + rcx*8 + 0x383b0]
xor r8, qword [r15 + rax*8 + 0x393b0]
mov rax, r14
shr rax, 0x38
xor r8, qword [r15 + rax*8 + 0x39bb0]
mov rax, r11
xor r8, qword [r12]
shr rax, 8
movzx edx, al
mov rax, r10
shr rax, 0x10
movzx ecx, al
mov rax, r9
shr rax, 0x18
mov qword [rsp + 0x60], r8
mov r8, qword [r15 + rdx*8 + 0x38bb0]
xor r8, qword [r15 + rcx*8 + 0x373b0]
movzx ecx, al
mov rax, r13
shr rax, 0x20
xor r8, qword [r15 + rcx*8 + 0x3a410]
movzx ecx, al
mov rax, r14
shr rax, 0x30
xor r8, qword [r15 + rcx*8 + 0x37bb0]
movzx ecx, al
mov rax, rbx
shr rax, 0x28
xor r8, qword [r15 + rcx*8 + 0x383b0]
movzx ecx, al
movzx eax, dil
xor r8, qword [r15 + rcx*8 + 0x36bb0]
xor r8, qword [r15 + rax*8 + 0x393b0]
mov rax, rsi
shr rax, 0x38
xor r8, qword [r15 + rax*8 + 0x39bb0]
mov rax, r10
shr rax, 8
movzx edx, al
mov rax, r9
shr rax, 0x10
movzx ecx, al
mov rax, r13
shr rax, 0x18
mov qword [rsp + 0x68], r8
mov r8, qword [r15 + rdx*8 + 0x38bb0]
xor r8, qword [r15 + rcx*8 + 0x373b0]
movzx ecx, al
mov rax, rbx
shr rax, 0x20
xor r8, qword [r15 + rcx*8 + 0x3a410]
movzx ecx, al
mov rax, rsi
xor r8, qword [r15 + rcx*8 + 0x37bb0]
shr rax, 0x30
movzx ecx, al
xor r8, qword [r15 + rcx*8 + 0x383b0]
mov rax, r14
shr rax, 0x28
movzx ecx, al
movzx eax, r11b
xor r8, qword [r15 + rcx*8 + 0x36bb0]
xor r8, qword [r15 + rax*8 + 0x393b0]
mov rax, rdi
shr rax, 0x38
xor r8, qword [r15 + rax*8 + 0x39bb0]
mov rax, r14
shr rax, 0x20
movzx edx, al
mov rax, r9
shr rax, 8
movzx ecx, al
mov rax, r13
shr rax, 0x10
mov qword [rsp + 0x70], r8
mov r8, qword [r15 + rdx*8 + 0x37bb0]
xor r8, qword [r15 + rcx*8 + 0x38bb0]
movzx ecx, al
mov rax, rbx
shr rax, 0x18
xor r8, qword [r15 + rcx*8 + 0x373b0]
movzx ecx, al
mov rax, rsi
shr rax, 0x28
xor r8, qword [r15 + rcx*8 + 0x3a410]
movzx ecx, al
mov rax, rdi
shr rax, 0x30
xor r8, qword [r15 + rcx*8 + 0x36bb0]
movzx ecx, al
movzx eax, r10b
xor r8, qword [r15 + rcx*8 + 0x383b0]
xor r8, qword [r15 + rax*8 + 0x393b0]
mov rax, r11
shr rax, 0x38
xor r8, qword [r15 + rax*8 + 0x39bb0]
mov rax, rsi
shr rax, 0x20
movzx edx, al
mov rax, r14
shr rax, 0x18
movzx ecx, al
mov rax, r13
shr rax, 8
mov qword [rsp + 0x78], r8
mov r8, qword [r15 + rdx*8 + 0x37bb0]
xor r8, qword [r15 + rcx*8 + 0x3a410]
movzx ecx, al
mov rax, rbx
shr rax, 0x10
xor r8, qword [r15 + rcx*8 + 0x38bb0]
movzx ecx, al
mov rax, rdi
shr rax, 0x28
xor r8, qword [r15 + rcx*8 + 0x373b0]
movzx ecx, al
mov rax, r11
shr rax, 0x30
xor r8, qword [r15 + rcx*8 + 0x36bb0]
movzx ecx, al
movzx eax, r9b
xor r8, qword [r15 + rcx*8 + 0x383b0]
xor r8, qword [r15 + rax*8 + 0x393b0]
mov rax, r10
shr rax, 0x38
xor r8, qword [r15 + rax*8 + 0x39bb0]
mov rax, rsi
shr rax, 0x18
movzx edx, al
mov rax, r14
shr rax, 0x10
movzx ecx, al
mov rax, rdi
mov qword [rbp - 0x80], r8
mov r8, qword [r15 + rdx*8 + 0x3a410]
xor r8, qword [r15 + rcx*8 + 0x373b0]
shr rax, 0x20
movzx ecx, al
mov rax, rbx
shr rax, 8
xor r8, qword [r15 + rcx*8 + 0x37bb0]
movzx ecx, al
mov rax, r11
shr rax, 0x28
xor r8, qword [r15 + rcx*8 + 0x38bb0]
movzx ecx, al
mov rax, r10
shr rax, 0x30
xor r8, qword [r15 + rcx*8 + 0x36bb0]
movzx ecx, al
movzx eax, r13b
xor r8, qword [r15 + rcx*8 + 0x383b0]
xor r8, qword [r15 + rax*8 + 0x393b0]
mov rax, r9
shr rax, 0x38
xor r8, qword [r15 + rax*8 + 0x39bb0]
mov rax, rsi
shr rax, 0x10
movzx edx, al
mov rax, r14
shr rax, 8
movzx ecx, al
mov rax, rdi
shr rax, 0x18
mov qword [rbp - 0x78], r8
mov r8, qword [r15 + rdx*8 + 0x373b0]
xor r8, qword [r15 + rcx*8 + 0x38bb0]
movzx ecx, al
mov rax, r11
shr rax, 0x20
shr r11, 0x18
shr rsi, 8
xor r8, qword [r15 + rcx*8 + 0x3a410]
movzx ecx, al
mov rax, r10
shr rax, 0x28
shr r10, 0x20
shr rdi, 0x10
xor r8, qword [r15 + rcx*8 + 0x37bb0]
movzx ecx, al
mov rax, r9
shr rax, 0x30
shr r9, 0x28
xor r8, qword [r15 + rcx*8 + 0x36bb0]
movzx ecx, al
movzx eax, bl
shr rbx, 0x38
xor r8, qword [r15 + rcx*8 + 0x383b0]
xor r8, qword [r15 + rax*8 + 0x393b0]
mov rax, r13
shr rax, 0x38
movzx ecx, sil
shr r13, 0x30
xor r8, qword [r15 + rax*8 + 0x39bb0]
mov rdx, qword [r15 + rcx*8 + 0x38bb0]
lea rcx, [rsp + 0x20]
movzx eax, dil
mov qword [rbp - 0x70], r8
mov r8d, 0x40
xor rdx, qword [r15 + rax*8 + 0x373b0]
movzx eax, r11b
xor rdx, qword [r15 + rax*8 + 0x3a410]
movzx eax, r10b
xor rdx, qword [r15 + rax*8 + 0x37bb0]
movzx eax, r9b
xor rdx, qword [r15 + rax*8 + 0x36bb0]
movzx eax, r13b
xor rdx, qword [r15 + rax*8 + 0x383b0]
movzx eax, r14b
xor rdx, qword [r15 + rax*8 + 0x393b0]
xor rdx, qword [r15 + rbx*8 + 0x39bb0]
mov qword [rbp - 0x68], rdx
lea rdx, [rsp + 0x60]
call fcn.140016800
mov rdi, qword [rbp - 0x50]
mov rax, rdi
shr rax, 8
movzx edx, al
mov rsi, qword [rbp - 0x40]
lea r13, [0x140000000]
mov r8, qword [r13 + rdx*8 + 0x38bb0]
mov rbx, qword [rbp - 0x38]
mov r11, qword [rbp - 0x30]
mov r14, qword [rbp - 0x28]
mov r15, qword [rbp - 0x48]
mov r9, qword [rbp - 0x58]
mov rax, r15
shr rax, 0x10
movzx ecx, al
mov rax, rsi
mov r10, qword [rbp - 0x60]
shr rax, 0x18
xor r8, qword [r13 + rcx*8 + 0x373b0]
movzx ecx, al
mov rax, rbx
shr rax, 0x20
xor r8, qword [r13 + rcx*8 + 0x3a410]
movzx ecx, al
mov rax, r11
shr rax, 0x28
xor r8, qword [r13 + rcx*8 + 0x37bb0]
movzx ecx, al
mov rax, r14
shr rax, 0x30
xor r8, qword [r13 + rcx*8 + 0x36bb0]
movzx ecx, al
movzx eax, r9b
xor r8, qword [r13 + rcx*8 + 0x383b0]
xor r8, qword [r13 + rax*8 + 0x393b0]
mov rax, r10
shr rax, 0x38
xor r8, qword [r13 + rax*8 + 0x39bb0]
mov rax, r15
xor r8, qword [rsp + 0x20]
shr rax, 8
movzx edx, al
mov rax, rsi
shr rax, 0x10
movzx ecx, al
mov rax, rbx
shr rax, 0x18
mov qword [rsp + 0x60], r8
mov r8, qword [r13 + rdx*8 + 0x38bb0]
xor r8, qword [r13 + rcx*8 + 0x373b0]
movzx ecx, al
mov rax, r11
shr rax, 0x20
xor r8, qword [r13 + rcx*8 + 0x3a410]
movzx ecx, al
mov rax, r10
shr rax, 0x30
xor r8, qword [r13 + rcx*8 + 0x37bb0]
movzx ecx, al
mov rax, r14
shr rax, 0x28
xor r8, qword [r13 + rcx*8 + 0x383b0]
movzx ecx, al
movzx eax, dil
xor r8, qword [r13 + rcx*8 + 0x36bb0]
xor r8, qword [r13 + rax*8 + 0x393b0]
mov rax, r9
shr rax, 0x38
xor r8, qword [r13 + rax*8 + 0x39bb0]
mov rax, rsi
xor r8, qword [rsp + 0x28]
shr rax, 8
movzx edx, al
mov rax, rbx
shr rax, 0x10
movzx ecx, al
mov rax, r11
mov qword [rsp + 0x68], r8
mov r8, qword [r13 + rdx*8 + 0x38bb0]
shr rax, 0x18
xor r8, qword [r13 + rcx*8 + 0x373b0]
movzx ecx, al
mov rax, r14
xor r8, qword [r13 + rcx*8 + 0x3a410]
shr rax, 0x20
movzx ecx, al
mov rax, r9
shr rax, 0x30
xor r8, qword [r13 + rcx*8 + 0x37bb0]
movzx ecx, al
mov rax, r10
shr rax, 0x28
xor r8, qword [r13 + rcx*8 + 0x383b0]
movzx ecx, al
mov rax, rdi
shr rax, 0x38
xor r8, qword [r13 + rcx*8 + 0x36bb0]
xor r8, qword [r13 + rax*8 + 0x39bb0]
movzx eax, r15b
xor r8, qword [r13 + rax*8 + 0x393b0]
mov rax, r10
xor r8, qword [rsp + 0x30]
shr rax, 0x20
movzx edx, al
mov rax, rbx
shr rax, 8
movzx ecx, al
mov rax, r11
shr rax, 0x10
mov qword [rsp + 0x70], r8
mov r8, qword [r13 + rdx*8 + 0x37bb0]
xor r8, qword [r13 + rcx*8 + 0x38bb0]
movzx ecx, al
mov rax, r14
shr rax, 0x18
xor r8, qword [r13 + rcx*8 + 0x373b0]
movzx ecx, al
mov rax, r9
shr rax, 0x28
xor r8, qword [r13 + rcx*8 + 0x3a410]
movzx ecx, al
mov rax, rdi
shr rax, 0x30
xor r8, qword [r13 + rcx*8 + 0x36bb0]
movzx ecx, al
mov rax, r15
shr rax, 0x38
xor r8, qword [r13 + rcx*8 + 0x383b0]
xor r8, qword [r13 + rax*8 + 0x39bb0]
movzx eax, sil
xor r8, qword [r13 + rax*8 + 0x393b0]
mov rax, r9
xor r8, qword [rsp + 0x38]
shr rax, 0x20
movzx edx, al
mov rax, r10
shr rax, 0x18
movzx ecx, al
mov rax, r11
shr rax, 8
mov qword [rsp + 0x78], r8
mov r8, qword [r13 + rdx*8 + 0x37bb0]
xor r8, qword [r13 + rcx*8 + 0x3a410]
movzx ecx, al
mov rax, r14
shr rax, 0x10
xor r8, qword [r13 + rcx*8 + 0x38bb0]
movzx ecx, al
mov rax, rdi
shr rax, 0x28
xor r8, qword [r13 + rcx*8 + 0x373b0]
movzx ecx, al
mov rax, r15
shr rax, 0x30
xor r8, qword [r13 + rcx*8 + 0x36bb0]
movzx ecx, al
mov rax, rsi
shr rax, 0x38
xor r8, qword [r13 + rcx*8 + 0x383b0]
xor r8, qword [r13 + rax*8 + 0x39bb0]
movzx eax, bl
xor r8, qword [r13 + rax*8 + 0x393b0]
mov rax, r9
xor r8, qword [rsp + 0x40]
mov qword [rbp - 0x80], r8
shr rax, 0x18
movzx edx, al
mov rax, r10
shr rax, 0x10
movzx ecx, al
mov rax, rdi
shr rax, 0x20
mov r8, qword [r13 + rdx*8 + 0x3a410]
xor r8, qword [r13 + rcx*8 + 0x373b0]
movzx ecx, al
mov rax, r14
shr rax, 8
xor r8, qword [r13 + rcx*8 + 0x37bb0]
movzx ecx, al
mov rax, r15
shr rax, 0x28
xor r8, qword [r13 + rcx*8 + 0x38bb0]
movzx ecx, al
mov rax, rsi
shr rax, 0x30
xor r8, qword [r13 + rcx*8 + 0x36bb0]
movzx ecx, al
mov rax, rbx
shr rax, 0x38
xor r8, qword [r13 + rcx*8 + 0x383b0]
xor r8, qword [r13 + rax*8 + 0x39bb0]
movzx eax, r11b
xor r8, qword [r13 + rax*8 + 0x393b0]
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 [rbp - 0x78], r8
mov r8, qword [r13 + rdx*8 + 0x373b0]
xor r8, qword [r13 + rcx*8 + 0x38bb0]
movzx ecx, al
mov rax, r15
shr rax, 0x20
shr r15, 0x18
shr r9, 8
xor r8, qword [r13 + rcx*8 + 0x3a410]
movzx ecx, al
mov rax, rsi
shr rax, 0x28
shr rdi, 0x10
shr rsi, 0x20
xor r8, qword [r13 + rcx*8 + 0x37bb0]
movzx ecx, al
mov rax, rbx
shr rax, 0x30
shr rbx, 0x28
xor r8, qword [r13 + rcx*8 + 0x36bb0]
movzx ecx, al
mov rax, r11
shr rax, 0x38
shr r11, 0x30
xor r8, qword [r13 + rcx*8 + 0x383b0]
xor r8, qword [r13 + rax*8 + 0x39bb0]
movzx eax, r14b
movzx ecx, r9b
xor r8, qword [r13 + rax*8 + 0x393b0]
mov r13, qword [rsp + 0x50]
xor r8, r13
movzx eax, dil
mov qword [rbp - 0x70], r8
lea r8, [0x140000000]
mov rdx, qword [r8 + rcx*8 + 0x38bb0]
xor rdx, qword [r8 + rax*8 + 0x373b0]
movzx eax, r15b
lea r15, [0x140000000]
xor rdx, qword [r15 + rax*8 + 0x3a410]
movzx eax, sil
xor rdx, qword [r15 + rax*8 + 0x37bb0]
movzx eax, bl
xor rdx, qword [r15 + rax*8 + 0x36bb0]
movzx eax, r11b
xor rdx, qword [r15 + rax*8 + 0x383b0]
mov rbx, qword [rsp + 0x58]
lea rcx, [rbp - 0x60]
movzx eax, r10b
mov r8d, 0x40
shr r14, 0x38
xor rdx, qword [r15 + r14*8 + 0x39bb0]
xor rdx, qword [r15 + rax*8 + 0x393b0]
xor rdx, rbx
mov qword [rbp - 0x68], rdx
lea rdx, [rsp + 0x60]
call fcn.140016800
mov r9, qword [rsp + 0x48]
lea rax, [0x14003a400]
mov r10, qword [rsp + 0x40]
add r12, 8
mov r11, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x28]
cmp r12, rax
jle 0x140002372
mov r13, qword [rbp + 0x50]
lea rdx, [rbp - 0x60]
sub rdx, r13
lea r8, [rbp - 0x20]
sub r8, r13
mov r9d, 8
lea rcx, [r13 + 0x68]
mov rax, qword [rcx + r8 - 0x68]
xor rax, qword [rdx + rcx - 0x68]
xor qword [rcx], rax
lea rcx, [rcx + 8]
sub r9, 1
jne 0x140002ce7
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret