Function at 0x401180
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0x43b40f
push 0
push str.CLSIDD27CDB6E_AE6D_11cf_96B8_444553540000InprocServer32
push 0x80000000
call fcn.0040d7a0
add esp, 0x18
cmp eax, 1
je 0x401214
mov dword [ebp - 0x10], 0
push 0
push 0
lea edx, [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, dword [ebp - 0x10]
push edx
push str.Adobe_flash_player_is_not_installed_on_the_system.__s
push 2
call fcn.0040d270
add esp, 0xc
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 8], 1
jmp 0x401390
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x40123e
push str.::GetFileVersionInfoSize_Failed_to_get_Adobe_flash_player_version__d
call fcn.0040d1c0
add esp, 4
mov dword [ebp - 8], 1
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00414364
add esp, 4
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x2c]
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x40127e
push str.::GetFileVersionInfo_Failed_to_get_Adobe_flash_player_version__d
call fcn.0040d1c0
add esp, 4
mov dword [ebp - 8], 1
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x20]
push eax
push 0x43b58c
mov ecx, dword [ebp - 0x24]
push ecx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x4012b3
push str.::VerQueryValue_Failed_to_get_Adobe_flash_player_version__d
call fcn.0040d1c0
add esp, 4
mov dword [ebp - 8], 1
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 8]
shr eax, 0x10
movzx ecx, ax
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 8]
and eax, 0xffff
movzx ecx, ax
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0xc]
shr eax, 0x10
movzx ecx, ax
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0xc]
and eax, 0xffff
movzx ecx, ax
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
push str._d._d._d._d
mov eax, dword [ebp + 0xc]
push eax
call fcn.004149bc
add esp, 0x18
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x44]
push edx
call fcn.004149b7
add esp, 4
mov eax, dword [ebp + 8]
push eax
call fcn.00401060
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0
jmp 0x401347
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 4
jge 0x401361
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + edx*4 - 0x3c]
cmp edx, dword [ecx + eax*4]
jne 0x401361
jmp 0x40133e
cmp dword [ebp - 0x1c], 4
je 0x40137e
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ecx + eax*4]
cmp dword [ebp + edx*4 - 0x3c], eax
sbb ecx, ecx
neg ecx
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
push eax
call fcn.004149b2
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004149b2
add esp, 4
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret