Function at 0x1401fa5a4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
and dword [rsp + 0x80], 0
xor eax, eax
cmp dword [rcx], eax
mov r14d, 0xd
movsxd rbx, dword [rsp + 0xb0]
mov rsi, rcx
sete al
mov dword [rsp + 0x2c], r9d
mov r9, qword [rsp + 0xa8]
mov dword [rsp + 0x28], eax
lea eax, [rbx - 1]
movsxd rbp, r8d
movsxd r15, eax
mov r8d, r14d
mov rdx, r15
test eax, eax
js 0x1401fa619
movzx ecx, byte [rdx + r9]
lea eax, [r8*8]
xor ecx, eax
xor r8d, ecx
sub rdx, 1
jns 0x1401fa601
movzx ecx, byte [rsp + 0xa0]
lea eax, [r8*8]
xor eax, ecx
mov dword [rsp + 0x20], ecx
xor eax, r8d
xor edx, edx
div dword [rsi + 0x14]
mov rax, qword [rsi + 0x20]
mov r13d, edx
mov rdi, qword [rax + rdx*8]
test rdi, rdi
je 0x1401fa6eb
cmp byte [rdi + 0x30], cl
jne 0x1401fa672
lea eax, [rbx + 1]
cmp dword [rdi + 0x1c], eax
jne 0x1401fa672
mov r8, rbx
lea rcx, [rdi + 0x31]
mov rdx, r9
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1401fa684
mov cl, byte [rsp + 0xa0]
mov rdi, qword [rdi]
test rdi, rdi
je 0x1401fa6eb
mov r9, qword [rsp + 0xa8]
jmp 0x1401fa64b
test rdi, rdi
je 0x1401fa6eb
mov ecx, dword [rdi + 0x10]
mov eax, ecx
sub eax, dword [rdi + 0x18]
cmp eax, 0x16
jge 0x1401fa6d7
lea ebx, [rcx + rcx]
mov rcx, rdi
movsxd rdx, ebx
call fcn.1401825bc
mov rdx, rax
test rax, rax
je 0x1401fa818
mov dword [rax + 0x10], ebx
mov rcx, qword [rsi + 0x20]
lea r8, [rcx + r13*8]
mov rcx, qword [r8]
cmp rcx, rdi
je 0x1401fa6d1
mov rax, qword [rcx]
mov r8, rcx
mov rcx, rax
cmp rax, rdi
jne 0x1401fa6c3
mov qword [r8], rdx
mov rdi, rdx
mov r14d, dword [rdi + 0x18]
mov r15, qword [rsp + 0x88]
neg r14d
jmp 0x1401fa8c8
mov ecx, dword [rsi + 0x14]
lea eax, [rbx + 1]
movsxd r12, eax
mov dword [rsp + 0x24], eax
add r12, 0x71
mov eax, 0x80
cmp r12, rax
cmovl r12, rax
mov eax, dword [rsi + 0x10]
add eax, eax
cmp eax, ecx
jl 0x1401fa808
mov rax, qword [rsi + 0x20]
lea r13d, [rcx + rcx]
movsxd rbx, r13d
shl rbx, 3
mov rcx, rbx
mov qword [rsp + 0x30], rax
call fcn.140182558
mov rdi, rax
test rax, rax
je 0x1401fa818
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
xor ebx, ebx
cmp dword [rsi + 0x14], ebx
jle 0x1401fa7b3
mov r10, qword [rsp + 0x30]
jmp 0x1401fa7a0
mov rax, qword [r8]
mov r11d, r14d
mov qword [r10], rax
mov eax, dword [r8 + 0x1c]
sub eax, 1
movsxd r9, eax
js 0x1401fa78d
lea rax, [r9 + 0x30]
add rax, r8
movzx ecx, byte [rax]
lea edx, [r11*8]
xor edx, ecx
dec rax
xor r11d, edx
sub r9, 1
jns 0x1401fa774
xor edx, edx
mov eax, r11d
div r13d
mov rax, qword [rdi + rdx*8]
mov qword [r8], rax
mov qword [rdi + rdx*8], r8
mov r8, qword [r10]
test r8, r8
jne 0x1401fa758
inc ebx
add r10, 8
cmp ebx, dword [rsi + 0x14]
jl 0x1401fa7a0
mov rcx, qword [rsp + 0x30]
call fcn.1401825f0
mov dword [rsi + 0x14], r13d
mov qword [rsi + 0x20], rdi
test r15, r15
js 0x1401fa7ea
mov rdx, qword [rsp + 0xa8]
movzx ecx, byte [r15 + rdx]
lea eax, [r14*8]
xor ecx, eax
xor r14d, ecx
sub r15, 1
jns 0x1401fa7d2
mov ebx, dword [rsp + 0xb0]
lea eax, [r14*8]
xor eax, dword [rsp + 0x20]
xor edx, edx
xor eax, r14d
div r13d
mov r13d, edx
mov rcx, r12
call fcn.140182558
mov rdi, rax
test rax, rax
jne 0x1401fa822
mov eax, 7
jmp 0x1401fa9a5
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 0x30]
call sub.VCRUNTIME140.dll_memset
mov al, byte [rsp + 0xa0]
lea rcx, [rdi + 0x31]
mov rdx, qword [rsp + 0xa8]
movsxd rbx, ebx
mov r8, rbx
mov byte [rdi + 0x30], al
mov dword [rdi + 0x10], r12d
call fcn.140240685
mov eax, dword [rsp + 0x24]
mov r15, qword [rsp + 0x88]
mov dword [rdi + 0x1c], eax
mov eax, dword [rsp + 0xb0]
mov byte [rbx + rdi + 0x31], 0
add eax, 0x31
mov dword [rdi + 0x18], eax
mov rax, qword [rsi + 0x20]
mov edx, r13d
mov rcx, qword [rax + rdx*8]
mov qword [rdi], rcx
mov rax, qword [rsi + 0x20]
mov qword [rax + rdx*8], rdi
mov rdx, r15
inc dword [rsi + 0x10]
movsxd rcx, dword [rdi + 0x18]
add rcx, rdi
call fcn.1401fc3ec
add dword [rdi + 0x18], eax
mov eax, dword [rdi + 0x18]
mov r14d, dword [rsp + 0x80]
mov dword [rdi + 0x14], eax
mov qword [rdi + 0x28], r15
cmp dword [rsi], 1
je 0x1401fa8c8
inc eax
mov dword [rdi + 0x18], eax
mov eax, dword [rsi]
neg eax
sbb cx, cx
mov word [rdi + 0x22], cx
mov rbx, qword [rdi + 0x28]
cmp r15, rbx
je 0x1401fa91f
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call fcn.1401b58b4
movsxd rcx, dword [rdi + 0x18]
mov rdx, r15
sub rdx, rbx
add rcx, rdi
call fcn.1401fc3ec
add dword [rdi + 0x18], eax
mov r11d, 1
mov eax, dword [rdi + 0x18]
mov dword [rdi + 0x14], eax
mov qword [rdi + 0x28], r15
cmp dword [rsi], r11d
je 0x1401fa924
inc eax
mov dword [rdi + 0x18], eax
mov eax, dword [rsi]
neg eax
sbb cx, cx
and dword [rdi + 0x24], 0
mov word [rdi + 0x22], cx
jmp 0x1401fa924
mov r11d, dword [rsp + 0x28]
test ebp, ebp
js 0x1401fa993
cmp dword [rsi], 1
jne 0x1401fa933
mov byte [rdi + 0x21], 1
jmp 0x1401fa997
movsx eax, word [rdi + 0x22]
cmp ebp, eax
je 0x1401fa965
cmp dword [rsi], 0
jne 0x1401fa98d
movsxd rax, dword [rdi + 0x18]
mov rdx, rbp
mov byte [rax + rdi], 1
inc dword [rdi + 0x18]
movsxd rcx, dword [rdi + 0x18]
add rcx, rdi
call fcn.1401fc3ec
add dword [rdi + 0x18], eax
and dword [rdi + 0x24], 0
mov word [rdi + 0x22], bp
mov ebp, dword [rsp + 0x2c]
test r11d, r11d
je 0x1401fa997
movsxd rcx, dword [rdi + 0x18]
mov eax, ebp
sub eax, dword [rdi + 0x24]
add rcx, rdi
add eax, 2
movsxd rdx, eax
call fcn.1401fc3ec
add dword [rdi + 0x18], eax
mov dword [rdi + 0x24], ebp
jmp 0x1401fa997
mov word [rdi + 0x22], bp
jmp 0x1401fa96e
mov byte [rdi + 0x20], 1
mov eax, dword [rdi + 0x18]
mov rcx, qword [rsi + 8]
add eax, r14d
add dword [rcx], eax
xor eax, eax
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret