Function at 0x18019db70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov rax, qword [0x180acd980]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r9, r8
mov rbx, rdx
mov qword [rbp - 0x29], rcx
mov qword [rbp - 9], rcx
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
mov qword [rbp + 0xf], rdi
mov qword [rbp + 0x17], rdi
mov r8d, 0x10
cmp qword [r9 + 0x10], r8
cmovb r8, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 0xf
jbe 0x18019dbd2
mov r9, qword [r9]
mov rdx, r9
lea rcx, [rbp - 1]
call fcn.18000e500
nop
lea rax, [rbp - 1]
mov r14, qword [rbp - 1]
mov r13, qword [rbp + 0x17]
cmp r13, 0xf
cmova rax, r14
lea rdx, [rbp - 1]
cmova rdx, r14
mov r8, qword [rbp + 0xf]
add r8, rdx
mov rdx, rdi
mov rcx, r8
sub rcx, rax
cmp rax, r8
cmova rcx, rdi
test rcx, rcx
je 0x18019dc7b
cmp rcx, 0x40
jb 0x18019dc7b
and rcx, 0xffffffffffffffc0
movdqa xmm1, xmmword [0x1804268f0]
nop dword [rax]
movdqu xmm0, xmmword [rax]
paddb xmm0, xmm1
movdqu xmmword [rax], xmm0
movdqu xmm0, xmmword [rax + 0x10]
paddb xmm0, xmm1
movdqu xmmword [rax + 0x10], xmm0
movdqu xmm0, xmmword [rax + 0x20]
paddb xmm0, xmm1
movdqu xmmword [rax + 0x20], xmm0
movdqu xmm0, xmmword [rax + 0x30]
paddb xmm0, xmm1
movdqu xmmword [rax + 0x30], xmm0
add rax, 0x40
add rdx, 0x40
cmp rdx, rcx
jne 0x18019dc30
mov r13, qword [rbp + 0x17]
mov r14, qword [rbp - 1]
cmp rax, r8
je 0x18019dc93
add byte [rax], 2
inc rax
cmp rax, r8
jne 0x18019dc80
mov r13, qword [rbp + 0x17]
mov r14, qword [rbp - 1]
mov rdx, rbx
lea rcx, [rbp - 0x21]
call fcn.18019ee80
nop
mov rsi, qword [rbp - 0x19]
mov r12, qword [rbp - 0x21]
sub rsi, r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x49], xmm0
mov r15, rdi
mov qword [rbp - 0x39], rdi
je 0x18019dd2e
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
ja 0x18019de5b
cmp rsi, 0x1000
jb 0x18019dd01
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x18019de61
call fcn.1803427a0
test rax, rax
je 0x18019de67
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x18019dd0c
mov rcx, rsi
call fcn.1803427a0
mov rbx, rax
mov qword [rbp - 0x49], rbx
lea r15, [rbx + rsi]
mov qword [rbp - 0x39], r15
mov r8, rsi
xor edx, edx
mov rcx, rbx
call fcn.180381cd0
mov r8, r15
mov qword [rbp - 0x41], r15
jmp 0x18019dd36
mov r8, qword [rbp - 0x41]
mov rbx, qword [rbp - 0x49]
test rsi, rsi
je 0x18019dd78
mov r9, r12
sub r9, rbx
nop dword [rax]
nop word [rax + rax]
lea rdx, [rbp - 1]
cmp r13, 0xf
cmova rdx, r14
lea rcx, [rbx + rdi]
mov rax, rdi
and eax, 0xf
movzx eax, byte [rax + rdx]
xor al, byte [rcx + r9]
mov byte [rcx], al
inc rdi
cmp rdi, rsi
jb 0x18019dd50
mov rdx, rbx
mov rdi, qword [rbp - 0x29]
mov rcx, rdi
call fcn.18019dfa0
nop
test rbx, rbx
je 0x18019ddc1
sub r15, rbx
mov rax, rbx
cmp r15, 0x1000
jb 0x18019ddb5
add r15, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18019de67
mov rdx, r15
mov rcx, rbx
call fcn.180342c24
nop
test r12, r12
je 0x18019ddf8
mov rdx, qword [rbp - 0x11]
sub rdx, r12
mov rax, r12
cmp rdx, 0x1000
jb 0x18019ddef
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18019de6d
mov rcx, r12
call fcn.180342c24
nop
cmp r13, 0xf
jbe 0x18019de2b
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x18019de23
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18019de55
mov rcx, r14
call fcn.180342c24
mov rax, rdi
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.180342780
mov rbx, qword [rsp + 0xe8]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180350d84
nop
call fcn.180018ba0
nop
call fcn.18000e350
int3
call fcn.180350d84
nop
call fcn.180350d84
int3