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