Function at 0x1800086a0
Capabilities:
Check os version

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x248]
sub rsp, 0x320
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x180268080]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov rbx, rcx
call fcn.180167f50
mov byte [rbx + 0x48], al
movzx ecx, al
call fcn.18016ae90
xor esi, esi
lea r8d, [rsi + 5]
cmp byte [rbx + 0x48], sil
jne 0x180008957
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rsi
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], sil
lea rdx, str.pbj50
lea rcx, [rsp + 0x68]
call fcn.180009bb0
nop
call fcn.180162e20
mov rcx, rax
lea rdx, [rsp + 0x68]
call fcn.180162990
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x18000877a
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008775
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008bac
call fcn.18017ebfc
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r14d, eax
mov ecx, 1
call fcn.18017e70c
mov rdi, rax
mov qword [rsp + 0x30], rax
mov byte [rax], 0
xor edx, edx
mov r8d, 0x118
lea rcx, [rbp + 0xf4]
call fcn.180180df0
mov dword [rbp + 0xf0], 0x11c
lea rcx, [rbp + 0xf0]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1800087e5
cmp dword [rbp + 0xf4], 6
setae al
mov byte [rdi], al
mov edx, r14d
lea rcx, [rsp + 0x30]
call fcn.18000ddb0
test al, al
jne 0x180008948
mov eax, dword [rbx + 0x28]
cmp eax, 4
jne 0x180008932
lea rdx, [rbx + 8]
lea rcx, [rsp + 0x48]
call fcn.1800097d0
nop
mov rbx, rsi
lea r15, str.netframework_setup
nop
inc rbx
cmp word [r15 + rbx*2], 0
jne 0x180008820
mov rdi, rsi
lea r12, str.netframework_setup_as_admin
nop word [rax + rax]
lea rdi, [rdi + 1]
cmp word [r12 + rdi*2], 0
jne 0x180008840
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
mov qword [rsp + 0x20], 0x12
mov r9, r15
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
call fcn.1800117c0
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x1800088d0
nop
mov qword [rsp + 0x20], 0x1b
mov r9, r12
mov r8, rbx
mov rdx, r14
lea rcx, [rsp + 0x48]
call fcn.1800115e0
lea r8, [rdi + r14]
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
mov qword [rsp + 0x20], 0x12
mov r9, r15
mov rdx, qword [rsp + 0x58]
call fcn.1800117c0
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x180008880
lea rcx, [rsp + 0x48]
call fcn.18016a330
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x18000891d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008918
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008bb2
call fcn.18017ebfc
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], si
jmp 0x180008937
cmp eax, 5
jne 0x180008948
lea rcx, [rsp + 0x30]
call fcn.18000ca40
xor al, al
jmp 0x180008b7b
lea rcx, [rsp + 0x30]
call fcn.18000ca40
jmp 0x1800089dd
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], 0xf
mov byte [rbp - 0x78], sil
lea rdx, str.pbj49
lea rcx, [rbp - 0x78]
call fcn.180009bb0
nop
call fcn.180162e20
mov rcx, rax
lea rdx, [rbp - 0x78]
call fcn.180162990
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x1800089cd
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800089c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008ba6
call fcn.18017ebfc
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], 0xf
mov byte [rbp - 0x78], 0
cmp byte [rbx + 0x48], 0
jne 0x180008b53
mov rax, qword [rbx + 0x30]
test rax, rax
je 0x180008a11
cmp byte [rax], 0
je 0x180008a11
mov rcx, rbx
call fcn.180008bc0
mov edx, 0xffffffff
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x180008af8
mov r8, rbx
mov edx, 0x1f5
lea rcx, [rbp - 0x50]
call fcn.18000bbb0
nop
xor r9d, r9d
mov r8d, 0x80080000
lea rcx, [rbp - 0x50]
call fcn.180084860
mov rax, qword [rbp - 0x48]
mov qword [rbx + 0x90], rax
lea rcx, [rbp - 0x50]
call fcn.18008a6f0
mov qword [rbx + 0x90], rsi
lea rax, vtable.RC::RCModuleInstallDlg.3.0
mov qword [rbp - 0x50], rax
lea rax, vtable.RC::RCModuleInstallDlg.2.0
mov qword [rbp - 8], rax
lea rax, vtable.RC::RCModuleInstallDlg.0
mov qword [rbp + 0x88], rax
lea rax, vtable.RC::RCModuleInstallDlg.1.0
mov qword [rbp + 0x90], rax
lea rcx, [rbp + 0xc8]
call fcn.180009930
nop
lea rax, vtable.RC::RCMiniUIFrameWindow.3.0
mov qword [rbp - 0x50], rax
lea rax, vtable.RC::RCMiniUIFrameWindow.0
mov qword [rbp - 8], rax
lea rax, vtable.RC::RCMiniUIFrameWindow.1.0
mov qword [rbp + 0x88], rax
lea rax, vtable.RC::RCMiniUIFrameWindow.2.0
mov qword [rbp + 0x90], rax
lea rax, vtable.RC::RCMiniUISimpleWindow.0
mov qword [rbp - 0x50], rax
lea rax, vtable.RC::RCMiniUISimpleWindow.1.0
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.18008b5e0
nop
lea rax, [rbp - 0x40]
mov qword [rsp + 0x40], rax
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x180008af8
call fcn.18017e5a4
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x180008b07
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rax, qword [rbx + 0x50]
test rax, rax
je 0x180008b79
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x180008b2f
movzx eax, byte [rcx + 0x10]
test al, al
je 0x180008b2f
mov edx, 0x7d0
mov rcx, qword [rbx + 0x50]
call fcn.180017270
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x180008b79
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
sub eax, 1
jne 0x180008b4d
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rbx + 0x50], rsi
jmp 0x180008b79
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x180008b79
cmp byte [rcx + 1], 0
je 0x180008b79
call fcn.18016a400
mov rax, qword [rbx + 0x30]
cmp byte [rax + 2], 0
je 0x180008b79
mov rcx, rbx
call fcn.180008f80
mov al, 1
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.18017e6e0
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.18018341c
int3
call fcn.18018341c
nop
call fcn.18018341c
nop
int3