Function at 0x10002bf0
Capabilities:
Get common file path
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001bf68
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x10024018]
xor eax, ebp
mov dword [ebp - 0x24], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0xd], 0
lea ecx, [ebp - 0x1c]
call fcn.1000efe0
mov dword [ebp - 4], 0
call fcn.1000ef60
movzx eax, al
test eax, eax
je 0x10002c60
push 0x20119
push str.SOFTWAREwow6432nodeMicrosoftUpdatesMicrosoft_.NET_Framework_4_ExtendedKB2468871
push 0x80000002
lea ecx, [ebp - 0x1c]
call fcn.1000f040
sub eax, 1
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0xd], al
jmp 0x10002c84
push 0x20119
push str.SOFTWAREMicrosoftUpdatesMicrosoft_.NET_Framework_4_ExtendedKB2468871
push 0x80000002
lea ecx, [ebp - 0x1c]
call fcn.1000f040
sub eax, 1
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0xd], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.1000f010
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
jne 0x10002e86
mov dword [ebp - 0x20], 0
lea edx, [ebp - 0x20]
push edx
push 0x24
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x10002e86
cmp dword [ebp - 0x20], 0
je 0x10002e86
xor eax, eax
mov word [ebp - 0x22c], ax
push 0x206
push 0
lea ecx, [ebp - 0x22a]
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0x22c]
push edx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
je 0x10002e7c
push str.Microsoft.NETFramework_v4.0.30319System.dll
lea ecx, [ebp - 0x22c]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCatW]
mov dword [ebp - 0x238], 0
lea edx, [ebp - 0x238]
push edx
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0
je 0x10002e7c
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.10011109
add esp, 4
mov dword [ebp - 0x250], eax
mov edx, dword [ebp - 0x250]
mov dword [ebp - 0x23c], edx
mov eax, dword [ebp - 0x23c]
push eax
mov ecx, dword [ebp - 0x234]
push ecx
mov edx, dword [ebp - 0x238]
push edx
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x10002e60
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0
lea ecx, [ebp - 0x244]
push ecx
lea edx, [ebp - 0x240]
push edx
push 0x1001d760
mov eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
mov ecx, dword [ebp - 0x240]
mov edx, dword [ecx + 8]
shr edx, 0x10
and edx, 0xffff
mov word [ebp - 0x24c], dx
mov eax, dword [ebp - 0x240]
mov ecx, dword [eax + 8]
and ecx, 0xffff
mov word [ebp - 0x24a], cx
mov edx, dword [ebp - 0x240]
mov eax, dword [edx + 0xc]
shr eax, 0x10
and eax, 0xffff
mov word [ebp - 0x248], ax
mov ecx, dword [ebp - 0x240]
mov edx, dword [ecx + 0xc]
and edx, 0xffff
mov word [ebp - 0x246], dx
movzx eax, word [ebp - 0x24c]
cmp eax, 4
jne 0x10002e60
movzx ecx, word [ebp - 0x24a]
test ecx, ecx
jne 0x10002e60
movzx edx, word [ebp - 0x248]
cmp edx, 0x766f
jne 0x10002e60
movzx eax, word [ebp - 0x246]
cmp eax, 0xe1
jl 0x10002e60
mov byte [ebp - 0xd], 1
mov ecx, dword [ebp - 0x23c]
mov dword [ebp - 0x254], ecx
mov edx, dword [ebp - 0x254]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.1001111a
mov esp, ebp
pop ebp
ret