Function at 0x140179579
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x14017982e
mov r11, rsp
push rbp
sub rsp, 0xe0
mov rax, qword [0x140264330]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 - 0x10], rdi
mov qword [r11 - 0x18], r12
mov qword [r11 - 0x20], r14
lea rbx, [r8 - 1]
shr rbx, 3
mov qword [r11 - 0x28], r15
mov rbp, rdx
lea r14, [rcx + 0xc]
lea r12, [0x140240410]
inc rbx
lea r15, [rcx + 0x14]
nop dword [rax + rax]
movzx eax, byte [rbp + 1]
movzx edi, byte [rbp]
movzx esi, byte [rbp + 4]
shl eax, 8
lea rdx, [rsp + 0x30]
mov rcx, r14
or edi, eax
movzx eax, byte [rbp + 2]
lea rbp, [rbp + 8]
shl eax, 0x10
or edi, eax
movzx eax, byte [rbp - 5]
shl eax, 0x18
or edi, eax
movzx eax, byte [rbp - 3]
shl eax, 8
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
or esi, eax
movzx eax, byte [rbp - 2]
shl eax, 0x10
or esi, eax
movzx eax, byte [rbp - 1]
and byte [r14], 0xdf
and byte [r15], 0xbf
or byte [r14], 0x40
or byte [r15], 0x20
shl eax, 0x18
or esi, eax
movzx eax, byte [r14]
movzx eax, byte [rax + r12]
mov dword [rsp + 0x2c], esi
mov dword [rsp + 0x24], esi
mov byte [r14], al
movzx eax, byte [r14 + 1]
movzx eax, byte [rax + r12]
mov byte [r14 + 1], al
movzx eax, byte [r14 + 2]
movzx eax, byte [rax + r12]
mov byte [r14 + 2], al
movzx eax, byte [r14 + 3]
movzx eax, byte [rax + r12]
mov byte [r14 + 3], al
movzx eax, byte [r14 + 4]
movzx eax, byte [rax + r12]
mov byte [r14 + 4], al
movzx eax, byte [r14 + 5]
movzx eax, byte [rax + r12]
mov byte [r14 + 5], al
movzx eax, byte [r14 + 6]
movzx eax, byte [rax + r12]
mov byte [r14 + 6], al
movzx eax, byte [r14 + 7]
movzx eax, byte [rax + r12]
mov byte [r14 + 7], al
call fcn.140154850
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
mov r8d, 1
call fcn.140154b00
movzx eax, byte [r15]
movzx eax, byte [rax + r12]
mov byte [r15], al
movzx eax, byte [r15 + 1]
movzx eax, byte [rax + r12]
mov byte [r15 + 1], al
movzx eax, byte [r15 + 2]
movzx eax, byte [rax + r12]
mov byte [r15 + 2], al
movzx eax, byte [r15 + 3]
movzx eax, byte [rax + r12]
mov byte [r15 + 3], al
movzx eax, byte [r15 + 4]
movzx eax, byte [rax + r12]
mov byte [r15 + 4], al
movzx eax, byte [r15 + 5]
movzx eax, byte [rax + r12]
mov byte [r15 + 5], al
movzx eax, byte [r15 + 6]
movzx eax, byte [rax + r12]
mov byte [r15 + 6], al
movzx eax, byte [r15 + 7]
lea rdx, [rsp + 0x30]
mov rcx, r15
movzx eax, byte [rax + r12]
mov byte [r15 + 7], al
call fcn.140154850
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
mov r8d, 1
call fcn.140154b00
mov r8d, dword [rsp + 0x28]
mov edx, dword [rsp + 0x2c]
xor r8d, edi
xor edi, dword [rsp + 0x20]
xor edx, esi
xor esi, dword [rsp + 0x24]
mov byte [r14], dil
mov eax, edi
shr eax, 8
mov byte [r14 + 1], al
mov eax, edi
shr edi, 0x18
shr eax, 0x10
mov byte [r14 + 2], al
mov byte [r14 + 3], dil
mov byte [r14 + 4], dl
mov eax, edx
shr eax, 8
mov byte [r14 + 5], al
mov eax, edx
shr edx, 0x18
shr eax, 0x10
mov byte [r14 + 6], al
mov byte [r14 + 7], dl
mov byte [r15], r8b
mov eax, r8d
shr eax, 8
mov byte [r15 + 1], al
mov eax, r8d
shr r8d, 0x18
shr eax, 0x10
mov byte [r15 + 2], al
mov byte [r15 + 3], r8b
mov byte [r15 + 4], sil
mov eax, esi
shr eax, 8
mov byte [r15 + 5], al
mov eax, esi
shr esi, 0x18
shr eax, 0x10
mov byte [r15 + 6], al
mov byte [r15 + 7], sil
dec rbx
jne 0x1401795d0
mov r15, qword [rsp + 0xc0]
mov r14, qword [rsp + 0xc8]
mov r12, qword [rsp + 0xd0]
mov rdi, qword [rsp + 0xd8]
mov rsi, qword [rsp + 0x100]
mov rbx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1401bb2c0
add rsp, 0xe0
pop rbp
ret