Function at 0x410fcf
Capabilities:
Get file version info

Disassembly:
push ebp
sub esp, 0x134
lea ebp, [esp - 4]
mov eax, dword [0x4ff5d0]
xor eax, ebp
mov dword [ebp + 0x134], eax
push 0x2c
mov eax, 0x4bc65a
call fcn.004943c6
mov esi, dword [ebp + 0x140]
mov edi, dword [ebp + 0x144]
push esi
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x18], edi
call fcn.00472340
push 4
lea eax, [ebp - 0x28]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], ebx
call fcn.00472ab0
push str..msi
push eax
mov byte [ebp - 4], 1
call fcn.0040d604
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x11], al
mov byte [ebp - 4], bl
call fcn.00472320
cmp byte [ebp - 0x11], bl
je 0x4110ee
push ebx
push 2
mov dword [ebp - 0x24], 0x32
mov dword [ebp - 0x10], ebx
call sub.msi.dll_MsiSetPropertyW
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
push esi
call sub.msi.dll_MsiPreviewBillboardA
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0x100]
push eax
push 0x4d1c20
push dword [ebp - 0x10]
call sub.msi.dll_MsiGetSourcePathA
push ebx
push dword [ebp - 0x18]
call sub.msi.dll_MsiSetPropertyW
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
push ecx
push ecx
lea eax, [ebp + 0x100]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.00472340
call fcn.0040e19d
pop ecx
pop ecx
mov esi, eax
cmp edi, ebx
je 0x4110bd
lea eax, [ebp + 0x100]
push eax
push edi
call fcn.00494820
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00472320
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x134]
xor ecx, ebp
call fcn.00493f43
add ebp, 0x138
leave
ret
lea eax, [ebp - 0x30]
push eax
push esi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x24], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
cmp edi, ebx
jbe 0x4111df
push edi
call fcn.00491370
pop ecx
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x4111df
push eax
push edi
push dword [ebp - 0x30]
push esi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jle 0x4111d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4111d6
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
push str.VarFileInfoTranslation
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x2c], ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4111d6
push 0xff
lea eax, [ebp + 1]
push ebx
push eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp], bl
call fcn.00493d40
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
lea eax, [ebp]
push str.StringFileInfo_04x_04xProductVersion
push eax
call fcn.004952eb
add esp, 0x1c
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4111d6
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push dword [ebp - 0x20]
call fcn.00472340
call fcn.0040e19d
pop ecx
pop ecx
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x18], ebx
je 0x4111d6
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call fcn.004944d0
add esp, 0xc
push dword [ebp - 0x10]
call fcn.00493e3a
pop ecx
mov esi, dword [ebp - 0x24]
jmp 0x4110bd