Function at 0x140195650
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x848
lea rax, [rsp + 0x40]
mov r10, rcx
mov rsi, rdx
mov ecx, pe_nt_image_headers64
mov rdi, rax
mov qword [rsp + 0x38], rax
mov rbx, rax
mov rdx, r10
rep movsq qword [rdi], qword [rsi]
lea rcx, [rsp + 0x440]
mov qword [rsp + 0x8a0], r8
mov qword [rsp + 0x28], rcx
nop dword [rax]
movdqu xmm0, xmmword [rdx]
pxor xmm0, xmmword [rax]
add rax, 0x10
add rdx, 0x10
movups xmmword [rax - 0x10], xmm0
cmp rcx, rax
jne 0x1401956a0
mov rdi, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x38]
mov ecx, pe_nt_image_headers64
rep movsq qword [rdi], qword [rsi]
test r9d, r9d
je 0x140195701
mov rax, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x8a0]
lea rcx, [rsp + 0x840]
nop dword [rax]
movdqu xmm0, xmmword [rdx]
pxor xmm0, xmmword [rax]
add rax, 0x10
add rdx, 0x10
movups xmmword [rax - 0x10], xmm0
cmp rcx, rax
jne 0x1401956e8
mov qword [rsp + 0x30], rbx
mov rsi, qword [rsp + 0x38]
nop dword [rax + rax]
mov rdx, qword [rsi]
mov rax, qword [rsi + 0x20]
mov r9, qword [rsi + 0x60]
mov r8d, eax
mov ecx, edx
add rdx, rax
imul rcx, r8
lea rcx, [rdx + rcx*2]
mov rdx, qword [rsi + 0x40]
xor r9, rcx
rol r9, 0x20
mov r8d, edx
mov r10d, r9d
add rdx, r9
imul r8, r10
lea rdx, [rdx + r8*2]
mov r8d, ecx
xor rax, rdx
ror rax, 0x18
mov r10d, eax
add rcx, rax
imul r8, r10
lea r13, [rcx + r8*2]
mov ecx, edx
xor r9, r13
ror r9, 0x10
mov r8d, r9d
add rdx, r9
imul rcx, r8
lea rdi, [rdx + rcx*2]
mov rcx, qword [rsi + 0x28]
xor rax, rdi
mov qword [rsp + 8], rdi
rol rax, 1
mov edx, ecx
mov qword [rsp + 0x18], rax
mov rax, qword [rsi + 8]
mov r8d, eax
add rax, rcx
imul rdx, r8
lea r8, [rax + rdx*2]
mov rdx, qword [rsi + 0x68]
mov rax, qword [rsi + 0x48]
xor rdx, r8
mov r11d, eax
rol rdx, 0x20
mov r10d, edx
add rax, rdx
imul r10, r11
mov r11d, r8d
lea rax, [rax + r10*2]
xor rcx, rax
ror rcx, 0x18
mov r10d, ecx
add r8, rcx
imul r10, r11
lea rbp, [r8 + r10*2]
mov r8d, eax
xor rdx, rbp
ror rdx, 0x10
mov rdi, rdx
mov edx, edx
imul rdx, r8
add rax, rdi
mov qword [rsp + 0x20], rdi
lea rdx, [rax + rdx*2]
mov rax, qword [rsi + 0x10]
xor rcx, rdx
mov qword [rsp + 0x10], rdx
mov rdx, qword [rsi + 0x30]
mov r10d, eax
rol rcx, 1
mov r8d, edx
imul r8, r10
add rax, rdx
lea r10, [rax + r8*2]
mov r8, qword [rsi + 0x70]
mov rax, qword [rsi + 0x50]
xor r8, r10
mov r11d, eax
rol r8, 0x20
mov ebx, r8d
add rax, r8
imul r11, rbx
lea rax, [rax + r11*2]
mov r11d, r10d
xor rdx, rax
ror rdx, 0x18
mov ebx, edx
add r10, rdx
imul r11, rbx
lea rbx, [r10 + r11*2]
mov r10d, eax
xor r8, rbx
ror r8, 0x10
mov r11d, r8d
add rax, r8
imul r10, r11
lea r12, [rax + r10*2]
mov rax, qword [rsi + 0x38]
mov r10, qword [rsi + 0x18]
xor rdx, r12
mov edi, eax
mov r11d, r10d
add r10, rax
rol rdx, 1
imul r11, rdi
mov rdi, qword [rsi + 0x58]
mov r14d, edi
lea r11, [r10 + r11*2]
mov r10, qword [rsi + 0x78]
xor r10, r11
rol r10, 0x20
mov r15d, r10d
add rdi, r10
imul r14, r15
lea rdi, [rdi + r14*2]
mov r14d, r11d
xor rax, rdi
ror rax, 0x18
mov r15d, eax
add r11, rax
imul r14, r15
lea r11, [r11 + r14*2]
mov r14d, edi
xor r10, r11
ror r10, 0x10
mov r15d, r10d
add rdi, r10
imul r14, r15
mov r15d, ecx
lea rdi, [rdi + r14*2]
mov r14d, r13d
xor rax, rdi
rol rax, 1
imul r14, r15
add r13, rcx
lea r13, [r13 + r14*2]
mov r14d, r12d
xor r10, r13
rol r10, 0x20
mov r15d, r10d
add r12, r10
imul r14, r15
lea r12, [r12 + r14*2]
mov r14d, r13d
xor rcx, r12
ror rcx, 0x18
mov r15d, ecx
add r13, rcx
imul r14, r15
lea r13, [r13 + r14*2]
xor r10, r13
mov qword [rsi], r13
mov r13d, r12d
ror r10, 0x10
mov r14d, r10d
mov qword [rsi + 0x78], r10
add r10, r12
imul r13, r14
lea r10, [r10 + r13*2]
xor rcx, r10
mov qword [rsi + 0x50], r10
mov r10d, edx
rol rcx, 1
mov qword [rsi + 0x28], rcx
mov ecx, ebp
add rbp, rdx
imul rcx, r10
mov r10d, edi
lea rcx, [rbp + rcx*2]
xor r9, rcx
rol r9, 0x20
mov ebp, r9d
add rdi, r9
imul r10, rbp
lea r10, [rdi + r10*2]
mov edi, ecx
xor rdx, r10
ror rdx, 0x18
mov ebp, edx
add rcx, rdx
imul rdi, rbp
lea rcx, [rcx + rdi*2]
xor r9, rcx
mov qword [rsi + 8], rcx
mov ecx, r10d
ror r9, 0x10
mov edi, r9d
mov qword [rsi + 0x60], r9
add r9, r10
imul rcx, rdi
mov rdi, qword [rsp + 0x20]
lea rcx, [r9 + rcx*2]
xor rdx, rcx
mov qword [rsi + 0x58], rcx
mov ecx, ebx
rol rdx, 1
mov qword [rsi + 0x30], rdx
mov edx, eax
imul rdx, rcx
add rbx, rax
sub rsi, 0xffffffffffffff80
lea r10, [rbx + rdx*2]
xor rdi, r10
mov ebx, r10d
mov rcx, rdi
mov rdi, qword [rsp + 8]
rol rcx, 0x20
mov edx, edi
mov r9d, ecx
imul r9, rdx
lea rdx, [rdi + rcx]
lea r9, [rdx + r9*2]
xor rax, r9
ror rax, 0x18
mov edx, eax
add r10, rax
imul rdx, rbx
lea rdx, [r10 + rdx*2]
mov r10d, r9d
mov qword [rsi - 0x70], rdx
xor rdx, rcx
ror rdx, 0x10
mov ecx, edx
mov qword [rsi - 0x18], rdx
add rdx, r9
imul rcx, r10
lea rdx, [rdx + rcx*2]
mov qword [rsi - 0x40], rdx
mov rbx, qword [rsp + 0x18]
xor rdx, rax
rol rdx, 1
mov rdi, qword [rsp + 0x10]
mov qword [rsi - 0x48], rdx
mov eax, ebx
mov edx, r11d
add r11, rbx
imul rax, rdx
mov ecx, edi
lea rdx, [r11 + rax*2]
xor r8, rdx
mov r10d, edx
rol r8, 0x20
mov eax, r8d
imul rax, rcx
lea rcx, [rdi + r8]
lea r9, [rcx + rax*2]
mov rax, rbx
xor rax, r9
ror rax, 0x18
mov rcx, rax
mov eax, eax
imul rax, r10
add rdx, rcx
lea rax, [rdx + rax*2]
mov edx, r9d
xor r8, rax
mov qword [rsi - 0x68], rax
ror r8, 0x10
mov eax, r8d
mov qword [rsi - 0x10], r8
add r8, r9
imul rax, rdx
lea rax, [r8 + rax*2]
mov qword [rsi - 0x38], rax
xor rax, rcx
rol rax, 1
mov qword [rsi - 0x60], rax
cmp qword [rsp + 0x28], rsi
jne 0x140195710
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
sub rax, 0xffffffffffffff80
mov qword [rsp + 0x30], rax
mov rdx, qword [rbx]
mov rax, qword [rbx + 0x100]
mov r9, qword [rbx + 0x300]
mov r8d, eax
mov ecx, edx
add rdx, rax
imul rcx, r8
lea rcx, [rdx + rcx*2]
mov rdx, qword [rbx + 0x200]
xor r9, rcx
rol r9, 0x20
mov r8d, edx
mov r10d, r9d
add rdx, r9
imul r8, r10
lea rdx, [rdx + r8*2]
mov r8d, ecx
xor rax, rdx
ror rax, 0x18
mov r10d, eax
add rcx, rax
imul r8, r10
lea r13, [rcx + r8*2]
mov ecx, edx
xor r9, r13
ror r9, 0x10
mov r8d, r9d
add rdx, r9
imul rcx, r8
lea rdi, [rdx + rcx*2]
mov rcx, qword [rbx + 0x108]
xor rax, rdi
mov qword [rsp + 8], rdi
rol rax, 1
mov r8d, ecx
mov qword [rsp + 0x20], rax
mov rax, qword [rbx + 8]
mov edx, eax
add rax, rcx
imul rdx, r8
lea r8, [rax + rdx*2]
mov rdx, qword [rbx + 0x308]
mov rax, qword [rbx + 0x208]
xor rdx, r8
mov r10d, eax
rol rdx, 0x20
mov r11d, edx
add rax, rdx
imul r10, r11
lea rax, [rax + r10*2]
mov r10d, r8d
xor rcx, rax
ror rcx, 0x18
mov r11d, ecx
add r8, rcx
imul r10, r11
lea rbp, [r8 + r10*2]
xor rdx, rbp
ror rdx, 0x10
mov rdi, rdx
mov edx, eax
mov r8d, edi
add rax, rdi
mov qword [rsp + 0x18], rdi
imul rdx, r8
lea rdx, [rax + rdx*2]
mov rax, qword [rbx + 0x80]
xor rcx, rdx
mov qword [rsp + 0x10], rdx
mov rdx, qword [rbx + 0x180]
mov r8d, eax
rol rcx, 1
mov r10d, edx
imul r8, r10
add rax, rdx
lea r10, [rax + r8*2]
mov r8, qword [rbx + 0x380]
mov rax, qword [rbx + 0x280]
xor r8, r10
mov esi, eax
rol r8, 0x20
mov r11d, r8d
add rax, r8
imul r11, rsi
mov esi, r10d
lea rax, [rax + r11*2]
xor rdx, rax
ror rdx, 0x18
mov r11d, edx
add r10, rdx
imul r11, rsi
lea rsi, [r10 + r11*2]
mov r11d, eax
xor r8, rsi
ror r8, 0x10
mov r10d, r8d
add rax, r8
imul r10, r11
lea r12, [rax + r10*2]
mov rax, qword [rbx + 0x188]
mov r10, qword [rbx + 0x88]
xor rdx, r12
mov edi, r10d
mov r11d, eax
add r10, rax
rol rdx, 1
imul r11, rdi
mov rdi, qword [rbx + 0x288]
mov r15d, edi
lea r11, [r10 + r11*2]
mov r10, qword [rbx + 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 rax, rdi
ror rax, 0x18
mov r14d, eax
add r11, rax
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, ecx
xor rax, rdi
rol rax, 1
imul r14, r15
add r13, rcx
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 rcx, r12
ror rcx, 0x18
mov r14d, ecx
add r13, rcx
imul r14, r15
lea r13, [r13 + r14*2]
xor r10, r13
mov qword [rbx], r13
mov r13d, r12d
ror r10, 0x10
mov r14d, r10d
mov qword [rbx + 0x388], r10
add r10, r12
imul r13, r14
lea r10, [r10 + r13*2]
xor rcx, r10
mov qword [rbx + 0x280], r10
mov r10d, ebp
add rbp, rdx
rol rcx, 1
mov qword [rbx + 0x108], rcx
mov ecx, edx
imul rcx, r10
lea rcx, [rbp + rcx*2]
mov ebp, edi
xor r9, rcx
rol r9, 0x20
mov r10d, r9d
add rdi, r9
imul r10, rbp
mov ebp, ecx
lea r10, [rdi + r10*2]
xor rdx, r10
ror rdx, 0x18
mov edi, edx
add rcx, rdx
imul rdi, rbp
lea rcx, [rcx + rdi*2]
xor r9, rcx
mov qword [rbx + 8], rcx
mov ecx, r10d
ror r9, 0x10
mov edi, r9d
mov qword [rbx + 0x300], r9
add r9, r10
imul rcx, rdi
mov rdi, qword [rsp + 0x18]
lea rcx, [r9 + rcx*2]
xor rdx, rcx
mov qword [rbx + 0x288], rcx
mov ecx, eax
rol rdx, 1
mov qword [rbx + 0x180], rdx
mov edx, esi
imul rdx, rcx
add rsi, rax
add rbx, 0x10
lea r10, [rsi + rdx*2]
xor rdi, r10
mov rcx, rdi
mov rdi, qword [rsp + 8]
rol rcx, 0x20
mov edx, ecx
mov r9d, edi
imul r9, rdx
lea rdx, [rdi + rcx]
lea r9, [rdx + r9*2]
mov edx, r10d
xor rax, r9
ror rax, 0x18
mov esi, eax
add r10, rax
imul rdx, rsi
lea rdx, [r10 + rdx*2]
mov qword [rbx + 0x70], rdx
xor rdx, rcx
mov ecx, r9d
ror rdx, 0x10
mov r10d, edx
mov qword [rbx + 0x2f8], rdx
add rdx, r9
imul rcx, r10
lea rdx, [rdx + rcx*2]
mov qword [rbx + 0x1f0], rdx
mov rsi, qword [rsp + 0x20]
xor rdx, rax
mov eax, r11d
rol rdx, 1
mov rdi, qword [rsp + 0x10]
mov qword [rbx + 0x178], rdx
mov edx, esi
add r11, rsi
imul rax, rdx
lea rdx, [r11 + rax*2]
mov eax, edi
xor r8, rdx
rol r8, 0x20
mov ecx, r8d
imul rax, rcx
lea rcx, [rdi + r8]
lea r9, [rcx + rax*2]
mov rax, rsi
xor rax, r9
ror rax, 0x18
mov rcx, rax
mov eax, edx
mov r10d, ecx
add rdx, rcx
imul rax, r10
lea rax, [rdx + rax*2]
xor r8, rax
mov qword [rbx + 0x78], rax
mov eax, r9d
ror r8, 0x10
mov edx, r8d
mov qword [rbx + 0x370], r8
add r8, r9
imul rax, rdx
lea rax, [r8 + rax*2]
mov qword [rbx + 0x1f8], rax
xor rax, rcx
rol rax, 1
mov qword [rbx + 0xf0], rax
cmp rbx, qword [rsp + 0x30]
jne 0x140195ad0
mov rax, qword [rsp + 0x440]
mov rbx, qword [rsp + 0x8a0]
mov qword [rbx], rax
mov rax, qword [rsp + 0x838]
mov rsi, qword [rsp + 0x8a0]
mov qword [rsi + 0x3f8], rax
mov rax, qword [rsp + 0x8a0]
mov rsi, qword [rsp + 0x28]
lea rdi, [rax + 8]
and rdi, 0xfffffffffffffff8
sub rax, rdi
sub rsi, rax
add eax, 0x400
shr eax, 3
mov ecx, eax
xor eax, eax
rep movsq qword [rdi], qword [rsi]
mov rdx, qword [rsp + 0x8a0]
mov rcx, qword [rsp + 0x38]
nop dword [rax]
movdqu xmm0, xmmword [rdx + rax]
pxor xmm0, xmmword [rcx + rax]
movups xmmword [rdx + rax], xmm0
add rax, 0x10
cmp rax, 0x400
jne 0x140195f30
add rsp, 0x848
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret