Function at 0x14019a83c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb0
mov rax, qword [0x140448b38]
xor rax, rsp
mov qword [rbp + 0x17], rax
xor ebx, ebx
mov esi, r8d
mov qword [rbp - 0x39], rdx
mov r12, rdx
mov rdi, rcx
test r8d, r8d
je 0x14019aa9d
cmp byte [rcx + 0x98], bl
je 0x14019a897
mov ebx, 0xc004d209
mov ecx, ebx
call fcn.140082a8c
jmp 0x14019aa9d
add qword [rcx + 8], rsi
mov ecx, dword [rcx + 0x50]
test ecx, ecx
je 0x14019a92d
movaps xmm0, xmmword [r12]
lea rdx, [rdi + 0x10]
mov r14d, 0x40
movq qword [rbp - 0x49], xmm0
sub r14d, ecx
psrldq xmm0, 8
cmp esi, r14d
movd r13d, xmm0
cmovb r14d, esi
add rdx, rcx
mov dword [rbp - 0x41], r13d
test r14d, r14d
je 0x14019a91f
mov r15d, r14d
mov r12, rdx
movaps xmm1, xmmword [rbp - 0x49]
lea r8, [rbp - 0x59]
movdqa xmm0, xmm1
inc r13d
psrldq xmm0, 8
movq rcx, xmm1
movd edx, xmm0
mov dword [rbp - 0x41], r13d
call fcn.14018f20c
mov cl, byte [rax]
xor cl, byte [rbp - 0x59]
mov byte [r12], cl
inc r12
sub r15, 1
jne 0x14019a8e0
mov ecx, dword [rdi + 0x50]
mov r12, qword [rbp - 0x39]
add dword [r12 + 8], r14d
add ecx, r14d
mov dword [rdi + 0x50], ecx
sub esi, r14d
lea r15, [rdi + 0x54]
cmp ecx, 0x40
jne 0x14019a982
mov ecx, dword [rdi]
mov edx, dword [rdi + 0x94]
sub ecx, 1
je 0x14019a964
cmp ecx, 1
je 0x14019a952
mov ebx, 0xc004d104
jmp 0x14019a88b
mov dword [rsp + 0x20], edx
mov r9, r15
lea rdx, [rdi + 0x10]
call fcn.14019a258
jmp 0x14019a974
mov dword [rsp + 0x20], edx
mov r9, r15
lea rdx, [rdi + 0x10]
call fcn.14019a04c
mov ebx, eax
test eax, eax
js 0x14019a88b
and dword [rdi + 0x50], 0
mov r14d, esi
shr r14d, 6
test r14d, r14d
je 0x14019aa40
movaps xmm0, xmmword [r12]
lea r13, [rbp - 0x29]
movq qword [rbp - 0x49], xmm0
mov r12d, 0x40
psrldq xmm0, 8
movd ebx, xmm0
mov dword [rbp - 0x41], ebx
movaps xmm1, xmmword [rbp - 0x49]
lea r8, [rbp - 0x59]
movdqa xmm0, xmm1
inc ebx
psrldq xmm0, 8
movq rcx, xmm1
movd edx, xmm0
mov dword [rbp - 0x41], ebx
call fcn.14018f20c
mov cl, byte [rax]
xor cl, byte [rbp - 0x59]
mov byte [r13], cl
inc r13
sub r12, 1
jne 0x14019a9b2
mov ecx, dword [rdi]
mov r12, qword [rbp - 0x39]
mov edx, dword [rdi + 0x94]
sub ecx, 1
je 0x14019aa14
cmp ecx, 1
jne 0x14019a948
mov dword [rsp + 0x20], edx
mov r9, r15
lea rdx, [rbp - 0x29]
call fcn.14019a258
jmp 0x14019aa24
mov dword [rsp + 0x20], edx
mov r9, r15
lea rdx, [rbp - 0x29]
call fcn.14019a04c
mov ebx, eax
test eax, eax
js 0x14019a88b
add dword [r12 + 8], 0x40
add esi, 0xffffffc0
add r14d, 0xffffffff
jmp 0x14019a98c
test esi, esi
je 0x14019aa9d
movaps xmm0, xmmword [r12]
lea r15, [rdi + 0x10]
movq qword [rbp - 0x49], xmm0
psrldq xmm0, 8
movd r14d, xmm0
mov r12d, esi
mov dword [rbp - 0x41], r14d
movaps xmm1, xmmword [rbp - 0x49]
lea r8, [rbp - 0x59]
movdqa xmm0, xmm1
inc r14d
psrldq xmm0, 8
movq rcx, xmm1
movd edx, xmm0
mov dword [rbp - 0x41], r14d
call fcn.14018f20c
mov cl, byte [rbp - 0x59]
xor cl, byte [rax]
mov byte [r15], cl
inc r15
sub r12, 1
jne 0x14019aa63
mov dword [rdi + 0x50], esi
mov ecx, ebx
call fcn.140082b34
mov eax, ebx
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140389660
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret