Function at 0x14007cef0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rbx, r8
mov r14, rdx
mov rsi, rcx
mov r15, qword [rsp + 0xa0]
mov rcx, qword [rcx + 0x38]
add rcx, r15
setb dl
xor eax, eax
movabs r8, 0xfffffffe0
cmp rcx, r8
ja 0x14007d26f
test dl, dl
jne 0x14007d26f
mov rdi, r9
mov qword [rsi + 0x38], rcx
cmp dword [rsi + 0x184], 0
je 0x14007cf5f
lea rdx, [rsi + 0x60]
lea rcx, [rsi + 0x40]
call fcn.14007bbf0
mov dword [rsi + 0x184], 0
mov eax, dword [rsi + 0x180]
test eax, eax
je 0x14007cfc6
test r15, r15
je 0x14007d264
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 r13, [r15 - 1]
inc eax
and eax, 0xf
je 0x14007cfaf
cmp r15, 1
mov r15, r13
jne 0x14007cf80
test eax, eax
jne 0x14007d264
lea rdx, [rsi + 0x60]
lea rcx, [rsi + 0x40]
call fcn.14007bbf0
jmp 0x14007cfc9
mov r13, r15
mov qword [rsp + 0x30], r14
mov ebp, dword [rsi + 0xc]
bswap ebp
cmp r13, 0xc00
jb 0x14007d04a
lea r15, [rsi + 0x60]
lea r12, [rsi + 0x40]
mov r14, qword [rsp + 0x30]
nop dword [rax]
mov r9d, 0xc00
mov rcx, r12
mov rdx, r15
mov r8, rbx
call fcn.14007bd20
mov qword [rsp + 0x20], rsi
mov r8d, 0xc0
mov rcx, rbx
mov rdx, rdi
mov r9, r14
call qword [rsp + 0xa8]
add ebp, 0xc0
mov eax, ebp
bswap eax
mov dword [rsi + 0xc], eax
add rdi, 0xc00
add rbx, 0xc00
add r13, 0xfffffffffffff400
cmp r13, 0xbff
ja 0x14007cff0
mov r15, r13
and r15, 0xff0
je 0x14007d150
mov r12, r13
shr r12, 4
lea rdx, [rsi + 0x60]
lea rcx, [rsi + 0x40]
mov r8, rbx
mov r9, r15
call fcn.14007bd20
mov qword [rsp + 0x20], rsi
mov rcx, rbx
mov rdx, rdi
mov r8, r12
mov r14, qword [rsp + 0x30]
mov r9, r14
call qword [rsp + 0xa8]
add ebp, r12d
mov eax, ebp
bswap eax
mov dword [rsi + 0xc], eax
add rdi, r15
add rbx, r15
and r13d, 0xf
test r13, r13
je 0x14007d15e
lea r15, [rsi + 0x10]
mov rcx, rsi
mov rdx, r15
mov r8, r14
call qword [rsi + 0x170]
inc ebp
bswap ebp
mov dword [rsi + 0xc], ebp
movabs rcx, 0xfffffffeffffffff
lea rdx, [rcx + r13]
add rcx, 0x10
xor eax, eax
cmp rdx, rcx
jb 0x14007d1fc
lea rdx, [rsi + r13]
add rdx, 0x40
lea r9, [rdi + r13]
lea r10, [rbx + r13]
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 0x14007d1fc
and cl, r8b
jne 0x14007d1fc
and dl, r9b
jne 0x14007d1fc
lea rax, [r13 - 0x10]
mov rdx, rax
shr rdx, 4
inc rdx
cmp rax, 0x10
jae 0x14007d165
xor ecx, ecx
jmp 0x14007d1ca
mov r14, qword [rsp + 0x30]
test r13, r13
jne 0x14007d0ae
xor eax, eax
jmp 0x14007d264
mov rax, rdx
and rax, 0xfffffffffffffffe
xor ecx, ecx
nop
mov r8d, ecx
and r8d, 0xffffffe0
movups xmm0, xmmword [rbx + r8]
movups xmm1, xmmword [rsi + r8 + 0x10]
movups xmm2, xmmword [rsi + r8 + 0x40]
xorps xmm2, xmm0
movups xmmword [rsi + r8 + 0x40], xmm2
xorps xmm1, xmm0
movups xmmword [rdi + r8], xmm1
movups xmm0, xmmword [rbx + r8 + 0x10]
movups xmm1, xmmword [rsi + r8 + 0x20]
movups xmm2, xmmword [rsi + r8 + 0x50]
xorps xmm2, xmm0
movups xmmword [rsi + r8 + 0x50], xmm2
xorps xmm1, xmm0
movups xmmword [rdi + r8 + 0x10], xmm1
add rcx, 0x20
add rax, 0xfffffffffffffffe
jne 0x14007d170
and ecx, 0xfffffff0
mov rax, r13
and rax, 0xfffffffffffffff0
test dl, 1
je 0x14007d1f3
movups xmm0, xmmword [rbx + rcx]
movups xmm1, xmmword [rsi + rcx + 0x10]
movups xmm2, xmmword [rsi + rcx + 0x40]
xorps xmm2, xmm0
movups xmmword [rsi + rcx + 0x40], xmm2
xorps xmm1, xmm0
movups xmmword [rdi + rcx], xmm1
cmp r13, rax
je 0x14007d264
and r13d, 0xf
test r13b, 1
jne 0x14007d20d
mov rcx, r13
cmp r13, 1
jne 0x14007d230
jmp 0x14007d264
lea rcx, [r13 - 1]
mov edx, eax
movzx r8d, byte [rbx + rdx]
xor byte [rsi + rdx + 0x40], r8b
xor r8b, byte [rsi + rdx + 0x10]
mov byte [rdi + rdx], r8b
inc eax
cmp r13, 1
je 0x14007d264
nop
mov edx, eax
movzx r8d, byte [rbx + rdx]
xor byte [rsi + rdx + 0x40], r8b
xor r8b, byte [rsi + rdx + 0x10]
mov byte [rdi + rdx], r8b
lea edx, [rax + 1]
movzx r8d, byte [rbx + rdx]
xor byte [rsi + rdx + 0x40], r8b
xor r8b, byte [rsi + rdx + 0x10]
add eax, 2
mov byte [rdi + rdx], r8b
add rcx, 0xfffffffffffffffe
jne 0x14007d230
mov dword [rsi + 0x180], eax
mov eax, 1
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret