Function at 0x14007c2e0
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x320
mov rax, qword [0x1401ef010]
xor rax, rsp
mov qword [rsp + 0x310], rax
xor edi, edi
mov byte [rcx + 0x14], 0
lea rax, vtable.VNC_OSVersion.0
mov qword [rcx + 0x20], rdi
mov qword [rcx], rax
mov rbx, rcx
mov qword [rcx + 0x28], rdi
mov qword [rcx + 0x18], rdi
mov dword [rcx + 0xf], edi
mov dword [rcx + 0xa], edi
mov byte [rcx + 0xe], dil
mov word [rcx + 8], di
lea rcx, [rsp + 0x150]
mov dword [rsp + 0x150], __WSAFDIsSet
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x30], rdi
mov r9d, 0x101
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinPE
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
sete al
mov byte [rbx + 0x15], al
mov eax, dword [rsp + 0x160]
sub eax, 1
je 0x14007c3e8
cmp eax, 1
jne 0x14007c3ec
mov eax, dword [rsp + 0x154]
cmp eax, 6
jne 0x14007c3bc
mov eax, dword [rsp + 0x158]
cmp eax, 2
jb 0x14007c3a8
mov byte [rbx + 0xa], 1
jmp 0x14007c3ec
cmp eax, 1
jne 0x14007c3b2
mov byte [rbx + 0xb], al
jmp 0x14007c3ec
test eax, eax
jne 0x14007c3e8
mov byte [rbx + 0xc], 1
jmp 0x14007c3ec
cmp eax, 5
jne 0x14007c3e8
mov ecx, dword [rsp + 0x158]
lea eax, [rcx - 1]
cmp eax, 1
ja 0x14007c3da
mov byte [rbx + 0xd], 1
mov byte [rbx + 0x12], 1
jmp 0x14007c3ec
test ecx, ecx
jne 0x14007c3e8
mov byte [rbx + 0xe], 1
mov byte [rbx + 0x12], 1
jmp 0x14007c3ec
mov byte [rbx + 0x11], 1
cmp byte [rbx + 0x12], dil
sete al
mov byte [rbx + 0x13], al
cmp byte [rbx + 0xa], dil
je 0x14007c57a
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14007c4ca
lea rdx, str.RtlGetVersion
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x14007c4ca
xor edx, edx
lea rcx, [rsp + 0x1f4]
mov r8d, 0x110
call fcn.140133cb0
lea rcx, [rsp + 0x1f0]
mov dword [rsp + 0x1f0], 0x114
call rdi
test eax, eax
jne 0x14007c4ca
lea rcx, [rsp + 0x38]
mov edx, 2
lea rax, [rsp + 0x1f0]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x14007c472
jmp 0x14007c544
xor edx, edx
lea rcx, [rsp + 0x1f0]
mov r8d, 0x114
call fcn.140133cb0
lea rcx, [rsp + 0x38]
mov edx, 2
lea rax, [rsp + 0x1f0]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x14007c4f1
movups xmm0, xmmword [rax]
mov eax, dword [rax + 0x10]
movups xmmword [rcx], xmm0
mov dword [rcx + 0x10], eax
mov rax, qword [rsp + 0x38]
shr rax, 0x20
cmp eax, 0xa
jne 0x14007c57a
mov rax, qword [rsp + 0x40]
shr rax, 0x20
mov byte [rbx + 0xa], 0
mov byte [rbx + 8], 1
cmp eax, 0x4a61
jb 0x14007c57a
mov byte [rbx + 9], 1
cmp qword [rbx + 0x18], 0
jne 0x14007c5c0
lea rcx, [0x1401cf660]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbx + 0x18], rax
test rax, rax
je 0x14007c5c0
lea rdx, [0x1401cf648]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x18]
lea rdx, str.DwmEnableComposition
mov qword [rbx + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x28], rax
mov rax, rbx
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.1401312c0
mov rbx, qword [rsp + 0x338]
add rsp, 0x320
pop rdi
ret