Function at 0x140077de0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
movdqa xmmword [rsp + 0xa0], xmm7
movdqa xmmword [rsp + 0x90], xmm6
mov rax, qword [0x1403a1f58]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor edi, edi
cmp r8, 0x30
ja 0x1400780ad
mov r14, r8
mov r15, rdx
mov rsi, rcx
lea rdi, [rcx + 0x108]
mov eax, dword [rcx + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rcx + 0x114], eax
lea rdx, [rsp + 0x20]
mov rcx, rdi
mov r8, rsi
call qword [rsi + 0xf8]
mov eax, dword [rsi + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rsi + 0x114], eax
lea r12, [rsp + 0x30]
mov rcx, rdi
mov rdx, r12
mov r8, rsi
call qword [rsi + 0xf8]
mov eax, dword [rsi + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rsi + 0x114], eax
lea rbx, [rsp + 0x40]
mov rcx, rdi
mov rdx, rbx
mov r8, rsi
call qword [rsi + 0xf8]
test r14, r14
je 0x140077f51
cmp r14, 8
jae 0x140077eb8
xor eax, eax
jmp 0x140077f40
cmp r14, 0x10
jae 0x140077ee9
xor eax, eax
mov rcx, rax
mov eax, r14d
and eax, 0x38
nop dword [rax]
mov rdx, qword [r15 + rcx]
xor qword [rsp + rcx + 0x20], rdx
add rcx, 8
cmp rax, rcx
jne 0x140077ed0
cmp rax, r14
jne 0x140077f40
jmp 0x140077f51
mov eax, r14d
and eax, 0x30
movups xmm0, xmmword [r15]
xorps xmm0, xmmword [rsp + 0x20]
movaps xmmword [rsp + 0x20], xmm0
cmp rax, 0x10
je 0x140077f26
movups xmm0, xmmword [r15 + 0x10]
xorps xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x30], xmm0
cmp eax, 0x20
je 0x140077f26
movups xmm0, xmmword [r15 + 0x20]
xorps xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x40], xmm0
cmp rax, r14
je 0x140077f51
test r14b, 8
jne 0x140077ec0
nop word cs:[rax + rax]
movzx ecx, byte [r15 + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp r14, rax
jne 0x140077f40
mov dword [rsi + 0xf0], shutdown
movaps xmm0, xmmword [rsp + 0x20]
movaps xmmword [rsp + 0x70], xmm0
movups xmmword [rsi], xmm0
movaps xmm0, xmmword [r12]
movaps xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [r12]
movups xmmword [rsi + 0x10], xmm0
movdqa xmm7, xmmword [rsp + 0x70]
mov r13d, 0x30
lea rbp, [0x1402ac827]
movdqa xmm6, xmmword [rsp + 0x60]
lea r14, [rsp + 0x50]
lea r15, [rsp + 0x60]
lea r12, [rsp + 0x70]
nop word cs:[rax + rax]
mov rcx, r14
mov rdx, r15
call fcn.140082430
movzx eax, byte [rbp]
movd xmm0, eax
pxor xmm0, xmm7
movdqa xmm1, xmmword [rsp + 0x50]
movdqa xmm2, xmm1
psrld xmm2, 8
pslld xmm1, 0x18
por xmm1, xmm2
psrldq xmm1, 0xc
pxor xmm1, xmm0
movdqa xmm0, xmm1
pslldq xmm0, 4
movdqa xmm2, xmm1
pslldq xmm2, 8
pxor xmm2, xmm0
movdqa xmm7, xmm1
pslldq xmm7, 0xc
pxor xmm7, xmm2
pxor xmm7, xmm1
movdqa xmmword [rsp + 0x70], xmm7
movaps xmm0, xmmword [rsp + 0x70]
movups xmmword [rsi + r13 - 0x10], xmm0
cmp r13, 0xf0
je 0x140078086
mov rcx, r14
mov rdx, r12
call fcn.140082430
movdqa xmm0, xmmword [rsp + 0x50]
psrldq xmm0, 0xc
pxor xmm6, xmm0
movdqa xmm0, xmm6
pslldq xmm0, 4
movdqa xmm1, xmm6
pslldq xmm1, 8
pxor xmm1, xmm0
movdqa xmm0, xmm6
pslldq xmm0, 0xc
pxor xmm0, xmm1
pxor xmm6, xmm0
movdqa xmmword [rsp + 0x60], xmm6
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [rsi + r13], xmm0
add r13, 0x20
inc rbp
jmp 0x140077fb0
lea rax, [fcn.140050f70]
mov qword [rsi + 0xf8], rax
lea rax, [0x140052f60]
mov qword [rsi + 0x100], rax
movups xmm0, xmmword [rbx]
movups xmmword [rdi], xmm0
mov edi, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14025cd50
mov eax, edi
movaps xmm6, xmmword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0xa0]
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret