Function at 0x10007ef0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018637e
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x101fe070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.1014c720
push eax
mov byte [esi + 0x2c], al
call fcn.1014f240
add esp, 4
cmp byte [esi + 0x2c], 0
push 5
jne 0x10008107
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
push str.pbj50
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10009240
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.10148410
mov ecx, eax
call fcn.10147fa0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10007fbb
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10007fb1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100082b2
push edx
push ecx
call fcn.1015c4d3
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 1
mov edi, eax
call fcn.1015c042
mov dword [ebp - 0x234], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [ebp - 0x22c]
push eax
call fcn.1015e8b0
add esp, 0x10
mov dword [ebp - 0x230], 0x11c
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10008028
cmp dword [ebp - 0x22c], 6
mov eax, dword [ebp - 0x234]
setae cl
mov byte [eax], cl
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x234]
push edi
call fcn.1000cf70
test al, al
jne 0x100080f0
mov eax, dword [esi + 0x1c]
cmp eax, 4
jne 0x100080d2
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x58]
call fcn.10008eb0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x58]
push str.netframework_setup_as_admin
push str.netframework_setup
push eax
call fcn.1000fab0
lea eax, [ebp - 0x58]
push eax
call fcn.1014e7d0
add esp, 0x10
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x100080bc
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100080b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100082b7
push edx
push ecx
call fcn.1015c4d3
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
jmp 0x100080d7
cmp eax, 5
jne 0x100080f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.1000be80
xor al, al
jmp 0x10008297
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.1000be80
jmp 0x10008198
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0
push str.pbj49
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.10009240
mov dword [ebp - 4], 3
lea eax, [ebp - 0x40]
push eax
call fcn.10148410
mov ecx, eax
call fcn.10147fa0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x10008186
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000817c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100082bc
push edx
push ecx
call fcn.1015c4d3
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp byte [esi + 0x2c], 0
mov eax, dword [esi + 0x20]
jne 0x10008272
test eax, eax
je 0x100081c2
cmp byte [eax], 0
je 0x100081c2
mov ecx, esi
call fcn.100082d0
push 0xffffffffffffffff
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x1000821b
push esi
push 0x1f5
lea ecx, [ebp - 0x114]
call fcn.1000b060
mov dword [ebp - 4], 4
push 0
push 0x80080000
push ecx
lea ecx, [ebp - 0x114]
call fcn.10076b40
mov eax, dword [ebp - 0x110]
push ecx
lea ecx, [ebp - 0x114]
mov dword [esi + 0x58], eax
call fcn.1007c340
mov dword [esi + 0x58], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
call fcn.1000b180
mov eax, dword [esi + 0x34]
test eax, eax
je 0x10008229
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x30]
test eax, eax
je 0x10008295
mov eax, dword [eax + 8]
test eax, eax
je 0x1000824a
cmp byte [eax + 8], 0
je 0x1000824a
mov ecx, dword [esi + 0x30]
push 0x7d0
call fcn.100150a0
mov edi, dword [esi + 0x30]
test edi, edi
je 0x10008295
push 0xffffffffffffffff
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
sub eax, 1
jne 0x10008269
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov dword [esi + 0x30], 0
jmp 0x10008295
test eax, eax
je 0x10008295
cmp byte [eax + 1], 0
je 0x10008295
push eax
call fcn.1014e8d0
mov eax, dword [esi + 0x20]
add esp, 4
cmp byte [eax + 2], 0
je 0x10008295
mov ecx, esi
call fcn.10008690
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1015c023
mov esp, ebp
pop ebp
ret
call fcn.101616ac
call fcn.101616ac
call fcn.101616ac
int3