Function at 0x14008b4a0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rbx, r8
mov rbp, rdx
mov rsi, rcx
mov r15, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x38]
add rcx, r15
setb dl
xor eax, eax
movabs r8, 0xfffffffe0
cmp rcx, r8
ja 0x14008b823
test dl, dl
jne 0x14008b823
mov rdi, r9
mov r13, qword [rsi + 0x160]
mov r12, qword [rsi + 0x168]
mov qword [rsi + 0x38], rcx
cmp dword [rsi + 0x184], 0
je 0x14008b521
lea rdx, [rsi + 0x60]
lea rcx, [rsi + 0x40]
mov rax, r13
call qword [case.0x140031f00.0]
mov dword [rsi + 0x184], 0
mov eax, dword [rsi + 0x180]
test eax, eax
je 0x14008b58a
test r15, r15
je 0x14008b818
nop word cs:[rax + rax]
movzx ecx, byte [rbx]
inc rbx
mov edx, eax
movzx r8d, byte [rsi + rdx + 0x10]
xor r8b, cl
mov byte [rdi], r8b
xor byte [rsi + rdx + 0x40], cl
inc rdi
lea r14, [r15 - 1]
inc eax
and eax, 0xf
je 0x14008b56f
cmp r15, 1
mov r15, r14
jne 0x14008b540
test eax, eax
jne 0x14008b818
lea rdx, [rsi + 0x60]
lea rcx, [rsi + 0x40]
mov rax, r13
call qword [case.0x140031f00.0]
jmp 0x14008b58d
mov r14, r15
test byte [rsi + 0x178], 1
je 0x14008b5c3
test r14, r14
je 0x14008b5c3
lea rax, [rsi + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
mov rcx, rbx
mov rdx, rdi
mov r8, r14
mov r9, rbp
call fcn.1400d28e0
add rbx, rax
add rdi, rax
sub r14, rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], rbp
mov r13d, dword [rsi + 0xc]
bswap r13d
cmp r14, 0xc00
jb 0x14008b669
lea rax, [rsi + 0x60]
mov qword [rsp + 0x40], rax
lea r15, [rsi + 0x40]
mov r12, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
nop dword [rax + rax]
mov r9d, 0xc00
mov rcx, r15
mov rdx, qword [rsp + 0x40]
mov r8, rbx
mov rax, rbp
call qword [case.0x140031f00.0]
mov qword [rsp + 0x20], rsi
mov r8d, 0xc0
mov rcx, rbx
mov rdx, rdi
mov r9, r12
mov rax, qword [rsp + 0xb8]
call qword [case.0x140031f00.0]
add r13d, 0xc0
mov eax, r13d
bswap eax
mov dword [rsi + 0xc], eax
add rdi, 0xc00
add rbx, 0xc00
add r14, 0xfffffffffffff400
cmp r14, 0xbff
ja 0x14008b600
mov r15, r14
and r15, 0xff0
je 0x14008b6cb
mov rbp, r14
shr rbp, 4
lea rdx, [rsi + 0x60]
lea rcx, [rsi + 0x40]
mov r8, rbx
mov r9, r15
mov rax, qword [rsp + 0x38]
call qword [case.0x140031f00.0]
mov qword [rsp + 0x20], rsi
mov rcx, rbx
mov rdx, rdi
mov r8, rbp
mov r9, qword [rsp + 0x30]
mov rax, qword [rsp + 0xb8]
call qword [case.0x140031f00.0]
add r13d, ebp
mov eax, r13d
bswap eax
mov dword [rsi + 0xc], eax
add rdi, r15
add rbx, r15
and r14d, 0xf
test r14, r14
je 0x14008b816
mov rax, qword [rsi + 0x170]
lea r15, [rsi + 0x10]
mov rcx, rsi
mov rdx, r15
mov r8, qword [rsp + 0x30]
call qword [case.0x140031f00.0]
inc r13d
bswap r13d
mov dword [rsi + 0xc], r13d
movabs rcx, 0xfffffffeffffffff
lea rdx, [r14 + rcx]
add rcx, 0x10
xor eax, eax
cmp rdx, rcx
jb 0x14008b7ab
lea rdx, [r14 + rsi]
add rdx, 0x40
lea r9, [rdi + r14]
lea r10, [rbx + r14]
cmp r15, r9
setb r11b
cmp rdi, rdx
setb bpl
cmp r15, r10
setb cl
cmp rbx, rdx
setb r8b
cmp rdi, r10
setb dl
cmp rbx, r9
setb r9b
test r11b, bpl
jne 0x14008b7ab
and cl, r8b
jne 0x14008b7ab
and dl, r9b
jne 0x14008b7ab
mov rax, r14
and rax, 0xfffffffffffffff0
mov ecx, r14d
and ecx, 0xf
xor edx, edx
nop dword [rax]
movups xmm0, xmmword [rbx + rdx]
movups xmm1, xmmword [rsi + rdx + 0x10]
movups xmm2, xmmword [rsi + rdx + 0x40]
xorps xmm2, xmm0
movups xmmword [rsi + rdx + 0x40], xmm2
xorps xmm1, xmm0
movups xmmword [rdi + rdx], xmm1
add rdx, 0x10
cmp rax, rdx
jne 0x14008b770
cmp r14, rax
je 0x14008b818
test cl, 1
jne 0x14008b7b3
mov rdx, rcx
cmp rcx, 1
jne 0x14008b7e0
jmp 0x14008b818
mov rcx, r14
test cl, 1
je 0x14008b7a0
lea rdx, [rcx - 1]
mov r8d, eax
movzx r9d, byte [rbx + r8]
xor byte [rsi + r8 + 0x40], r9b
xor r9b, byte [rsi + r8 + 0x10]
mov byte [rdi + r8], r9b
inc eax
cmp rcx, 1
je 0x14008b818
nop word cs:[rax + rax]
mov ecx, eax
movzx r8d, byte [rbx + rcx]
xor byte [rsi + rcx + 0x40], r8b
xor r8b, byte [rsi + rcx + 0x10]
mov byte [rdi + rcx], r8b
lea ecx, [rax + 1]
movzx r8d, byte [rbx + rcx]
xor byte [rsi + rcx + 0x40], r8b
xor r8b, byte [rsi + rcx + 0x10]
add eax, 2
mov byte [rdi + rcx], r8b
add rdx, 0xfffffffffffffffe
jne 0x14008b7e0
jmp 0x14008b818
xor eax, eax
mov dword [rsi + 0x180], eax
mov eax, 1
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret