Function at 0x1401b4f50
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x20
call fcn.1402ba580
sub rsp, rax
mov r12, qword [rsp + 0x90]
lea esi, [r8 - 8]
mov r11, qword [rsp + 0x80]
mov rbp, rcx
mov r10, r9
mov rbx, rdx
movzx eax, byte [r12]
movzx r14d, byte [r12 + 1]
movzx r15d, byte [r12 + 4]
movzx ecx, byte [r12 + 7]
shl r14d, 8
or r14d, eax
shl ecx, 8
movzx eax, byte [r12 + 2]
shl eax, 0x10
or r14d, eax
movzx eax, byte [r12 + 3]
shl eax, 0x18
or r14d, eax
movzx eax, byte [r12 + 5]
shl eax, 8
or r15d, eax
movzx eax, byte [r12 + 6]
or ecx, eax
shl ecx, 0x10
or r15d, ecx
cmp dword [rsp + 0x98], 0
je 0x1401b51e2
mov r13, qword [rsp + 0x88]
test esi, esi
js 0x1401b50ed
mov r12, qword [rsp + 0x78]
mov edi, r8d
shr rdi, 3
mov eax, edi
neg eax
lea esi, [rsi + rax*8]
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rbp]
mov r9, r13
movzx ecx, byte [rbp + 4]
mov r8, r11
movzx eax, byte [rbp + 1]
shl eax, 8
or edx, eax
movzx eax, byte [rbp + 2]
shl eax, 0x10
or edx, eax
movzx eax, byte [rbp + 3]
shl eax, 0x18
or edx, eax
movzx eax, byte [rbp + 5]
shl eax, 8
xor edx, r14d
or ecx, eax
mov dword [rsp + 0x60], edx
movzx eax, byte [rbp + 6]
mov rdx, r12
shl eax, 0x10
or ecx, eax
movzx eax, byte [rbp + 7]
shl eax, 0x18
add rbp, 8
or ecx, eax
xor ecx, r15d
mov dword [rsp + 0x64], ecx
lea rcx, [rsp + 0x60]
call fcn.1401b7a30
mov r14d, dword [rsp + 0x60]
mov eax, r14d
mov r15d, dword [rsp + 0x64]
mov r11, qword [rsp + 0x80]
shr eax, 8
mov byte [rbx], r14b
mov byte [rbx + 1], al
mov eax, r14d
shr eax, 0x10
mov byte [rbx + 2], al
mov eax, r14d
shr eax, 0x18
mov byte [rbx + 3], al
mov eax, r15d
shr eax, 8
mov byte [rbx + 5], al
mov eax, r15d
shr eax, 0x10
mov byte [rbx + 6], al
mov eax, r15d
shr eax, 0x18
mov byte [rbx + 7], al
mov byte [rbx + 4], r15b
add rbx, 8
sub rdi, 1
jne 0x1401b5020
mov r12, qword [rsp + 0x90]
mov r10, qword [rsp + 0x78]
cmp esi, 0xfffffff8
je 0x1401b53cf
lea eax, [rsi + 8]
add esi, 7
movsxd rcx, eax
add rbp, rcx
xor ecx, ecx
mov edx, ecx
cmp esi, 7
ja case.default.0x1401b5120
lea r8, [0x140000000]
movsxd rax, esi
mov eax, dword [r8 + rax*4 + 0x1b5434]
add rax, r8
jmp rax
movzx ecx, byte [rbp - 1]
dec rbp
shl ecx, 0x18
movzx eax, byte [rbp - 1]
dec rbp
shl eax, 0x10
or ecx, eax
movzx eax, byte [rbp - 1]
dec rbp
shl eax, 8
or ecx, eax
movzx eax, byte [rbp - 1]
dec rbp
or ecx, eax
movzx edx, byte [rbp - 1]
dec rbp
shl edx, 0x18
movzx eax, byte [rbp - 1]
dec rbp
shl eax, 0x10
or edx, eax
movzx eax, byte [rbp - 1]
dec rbp
shl eax, 8
or edx, eax
movzx eax, byte [rbp - 1]
or edx, eax
xor edx, r14d
xor ecx, r15d
mov dword [rsp + 0x60], edx
mov r9, r13
mov dword [rsp + 0x64], ecx
mov rdx, r10
lea rcx, [rsp + 0x60]
mov r8, r11
call fcn.1401b7a30
mov r14d, dword [rsp + 0x60]
mov eax, r14d
mov r15d, dword [rsp + 0x64]
shr eax, 8
mov byte [rbx], r14b
mov byte [rbx + 1], al
mov eax, r14d
shr eax, 0x10
mov byte [rbx + 2], al
mov eax, r14d
shr eax, 0x18
mov byte [rbx + 3], al
mov eax, r15d
shr eax, 8
mov byte [rbx + 5], al
mov eax, r15d
shr eax, 0x10
mov byte [rbx + 6], al
mov eax, r15d
shr eax, 0x18
mov byte [rbx + 7], al
mov byte [rbx + 4], r15b
jmp 0x1401b53cf
mov rdx, qword [rsp + 0x88]
test esi, esi
js 0x1401b52e4
mov r12, qword [rsp + 0x78]
mov r13d, r8d
shr r13, 3
mov eax, r13d
neg eax
lea esi, [rsi + rax*8]
mov dword [rsp + 0x98], esi
nop dword [rax]
movzx eax, byte [rbp + 1]
lea rcx, [rsp + 0x60]
movzx esi, byte [rbp]
mov r9, rdx
movzx edi, byte [rbp + 4]
mov r8, r11
shl eax, 8
mov rdx, r12
or esi, eax
movzx eax, byte [rbp + 2]
shl eax, 0x10
or esi, eax
movzx eax, byte [rbp + 3]
shl eax, 0x18
or esi, eax
movzx eax, byte [rbp + 5]
shl eax, 8
or edi, eax
mov dword [rsp + 0x60], esi
movzx eax, byte [rbp + 6]
shl eax, 0x10
or edi, eax
movzx eax, byte [rbp + 7]
shl eax, 0x18
add rbp, 8
or edi, eax
mov dword [rsp + 0x64], edi
call fcn.1401b4df0
mov edx, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x60]
xor edx, r15d
mov r11, qword [rsp + 0x80]
xor ecx, r14d
mov byte [rbx], cl
mov eax, ecx
shr eax, 8
mov r14d, esi
mov byte [rbx + 1], al
mov r15d, edi
mov byte [rbx + 4], dl
mov eax, ecx
shr eax, 0x10
mov byte [rbx + 2], al
mov eax, edx
shr eax, 8
mov byte [rbx + 5], al
mov eax, edx
shr edx, 0x18
shr eax, 0x10
shr ecx, 0x18
mov byte [rbx + 7], dl
mov rdx, qword [rsp + 0x88]
mov byte [rbx + 6], al
mov byte [rbx + 3], cl
add rbx, 8
sub r13, 1
jne 0x1401b5210
mov r12, qword [rsp + 0x90]
mov esi, dword [rsp + 0x98]
mov r10, qword [rsp + 0x78]
cmp esi, 0xfffffff8
je 0x1401b53cf
movzx ecx, byte [rbp + 7]
mov r9, rdx
movzx eax, byte [rbp + 1]
mov r8, r11
movzx edi, byte [rbp]
mov rdx, r10
movzx r13d, byte [rbp + 4]
shl eax, 8
or edi, eax
shl ecx, 8
movzx eax, byte [rbp + 2]
shl eax, 0x10
or edi, eax
movzx eax, byte [rbp + 3]
shl eax, 0x18
or edi, eax
movzx eax, byte [rbp + 5]
shl eax, 8
or r13d, eax
mov dword [rsp + 0x60], edi
movzx eax, byte [rbp + 6]
or ecx, eax
shl ecx, 0x10
or r13d, ecx
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x64], r13d
call fcn.1401b4df0
mov r9d, dword [rsp + 0x60]
lea eax, [rsi + 8]
mov edx, dword [rsp + 0x64]
xor r9d, r14d
movsxd rcx, eax
xor edx, r15d
add rbx, rcx
add esi, 7
cmp esi, 7
ja case.default.0x1401b537f
lea r8, [0x140000000]
movsxd rax, esi
mov eax, dword [r8 + rax*4 + 0x1b5454]
add rax, r8
jmp rax
dec rbx
mov eax, edx
shr eax, 0x18
mov byte [rbx], al
dec rbx
mov eax, edx
shr eax, 0x10
mov byte [rbx], al
dec rbx
mov eax, edx
shr eax, 8
mov byte [rbx], al
dec rbx
mov byte [rbx], dl
dec rbx
mov eax, r9d
shr eax, 0x18
mov byte [rbx], al
dec rbx
mov eax, r9d
shr eax, 0x10
mov byte [rbx], al
dec rbx
mov eax, r9d
shr eax, 8
mov byte [rbx], al
mov byte [rbx - 1], r9b
mov r14d, edi
mov r15d, r13d
mov byte [r12], r14b
mov eax, r15d
shr eax, 0x18
mov ecx, r15d
shr ecx, 0x10
mov edx, r15d
shr edx, 8
mov r8d, r14d
shr r8d, 0x18
mov r9d, r14d
shr r9d, 0x10
mov r10d, r14d
shr r10d, 8
mov byte [r12 + 1], r10b
mov byte [r12 + 2], r9b
mov byte [r12 + 3], r8b
mov byte [r12 + 4], r15b
mov byte [r12 + 5], dl
mov byte [r12 + 6], cl
mov byte [r12 + 7], al
mov rbx, qword [rsp + 0x70]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret