Function at 0x180008610
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 [0x180267080]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov rbx, rcx
call fcn.180167ec0
mov byte [rbx + 0x48], al
movzx ecx, al
call fcn.18016a920
xor esi, esi
lea r8d, [rsi + 5]
cmp byte [rbx + 0x48], sil
jne 0x1800088c7
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.180009b20
nop
call fcn.180162d90
mov rcx, rax
lea rdx, [rsp + 0x68]
call fcn.180162900
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x1800086ea
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800086e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008b1c
call fcn.18017e41c
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.18017df2c
mov rdi, rax
mov qword [rsp + 0x30], rax
mov byte [rax], 0
xor edx, edx
mov r8d, 0x118
lea rcx, [rbp + 0xf4]
call fcn.180180610
mov dword [rbp + 0xf0], 0x11c
lea rcx, [rbp + 0xf0]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x180008755
cmp dword [rbp + 0xf4], 6
setae al
mov byte [rdi], al
mov edx, r14d
lea rcx, [rsp + 0x30]
call fcn.18000dd20
test al, al
jne 0x1800088b8
mov eax, dword [rbx + 0x28]
cmp eax, 4
jne 0x1800088a2
lea rdx, [rbx + 8]
lea rcx, [rsp + 0x48]
call fcn.180009740
nop
mov rbx, rsi
lea r15, str.netframework_setup
nop
inc rbx
cmp word [r15 + rbx*2], 0
jne 0x180008790
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 0x1800087b0
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.180011730
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x180008840
nop
mov qword [rsp + 0x20], 0x1b
mov r9, r12
mov r8, rbx
mov rdx, r14
lea rcx, [rsp + 0x48]
call fcn.180011550
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.180011730
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x1800087f0
lea rcx, [rsp + 0x48]
call fcn.180169df0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x18000888d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008888
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008b22
call fcn.18017e41c
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], si
jmp 0x1800088a7
cmp eax, 5
jne 0x1800088b8
lea rcx, [rsp + 0x30]
call fcn.18000c9b0
xor al, al
jmp 0x180008aeb
lea rcx, [rsp + 0x30]
call fcn.18000c9b0
jmp 0x18000894d
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.180009b20
nop
call fcn.180162d90
mov rcx, rax
lea rdx, [rbp - 0x78]
call fcn.180162900
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x18000893d
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008938
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008b16
call fcn.18017e41c
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], 0xf
mov byte [rbp - 0x78], 0
cmp byte [rbx + 0x48], 0
jne 0x180008ac3
mov rax, qword [rbx + 0x30]
test rax, rax
je 0x180008981
cmp byte [rax], 0
je 0x180008981
mov rcx, rbx
call fcn.180008b30
mov edx, 0xffffffff
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x180008a68
mov r8, rbx
mov edx, 0x1f5
lea rcx, [rbp - 0x50]
call fcn.18000bb20
nop
xor r9d, r9d
mov r8d, 0x80080000
lea rcx, [rbp - 0x50]
call fcn.1800847d0
mov rax, qword [rbp - 0x48]
mov qword [rbx + 0x90], rax
lea rcx, [rbp - 0x50]
call fcn.18008a660
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.1800098a0
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.18008b550
nop
lea rax, [rbp - 0x40]
mov qword [rsp + 0x40], rax
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x180008a68
call fcn.18017ddc4
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x180008a77
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rax, qword [rbx + 0x50]
test rax, rax
je 0x180008ae9
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x180008a9f
movzx eax, byte [rcx + 0x10]
test al, al
je 0x180008a9f
mov edx, 0x7d0
mov rcx, qword [rbx + 0x50]
call fcn.1800171e0
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x180008ae9
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
sub eax, 1
jne 0x180008abd
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rbx + 0x50], rsi
jmp 0x180008ae9
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x180008ae9
cmp byte [rcx + 1], 0
je 0x180008ae9
call fcn.180169ec0
mov rax, qword [rbx + 0x30]
cmp byte [rax + 2], 0
je 0x180008ae9
mov rcx, rbx
call fcn.180008ef0
mov al, 1
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.18017df00
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.180182c3c
int3
call fcn.180182c3c
nop
call fcn.180182c3c
nop
int3