Function at 0x1100ed90
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2cc
mov eax, dword [0x11064c1c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push eax
lea ecx, [ebp - 0x268]
call fcn.11022180
lea ecx, [ebp - 0x268]
mov dword [ebp - fcn.1100e530], vtable.CMSIDllEx.0
call fcn.110221d0
test eax, eax
jne 0x1100edf0
push str.MSIGetFileVersion:_Error_loading_MSI_dll
call fcn.1100bbe0
add esp, 4
lea ecx, [ebp - 0x268]
call fcn.110221b0
mov eax, 0x643
jmp 0x1100f092
push str.MSIGetFileVersion_n
call fcn.1100bc80
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x22a]
push ecx
mov word [ebp - 0x22c], ax
call fcn.110278e0
add esp, 0x10
lea edx, [ebp - 0x238]
push edx
lea eax, [ebp - 0x22c]
push eax
push str.VERFILEPATH
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x238], 0x104
call fcn.11022280
test eax, eax
je 0x1100ee51
push eax
push str.VERFILEPATH
push str.GetProp__s__ERROR__d_n
jmp 0x1100ee62
lea ecx, [ebp - 0x22c]
push ecx
push str.VERFILEPATH
push str.GetProp__s____s_n
call fcn.1100bc80
add esp, 0xc
lea ecx, [ebp - 0x2cc]
call fcn.11003750
mov dword [ebp - 0x230], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ebx, dword [ebp - 0x2cc]
mov esi, eax
mov eax, dword [ebp - 0x298]
test eax, eax
jne 0x1100eea7
push str.IsWow64Process
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1100eeb3
lea edx, [ebp - 0x230]
push edx
push esi
call eax
jmp 0x1100eebb
push 0x78
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x230], 0
je 0x1100eef1
mov eax, dword [ebp - 0x280]
test eax, eax
jne 0x1100eede
push str.Wow64DisableWow64FsRedirection
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1100eee9
lea ecx, [ebp - 0x23c]
push ecx
call eax
jmp 0x1100eef1
push 0x78
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
lea edx, [ebp - 0x22c]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x1100f044
cmp edi, 0x2800
jae 0x1100f044
call fcn.11027ad0
mov esi, esp
push esi
push edi
push 0
lea eax, [ebp - 0x22c]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1100f044
lea ecx, [ebp - 0x240]
push ecx
lea edx, [ebp - 0x234]
push edx
push 0x11052ca4
push esi
call sub.VERSION.dll_VerQueryValueW
mov eax, dword [ebp - 0x234]
movzx edx, word [eax + 0xa]
movzx esi, word [eax + 8]
movzx edi, word [eax + 0xe]
movzx ebx, word [eax + 0xc]
push 0xa
lea ecx, [ebp - 0x24]
push ecx
push edx
call fcn.1102b971
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
push str.VER_A
lea ecx, [ebp - 0x268]
call fcn.110222b0
lea ecx, [ebp - 0x24]
push ecx
push str.VER_A
push str.SetProp__s___s__n
call fcn.1100bc80
push 0xa
lea edx, [ebp - 0x24]
push edx
push esi
call fcn.1102b971
add esp, 0x18
lea eax, [ebp - 0x24]
push eax
push str.VER_B
lea ecx, [ebp - 0x268]
call fcn.110222b0
lea ecx, [ebp - 0x24]
push ecx
push str.VER_B
push str.SetProp__s___s__n
call fcn.1100bc80
push 0xa
lea edx, [ebp - 0x24]
push edx
push edi
call fcn.1102b971
add esp, 0x18
lea eax, [ebp - 0x24]
push eax
push str.VER_C
lea ecx, [ebp - 0x268]
call fcn.110222b0
lea ecx, [ebp - 0x24]
push ecx
push str.VER_C
push str.SetProp__s___s__n
call fcn.1100bc80
push 0xa
lea edx, [ebp - 0x24]
push edx
push ebx
call fcn.1102b971
add esp, 0x18
lea eax, [ebp - 0x24]
push eax
push str.VER_D
lea ecx, [ebp - 0x268]
call fcn.110222b0
lea ecx, [ebp - 0x24]
push ecx
push str.VER_D
push str.SetProp__s___s__n
call fcn.1100bc80
mov ebx, dword [ebp - 0x2cc]
add esp, 0xc
cmp dword [ebp - 0x230], 0
je 0x1100f07a
mov eax, dword [ebp - 0x27c]
mov esi, dword [ebp - 0x23c]
test eax, eax
jne 0x1100f06d
push str.Wow64RevertWow64FsRedirection
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1100f072
push esi
call eax
jmp 0x1100f07a
push 0x78
call dword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
je 0x1100f085
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x268]
call fcn.110221b0
xor eax, eax
lea esp, [ebp - 0x2d8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.110278cd
mov esp, ebp
pop ebp
ret 4