Function at 0x1401b13d0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x57]
sub rsp, 0xd8
movaps xmmword [rax - 0x58], xmm6
mov r13, rcx
movaps xmmword [rax - 0x68], xmm7
mov rsi, r9
mov rax, qword [rcx]
mov ebx, r8d
mov ecx, dword [rax + 4]
call fcn.1401a416c
mov ecx, dword [r13 + 0x38]
xor r14d, r14d
mov r12d, eax
mov dword [rbp - 0x29], r14d
lea eax, [rcx + r8]
cmp eax, r8d
jb 0x1401b1853
cmp qword [r9], r14
jne 0x1401b144b
lea eax, [rcx - 1]
xor edx, edx
mov rcx, qword [rbp + 0x7f]
add eax, r12d
add eax, ebx
div r12d
imul eax, r12d
mov dword [rcx], eax
jmp 0x1401b1493
cmp eax, r12d
ja 0x1401b149b
mov edi, r14d
test ebx, ebx
je 0x1401b1488
mov r14, qword [rbp + 0x67]
mov edx, dword [r14 + 8]
mov rcx, qword [r14]
add edx, edi
call fcn.14019cbe0
lea rcx, [r13 + 0x10]
mov r8b, al
call fcn.1401b2130
mov ecx, dword [r13 + 0x38]
add ecx, edi
inc edi
mov byte [rax + rcx], r8b
cmp edi, ebx
jb 0x1401b145b
xor r14d, r14d
mov rax, qword [rbp + 0x7f]
add dword [r13 + 0x38], ebx
mov dword [rax], r14d
mov r15d, r14d
jmp 0x1401b1860
lea eax, [rcx - 1]
xor edx, edx
add eax, r12d
add eax, ebx
div r12d
dec eax
mov edi, eax
mov dword [rsp + 0x34], eax
mov rax, qword [rbp + 0x7f]
imul edi, r12d
cmp dword [rax], edi
jb 0x1401b1848
mov dword [rsp + 0x30], r14d
mov r15d, r14d
cmp ecx, r12d
jae 0x1401b150e
mov rsi, qword [rbp + 0x67]
cmp r15d, ebx
jae 0x1401b1505
mov edx, dword [rsi + 8]
mov rcx, qword [rsi]
add edx, r15d
call fcn.14019cbe0
lea rcx, [r13 + 0x10]
mov r8b, al
call fcn.1401b2130
mov ecx, dword [r13 + 0x38]
inc r15d
mov byte [rax + rcx], r8b
inc dword [r13 + 0x38]
cmp dword [r13 + 0x38], r12d
jb 0x1401b14d1
mov rsi, qword [rbp + 0x77]
mov dword [rsp + 0x30], r15d
sub ebx, edi
mov dword [rbp + 0x6f], r12d
sub ebx, r15d
mov dword [rbp - 0x59], r14d
add dword [r13 + 0x38], ebx
lea rcx, [r13 + 0x10]
call fcn.1401b2130
lea rcx, [rbp - 0x61]
mov qword [rbp - 0x61], rax
call fcn.14019c7b8
mov r10, qword [r13]
mov qword [rsp + 0x40], rax
mov dword [rbp - 0x79], r14d
mov ecx, dword [r10 + 4]
sub ecx, 1
je 0x1401b158d
cmp ecx, 1
je 0x1401b1558
mov r15d, 0xc004d203
jmp 0x1401b15cf
movaps xmm0, xmmword [rsi]
lea rax, [rbp + 0x6f]
movaps xmm1, xmmword [rsp + 0x40]
lea r8, [rbp - 0x71]
mov qword [rsp + 0x28], rax
mov r9d, r12d
lea rax, [rbp - 0x41]
movdqa xmmword [rbp - 0x41], xmm0
mov rcx, r10
mov qword [rsp + 0x20], rax
movdqa xmmword [rbp - 0x71], xmm1
call fcn.1401ac7d4
jmp 0x1401b15c5
movaps xmm0, xmmword [rsi]
lea rax, [rbp + 0x6f]
movaps xmm1, xmmword [rsp + 0x40]
lea r8, [rbp - 0x71]
mov qword [rsp + 0x28], rax
mov r9d, r12d
lea rax, [rbp - 0x41]
movdqa xmmword [rbp - 0x41], xmm0
mov edx, 0x40
mov qword [rsp + 0x20], rax
mov rcx, r10
movdqa xmmword [rbp - 0x71], xmm1
call fcn.1401a199c
mov dword [rbp + 0x6f], eax
mov r15d, eax
test eax, eax
jns 0x1401b15d7
mov ecx, r15d
jmp 0x1401b185b
test r12d, r12d
je 0x1401b1636
lea rcx, [r13 + 0x40]
mov r15, r14
mov r13, qword [rbp + 0x77]
mov qword [rbp - 0x61], rcx
mov edi, dword [r13 + 8]
mov rsi, qword [r13]
add edi, r14d
call fcn.1401b2110
mov edx, edi
mov rcx, rsi
mov bl, byte [rax + r15]
call fcn.14019cbe0
xor al, bl
mov edx, edi
mov r8b, al
mov rcx, rsi
call fcn.14019ccd0
mov rcx, qword [rbp - 0x61]
inc r14d
inc r15
cmp r14d, r12d
jb 0x1401b15eb
mov r15d, dword [rbp + 0x6f]
xor r14d, r14d
mov r13, qword [rbp + 0x5f]
mov rsi, qword [rbp + 0x77]
mov r8, qword [rbp + 0x67]
mov edi, dword [rsp + 0x30]
mov ecx, dword [r8 + 8]
mov rdx, qword [r8]
add ecx, edi
mov dword [rbp - 0x69], ecx
mov ecx, dword [rsi + 8]
mov qword [rbp - 0x71], rdx
add ecx, r12d
mov rdx, qword [rsi]
movaps xmm6, xmmword [rbp - 0x71]
mov dword [rbp - 0x79], ecx
lea rcx, [r13 + 0x10]
mov qword [rsp + 0x40], rdx
movaps xmm7, xmmword [rsp + 0x40]
movaps xmmword [rbp - 0x61], xmm7
movaps xmmword [rbp - 0x71], xmm6
call fcn.1401b2130
lea rcx, [rbp - 0x31]
mov qword [rbp - 0x31], rax
call fcn.14019c7b8
mov esi, dword [rsp + 0x34]
mov qword [rsp + 0x40], rax
add esi, 0xffffffff
mov dword [rbp - 0x79], r14d
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x34], esi
mov dword [rsp + 0x30], r14d
je 0x1401b17c5
mov ebx, dword [rbp - 0x59]
mov rcx, qword [r13]
mov dword [rbp + 0x6f], r12d
mov edx, dword [rcx + 4]
sub edx, 1
je 0x1401b16f6
cmp edx, 1
jne 0x1401b1550
lea rax, [rbp + 0x6f]
movdqa xmmword [rbp - 0x71], xmm7
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x21]
lea rax, [rbp - 0x71]
movdqa xmmword [rbp - 0x21], xmm6
mov r9d, r12d
mov qword [rsp + 0x20], rax
call fcn.1401ac7d4
jmp 0x1401b1723
lea rax, [rbp + 0x6f]
movdqa xmmword [rbp - 0x21], xmm7
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x71]
lea rax, [rbp - 0x21]
movdqa xmmword [rbp - 0x71], xmm6
mov r9d, r12d
mov qword [rsp + 0x20], rax
mov edx, 0x40
call fcn.1401a199c
mov dword [rbp + 0x6f], eax
mov r15d, eax
test eax, eax
js 0x1401b15cf
test r12d, r12d
je 0x1401b1780
mov r13d, dword [rbp - 0x79]
mov esi, ebx
sub r13d, ebx
mov r14, r12
mov rcx, qword [rsp + 0x40]
lea edx, [rsi + r13]
call fcn.14019cbe0
mov rcx, qword [rbp - 0x61]
mov edx, esi
mov bl, al
call fcn.14019cbe0
mov rcx, qword [rbp - 0x61]
xor al, bl
mov r8b, al
mov edx, esi
call fcn.14019ccd0
inc esi
sub r14, 1
jne 0x1401b1742
mov r13, qword [rbp + 0x5f]
mov esi, dword [rsp + 0x34]
mov ebx, dword [rbp - 0x59]
mov rax, qword [rbp + 0x67]
add edi, r12d
mov r8d, dword [rsp + 0x30]
add ebx, r12d
inc r8d
movdqa xmmword [rsp + 0x40], xmm6
mov dword [rbp - 0x59], ebx
mov ecx, dword [rax + 8]
mov rdx, qword [rax]
add ecx, edi
mov dword [rbp - 0x39], ecx
mov qword [rbp - 0x41], rdx
movaps xmm6, xmmword [rbp - 0x41]
movaps xmmword [rbp - 0x71], xmm6
mov dword [rsp + 0x30], r8d
cmp r8d, esi
jae 0x1401b17c5
movaps xmm7, xmmword [rbp - 0x61]
jmp 0x1401b16b3
mov rcx, qword [rbp + 0x7f]
lea eax, [rsi + 1]
imul eax, r12d
mov ebx, r14d
mov dword [rcx], eax
test r12d, r12d
je 0x1401b1810
lea rsi, [r13 + 0x40]
mov rdi, r14
mov r13d, dword [rbp - 0x79]
mov rcx, qword [rsp + 0x40]
lea edx, [rbx + r13]
call fcn.14019cbe0
mov rcx, rsi
mov r8b, al
call fcn.1401b2110
inc ebx
mov byte [rax + rdi], r8b
inc rdi
cmp ebx, r12d
jb 0x1401b17e5
mov r13, qword [rbp + 0x5f]
cmp dword [r13 + 0x38], r14d
jbe 0x1401b1860
mov ebx, dword [rbp - 0x69]
mov rcx, qword [rbp - 0x71]
lea edx, [rbx + r14]
call fcn.14019cbe0
lea rcx, [r13 + 0x10]
mov r8b, al
call fcn.1401b2130
mov ecx, r14d
inc r14d
mov byte [rax + rcx], r8b
cmp r14d, dword [r13 + 0x38]
jb 0x1401b1819
mov r15d, dword [rbp + 0x6f]
jmp 0x1401b1860
mov dword [rax], edi
cmp qword [r9], r14
je 0x1401b1493
mov ecx, 0xc004d107
mov r15d, ecx
call fcn.14003e600
mov ecx, r15d
call fcn.14006a86c
lea r11, [rsp + 0xd8]
mov eax, r15d
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret