Function at 0x1401b1094
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, 0xc8
movaps xmmword [rax - 0x58], xmm6
mov r15, rcx
mov rax, qword [rcx]
mov r13, r9
mov ebx, r8d
mov ecx, dword [rax + 4]
call fcn.1401a416c
mov r9d, dword [r15 + 0x38]
xor edi, edi
mov r14d, eax
mov esi, edi
mov dword [rbp - 0x19], edi
mov dword [rbp - 0x39], edi
lea eax, [r9 + r8]
mov dword [rsp + 0x30], edi
cmp eax, r8d
jb 0x1401b1397
xor edx, edx
div r14d
mov r12d, eax
mov dword [rbp - 0x7d], eax
imul r12d, r14d
mov r10d, eax
mov rax, qword [rbp + 0x7f]
mov dword [rbp - 0x79], r12d
cmp dword [rax], r12d
jb 0x1401b138e
cmp qword [r13], rdi
je 0x1401b138e
cmp r12d, r14d
jb 0x1401b138e
lea rcx, [r15 + 0x10]
call fcn.1401b2130
lea rcx, [rbp - 0x21]
mov qword [rbp - 0x21], rax
call fcn.14019c7b8
mov qword [rbp - 0x71], rax
lea rcx, [r15 + 0x40]
mov dword [rbp - 0x69], edi
movaps xmm6, xmmword [rbp - 0x71]
movaps xmmword [rbp - 0x71], xmm6
call fcn.1401b2110
lea rcx, [rbp - 0x41]
mov qword [rbp - 0x41], rax
call fcn.14019c7b8
mov qword [rbp - 0x61], rax
mov r8d, edi
mov dword [rbp - 0x59], edi
movaps xmm0, xmmword [rbp - 0x61]
movdqa xmmword [rbp - 0x61], xmm0
mov dword [rbp + 0x6f], edi
cmp r9d, r14d
jae 0x1401b11cd
mov r12, qword [rbp + 0x67]
cmp esi, ebx
jae 0x1401b11b8
mov edx, dword [r12 + 8]
mov rcx, qword [r12]
add edx, esi
call fcn.14019cbe0
lea rcx, [r15 + 0x10]
mov r8b, al
call fcn.1401b2130
mov ecx, dword [r15 + 0x38]
inc esi
mov byte [rax + rcx], r8b
inc dword [r15 + 0x38]
cmp dword [r15 + 0x38], r14d
jb 0x1401b1184
mov r12d, dword [rbp - 0x79]
mov r13, qword [rbp + 0x77]
mov r10d, dword [rbp - 0x7d]
mov dword [rbp + 0x6f], esi
mov esi, edi
mov r8d, dword [rbp + 0x6f]
sub ebx, r8d
mov dword [rbp - 0x75], edi
sub ebx, r12d
add dword [r15 + 0x38], ebx
movaps xmm0, xmmword [r13]
movaps xmmword [rbp - 0x51], xmm0
test r10d, r10d
je 0x1401b1319
mov r13d, dword [rbp - 0x49]
mov rcx, qword [r15]
mov dword [rsp + 0x30], r14d
mov edx, dword [rcx + 4]
sub edx, 1
je 0x1401b1234
cmp edx, 1
jne 0x1401b130d
lea rax, [rsp + 0x30]
movdqa xmmword [rbp - 0x71], xmm0
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x31]
lea rax, [rbp - 0x71]
movdqa xmmword [rbp - 0x31], xmm6
mov r9d, r14d
mov qword [rsp + 0x20], rax
call fcn.1401ac7d4
jmp 0x1401b1262
lea rax, [rsp + 0x30]
movdqa xmmword [rbp - 0x31], xmm0
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x71]
lea rax, [rbp - 0x31]
movdqa xmmword [rbp - 0x71], xmm6
mov r9d, r14d
mov qword [rsp + 0x20], rax
mov edx, 0x40
call fcn.1401a199c
mov dword [rsp + 0x30], eax
mov esi, eax
test eax, eax
js 0x1401b1312
test r14d, r14d
je 0x1401b12bf
mov r12d, dword [rbp - 0x59]
mov r15d, r13d
sub r12d, r13d
mov rdi, r14
mov rcx, qword [rbp - 0x61]
lea edx, [r12 + r15]
call fcn.14019cbe0
mov rcx, qword [rbp - 0x51]
mov edx, r15d
mov bl, al
call fcn.14019cbe0
mov rcx, qword [rbp - 0x51]
xor al, bl
mov r8b, al
mov edx, r15d
call fcn.14019ccd0
inc r15d
sub rdi, 1
jne 0x1401b1282
mov r15, qword [rbp + 0x5f]
mov r12d, dword [rbp - 0x79]
mov r8d, dword [rbp + 0x6f]
add r13d, r14d
mov r11, qword [rbp + 0x67]
movdqa xmmword [rbp - 0x61], xmm6
mov dword [rbp - 0x49], r13d
mov ecx, dword [r11 + 8]
mov rdx, qword [r11]
add ecx, r8d
add r8d, r14d
mov qword [rbp - 0x11], rdx
mov dword [rbp + 0x6f], r8d
mov r8d, dword [rbp - 0x75]
inc r8d
mov dword [rbp - 9], ecx
movaps xmm6, xmmword [rbp - 0x11]
movaps xmmword [rbp - 0x71], xmm6
mov dword [rbp - 0x75], r8d
cmp r8d, dword [rbp - 0x7d]
jae 0x1401b1319
movaps xmm0, xmmword [rbp - 0x51]
jmp 0x1401b11f0
mov esi, 0xc004d203
mov ecx, esi
jmp 0x1401b139e
mov rax, qword [rbp + 0x7f]
mov ebx, edi
mov dword [rax], r12d
test r14d, r14d
je 0x1401b1359
mov r13d, dword [rbp - 0x59]
mov r12, rdi
mov rcx, qword [rbp - 0x61]
lea edx, [rbx + r13]
call fcn.14019cbe0
lea rcx, [r15 + 0x40]
mov r8b, al
call fcn.1401b2110
inc ebx
mov byte [rax + r12], r8b
inc r12
cmp ebx, r14d
jb 0x1401b132e
mov esi, dword [rsp + 0x30]
cmp dword [r15 + 0x38], edi
jbe 0x1401b13a3
mov ebx, dword [rbp - 0x69]
mov rcx, qword [rbp - 0x71]
lea edx, [rbx + rdi]
call fcn.14019cbe0
lea rcx, [r15 + 0x10]
mov r8b, al
call fcn.1401b2130
mov ecx, edi
inc edi
mov byte [rax + rcx], r8b
cmp edi, dword [r15 + 0x38]
jb 0x1401b1362
mov esi, dword [rsp + 0x30]
jmp 0x1401b13a3
mov dword [rax], r12d
cmp qword [r13], rdi
je 0x1401b13a3
mov ecx, 0xc004d107
mov esi, ecx
call fcn.14003e600
mov ecx, esi
call fcn.14006a86c
movaps xmm6, xmmword [rsp + 0xb0]
mov eax, esi
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret