Function at 0x456cd4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x456cdc
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45712b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
mov edx, esi
call fcn.00404054
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.0040447c
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x457103
mov eax, dword [ebp - 4]
call fcn.00407db0
mov esi, eax
push esi
mov eax, dword [ebp - 4]
push eax
push 0
push edi
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x45713c
push esi
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x20]
and eax, dword [edx + 0x18]
mov dword [ebx + 0x6c], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x20]
mov dword [ebx + 0x70], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x24]
mov dword [ebx + 0x74], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_FileTimeToSystemTime
lea eax, [ebp - 0x38]
call fcn.00409ba0
fstp qword [ebx + 0x78]
wait
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x457140
push esi
call sub.version.dll_VerQueryValueA
lea ecx, [ebp - 0x3c]
mov eax, dword [ebp - 0x14]
movsx eax, word [eax + 2]
mov edx, 4
call fcn.00408298
mov eax, dword [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0x14]
movsx eax, word [eax]
mov edx, 4
call fcn.00408298
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x18]
pop ecx
call fcn.004042c8
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x457164
push dword [ebp - 0x18]
push 0x45717c
push 0x457188
lea eax, [ebp - 0x44]
mov edx, 4
call fcn.0040433c
mov eax, dword [ebp - 0x44]
call fcn.0040447c
push eax
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x456e2a
lea eax, [ebx + 0x30]
mov edx, dword [ebp - 0xc]
call fcn.004041b4
jmp 0x456e32
lea eax, [ebx + 0x30]
call fcn.00403fbc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x457164
push dword [ebp - 0x18]
push 0x45717c
push 0x45719c
lea eax, [ebp - 0x48]
mov edx, 4
call fcn.0040433c
mov eax, dword [ebp - 0x48]
call fcn.0040447c
push eax
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x456e79
lea eax, [ebx + 0x34]
mov edx, dword [ebp - 0xc]
call fcn.004041b4
jmp 0x456e81
lea eax, [ebx + 0x34]
call fcn.00403fbc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x457164
push dword [ebp - 0x18]
push 0x45717c
push 0x4571b4
lea eax, [ebp - 0x4c]
mov edx, 4
call fcn.0040433c
mov eax, dword [ebp - 0x4c]
call fcn.0040447c
push eax
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x456ec8
lea eax, [ebx + 0x38]
mov edx, dword [ebp - 0xc]
call fcn.004041b4
jmp 0x456ed0
lea eax, [ebx + 0x38]
call fcn.00403fbc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x457164
push dword [ebp - 0x18]
push 0x45717c
push 0x4571c8
lea eax, [ebp - 0x50]
mov edx, 4
call fcn.0040433c
mov eax, dword [ebp - 0x50]
call fcn.0040447c
push eax
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x456f17
lea eax, [ebx + 0x3c]
mov edx, dword [ebp - 0xc]
call fcn.004041b4
jmp 0x456f1f
lea eax, [ebx + 0x3c]
call fcn.00403fbc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x457164
push dword [ebp - 0x18]
push 0x45717c
push 0x4571e0
lea eax, [ebp - 0x54]
mov edx, 4
call fcn.0040433c
mov eax, dword [ebp - 0x54]
call fcn.0040447c
push eax
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x456f66
lea eax, [ebx + 0x40]
mov edx, dword [ebp - 0xc]
call fcn.004041b4
jmp 0x456f6e
lea eax, [ebx + 0x40]
call fcn.00403fbc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x457164
push dword [ebp - 0x18]
push 0x45717c
push 0x4571f8
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.0040433c
mov eax, dword [ebp - 0x58]
call fcn.0040447c
push eax
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x456fb5
lea eax, [ebx + 0x44]
mov edx, dword [ebp - 0xc]
call fcn.004041b4
jmp 0x456fbd
lea eax, [ebx + 0x44]
call fcn.00403fbc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x457164
push dword [ebp - 0x18]
push 0x45717c
push 0x457210
lea eax, [ebp - 0x5c]
mov edx, 4
call fcn.0040433c
mov eax, dword [ebp - 0x5c]
call fcn.0040447c
push eax
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x457004
lea eax, [ebx + 0x48]
mov edx, dword [ebp - 0xc]
call fcn.004041b4
jmp 0x45700c
lea eax, [ebx + 0x48]
call fcn.00403fbc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x457164
push dword [ebp - 0x18]
push 0x45717c
push 0x45722c
lea eax, [ebp - 0x60]
mov edx, 4
call fcn.0040433c
mov eax, dword [ebp - 0x60]
call fcn.0040447c
push eax
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x457053
lea eax, [ebx + 0x4c]
mov edx, dword [ebp - 0xc]
call fcn.004041b4
jmp 0x45705b
lea eax, [ebx + 0x4c]
call fcn.00403fbc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x457164
push dword [ebp - 0x18]
push 0x45717c
push 0x457240
lea eax, [ebp - 0x64]
mov edx, 4
call fcn.0040433c
mov eax, dword [ebp - 0x64]
call fcn.0040447c
push eax
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4570a2
lea eax, [ebx + 0x50]
mov edx, dword [ebp - 0xc]
call fcn.004041b4
jmp 0x4570aa
lea eax, [ebx + 0x50]
call fcn.00403fbc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x457164
push dword [ebp - 0x18]
push 0x45717c
push 0x457258
lea eax, [ebp - 0x68]
mov edx, 4
call fcn.0040433c
mov eax, dword [ebp - 0x68]
call fcn.0040447c
push eax
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4570f1
lea eax, [ebx + 0x54]
mov edx, dword [ebp - 0xc]
call fcn.004041b4
jmp 0x4570f9
lea eax, [ebx + 0x54]
call fcn.00403fbc
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004026ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457132
lea eax, [ebp - 0x68]
mov edx, 0xc
call fcn.00403fe0
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00403fe0
ret