Function at 0x140007ca0
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x140030010]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
test rcx, rcx
jne 0x140007cd3
lea ecx, [rbx + 0x57]
call qword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
jmp 0x140007ecc
cmp dword [0x14003214c], 0
je 0x140007d61
lea rcx, [0x140032030]
mov eax, 2
nop dword [rax]
lea rbx, [rbx + 0x80]
movups xmm0, xmmword [rcx]
lea rcx, [rcx + 0x80]
movups xmmword [rbx - 0x80], xmm0
movups xmm1, xmmword [rcx - 0x70]
movups xmmword [rbx - 0x70], xmm1
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rbx - 0x60], xmm0
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rbx - 0x50], xmm1
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rbx - 0x40], xmm0
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rbx - 0x30], xmm1
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rbx - 0x20], xmm0
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rbx - 0x10], xmm1
sub rax, 1
jne 0x140007cf0
movups xmm0, xmmword [rcx]
movups xmmword [rbx], xmm0
mov rax, qword [rcx + 0x10]
mov qword [rbx + 0x10], rax
mov eax, dword [rcx + 0x18]
mov dword [rbx + 0x18], eax
mov eax, 1
jmp 0x140007ecc
add rcx, 4
mov qword [rsp + 0x168], rsi
xor edx, edx
mov r8d, 0x118
call fcn.14000b020
mov rcx, rbx
mov dword [rbx], 0x11c
call qword [sym.imp.KERNEL32.DLL_GetVersionExW]
mov esi, eax
test eax, eax
je 0x140007ec2
cmp dword [rbx + 4], 6
jb 0x140007e45
cmp dword [rbx + 8], 2
jb 0x140007e45
lea rcx, str.ntdll.dll
mov qword [rsp + 0x170], rdi
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test rax, rax
je 0x140007e05
lea rdx, str.RtlGetVersion
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x140007e05
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, pe_nt_image_headers64
call fcn.14000b020
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call rdi
test eax, eax
jne 0x140007e05
mov eax, 1
jmp 0x140007e07
xor eax, eax
mov rdi, qword [rsp + 0x170]
test eax, eax
je 0x140007e27
mov eax, dword [rsp + 0x24]
mov dword [rbx + 4], eax
mov eax, dword [rsp + 0x28]
mov dword [rbx + 8], eax
mov eax, dword [rsp + 0x2c]
jmp 0x140007e42
mov eax, dword [0x7ffe026c]
mov dword [rbx + 4], eax
mov eax, dword [0x7ffe0270]
mov dword [rbx + 8], eax
mov eax, dword [0x7ffe0260]
mov dword [rbx + 0xc], eax
lea rcx, [0x140032030]
mov eax, 2
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rbx]
lea rbx, [rbx + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm1, xmmword [rbx - 0x70]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rbx - 0x60]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rbx - 0x50]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rbx - 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rbx - 0x30]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rbx - 0x20]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rbx - 0x10]
movups xmmword [rcx - 0x10], xmm1
sub rax, 1
jne 0x140007e51
movups xmm0, xmmword [rbx]
mov dword [0x14003214c], 1
movups xmmword [rcx], xmm0
mov rax, qword [rbx + 0x10]
mov qword [rcx + 0x10], rax
mov eax, dword [rbx + 0x18]
mov dword [rcx + 0x18], eax
mov eax, esi
mov rsi, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140008ed0
add rsp, 0x150
pop rbx
ret