Function at 0x1401d3b50
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.1401d9bc0
sub rsp, rax
mov rdi, qword [rcx + 0x38]
lea r10, [rdx + 0x10]
lea rax, [0x1402c18a0]
mov qword [rbp - 0x11], r10
mov qword [rbp - 9], rax
lea rdx, [0x1402c1850]
nop word [rax + rax]
mov rax, qword [rcx + 0x18]
mov rbx, qword [rcx]
mov r15, rax
mov r9, qword [rcx + 0x10]
mov r11, qword [r10 - 0x10]
mov r14, qword [r10]
xor r11, rbx
xor r15, qword [r10 + 8]
xor r14, r9
mov qword [rbp - 0x31], rax
mov qword [rsp + 0x18], rax
mov rax, qword [rcx + 0x20]
mov r12, rax
mov qword [rbp - 0x29], rax
xor r12, qword [r10 + 0x10]
mov qword [rsp + 0x20], rax
mov rax, qword [rcx + 0x28]
mov r13, rax
mov qword [rbp - 0x21], rax
xor r13, qword [r10 + 0x18]
mov qword [rsp + 0x28], rax
mov rax, qword [rcx + 0x30]
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x79], rax
mov qword [rbp + 7], r11
mov qword [rbp + 0x6f], r11
mov r11, qword [rcx + 8]
mov rcx, rax
xor rcx, qword [r10 + 0x20]
mov rsi, r11
xor rsi, qword [r10 - 8]
mov rax, rdi
xor rax, qword [r10 + 0x28]
mov qword [rbp + 0x7f], rax
mov r10, rax
mov qword [rsp], rbx
mov qword [rsp + 8], r11
mov qword [rsp + 0x10], r9
mov qword [rbp - 0x71], rdi
mov qword [rbp - 0x39], rdx
nop word [rax + rax]
movzx eax, dil
lea r8d, [rax + rax]
movzx eax, byte [rsp + 7]
lea edx, [rax + rax]
lea rax, [0x1402c0850]
mov rdi, qword [rax + r8*8]
lea r8, [0x1402c0850]
xor rdi, qword [r8 + rdx*8 + 1]
movzx eax, byte [rsp + 0xe]
add eax, eax
xor rdi, qword [r8 + rax*8 + 2]
movzx eax, byte [rsp + 0x15]
add eax, eax
xor rdi, qword [r8 + rax*8 + 3]
movzx eax, byte [rsp + 0x1c]
add eax, eax
xor rdi, qword [r8 + rax*8 + 4]
movzx eax, byte [rsp + 0x23]
add eax, eax
xor rdi, qword [r8 + rax*8 + 5]
movzx eax, byte [rbp - 0x7f]
add eax, eax
xor rdi, qword [r8 + rax*8 + 6]
movzx eax, byte [rbp - 0x78]
add eax, eax
xor rdi, qword [r8 + rax*8 + 7]
movzx eax, bl
mov qword [rbp - 0x41], rdi
lea r8d, [rax + rax]
movzx eax, byte [rsp + 0xf]
lea edx, [rax + rax]
lea rax, [0x1402c0850]
mov rbx, qword [rax + r8*8]
lea r8, [0x1402c0850]
xor rbx, qword [r8 + rdx*8 + 1]
movzx eax, byte [rsp + 0x16]
add eax, eax
xor rbx, qword [r8 + rax*8 + 2]
movzx eax, byte [rsp + 0x1d]
add eax, eax
xor rbx, qword [r8 + rax*8 + 3]
movzx eax, byte [rsp + 0x24]
add eax, eax
xor rbx, qword [r8 + rax*8 + 4]
movzx eax, byte [rbp - 0x7e]
add eax, eax
xor rbx, qword [r8 + rax*8 + 5]
movzx eax, byte [rbp - 0x77]
add eax, eax
xor rbx, qword [r8 + rax*8 + 6]
movzx eax, byte [rbp - 0x70]
add eax, eax
xor rbx, qword [r8 + rax*8 + 7]
mov rax, qword [rbp - 0x39]
xor rbx, qword [rax]
movzx eax, r11b
lea r8d, [rax + rax]
movzx eax, byte [rsp + 0x17]
lea edx, [rax + rax]
lea rax, [0x1402c0850]
mov r11, qword [rax + r8*8]
lea r8, [0x1402c0850]
movzx eax, byte [rsp + 1]
xor r11, qword [r8 + rdx*8 + 1]
add eax, eax
xor r11, qword [r8 + rax*8 + 7]
movzx eax, byte [rsp + 0x1e]
add eax, eax
xor r11, qword [r8 + rax*8 + 2]
movzx eax, byte [rsp + 0x25]
add eax, eax
xor r11, qword [r8 + rax*8 + 3]
movzx eax, byte [rbp - 0x7d]
add eax, eax
xor r11, qword [r8 + rax*8 + 4]
movzx eax, byte [rbp - 0x76]
add eax, eax
xor r11, qword [r8 + rax*8 + 5]
movzx eax, byte [rbp - 0x6f]
add eax, eax
xor r11, qword [r8 + rax*8 + 6]
movzx eax, r9b
mov qword [rbp - 0x49], r11
lea r8d, [rax + rax]
movzx eax, byte [rsp + 2]
lea edx, [rax + rax]
lea rax, [0x1402c0850]
mov r9, qword [rax + r8*8]
lea r8, [0x1402c0850]
xor r9, qword [r8 + rdx*8 + 6]
movzx eax, byte [rsp + 0x1f]
add eax, eax
xor r9, qword [r8 + rax*8 + 1]
movzx eax, byte [rsp + 9]
add eax, eax
xor r9, qword [r8 + rax*8 + 7]
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 - 0x31]
mov qword [rbp - 0x59], r9
lea r8d, [rax + rax]
movzx eax, byte [rsp + 3]
lea edx, [rax + rax]
lea rax, [0x1402c0850]
mov r8, qword [rax + r8*8]
xor r8, qword [rax + rdx*8 + 5]
movzx eax, byte [rsp + 0xa]
lea edx, [rax + rax]
lea rax, [0x1402c0850]
xor r8, qword [rax + rdx*8 + 6]
movzx eax, byte [rsp + 0x27]
lea edx, [rax + rax]
lea rax, [0x1402c0850]
xor r8, qword [rax + rdx*8 + 1]
movzx eax, byte [rsp + 0x11]
lea edx, [rax + rax]
lea rax, [0x1402c0850]
xor r8, qword [rax + rdx*8 + 7]
movzx eax, byte [rbp - 0x7b]
lea edx, [rax + rax]
lea rax, [0x1402c0850]
xor r8, qword [rax + rdx*8 + 2]
movzx eax, byte [rbp - 0x74]
lea edx, [rax + rax]
lea rax, [0x1402c0850]
xor r8, qword [rax + rdx*8 + 3]
movzx eax, byte [rbp - 0x6d]
lea edx, [rax + rax]
lea rax, [0x1402c0850]
xor r8, qword [rax + rdx*8 + 4]
movzx eax, byte [rbp - 0x29]
mov qword [rbp + 0x7f], r8
lea r8d, [rax + rax]
movzx eax, byte [rsp + 4]
lea edx, [rax + rax]
lea rax, [0x1402c0850]
mov r8, qword [rax + r8*8]
xor r8, qword [rax + rdx*8 + 4]
movzx eax, byte [rsp + 0xb]
lea edx, [rax + rax]
lea rax, [0x1402c0850]
xor r8, qword [rax + rdx*8 + 5]
movzx eax, byte [rsp + 0x12]
lea edx, [rax + rax]
lea rax, [0x1402c0850]
xor r8, qword [rax + rdx*8 + 6]
movzx eax, byte [rbp - 0x7a]
lea edx, [rax + rax]
lea rax, [0x1402c0850]
xor r8, qword [rax + rdx*8 + 1]
movzx eax, byte [rsp + 0x19]
lea edx, [rax + rax]
lea rax, [0x1402c0850]
xor r8, qword [rax + rdx*8 + 7]
movzx eax, byte [rbp - 0x73]
lea edx, [rax + rax]
lea rax, [0x1402c0850]
xor r8, qword [rax + rdx*8 + 2]
movzx eax, byte [rbp - 0x6c]
lea edx, [rax + rax]
lea rax, [0x1402c0850]
xor r8, qword [rax + rdx*8 + 3]
movzx eax, byte [rbp - 0x21]
mov qword [rbp - 0x69], r8
lea r8d, [rax + rax]
movzx eax, byte [rsp + 5]
lea edx, [rax + rax]
lea rax, [0x1402c0850]
mov r8, qword [rax + r8*8]
xor r8, qword [rax + rdx*8 + 3]
movzx eax, byte [rsp + 0xc]
lea edx, [rax + rax]
lea rax, [0x1402c0850]
xor r8, qword [rax + rdx*8 + 4]
movzx eax, byte [rsp + 0x13]
lea edx, [rax + rax]
lea rax, [0x1402c0850]
xor r8, qword [rax + rdx*8 + 5]
movzx eax, byte [rsp + 0x1a]
lea edx, [rax + rax]
lea rax, [0x1402c0850]
xor r8, qword [rax + rdx*8 + 6]
movzx eax, byte [rbp - 0x72]
lea edx, [rax + rax]
lea rax, [0x1402c0850]
xor r8, qword [rax + rdx*8 + 1]
movzx eax, byte [rsp + 0x21]
lea edx, [rax + rax]
lea rax, [0x1402c0850]
xor r8, qword [rax + rdx*8 + 7]
movzx eax, byte [rbp - 0x6b]
lea edx, [rax + rax]
lea rax, [0x1402c0850]
xor r8, qword [rax + rdx*8 + 2]
movzx eax, byte [rbp - 0x19]
mov qword [rbp - 0x61], r8
lea r8d, [rax + rax]
movzx eax, byte [rsp + 6]
mov qword [rsp], rbx
lea edx, [rax + rax]
lea rax, [0x1402c0850]
mov r8, qword [rax + r8*8]
xor r8, qword [rax + rdx*8 + 2]
movzx eax, byte [rsp + 0xd]
mov qword [rsp + 8], r11
lea edx, [rax + rax]
lea rax, [0x1402c0850]
xor r8, qword [rax + rdx*8 + 3]
movzx eax, byte [rsp + 0x14]
lea edx, [rax + rax]
lea rax, [0x1402c0850]
xor r8, qword [rax + rdx*8 + 4]
movzx eax, byte [rsp + 0x1b]
lea edx, [rax + rax]
lea rax, [0x1402c0850]
xor r8, qword [rax + rdx*8 + 5]
movzx eax, byte [rsp + 0x22]
lea edx, [rax + rax]
lea rax, [0x1402c0850]
xor r8, qword [rax + rdx*8 + 6]
movzx eax, byte [rbp - 0x6a]
lea edx, [rax + rax]
lea rax, [0x1402c0850]
xor r8, qword [rax + rdx*8 + 1]
movzx eax, byte [rbp - 0x80]
lea edx, [rax + rax]
lea rax, [0x1402c0850]
xor r8, qword [rax + rdx*8 + 7]
mov rax, r9
mov qword [rbp - 1], rax
mov qword [rsp + 0x10], rax
mov rax, qword [rbp + 0x7f]
mov qword [rbp - 0x51], r8
mov qword [rbp - 0x31], rax
lea r9, [0x1402c0850]
mov qword [rsp + 0x18], rax
mov rax, qword [rbp - 0x69]
mov qword [rbp - 0x29], rax
mov qword [rsp + 0x20], rax
mov rax, qword [rbp - 0x61]
mov qword [rbp - 0x21], rax
mov qword [rsp + 0x28], rax
mov rax, r8
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x79], rax
mov rax, rcx
shr rax, 8
movzx edx, al
mov rax, r13
shr rax, 0x10
mov qword [rbp - 0x71], rdi
lea r8d, [rdx + rdx]
movzx edx, al
mov r9, qword [r9 + r8*8 + 7]
add edx, edx
lea r8, [0x1402c0850]
mov rax, r12
shr rax, 0x18
xor r9, qword [r8 + rdx*8 + 6]
movzx edx, al
mov rax, r15
add edx, edx
shr rax, 0x20
xor r9, qword [r8 + rdx*8 + 5]
movzx edx, al
mov rax, r14
add edx, edx
shr rax, 0x28
xor r9, qword [r8 + rdx*8 + 4]
movzx edx, al
mov rax, rsi
add edx, edx
shr rax, 0x30
xor r9, qword [r8 + rdx*8 + 3]
movzx edx, al
add edx, edx
movzx eax, r10b
add eax, eax
xor r9, qword [r8 + rdx*8 + 2]
mov rdx, qword [rbp + 0x6f]
shr rdx, 0x38
add edx, edx
xor r9, qword [r8 + rdx*8 + 1]
xor r9, qword [r8 + rax*8]
mov rax, r10
xor qword [rbp - 0x41], r9
lea r9, [0x1402c0850]
shr rax, 0x10
movzx edx, al
mov rax, rcx
shr rax, 0x18
lea r8d, [rdx + rdx]
movzx edx, al
mov r9, qword [r9 + r8*8 + 6]
add edx, edx
lea r8, [0x1402c0850]
mov rax, r13
shr rax, 0x20
xor r9, qword [r8 + rdx*8 + 5]
movzx edx, al
mov rax, r12
add edx, edx
shr rax, 0x28
xor r9, qword [r8 + rdx*8 + 4]
movzx edx, al
mov rax, r15
add edx, edx
shr rax, 0x30
xor r9, qword [r8 + rdx*8 + 3]
movzx edx, al
add edx, edx
xor r9, qword [r8 + rdx*8 + 2]
mov rdx, r14
shr rdx, 0x38
add edx, edx
mov rax, qword [rbp + 0x6f]
shr rax, 8
xor r9, qword [r8 + rdx*8 + 1]
movzx edx, al
add edx, edx
movzx eax, sil
add eax, eax
xor r9, qword [r8 + rdx*8 + 7]
xor r9, qword [r8 + rax*8]
mov rax, r10
xor qword [rbp - 0x49], r9
lea r9, [0x1402c0850]
shr rax, 0x18
movzx edx, al
mov rax, rcx
shr rax, 0x20
lea r8d, [rdx + rdx]
movzx edx, al
mov r9, qword [r9 + r8*8 + 5]
add edx, edx
lea r8, [0x1402c0850]
mov rax, r13
shr rax, 0x28
xor r9, qword [r8 + rdx*8 + 4]
movzx edx, al
mov rax, r12
add edx, edx
shr rax, 0x30
xor r9, qword [r8 + rdx*8 + 3]
movzx edx, al
mov rax, rsi
add edx, edx
shr rax, 8
xor r9, qword [r8 + rdx*8 + 2]
mov rdx, r15
shr rdx, 0x38
add edx, edx
xor r9, qword [r8 + rdx*8 + 1]
movzx edx, al
mov rax, qword [rbp + 0x6f]
add edx, edx
shr rax, 0x10
xor r9, qword [r8 + rdx*8 + 7]
movzx edx, al
add edx, edx
movzx eax, r14b
add eax, eax
xor r9, qword [r8 + rdx*8 + 6]
xor r9, qword [r8 + rax*8]
mov rax, r10
xor qword [rbp - 0x59], r9
lea r9, [0x1402c0850]
shr rax, 0x20
movzx edx, al
mov rax, rcx
shr rax, 0x28
lea r8d, [rdx + rdx]
movzx edx, al
mov r9, qword [r9 + r8*8 + 4]
add edx, edx
lea r8, [0x1402c0850]
mov rax, r13
shr rax, 0x30
xor r9, qword [r8 + rdx*8 + 3]
movzx edx, al
mov rax, r14
add edx, edx
shr rax, 8
xor r9, qword [r8 + rdx*8 + 2]
mov rdx, r12
shr rdx, 0x38
add edx, edx
xor r9, qword [r8 + rdx*8 + 1]
movzx edx, al
mov rax, rsi
add edx, edx
shr rax, 0x10
xor r9, qword [r8 + rdx*8 + 7]
movzx edx, al
add edx, edx
xor r9, qword [r8 + rdx*8 + 6]
mov rax, qword [rbp + 0x6f]
shr rax, 0x18
movzx edx, al
add edx, edx
movzx eax, r15b
add eax, eax
xor r9, qword [r8 + rdx*8 + 5]
xor r9, qword [r8 + rax*8]
mov rax, r10
xor qword [rbp + 0x7f], r9
lea r9, [0x1402c0850]
shr rax, 0x28
movzx edx, al
mov rax, rcx
shr rax, 0x30
lea r8d, [rdx + rdx]
movzx edx, al
mov r9, qword [r9 + r8*8 + 3]
add edx, edx
lea r8, [0x1402c0850]
mov rax, r15
shr rax, 8
xor r9, qword [r8 + rdx*8 + 2]
mov rdx, r13
shr rdx, 0x38
add edx, edx
xor r9, qword [r8 + rdx*8 + 1]
movzx edx, al
mov rax, r14
add edx, edx
shr rax, 0x10
xor r9, qword [r8 + rdx*8 + 7]
movzx edx, al
mov rax, rsi
add edx, edx
shr rax, 0x18
xor r9, qword [r8 + rdx*8 + 6]
movzx edx, al
mov rax, qword [rbp + 0x6f]
add edx, edx
shr rax, 0x20
xor r9, qword [r8 + rdx*8 + 5]
movzx edx, al
add edx, edx
movzx eax, r12b
add eax, eax
xor r9, qword [r8 + rdx*8 + 4]
xor r9, qword [r8 + rax*8]
mov rax, r10
xor qword [rbp - 0x69], r9
lea r9, [0x1402c0850]
shr rax, 0x30
movzx edx, al
mov rax, r12
shr rax, 8
lea r8d, [rdx + rdx]
mov rdx, rcx
mov r9, qword [r9 + r8*8 + 2]
lea r8, [0x1402c0850]
shr rdx, 0x38
add edx, edx
xor r9, qword [r8 + rdx*8 + 1]
movzx edx, al
mov rax, r15
add edx, edx
shr rax, 0x10
xor r9, qword [r8 + rdx*8 + 7]
movzx edx, al
mov rax, r14
add edx, edx
shr rax, 0x18
xor r9, qword [r8 + rdx*8 + 6]
movzx edx, al
mov rax, rsi
add edx, edx
shr rax, 0x20
xor r9, qword [r8 + rdx*8 + 5]
movzx edx, al
add edx, edx
xor r9, qword [r8 + rdx*8 + 4]
mov rax, qword [rbp + 0x6f]
shr rax, 0x28
movzx edx, al
add edx, edx
movzx eax, r13b
add eax, eax
xor r9, qword [r8 + rdx*8 + 3]
mov rdx, r10
xor r9, qword [r8 + rax*8]
mov rax, r13
xor qword [rbp - 0x61], r9
lea r9, [0x1402c0850]
shr rax, 8
shr rdx, 0x38
shr r10, 8
shr r13, 0x18
lea r8d, [rdx + rdx]
movzx edx, al
mov r9, qword [r9 + r8*8 + 1]
add edx, edx
lea r8, [0x1402c0850]
mov rax, r12
shr rax, 0x10
shr r12, 0x20
xor r9, qword [r8 + rdx*8 + 7]
movzx edx, al
mov rax, r15
shr rax, 0x18
add edx, edx
shr r15, 0x28
xor r9, qword [r8 + rdx*8 + 6]
movzx edx, al
mov rax, r14
shr rax, 0x20
add edx, edx
shr r14, 0x30
xor r9, qword [r8 + rdx*8 + 5]
movzx edx, al
mov rax, rsi
shr rax, 0x28
add edx, edx
shr rsi, 0x38
xor r9, qword [r8 + rdx*8 + 4]
movzx edx, al
mov rax, qword [rbp + 0x6f]
add edx, edx
shr rax, 0x30
xor r9, qword [r8 + rdx*8 + 3]
movzx edx, al
movzx eax, cl
add edx, edx
add eax, eax
shr rcx, 0x10
xor r9, qword [r8 + rdx*8 + 2]
xor r9, qword [r8 + rax*8]
xor qword [rbp - 0x51], r9
movzx eax, r10b
lea r8d, [rax + rax]
movzx eax, cl
add eax, eax
lea rcx, [0x1402c0850]
mov r9, qword [rcx + r8*8 + 7]
xor r9, qword [rcx + rax*8 + 6]
movzx eax, r13b
add eax, eax
xor r9, qword [rcx + rax*8 + 5]
movzx eax, r12b
add eax, eax
xor r9, qword [rcx + rax*8 + 4]
movzx eax, r15b
add eax, eax
xor r9, qword [rcx + rax*8 + 3]
movzx eax, r14b
add eax, eax
xor r9, qword [rcx + rax*8 + 2]
mov eax, esi
add eax, eax
xor r9, qword [rcx + rax*8 + 1]
movzx eax, byte [rbp + 0x6f]
lea edx, [rax + rax]
mov rax, r9
xor rax, qword [rcx + rdx*8]
mov r9, qword [rbp - 0x39]
xor rax, rbx
mov r8, qword [rbp - 0x49]
add r9, 8
mov rdx, qword [rbp - 0x41]
mov rsi, r8
cmp r9, qword [rbp - 9]
mov r10, rdx
mov r14, qword [rbp - 0x59]
mov r15, qword [rbp + 0x7f]
mov r12, qword [rbp - 0x69]
mov r13, qword [rbp - 0x61]
mov rcx, qword [rbp - 0x51]
mov qword [rbp - 0x39], r9
mov r9, qword [rbp - 1]
mov qword [rbp + 0x6f], rax
jl 0x1401d3c40
mov rcx, qword [rbp + 0x67]
mov r10, qword [rbp - 0x11]
mov r11, qword [rbp + 7]
xor r11, rax
mov qword [rcx], r11
mov rax, qword [r10 - 8]
xor rax, r8
xor qword [rcx + 8], rax
mov rax, qword [r10]
xor rax, qword [rcx + 0x10]
xor rax, r14
mov qword [rcx + 0x10], rax
mov rax, qword [r10 + 8]
xor rax, r15
xor qword [rcx + 0x18], rax
mov rax, qword [rcx + 0x20]
xor rax, qword [r10 + 0x10]
xor rax, r12
mov qword [rcx + 0x20], rax
mov rax, qword [r10 + 0x18]
xor rax, r13
xor qword [rcx + 0x28], rax
mov rax, qword [rcx + 0x30]
xor rax, qword [r10 + 0x20]
xor rax, qword [rbp - 0x51]
mov qword [rcx + 0x30], rax
mov rax, qword [r10 + 0x28]
add r10, 0x40
xor rax, rdx
mov qword [rbp - 0x11], r10
xor qword [rcx + 0x38], rax
lea rdx, [0x1402c1850]
sub qword [rbp + 0x77], 1
mov rdi, qword [rcx + 0x38]
jne 0x1401d3ba0
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret