Function at 0x1402228d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
mov eax, 0xc8
call fcn.140239ef0
sub rsp, rax
mov r9, qword [rcx]
lea r10, [rdx + 0x10]
mov r14, qword [rcx + 8]
lea rax, [0x1402e8280]
mov r11, qword [rcx + 0x10]
lea rdx, [0x1402e8230]
mov r15, qword [rcx + 0x18]
mov rbx, qword [rcx + 0x20]
mov r12, qword [rcx + 0x28]
mov rdi, qword [rcx + 0x30]
mov r13, qword [rcx + 0x38]
mov qword [rbp - 9], r10
mov qword [rbp - 1], rax
mov rsi, qword [r10 - 0x10]
mov rax, r9
mov qword [rbp - 0x21], rax
xor rsi, r9
mov qword [rsp + 0x10], rax
mov rcx, r14
xor rcx, qword [r10 - 8]
mov rax, r15
xor rax, qword [r10 + 8]
mov qword [rbp - 0x51], rax
mov rax, rbx
xor rax, qword [r10 + 0x10]
mov qword [rbp + 0x7f], rax
mov rax, r12
xor rax, qword [r10 + 0x18]
mov qword [rsp + 8], rax
mov rax, rdi
xor rax, qword [r10 + 0x20]
mov qword [rbp + 7], rsi
mov qword [rbp + 0x6f], rsi
mov rsi, qword [r10]
mov qword [rsp], rax
xor rsi, r11
mov rax, r13
mov qword [rsp + 0x18], r14
xor rax, qword [r10 + 0x28]
mov r10, qword [rbp - 0x51]
mov qword [rbp - 0x59], rax
mov qword [rsp + 0x20], r11
mov qword [rsp + 0x28], r15
mov qword [rbp - 0x79], rbx
mov qword [rbp - 0x71], r12
mov qword [rbp - 0x69], rdi
mov qword [rbp - 0x61], r13
mov qword [rbp - 0x11], rdx
nop dword [rax + rax]
movzx eax, r13b
lea r9, [0x1402e7230]
lea r8d, [rax + rax]
movzx eax, byte [rsp + 0x17]
add eax, eax
mov r13, qword [r9 + r8*8]
xor r13, qword [r9 + rax*8 + 1]
movzx eax, byte [rsp + 0x1e]
add eax, eax
xor r13, qword [r9 + rax*8 + 2]
movzx eax, byte [rsp + 0x25]
add eax, eax
xor r13, qword [r9 + rax*8 + 3]
movzx eax, byte [rbp - 0x7d]
add eax, eax
xor r13, qword [r9 + rax*8 + 4]
movzx eax, byte [rbp - 0x76]
add eax, eax
xor r13, qword [r9 + rax*8 + 5]
movzx eax, byte [rbp - 0x6f]
add eax, eax
xor r13, qword [r9 + rax*8 + 6]
movzx eax, byte [rbp - 0x68]
add eax, eax
xor r13, qword [r9 + rax*8 + 7]
movzx eax, byte [rbp - 0x21]
mov qword [rbp - 0x51], r13
lea r8d, [rax + rax]
movzx eax, byte [rsp + 0x1f]
mov r9, qword [r9 + r8*8]
add eax, eax
lea r8, [0x1402e7230]
xor r9, qword [r8 + rax*8 + 1]
movzx eax, byte [rsp + 0x26]
add eax, eax
xor r9, qword [r8 + rax*8 + 2]
movzx eax, byte [rbp - 0x7c]
add eax, eax
xor r9, qword [r8 + rax*8 + 3]
movzx eax, byte [rbp - 0x75]
add eax, eax
xor r9, qword [r8 + rax*8 + 4]
movzx eax, byte [rbp - 0x6e]
add eax, eax
xor r9, qword [r8 + rax*8 + 5]
movzx eax, byte [rbp - 0x67]
add eax, eax
xor r9, qword [r8 + rax*8 + 6]
movzx eax, byte [rbp - 0x60]
add eax, eax
xor r9, qword [r8 + rax*8 + 7]
mov rax, qword [rbp - 0x11]
xor r9, qword [rax]
movzx eax, r14b
mov qword [rbp - 0x21], r9
lea r8d, [rax + rax]
movzx eax, byte [rsp + 0x27]
lea edx, [rax + rax]
lea rax, [0x1402e7230]
mov r14, qword [rax + r8*8]
lea r8, [0x1402e7230]
movzx eax, byte [rsp + 0x11]
xor r14, qword [r8 + rdx*8 + 1]
add eax, eax
xor r14, qword [r8 + rax*8 + 7]
movzx eax, byte [rbp - 0x7b]
add eax, eax
xor r14, qword [r8 + rax*8 + 2]
movzx eax, byte [rbp - 0x74]
add eax, eax
xor r14, qword [r8 + rax*8 + 3]
movzx eax, byte [rbp - 0x6d]
add eax, eax
xor r14, qword [r8 + rax*8 + 4]
movzx eax, byte [rbp - 0x66]
add eax, eax
xor r14, qword [r8 + rax*8 + 5]
movzx eax, byte [rbp - 0x5f]
add eax, eax
xor r14, qword [r8 + rax*8 + 6]
mov qword [rbp - 0x19], r14
movzx eax, r11b
lea r8d, [rax + rax]
movzx eax, byte [rsp + 0x12]
lea edx, [rax + rax]
lea rax, [0x1402e7230]
mov r11, qword [rax + r8*8]
lea r8, [0x1402e7230]
xor r11, qword [r8 + rdx*8 + 6]
movzx eax, byte [rbp - 0x7a]
add eax, eax
xor r11, qword [r8 + rax*8 + 1]
movzx eax, byte [rsp + 0x19]
add eax, eax
xor r11, qword [r8 + rax*8 + 7]
movzx eax, byte [rbp - 0x73]
add eax, eax
xor r11, qword [r8 + rax*8 + 2]
movzx eax, byte [rbp - 0x6c]
add eax, eax
xor r11, qword [r8 + rax*8 + 3]
movzx eax, byte [rbp - 0x65]
add eax, eax
xor r11, qword [r8 + rax*8 + 4]
movzx eax, byte [rbp - 0x5e]
add eax, eax
xor r11, qword [r8 + rax*8 + 5]
movzx eax, r15b
mov qword [rbp - 0x49], r11
lea r8d, [rax + rax]
movzx eax, byte [rsp + 0x13]
lea edx, [rax + rax]
lea rax, [0x1402e7230]
mov r15, qword [rax + r8*8]
lea r8, [0x1402e7230]
movzx eax, byte [rsp + 0x1a]
xor r15, qword [r8 + rdx*8 + 5]
add eax, eax
xor r15, qword [r8 + rax*8 + 6]
movzx eax, byte [rbp - 0x72]
add eax, eax
xor r15, qword [r8 + rax*8 + 1]
movzx eax, byte [rsp + 0x21]
add eax, eax
xor r15, qword [r8 + rax*8 + 7]
movzx eax, byte [rbp - 0x6b]
add eax, eax
xor r15, qword [r8 + rax*8 + 2]
movzx eax, byte [rbp - 0x64]
add eax, eax
xor r15, qword [r8 + rax*8 + 3]
movzx eax, byte [rbp - 0x5d]
add eax, eax
xor r15, qword [r8 + rax*8 + 4]
movzx eax, bl
mov qword [rbp - 0x41], r15
lea r8d, [rax + rax]
movzx eax, byte [rsp + 0x14]
lea edx, [rax + rax]
lea rax, [0x1402e7230]
mov rbx, qword [rax + r8*8]
lea r8, [0x1402e7230]
movzx eax, byte [rsp + 0x1b]
xor rbx, qword [r8 + rdx*8 + 4]
add eax, eax
xor rbx, qword [r8 + rax*8 + 5]
movzx eax, byte [rsp + 0x22]
add eax, eax
xor rbx, qword [r8 + rax*8 + 6]
movzx eax, byte [rbp - 0x6a]
add eax, eax
xor rbx, qword [r8 + rax*8 + 1]
movzx eax, byte [rbp - 0x80]
add eax, eax
xor rbx, qword [r8 + rax*8 + 7]
movzx eax, byte [rbp - 0x63]
add eax, eax
xor rbx, qword [r8 + rax*8 + 2]
movzx eax, byte [rbp - 0x5c]
add eax, eax
xor rbx, qword [r8 + rax*8 + 3]
mov qword [rbp - 0x39], rbx
movzx eax, r12b
lea r8d, [rax + rax]
movzx eax, byte [rsp + 0x15]
lea edx, [rax + rax]
lea rax, [0x1402e7230]
mov r12, qword [rax + r8*8]
lea r8, [0x1402e7230]
xor r12, qword [r8 + rdx*8 + 3]
movzx eax, byte [rsp + 0x1c]
add eax, eax
xor r12, qword [r8 + rax*8 + 4]
movzx eax, byte [rsp + 0x23]
add eax, eax
xor r12, qword [r8 + rax*8 + 5]
movzx eax, byte [rbp - 0x7f]
add eax, eax
xor r12, qword [r8 + rax*8 + 6]
movzx eax, byte [rbp - 0x62]
add eax, eax
xor r12, qword [r8 + rax*8 + 1]
movzx eax, byte [rbp - 0x78]
add eax, eax
xor r12, qword [r8 + rax*8 + 7]
movzx eax, byte [rbp - 0x5b]
add eax, eax
xor r12, qword [r8 + rax*8 + 2]
movzx eax, dil
lea rdi, [0x1402e7230]
mov qword [rbp - 0x31], r12
lea r8d, [rax + rax]
movzx eax, byte [rsp + 0x16]
mov r8, qword [rdi + r8*8]
add eax, eax
mov qword [rsp + 0x10], r9
xor r8, qword [rdi + rax*8 + 2]
movzx eax, byte [rsp + 0x1d]
add eax, eax
mov qword [rsp + 0x18], r14
xor r8, qword [rdi + rax*8 + 3]
movzx eax, byte [rsp + 0x24]
add eax, eax
mov qword [rsp + 0x20], r11
xor r8, qword [rdi + rax*8 + 4]
movzx eax, byte [rbp - 0x7e]
add eax, eax
mov qword [rsp + 0x28], r15
xor r8, qword [rdi + rax*8 + 5]
movzx eax, byte [rbp - 0x77]
add eax, eax
mov qword [rbp - 0x79], rbx
xor r8, qword [rdi + rax*8 + 6]
movzx eax, byte [rbp - 0x5a]
add eax, eax
mov qword [rbp - 0x61], r13
xor r8, qword [rdi + rax*8 + 1]
movzx eax, byte [rbp - 0x70]
add eax, eax
mov qword [rbp - 0x71], r12
xor r8, qword [rdi + rax*8 + 7]
mov rax, qword [rsp]
mov rdi, r8
shr rax, 8
mov qword [rbp - 0x29], r8
mov qword [rbp - 0x69], r8
movzx r8d, al
mov rax, qword [rsp + 8]
add r8, r8
shr rax, 0x10
movzx edx, al
lea rax, [0x1402e7230]
add rdx, rdx
mov r9, qword [rax + r8*8 + 7]
lea r8, [0x1402e7230]
mov rax, qword [rbp + 0x7f]
shr rax, 0x18
xor r9, qword [r8 + rdx*8 + 6]
movzx edx, al
mov rax, r10
add rdx, rdx
xor r9, qword [r8 + rdx*8 + 5]
shr rax, 0x20
movzx edx, al
mov rax, rsi
shr rax, 0x28
add rdx, rdx
xor r9, qword [r8 + rdx*8 + 4]
movzx edx, al
mov rax, rcx
shr rax, 0x30
add rdx, rdx
xor r9, qword [r8 + rdx*8 + 3]
movzx edx, al
add rdx, rdx
xor r9, qword [r8 + rdx*8 + 2]
mov r8, qword [rbp - 0x59]
movzx eax, r8b
lea edx, [rax + rax]
lea rax, [0x1402e7230]
xor r9, qword [rax + rdx*8]
lea rdx, [0x1402e7230]
mov rax, qword [rbp + 0x6f]
shr rax, 0x38
add rax, rax
xor r9, qword [rdx + rax*8 + 1]
mov rax, r8
xor qword [rbp - 0x51], r9
shr rax, 0x10
movzx r8d, al
mov rax, qword [rsp]
add r8, r8
shr rax, 0x18
movzx edx, al
lea rax, [0x1402e7230]
add rdx, rdx
mov r9, qword [rax + r8*8 + 6]
lea r8, [0x1402e7230]
mov rax, qword [rsp + 8]
shr rax, 0x20
xor r9, qword [r8 + rdx*8 + 5]
movzx edx, al
mov rax, qword [rbp + 0x7f]
add rdx, rdx
shr rax, 0x28
xor r9, qword [r8 + rdx*8 + 4]
movzx edx, al
mov rax, r10
shr rax, 0x30
add rdx, rdx
xor r9, qword [r8 + rdx*8 + 3]
movzx edx, al
mov rax, qword [rbp + 0x6f]
add rdx, rdx
shr rax, 8
xor r9, qword [r8 + rdx*8 + 2]
movzx edx, al
add rdx, rdx
movzx eax, cl
add eax, eax
xor r9, qword [r8 + rdx*8 + 7]
xor r9, qword [r8 + rax*8]
mov rax, rsi
shr rax, 0x38
add rax, rax
xor r9, qword [r8 + rax*8 + 1]
xor qword [rbp - 0x19], r9
mov rax, qword [rbp - 0x59]
shr rax, 0x18
movzx r8d, al
mov rax, qword [rsp]
add r8, r8
shr rax, 0x20
movzx edx, al
lea rax, [0x1402e7230]
add rdx, rdx
mov r9, qword [rax + r8*8 + 5]
lea r8, [0x1402e7230]
mov rax, qword [rsp + 8]
shr rax, 0x28
xor r9, qword [r8 + rdx*8 + 4]
movzx edx, al
add rdx, rdx
xor r9, qword [r8 + rdx*8 + 3]
mov rax, qword [rbp + 0x7f]
shr rax, 0x30
movzx edx, al
mov rax, rcx
shr rax, 8
add rdx, rdx
xor r9, qword [r8 + rdx*8 + 2]
movzx edx, al
mov rax, qword [rbp + 0x6f]
add rdx, rdx
shr rax, 0x10
xor r9, qword [r8 + rdx*8 + 7]
movzx edx, al
add rdx, rdx
movzx eax, sil
add eax, eax
xor r9, qword [r8 + rdx*8 + 6]
xor r9, qword [r8 + rax*8]
mov rax, r10
shr rax, 0x38
add rax, rax
xor r9, qword [r8 + rax*8 + 1]
xor qword [rbp - 0x49], r9
mov rax, qword [rbp - 0x59]
shr rax, 0x20
movzx r8d, al
mov rax, qword [rsp]
add r8, r8
shr rax, 0x28
movzx edx, al
lea rax, [0x1402e7230]
add rdx, rdx
mov r9, qword [rax + r8*8 + 4]
lea r8, [0x1402e7230]
mov rax, qword [rsp + 8]
shr rax, 0x30
xor r9, qword [r8 + rdx*8 + 3]
movzx edx, al
mov rax, rsi
shr rax, 8
add rdx, rdx
xor r9, qword [r8 + rdx*8 + 2]
movzx edx, al
mov rax, rcx
shr rax, 0x10
add rdx, rdx
xor r9, qword [r8 + rdx*8 + 7]
movzx edx, al
mov rax, qword [rbp + 0x6f]
add rdx, rdx
shr rax, 0x18
xor r9, qword [r8 + rdx*8 + 6]
movzx edx, al
add rdx, rdx
movzx eax, r10b
add eax, eax
xor r9, qword [r8 + rdx*8 + 5]
xor r9, qword [r8 + rax*8]
mov rax, qword [rbp + 0x7f]
shr rax, 0x38
add rax, rax
xor r9, qword [r8 + rax*8 + 1]
xor qword [rbp - 0x41], r9
mov rax, qword [rbp - 0x59]
shr rax, 0x28
movzx r8d, al
mov rax, qword [rsp]
add r8, r8
shr rax, 0x30
movzx edx, al
lea rax, [0x1402e7230]
add rdx, rdx
mov r9, qword [rax + r8*8 + 3]
lea r8, [0x1402e7230]
mov rax, r10
shr rax, 8
xor r9, qword [r8 + rdx*8 + 2]
movzx edx, al
mov rax, rsi
add rdx, rdx
xor r9, qword [r8 + rdx*8 + 7]
shr rax, 0x10
movzx edx, al
mov rax, rcx
shr rax, 0x18
add rdx, rdx
xor r9, qword [r8 + rdx*8 + 6]
movzx edx, al
mov rax, qword [rbp + 0x6f]
add rdx, rdx
shr rax, 0x20
xor r9, qword [r8 + rdx*8 + 5]
movzx edx, al
movzx eax, byte [rbp + 0x7f]
add rdx, rdx
add eax, eax
xor r9, qword [r8 + rdx*8 + 4]
xor r9, qword [r8 + rax*8]
mov rax, qword [rsp + 8]
shr rax, 0x38
add rax, rax
xor r9, qword [r8 + rax*8 + 1]
xor qword [rbp - 0x39], r9
mov rax, qword [rbp - 0x59]
shr rax, 0x30
movzx r8d, al
mov rax, qword [rbp + 0x7f]
add r8, r8
shr rax, 8
movzx edx, al
lea rax, [0x1402e7230]
add rdx, rdx
mov r9, qword [rax + r8*8 + 2]
lea r8, [0x1402e7230]
mov rax, r10
shr rax, 0x10
xor r9, qword [r8 + rdx*8 + 7]
movzx edx, al
mov rax, rsi
shr rax, 0x18
add rdx, rdx
xor r9, qword [r8 + rdx*8 + 6]
movzx edx, al
mov rax, rcx
shr rax, 0x20
add rdx, rdx
xor r9, qword [r8 + rdx*8 + 5]
movzx edx, al
mov rax, qword [rbp + 0x6f]
add rdx, rdx
shr rax, 0x28
xor r9, qword [r8 + rdx*8 + 4]
movzx edx, al
add rdx, rdx
xor r9, qword [r8 + rdx*8 + 3]
mov r8, qword [rsp + 8]
movzx eax, r8b
lea edx, [rax + rax]
lea rax, [0x1402e7230]
xor r9, qword [rax + rdx*8]
lea rdx, [0x1402e7230]
mov rax, qword [rsp]
shr rax, 0x38
add rax, rax
xor r9, qword [rdx + rax*8 + 1]
mov rax, r8
xor qword [rbp - 0x31], r9
shr rax, 8
movzx r8d, al
mov rax, qword [rbp + 0x7f]
add r8, r8
shr rax, 0x10
movzx edx, al
lea rax, [0x1402e7230]
add rdx, rdx
mov r9, qword [rax + r8*8 + 7]
mov rax, r10
shr rax, 0x18
lea r8, [0x1402e7230]
xor r9, qword [r8 + rdx*8 + 6]
movzx edx, al
add rdx, rdx
xor r9, qword [r8 + rdx*8 + 5]
mov rax, rsi
shr rax, 0x20
movzx edx, al
mov rax, rcx
shr rax, 0x28
add rdx, rdx
shr r10, 0x28
shr rsi, 0x30
shr rcx, 0x38
xor r9, qword [r8 + rdx*8 + 4]
add rcx, rcx
movzx edx, al
mov rax, qword [rbp + 0x6f]
add rdx, rdx
shr rax, 0x30
xor r9, qword [r8 + rdx*8 + 3]
movzx edx, al
add rdx, rdx
xor r9, qword [r8 + rdx*8 + 2]
mov r8, qword [rsp]
movzx eax, r8b
lea r8, [0x1402e7230]
lea edx, [rax + rax]
lea rax, [0x1402e7230]
xor r9, qword [rax + rdx*8]
mov rdx, qword [rbp - 0x59]
mov rax, rdx
shr rdx, 8
shr rax, 0x38
add rax, rax
movzx edx, dl
add rdx, rdx
xor r9, qword [r8 + rax*8 + 1]
xor qword [rbp - 0x29], r9
mov r8, qword [rsp]
shr r8, 0x10
movzx eax, r8b
lea r8, [0x1402e7230]
mov r9, qword [r8 + rdx*8 + 7]
add rax, rax
mov rdx, qword [rbp - 0x51]
mov qword [rbp - 0x59], rdx
xor r9, qword [r8 + rax*8 + 6]
mov rax, qword [rsp + 8]
shr rax, 0x18
movzx eax, al
add rax, rax
xor r9, qword [r8 + rax*8 + 5]
mov rax, qword [rbp + 0x7f]
shr rax, 0x20
movzx eax, al
add rax, rax
xor r9, qword [r8 + rax*8 + 4]
movzx eax, r10b
mov r10, qword [rbp - 0x41]
add rax, rax
xor r9, qword [r8 + rax*8 + 3]
movzx eax, sil
mov rsi, qword [rbp - 0x49]
add rax, rax
xor r9, qword [r8 + rax*8 + 2]
movzx eax, byte [rbp + 0x6f]
add eax, eax
xor r9, qword [r8 + rax*8]
xor r9, qword [r8 + rcx*8 + 1]
mov rax, qword [rbp - 0x39]
xor r9, qword [rbp - 0x21]
mov r8, qword [rbp - 0x19]
mov qword [rbp + 0x7f], rax
mov rcx, r8
mov rax, qword [rbp - 0x31]
mov qword [rsp + 8], rax
mov rax, qword [rbp - 0x29]
mov qword [rsp], rax
mov rax, qword [rbp - 0x11]
add rax, 8
mov qword [rbp + 0x6f], r9
mov qword [rbp - 0x11], rax
cmp rax, qword [rbp - 1]
jl 0x1402229c0
mov rcx, qword [rbp + 0x67]
mov r10, qword [rbp - 9]
xor r9, qword [rbp + 7]
mov qword [rcx], r9
mov rax, qword [r10 - 8]
xor rax, r8
xor qword [rcx + 8], rax
mov r11, qword [r10]
xor r11, qword [rcx + 0x10]
mov r14, qword [rcx + 8]
xor r11, rsi
mov qword [rcx + 0x10], r11
mov rax, qword [r10 + 8]
xor rax, qword [rbp - 0x41]
xor qword [rcx + 0x18], rax
mov rbx, qword [rcx + 0x20]
xor rbx, qword [r10 + 0x10]
mov r15, qword [rcx + 0x18]
xor rbx, qword [rbp - 0x39]
mov qword [rcx + 0x20], rbx
mov rax, qword [r10 + 0x18]
xor rax, qword [rbp - 0x31]
xor qword [rcx + 0x28], rax
mov rdi, qword [rcx + 0x30]
xor rdi, qword [r10 + 0x20]
xor rdi, qword [rbp - 0x29]
mov r12, qword [rcx + 0x28]
mov qword [rcx + 0x30], rdi
mov rax, qword [r10 + 0x28]
add r10, 0x40
xor rax, rdx
mov qword [rbp - 9], r10
xor qword [rcx + 0x38], rax
lea rdx, [0x1402e8230]
sub qword [rbp + 0x77], 1
mov r13, qword [rcx + 0x38]
jne 0x140222931
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret