Function at 0x1400012b0
Capabilities:
Check os version
Encode data using xor
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
test rax, rax
je 0x140001515
cmp dword [rax + 0x118], 0xa
jne 0x140001515
mov rax, qword [rax + 0x18]
mov rcx, qword [rax + 0x20]
mov eax, 0x5a4d
mov rdi, qword [rcx]
mov rcx, qword [rdi + 0x20]
cmp word [rcx], ax
jne 0x140001515
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x140001515
mov ebx, dword [rax + rcx + 0x88]
add rbx, rcx
je 0x140001515
xorps xmm0, xmm0
lea r8, [rsp + 0x20]
movabs rax, 0x8882987f541bc638
mov rdx, rbx
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x28], rax
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
call fcn.140001530
test eax, eax
je 0x140001515
mov rcx, qword [rdi + 0x20]
lea r8, [rsp + 0x38]
movabs rax, 0x44bbdbab8664b1fe
mov rdx, rbx
mov qword [rsp + 0x40], rax
call fcn.140001530
test eax, eax
je 0x140001515
mov rcx, qword [rdi + 0x20]
lea r8, [rsp + 0x50]
movabs rax, 0xc80de548d906b834
mov rdx, rbx
mov qword [rsp + 0x58], rax
call fcn.140001530
test eax, eax
je 0x140001515
mov rcx, qword [rdi + 0x20]
lea r8, [rsp + 0x68]
movabs rax, 0x8e3a808e50a0d59c
mov rdx, rbx
mov qword [rsp + 0x70], rax
call fcn.140001530
test eax, eax
je 0x140001515
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov r8d, 0x110
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
lea rcx, [0x140005050]
mov r8d, 2
mov r9, rax
mov rdx, rax
nop dword [rax + rax]
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rcx]
lea rcx, [rcx + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm1, xmmword [rcx - 0x70]
movups xmmword [rdx - 0x70], xmm1
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rdx - 0x60], xmm0
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rdx - 0x50], xmm1
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rdx - 0x40], xmm0
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rdx - 0x30], xmm1
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rdx - 0x20], xmm0
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rdx - 0x10], xmm1
sub r8, 1
jne 0x140001410
movups xmm0, xmmword [rcx]
lea ecx, [r8 + 4]
add rax, 0x20
movdqa xmm2, xmmword [str.ZZZZZZZZZZZZZZZZ_]
movups xmmword [rdx], xmm0
nop dword [rax]
movdqu xmm0, xmmword [rax - 0x20]
lea rax, [rax + 0x40]
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rax - 0x60], xmm1
movdqu xmm0, xmmword [rax - 0x50]
pxor xmm0, xmm2
movdqu xmmword [rax - 0x50], xmm0
movdqu xmm1, xmmword [rax - 0x40]
pxor xmm1, xmm2
movdqu xmmword [rax - 0x40], xmm1
movdqu xmm0, xmmword [rax - 0x30]
pxor xmm0, xmm2
movdqu xmmword [rax - 0x30], xmm0
sub rcx, 1
jne 0x140001480
lea rax, [r9 + 0x100]
mov ecx, 0x10
xor byte [rax], 0x5a
lea rax, [rax + 1]
sub rcx, 1
jne 0x1400014d2
mov r8, r9
lea rcx, [rsp + 0x20]
call fcn.140001070
test eax, eax
je 0x140001515
lea rcx, str.___Press__Enter__To_Quit_...
call fcn.140001010
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
xor eax, eax
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret
mov rbx, qword [rsp + 0x90]
mov eax, 1
add rsp, 0x80
pop rdi
ret