Function at 0x140007954
Capabilities:
Check os version

Disassembly:
mov rax, rsp
mov byte [rax + 0x20], r9b
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5a8]
sub rsp, 0x670
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x140017060]
xor rax, rsp
mov qword [rbp + 0x560], rax
mov dil, r8b
mov r15, rdx
mov r12, rcx
mov byte [rsp + 0x30], r8b
mov r14b, byte [rbp + 0x5d0]
mov rsi, qword [rbp + 0x5e0]
mov ebx, 0x80070057
xor r13d, r13d
test r9b, r9b
jne 0x1400079c4
test r14b, r14b
je 0x140007ceb
lea rcx, [rbp - 0x40]
call qword [sym.imp.ole32.dll_CoCreateGuid]
mov ebx, eax
test eax, eax
js 0x140007ceb
mov r8d, 0x27
lea rdx, [rbp + 0xf0]
lea rcx, [rbp - 0x40]
call qword [sym.imp.ole32.dll_StringFromGUID2]
lea rax, [0x140003618]
lea r8, [0x140003648]
test dil, dil
cmovne r8, rax
mov edx, 0x104
lea rcx, [rbp + 0x350]
call fcn.140004ab8
mov ebx, eax
test eax, eax
js 0x140007a38
mov word [rbp + 0x13a], r13w
lea r8, [rbp + 0xf2]
lea rcx, [rbp + 0x350]
call fcn.1400049f0
mov ebx, eax
test ebx, ebx
jne 0x140007ab1
test r14b, r14b
je 0x140007ab7
mov r8, qword [r15 + 0x58]
mov edx, 0x104
lea rcx, [rbp + 0x140]
call fcn.140004ab8
mov ebx, eax
test eax, eax
js 0x140007ceb
lea r8, [0x140003664]
lea rcx, [rbp + 0x140]
call fcn.1400049f0
mov ebx, eax
test eax, eax
js 0x140007ceb
lea r8, [rbp + 0x350]
lea rcx, [rbp + 0x140]
call fcn.1400049f0
mov ebx, eax
test eax, eax
js 0x140007ceb
lea r8, [0x140002800]
lea rcx, [rbp + 0x140]
call fcn.1400049f0
mov ebx, eax
test eax, eax
js 0x140007ceb
mov bl, r13b
test dil, dil
je 0x140007afe
mov r13d, 0x11c
mov r8d, r13d
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.140014c00
mov dword [rbp - 0x30], r13d
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rbp - 0x20], 2
jne 0x140007afe
cmp dword [rbp - 0x2c], 6
jne 0x140007afe
cmp dword [rbp - 0x28], 1
jne 0x140007afe
mov bl, 1
lea rcx, [0x140003668]
jmp 0x140007b05
lea rcx, [rbp + 0x350]
mov qword [rsp + 0x38], rcx
test dil, dil
je 0x140007b1a
test bl, bl
lea rax, [0x140002720]
jne 0x140007b1e
lea rax, [rbp - 0x40]
movups xmm0, xmmword [rax]
movdqu xmmword [rbp - 0x80], xmm0
mov r8b, dil
lea rdx, [rbp - 0x80]
call fcn.140009dd0
mov qword [rsp + 0x58], rax
mov dword [rax + 0x44], 1
test dil, dil
je 0x140007b50
test bl, bl
je 0x140007b50
mov ecx, dword [rbp + 0x5d8]
mov dword [rax + 0x48], ecx
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.1400088bc
nop
neg r14b
sbb rax, rax
lea rcx, [rbp + 0x140]
and rax, rcx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], r12
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rbp + 0x5c8]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x68]
call fcn.1400089a8
nop
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.140008a60
nop
mov rbx, qword [r15]
mov r9, rax
mov r8, qword [rbx + 8]
mov rdx, rbx
call fcn.1400092a8
mov rdx, rax
mov rax, qword [r15 + 8]
movabs rcx, 0x7fffffffffffffe
sub rcx, rax
cmp rcx, 1
jae 0x140007bf2
lea rcx, [0x1400028f8]
call fcn.14000a2f8
int3
inc rax
mov qword [r15 + 8], rax
mov qword [rbx + 8], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rdx
lea rcx, [rbp - 0x60]
call fcn.140007d2c
mov rcx, qword [rsp + 0x40]
call fcn.140009ea4
mov ebx, eax
or r14d, 0xffffffff
test eax, eax
js 0x140007c80
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.140008804
mov rdx, qword [rax + 8]
mov rcx, qword [rsi + 8]
mov qword [rax + 8], rcx
mov qword [rsi + 8], rdx
mov rdx, qword [rax]
mov rcx, qword [rsi]
mov qword [rax], rcx
mov qword [rsi], rdx
mov rdi, qword [rbp - 0x68]
test rdi, rdi
je 0x140007c80
mov eax, r14d
lock xadd dword [rdi + 8], eax
add eax, r14d
jne 0x140007c80
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, r14d
lock xadd dword [rdi + 0xc], eax
add eax, r14d
jne 0x140007c80
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
nop
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x140007cb6
mov eax, r14d
lock xadd dword [rdi + 8], eax
add eax, r14d
jne 0x140007cb6
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, r14d
lock xadd dword [rdi + 0xc], eax
add eax, r14d
jne 0x140007cb6
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
nop
mov rdi, qword [rsp + 0x48]
test rdi, rdi
je 0x140007ceb
mov eax, r14d
lock xadd dword [rdi + 8], eax
add eax, r14d
jne 0x140007ceb
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, r14d
lock xadd dword [rdi + 0xc], eax
add eax, r14d
jne 0x140007ceb
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov eax, ebx
mov rcx, qword [rbp + 0x560]
xor rcx, rsp
call fcn.14000a5c0
mov rbx, qword [rsp + 0x6b0]
add rsp, 0x670
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret