Function at 0x18023e120
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x10
xor ebx, ebx
mov rdi, r9
shr rdi, 3
mov r10, rcx
mov esi, ebx
test rdi, rdi
je 0x18023e245
cmp rdi, 8
jb 0x18023e209
add rcx, 0xfffffffffffffff8
lea rax, [r8 - 8]
lea rax, [rax + rdi*8]
lea rcx, [rcx + rdi*8]
cmp r10, rax
ja 0x18023e171
cmp rcx, r8
jae 0x18023e209
lea rax, [rdx - 8]
lea rax, [rax + rdi*8]
cmp r10, rax
ja 0x18023e187
cmp rcx, rdx
jae 0x18023e209
mov r14, rdi
and r14, 0xfffffffffffffff8
mov rcx, rdx
lea rax, [r8 + 0x10]
sub rcx, r8
mov r11, r10
sub r11, r8
nop
movdqu xmm0, xmmword [rax - 0x10]
add rsi, 8
movdqu xmm1, xmmword [rcx + rax - 0x10]
movdqu xmm2, xmmword [rcx + rax]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [r11 + rax - 0x50], xmm1
pxor xmm2, xmm0
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmm1, xmmword [rcx + rax - 0x30]
movdqu xmmword [r11 + rax - 0x40], xmm2
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm2, xmmword [rcx + rax - 0x20]
movdqu xmmword [r11 + rax - 0x30], xmm1
pxor xmm2, xmm0
movdqu xmmword [r11 + rax - 0x20], xmm2
cmp rsi, r14
jb 0x18023e1a0
cmp rsi, rdi
jae 0x18023e245
mov rbp, rdx
lea rcx, [r8 + rsi*8]
mov r14, r10
sub rbp, r8
sub r14, r8
mov r11, rdi
sub r11, rsi
mov rsi, rdi
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rcx + rbp]
xor rax, qword [rcx]
mov qword [rcx + r14], rax
lea rcx, [rcx + 8]
sub r11, 1
jne 0x18023e230
lea rsi, [rsi*8]
sub r9, rsi
je 0x18023e484
add r10, rsi
add rdx, rsi
add r8, rsi
mov rdi, r9
shr rdi, 2
mov rsi, rbx
test rdi, rdi
je 0x18023e379
cmp rdi, 0x10
jb 0x18023e339
lea rax, [rdi - 1]
lea rax, [r8 + rax*4]
lea rcx, [rdi - 1]
lea rcx, [r10 + rcx*4]
cmp r10, rax
ja 0x18023e29a
cmp rcx, r8
jae 0x18023e339
lea rax, [rdi - 1]
lea rax, [rdx + rax*4]
cmp r10, rax
ja 0x18023e2b0
cmp rcx, rdx
jae 0x18023e339
mov r14, rdi
and r14, 0xfffffffffffffff0
mov rcx, rdx
lea rax, [r8 + 0x10]
sub rcx, r8
mov r11, r10
sub r11, r8
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
add rsi, 0x10
movdqu xmm1, xmmword [rax + rcx - 0x10]
movdqu xmm2, xmmword [rax + rcx]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [rax + r11 - 0x50], xmm1
pxor xmm2, xmm0
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmm1, xmmword [rax + rcx - 0x30]
movdqu xmmword [rax + r11 - 0x40], xmm2
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm2, xmmword [rax + rcx - 0x20]
movdqu xmmword [rax + r11 - 0x30], xmm1
pxor xmm2, xmm0
movdqu xmmword [rax + r11 - 0x20], xmm2
cmp rsi, r14
jb 0x18023e2d0
cmp rsi, rdi
jae 0x18023e379
mov qword [rsp + 0x30], r15
lea rcx, [r8 + rsi*4]
mov r15, r10
mov r14, rdx
sub r15, r8
sub r14, r8
mov r11, rdi
sub r11, rsi
mov rsi, rdi
nop word [rax + rax]
mov eax, dword [r14 + rcx]
xor eax, dword [rcx]
mov dword [r15 + rcx], eax
lea rcx, [rcx + 4]
sub r11, 1
jne 0x18023e360
mov r15, qword [rsp + 0x30]
lea rsi, [rsi*4]
sub r9, rsi
je 0x18023e484
add r10, rsi
add rdx, rsi
add r8, rsi
test r9, r9
je 0x18023e484
cmp r9, 0x40
jb 0x18023e459
lea rcx, [r10 - 1]
lea rax, [r8 - 1]
add rcx, r9
add rax, r9
cmp r10, rax
ja 0x18023e3c2
cmp rcx, r8
jae 0x18023e459
lea rax, [rdx - 1]
add rax, r9
cmp r10, rax
ja 0x18023e3d7
cmp rcx, rdx
jae 0x18023e459
mov rdi, r9
and rdi, 0xffffffffffffffc0
mov rcx, rdx
lea rax, [r8 + 0x10]
sub rcx, r8
mov r11, r10
sub r11, r8
nop
movdqu xmm0, xmmword [rax - 0x10]
add rbx, 0x40
movdqu xmm1, xmmword [rcx + rax - 0x10]
movdqu xmm2, xmmword [rcx + rax]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [r11 + rax - 0x50], xmm1
pxor xmm2, xmm0
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmm1, xmmword [rcx + rax - 0x30]
movdqu xmmword [r11 + rax - 0x40], xmm2
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm2, xmmword [rcx + rax - 0x20]
movdqu xmmword [r11 + rax - 0x30], xmm1
pxor xmm2, xmm0
movdqu xmmword [r11 + rax - 0x20], xmm2
cmp rbx, rdi
jb 0x18023e3f0
cmp rbx, r9
jae 0x18023e484
sub rdx, r8
lea rax, [rbx + r8]
sub r10, r8
sub r9, rbx
nop word [rax + rax]
movzx ecx, byte [rax + rdx]
xor cl, byte [rax]
mov byte [rax + r10], cl
lea rax, [rax + 1]
sub r9, 1
jne 0x18023e470
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x10
pop r14
pop rdi
pop rsi
ret