Function at 0x401180
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push str.CurrentVersion
push 0
push str.SOFTWAREMacromediaFlashPlayer
push 0x80000002
call fcn.0040d8b0
add esp, 0x14
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jne 0x4012e6
lea ecx, [ebp - 0x18]
push ecx
push 0x43b4bc
mov edx, dword [ebp - 8]
push edx
call fcn.00401540
add esp, 0xc
push eax
call fcn.00414e16
add esp, 4
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x18]
push eax
push 0x43b4c0
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00401540
add esp, 0xc
push eax
call fcn.00414e16
add esp, 4
mov dword [ebp - 0x28], eax
lea edx, [ebp - 0x18]
push edx
push 0x43b4c4
mov eax, dword [ebp - 0x18]
push eax
call fcn.00401540
add esp, 0xc
push eax
call fcn.00414e16
add esp, 4
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x18]
push ecx
push 0x43b4c8
mov edx, dword [ebp - 0x18]
push edx
call fcn.00401540
add esp, 0xc
push eax
call fcn.00414e16
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
push eax
call fcn.00401060
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], 0
jmp 0x401271
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 4
jge 0x40128b
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp + edx*4 - 0x2c]
cmp edx, dword [ecx + eax*4]
jne 0x40128b
jmp 0x401268
cmp dword [ebp - 0x1c], 4
je 0x4012a8
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ecx + eax*4]
cmp dword [ebp + edx*4 - 0x2c], eax
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x64]
push eax
call fcn.00414deb
add esp, 4
cmp dword [ebp - 8], 0
je 0x4012d9
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
push edx
call fcn.00414deb
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x10]
jmp 0x4014f0
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0x43b40f
push 0
push 0x43b4cc
push 0x80000000
call fcn.0040da10
add esp, 0x18
cmp eax, 1
je 0x40135f
mov dword [ebp - 0x34], 0
push 0
push 0
lea edx, [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, dword [ebp - 0x34]
push edx
push str.Adobe_flash_player_is_not_installed_on_the_system.__s
push 2
call fcn.0040d4e0
add esp, 0xc
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x10], 1
jmp 0x4014db
lea ecx, [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x401389
push str.::GetFileVersionInfoSize_Failed_to_get_Adobe_flash_player_version__d
call fcn.0040d430
add esp, 4
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x50]
push eax
call fcn.00414604
add esp, 4
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x50]
push eax
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x4013c9
push str.::GetFileVersionInfo_Failed_to_get_Adobe_flash_player_version__d
call fcn.0040d430
add esp, 4
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x38], 0
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x44]
push eax
push 0x43b5cc
mov ecx, dword [ebp - 0x48]
push ecx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x4013fe
push str.::VerQueryValue_Failed_to_get_Adobe_flash_player_version__d
call fcn.0040d430
add esp, 4
mov dword [ebp - 0x10], 1
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 8]
shr eax, 0x10
movzx ecx, ax
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 8]
and eax, 0xffff
movzx ecx, ax
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0xc]
shr eax, 0x10
movzx ecx, ax
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0xc]
and eax, 0xffff
movzx ecx, ax
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x60]
push edx
push str._d._d._d._d
mov eax, dword [ebp + 0xc]
push eax
call fcn.00414c57
add esp, 0x18
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x70]
push edx
call fcn.00414c52
add esp, 4
mov eax, dword [ebp + 8]
push eax
call fcn.00401060
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], 0
jmp 0x401492
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x40], 4
jge 0x4014ac
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp + edx*4 - 0x60]
cmp edx, dword [ecx + eax*4]
jne 0x4014ac
jmp 0x401489
cmp dword [ebp - 0x40], 4
je 0x4014c9
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x40]
mov eax, dword [ecx + eax*4]
cmp dword [ebp + edx*4 - 0x60], eax
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x74]
push eax
call fcn.00414deb
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x78]
push edx
call fcn.00414deb
add esp, 4
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret