Function at 0x140017860
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x868
lea rdi, [rsp + 0x60]
mov rbx, rcx
mov rbp, r8
mov rcx, rdi
mov r8d, 0x400
mov esi, r9d
call sym.memcpy
lea rcx, [rsp + 0x460]
mov qword [rsp + 0x58], rdi
mov rdx, rbx
mov qword [rsp + 0x48], rcx
nop dword [rax]
vmovdqu xmm2, xmmword [rdx]
add rax, 0x20
vinsertf128 ymm1, ymm2, xmmword [rdx + 0x10], 1
add rdx, 0x20
vmovdqu xmm3, xmmword [rax - 0x20]
vinsertf128 ymm0, ymm3, xmmword [rax - 0x10], 1
vxorps ymm0, ymm0, ymm1
vmovdqu xmmword [rax - 0x20], xmm0
vextractf128 xmmword [rax - 0x10], ymm0, 1
cmp rax, rcx
jne 0x1400178a8
mov rbx, qword [rsp + 0x48]
mov r8d, 0x400
mov rdx, rdi
mov rcx, rbx
vzeroupper
call sym.memcpy
test esi, esi
je 0x14001793f
lea rcx, [rsp + 0x860]
mov rdx, rbp
nop dword [rax]
vmovdqu xmm2, xmmword [rdx]
add rax, 0x20
vinsertf128 ymm1, ymm2, xmmword [rdx + 0x10], 1
add rdx, 0x20
vmovdqu xmm3, xmmword [rax - 0x20]
vinsertf128 ymm0, ymm3, xmmword [rax - 0x10], 1
vxorps ymm0, ymm0, ymm1
vmovdqu xmmword [rax - 0x20], xmm0
vextractf128 xmmword [rax - 0x10], ymm0, 1
cmp rcx, rax
jne 0x140017908
vzeroupper
mov r14, rdi
mov qword [rsp + 0x8c0], rbp
mov qword [rsp + 0x50], rdi
nop
mov rax, qword [r14 + 0x20]
mov rdx, qword [r14]
mov r10, qword [r14 + 0x60]
mov r15, qword [r14 + 0x78]
mov r8d, eax
mov ecx, edx
add rdx, rax
imul rcx, r8
lea rcx, [rdx + rcx*2]
mov rdx, qword [r14 + 0x40]
xor r10, rcx
rol r10, 0x20
mov r9d, r10d
mov r8d, edx
add rdx, r10
imul r8, r9
lea rdx, [rdx + r8*2]
mov r8d, ecx
xor rax, rdx
ror rax, 0x18
mov r9d, eax
add rcx, rax
imul r8, r9
lea r12, [rcx + r8*2]
mov ecx, edx
xor r10, r12
ror r10, 0x10
mov r8d, r10d
add rdx, r10
imul rcx, r8
lea rsi, [rdx + rcx*2]
mov rcx, qword [r14 + 0x28]
xor rax, rsi
mov qword [rsp + 0x40], rsi
rol rax, 1
mov qword [rsp + 0x38], rax
mov rax, qword [r14 + 8]
mov r8d, ecx
mov edx, eax
add rax, rcx
imul rdx, r8
lea r8, [rax + rdx*2]
mov rdx, qword [r14 + 0x68]
mov rax, qword [r14 + 0x48]
xor rdx, r8
rol rdx, 0x20
mov r9d, eax
mov r11d, edx
add rax, rdx
imul r9, r11
lea rax, [rax + r9*2]
mov r9d, r8d
xor rcx, rax
ror rcx, 0x18
mov r11d, ecx
add r8, rcx
imul r9, r11
lea rdi, [r8 + r9*2]
xor rdx, rdi
ror rdx, 0x10
mov rsi, rdx
mov edx, eax
mov r8d, esi
add rax, rsi
mov qword [rsp + 0x30], rsi
imul rdx, r8
mov r8, qword [r14 + 0x30]
lea rdx, [rax + rdx*2]
mov rax, qword [r14 + 0x10]
xor rcx, rdx
mov qword [rsp + 0x28], rdx
mov edx, r8d
rol rcx, 1
mov r9d, eax
imul rdx, r9
mov r9, qword [r14 + 0x70]
add rax, r8
lea rdx, [rax + rdx*2]
mov rax, qword [r14 + 0x50]
xor r9, rdx
rol r9, 0x20
mov r11d, r9d
mov ebx, eax
add rax, r9
imul r11, rbx
mov ebx, edx
lea rax, [rax + r11*2]
xor r8, rax
ror r8, 0x18
mov r11d, r8d
add rdx, r8
imul r11, rbx
lea rbx, [rdx + r11*2]
mov r11d, eax
xor r9, rbx
ror r9, 0x10
mov edx, r9d
add rax, r9
imul rdx, r11
lea rbp, [rax + rdx*2]
mov rax, qword [r14 + 0x38]
mov rdx, qword [r14 + 0x18]
xor r8, rbp
rol r8, 1
mov r11d, eax
mov esi, edx
add rdx, rax
imul r11, rsi
mov rsi, qword [r14 + 0x58]
lea r11, [rdx + r11*2]
xor r15, r11
mov rdx, r15
mov r15d, esi
rol rdx, 0x20
mov r13d, edx
add rsi, rdx
imul r13, r15
mov r15d, r11d
lea rsi, [rsi + r13*2]
xor rax, rsi
ror rax, 0x18
mov r13d, eax
add r11, rax
imul r13, r15
mov r15d, esi
lea r11, [r11 + r13*2]
xor rdx, r11
ror rdx, 0x10
mov r13d, edx
add rsi, rdx
imul r13, r15
mov r15d, ecx
lea rsi, [rsi + r13*2]
mov r13d, r12d
xor rax, rsi
rol rax, 1
imul r13, r15
add r12, rcx
lea r12, [r12 + r13*2]
mov r13d, ebp
xor rdx, r12
rol rdx, 0x20
mov r15d, edx
add rbp, rdx
imul r13, r15
lea rbp, [rbp + r13*2]
mov r13d, r12d
xor rcx, rbp
ror rcx, 0x18
mov r15d, ecx
add r12, rcx
imul r13, r15
lea r12, [r12 + r13*2]
mov r13d, ebp
xor rdx, r12
mov qword [r14], r12
ror rdx, 0x10
mov r12d, edx
add rbp, rdx
mov qword [r14 + 0x78], rdx
imul r12, r13
lea rdx, [rbp + r12*2]
xor rcx, rdx
mov qword [r14 + 0x50], rdx
mov edx, edi
add rdi, r8
rol rcx, 1
mov qword [r14 + 0x28], rcx
mov ecx, r8d
imul rdx, rcx
mov ecx, esi
lea rdx, [rdi + rdx*2]
xor r10, rdx
rol r10, 0x20
mov edi, r10d
add rsi, r10
imul rcx, rdi
lea rcx, [rsi + rcx*2]
mov esi, edx
xor r8, rcx
ror r8, 0x18
mov edi, r8d
add rdx, r8
imul rsi, rdi
lea rdx, [rdx + rsi*2]
mov esi, ecx
xor r10, rdx
mov qword [r14 + 8], rdx
ror r10, 0x10
mov edx, r10d
add rcx, r10
mov qword [r14 + 0x60], r10
imul rdx, rsi
mov rsi, qword [rsp + 0x30]
lea rdx, [rcx + rdx*2]
mov ecx, ebx
mov qword [r14 + 0x58], rdx
xor r8, rdx
mov edx, eax
rol r8, 1
imul rdx, rcx
add rbx, rax
mov qword [r14 + 0x30], r8
sub r14, 0xffffffffffffff80
lea r8, [rbx + rdx*2]
xor rsi, r8
mov ebx, r8d
mov rdx, rsi
mov rsi, qword [rsp + 0x40]
rol rdx, 0x20
mov r10d, edx
mov ecx, esi
imul r10, rcx
lea rcx, [rdx + rsi]
lea rcx, [rcx + r10*2]
xor rax, rcx
ror rax, 0x18
mov r10d, eax
add r8, rax
imul r10, rbx
lea r8, [r8 + r10*2]
mov r10d, ecx
xor rdx, r8
mov qword [r14 - 0x70], r8
ror rdx, 0x10
mov r8d, edx
add rcx, rdx
mov qword [r14 - 0x18], rdx
imul r8, r10
lea rdx, [rcx + r8*2]
mov qword [r14 - 0x40], rdx
mov rbx, qword [rsp + 0x38]
xor rax, rdx
mov edx, r11d
rol rax, 1
mov rdi, qword [rsp + 0x28]
mov qword [r14 - 0x48], rax
mov eax, ebx
add r11, rbx
imul rax, rdx
lea rcx, [r11 + rax*2]
mov eax, edi
xor r9, rcx
mov r10d, ecx
rol r9, 0x20
mov edx, r9d
imul rdx, rax
lea rax, [r9 + rdi]
lea rdx, [rax + rdx*2]
mov rax, rbx
xor rax, rdx
ror rax, 0x18
mov r8d, eax
add rcx, rax
imul r8, r10
lea rcx, [rcx + r8*2]
mov r8d, edx
xor r9, rcx
mov qword [r14 - 0x68], rcx
ror r9, 0x10
mov ecx, r9d
add rdx, r9
mov qword [r14 - 0x10], r9
imul rcx, r8
lea rdx, [rdx + rcx*2]
xor rax, rdx
mov qword [r14 - 0x38], rdx
rol rax, 1
mov qword [r14 - 0x60], rax
mov rax, qword [rsp + 0x48]
cmp r14, rax
jne 0x140017950
mov rdi, qword [rsp + 0x50]
lea rax, [rdi + 0x80]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x58], rdi
nop dword [rax + rax]
mov rdx, qword [rax + 0x100]
mov rcx, qword [rax]
mov r9d, edx
mov r8d, ecx
add rcx, rdx
imul r8, r9
mov r9, qword [rax + 0x300]
lea r8, [rcx + r8*2]
mov rcx, qword [rax + 0x200]
xor r9, r8
rol r9, 0x20
mov r11d, r9d
mov r10d, ecx
add rcx, r9
imul r10, r11
lea rcx, [rcx + r10*2]
mov r10d, r8d
xor rdx, rcx
ror rdx, 0x18
mov r11d, edx
add r8, rdx
imul r10, r11
lea r13, [r8 + r10*2]
mov r8d, ecx
xor r9, r13
ror r9, 0x10
mov r10d, r9d
add rcx, r9
imul r8, r10
lea rbx, [rcx + r8*2]
mov r8, qword [rax + 0x108]
xor rdx, rbx
rol rdx, 1
mov qword [rsp + 0x30], rdx
mov rdx, qword [rax + 8]
mov r10d, r8d
vmovq xmm5, qword [rsp + 0x30]
mov ecx, edx
add rdx, r8
imul rcx, r10
lea r10, [rdx + rcx*2]
mov rcx, qword [rax + 0x308]
mov rdx, qword [rax + 0x208]
xor rcx, r10
rol rcx, 0x20
mov r11d, edx
mov esi, ecx
add rdx, rcx
imul r11, rsi
lea rdx, [rdx + r11*2]
mov r11d, r10d
xor r8, rdx
ror r8, 0x18
mov esi, r8d
add r10, r8
imul r11, rsi
lea rbp, [r10 + r11*2]
xor rcx, rbp
ror rcx, 0x10
mov rdi, rcx
mov ecx, edx
mov r10d, edi
add rdx, rdi
mov qword [rsp + 0x40], rdi
imul rcx, r10
lea rsi, [rdx + rcx*2]
mov rcx, qword [rax + 0x180]
mov rdx, qword [rax + 0x80]
xor r8, rsi
mov qword [rsp + 0x38], rsi
rol r8, 1
mov r10d, ecx
mov r11d, edx
imul r10, r11
add rdx, rcx
lea r11, [rdx + r10*2]
mov rdx, qword [rax + 0x380]
mov r10, qword [rax + 0x280]
xor rdx, r11
rol rdx, 0x20
mov edi, r10d
mov esi, edx
add r10, rdx
imul rsi, rdi
mov edi, r11d
lea r10, [r10 + rsi*2]
xor rcx, r10
ror rcx, 0x18
mov esi, ecx
add r11, rcx
imul rsi, rdi
lea rsi, [r11 + rsi*2]
mov r11d, r10d
xor rdx, rsi
ror rdx, 0x10
mov r15, rdx
mov edx, edx
imul rdx, r11
add r10, r15
mov qword [rsp + 0x28], r15
vmovq xmm4, qword [rsp + 0x28]
lea r12, [r10 + rdx*2]
mov rdx, qword [rax + 0x188]
mov r10, qword [rax + 0x88]
xor rcx, r12
rol rcx, 1
mov r11d, edx
mov edi, r10d
add r10, rdx
imul r11, rdi
mov rdi, qword [rax + 0x288]
mov r15d, edi
lea r11, [r10 + r11*2]
mov r10, qword [rax + 0x388]
xor r10, r11
rol r10, 0x20
mov r14d, r10d
add rdi, r10
imul r14, r15
mov r15d, r11d
lea rdi, [rdi + r14*2]
xor rdx, rdi
ror rdx, 0x18
mov r14d, edx
add r11, rdx
imul r14, r15
mov r15d, edi
lea r11, [r11 + r14*2]
xor r10, r11
ror r10, 0x10
mov r14d, r10d
add rdi, r10
imul r14, r15
mov r15d, r13d
lea rdi, [rdi + r14*2]
mov r14d, r8d
xor rdx, rdi
rol rdx, 1
imul r14, r15
add r13, r8
mov r15d, r12d
lea r13, [r13 + r14*2]
xor r10, r13
rol r10, 0x20
mov r14d, r10d
add r12, r10
imul r14, r15
mov r15d, r13d
lea r12, [r12 + r14*2]
xor r8, r12
ror r8, 0x18
mov r14d, r8d
add r13, r8
imul r14, r15
lea r13, [r13 + r14*2]
xor r10, r13
mov qword [rax], r13
mov r13d, r12d
ror r10, 0x10
mov r14d, r10d
vpinsrq xmm0, xmm4, r10, 1
add r10, r12
vmovdqu xmmword [rax + 0x380], xmm0
imul r13, r14
lea r10, [r10 + r13*2]
mov qword [rax + 0x280], r10
xor r10, r8
mov r8d, ecx
rol r10, 1
vpinsrq xmm0, xmm5, r10, 1
mov r10d, ebp
add rbp, rcx
vmovdqu xmmword [rax + 0x100], xmm0
imul r8, r10
lea r8, [rbp + r8*2]
mov ebp, edi
xor r9, r8
rol r9, 0x20
mov r10d, r9d
add rdi, r9
imul r10, rbp
mov ebp, r8d
lea r10, [rdi + r10*2]
xor rcx, r10
ror rcx, 0x18
mov edi, ecx
add r8, rcx
imul rdi, rbp
mov ebp, ebx
lea r8, [r8 + rdi*2]
mov edi, r10d
mov qword [rax + 8], r8
xor r8, r9
ror r8, 0x10
mov r9d, r8d
add r10, r8
vmovq xmm4, r8
imul r9, rdi
mov edi, esi
add rsi, rdx
lea r10, [r10 + r9*2]
mov r9d, edx
imul r9, rdi
mov rdi, qword [rsp + 0x40]
mov qword [rax + 0x288], r10
lea rsi, [rsi + r9*2]
xor rdi, rsi
xor r10, rcx
add rax, 0x10
mov r9, rdi
rol r10, 1
rol r9, 0x20
vmovq xmm5, r10
mov edi, r9d
add rbx, r9
imul rdi, rbp
mov ebp, esi
lea rbx, [rbx + rdi*2]
xor rdx, rbx
ror rdx, 0x18
mov edi, edx
add rsi, rdx
imul rdi, rbp
lea rsi, [rsi + rdi*2]
xor r9, rsi
mov qword [rax + 0x70], rsi
mov esi, ebx
ror r9, 0x10
mov r8d, r9d
vpinsrq xmm0, xmm4, r9, 1
vmovdqu xmmword [rax + 0x2f0], xmm0
imul rsi, r8
lea r8, [r9 + rbx]
lea r8, [r8 + rsi*2]
mov qword [rax + 0x1f0], r8
xor r8, rdx
mov edx, r11d
rol r8, 1
vpinsrq xmm0, xmm5, r8, 1
vmovdqu xmmword [rax + 0x170], xmm0
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov ecx, ebx
add r11, rbx
imul rdx, rcx
lea rcx, [r11 + rdx*2]
mov rdx, qword [rsp + 0x28]
xor rdx, rcx
rol rdx, 0x20
mov r9, rdx
mov edx, edi
mov r8d, r9d
imul rdx, r8
lea r8, [r9 + rdi]
lea r10, [r8 + rdx*2]
xor rbx, r10
mov rdx, rbx
mov rbx, qword [rsp + 0x50]
ror rdx, 0x18
mov r8, rdx
mov edx, ecx
mov r11d, r8d
add rcx, r8
imul rdx, r11
lea rdx, [rcx + rdx*2]
mov ecx, r10d
mov qword [rax + 0x78], rdx
xor rdx, r9
ror rdx, 0x10
mov r9d, edx
mov qword [rax + 0x370], rdx
add rdx, r10
imul rcx, r9
lea rdx, [rdx + rcx*2]
mov qword [rax + 0x1f8], rdx
xor rdx, r8
rol rdx, 1
mov qword [rax + 0xf0], rdx
cmp rax, rbx
jne 0x140017d20
mov rbp, qword [rsp + 0x8c0]
mov r8d, 0x400
mov rdx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x58]
mov rcx, rbp
call sym.memcpy
xor eax, eax
nop dword [rax + rax]
vmovdqu xmm5, xmmword [rbp + rax]
vinsertf128 ymm0, ymm5, xmmword [rbp + rax + 0x10], 1
vmovdqu xmm4, xmmword [rdi + rax]
vinsertf128 ymm1, ymm4, xmmword [rdi + rax + 0x10], 1
vxorps ymm0, ymm0, ymm1
vmovdqu xmmword [rbp + rax], xmm0
vextractf128 xmmword [rbp + rax + 0x10], ymm0, 1
add rax, 0x20
cmp rax, 0x400
jne 0x140018170
vzeroupper
add rsp, 0x868
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret