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