Function at 0x140008808
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 [0x140019060]
xor rax, rsp
mov qword [rbp + 0x560], rax
mov bl, r8b
mov r15, rdx
mov r12, rcx
mov byte [rsp + 0x30], bl
mov r14b, byte [rbp + 0x5d0]
mov rsi, qword [rbp + 0x5e0]
mov edi, 0x80070057
xor r13d, r13d
test r9b, r9b
jne 0x140008877
test r14b, r14b
je 0x140008be5
lea rcx, [rbp - 0x40]
call qword [sym.imp.ole32.dll_CoCreateGuid]
mov edi, eax
test eax, eax
js 0x140008be5
mov r8d, 0x27
lea rdx, [rbp + 0xf0]
lea rcx, [rbp - 0x40]
call qword [sym.imp.ole32.dll_StringFromGUID2]
lea rax, [0x140003928]
lea r8, [0x140003958]
test bl, bl
cmovne r8, rax
mov edx, 0x104
lea rcx, [rbp + 0x350]
call fcn.140005408
mov edi, eax
test eax, eax
js 0x1400088ea
mov word [rbp + 0x13a], r13w
lea r8, [rbp + 0xf2]
lea rcx, [rbp + 0x350]
call fcn.140005360
mov edi, eax
test edi, edi
jne 0x140008963
test r14b, r14b
je 0x140008969
mov r8, qword [r15 + 0x60]
mov edx, 0x104
lea rcx, [rbp + 0x140]
call fcn.140005408
mov edi, eax
test eax, eax
js 0x140008be5
lea r8, [0x140003974]
lea rcx, [rbp + 0x140]
call fcn.140005360
mov edi, eax
test eax, eax
js 0x140008be5
lea r8, [rbp + 0x350]
lea rcx, [rbp + 0x140]
call fcn.140005360
mov edi, eax
test eax, eax
js 0x140008be5
lea r8, [0x140002b60]
lea rcx, [rbp + 0x140]
call fcn.140005360
mov edi, eax
test eax, eax
js 0x140008be5
mov dil, r13b
test bl, bl
je 0x1400089b0
mov r13d, 0x11c
mov r8d, r13d
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.140015f80
mov dword [rbp - 0x30], r13d
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rbp - 0x20], 2
jne 0x1400089b0
cmp dword [rbp - 0x2c], 6
jne 0x1400089b0
cmp dword [rbp - 0x28], 1
jne 0x1400089b0
mov dil, 1
lea rcx, [0x140003978]
jmp 0x1400089b7
lea rcx, [rbp + 0x350]
mov qword [rsp + 0x38], rcx
test bl, bl
je 0x1400089cc
test dil, dil
lea rax, [0x140002870]
jne 0x1400089d0
lea rax, [rbp - 0x40]
movups xmm0, xmmword [rax]
movdqu xmmword [rbp - 0x80], xmm0
mov r8b, bl
lea rdx, [rbp - 0x80]
call fcn.14000ae8c
mov qword [rsp + 0x58], rax
mov dword [rax + 0x44], 1
test bl, bl
je 0x140008a02
test dil, dil
je 0x140008a02
mov ecx, dword [rbp + 0x5d8]
mov dword [rax + 0x48], ecx
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.1400099fc
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.140009ae8
nop
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.140009ba0
nop
mov rbx, qword [r15]
mov r9, rax
mov r8, qword [rbx + 8]
mov rdx, rbx
call fcn.14000a3f4
mov rdx, rax
mov rax, qword [r15 + 8]
movabs rcx, 0x7fffffffffffffe
sub rcx, rax
cmp rcx, 1
jae 0x140008aa4
lea rcx, [0x140002c68]
call fcn.14000b468
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.140008c24
mov rcx, qword [rsp + 0x40]
call fcn.14000af60
mov edi, eax
or r14d, 0xffffffff
test eax, eax
js 0x140008b4a
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.140009918
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 rsi, qword [rbp - 0x68]
test rsi, rsi
je 0x140008b4a
mov eax, r14d
lock xadd dword [rsi + 8], eax
add eax, r14d
jne 0x140008b4a
mov rax, qword [rsi]
mov rbx, qword [rax]
mov rcx, rbx
call qword [fcn.1400049d0]
mov rcx, rsi
call rbx
mov eax, r14d
lock xadd dword [rsi + 0xc], eax
add eax, r14d
jne 0x140008b4a
mov rax, qword [rsi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.1400049d0]
mov rcx, rsi
call rbx
nop
mov rsi, qword [rsp + 0x70]
test rsi, rsi
je 0x140008b98
mov eax, r14d
lock xadd dword [rsi + 8], eax
add eax, r14d
jne 0x140008b98
mov rax, qword [rsi]
mov rbx, qword [rax]
mov rcx, rbx
call qword [fcn.1400049d0]
mov rcx, rsi
call rbx
mov eax, r14d
lock xadd dword [rsi + 0xc], eax
add eax, r14d
jne 0x140008b98
mov rax, qword [rsi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.1400049d0]
mov rcx, rsi
call rbx
nop
mov rsi, qword [rsp + 0x48]
test rsi, rsi
je 0x140008be5
mov eax, r14d
lock xadd dword [rsi + 8], eax
add eax, r14d
jne 0x140008be5
mov rax, qword [rsi]
mov rbx, qword [rax]
mov rcx, rbx
call qword [fcn.1400049d0]
mov rcx, rsi
call rbx
mov eax, r14d
lock xadd dword [rsi + 0xc], eax
add eax, r14d
jne 0x140008be5
mov rax, qword [rsi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.1400049d0]
mov rcx, rsi
call rbx
mov eax, edi
mov rcx, qword [rbp + 0x560]
xor rcx, rsp
call fcn.14000b710
mov rbx, qword [rsp + 0x6b0]
add rsp, 0x670
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret