Function at 0x529bb8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x529bc0
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x529eaa
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x18], eax
xor ebx, ebx
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call fcn.00405398
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x529e87
mov eax, dword [ebp - 8]
call fcn.00402b58
mov edi, eax
push edi
mov eax, dword [ebp - 8]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00405398
push eax
call sub.version.dll_GetFileVersionInfoA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x529e80
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x529ebc
push edi
call sub.version.dll_VerQueryValueA
push 0x529ee0
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
mov edx, 4
call fcn.00409e58
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
call fcn.00408314
movzx eax, ax
lea ecx, [ebp - 0x20]
mov edx, 4
call fcn.00409e58
push dword [ebp - 0x20]
push 0x529efc
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00405258
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x24]
mov ecx, 0x529f08
mov edx, dword [ebp - 0x14]
call fcn.004051e4
mov eax, dword [ebp - 0x24]
call fcn.00405398
push eax
push edi
call sub.version.dll_VerQueryValueA
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.004050b4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x28]
mov ecx, 0x529f1c
mov edx, dword [ebp - 0x14]
call fcn.004051e4
mov eax, dword [ebp - 0x28]
call fcn.00405398
push eax
push edi
call sub.version.dll_VerQueryValueA
lea eax, [esi + 4]
mov edx, dword [ebp - 0xc]
call fcn.004050b4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2c]
mov ecx, 0x529f34
mov edx, dword [ebp - 0x14]
call fcn.004051e4
mov eax, dword [ebp - 0x2c]
call fcn.00405398
push eax
push edi
call sub.version.dll_VerQueryValueA
lea eax, [esi + 8]
mov edx, dword [ebp - 0xc]
call fcn.004050b4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x30]
mov ecx, 0x529f48
mov edx, dword [ebp - 0x14]
call fcn.004051e4
mov eax, dword [ebp - 0x30]
call fcn.00405398
push eax
push edi
call sub.version.dll_VerQueryValueA
lea eax, [esi + 0xc]
mov edx, dword [ebp - 0xc]
call fcn.004050b4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x34]
mov ecx, 0x529f60
mov edx, dword [ebp - 0x14]
call fcn.004051e4
mov eax, dword [ebp - 0x34]
call fcn.00405398
push eax
push edi
call sub.version.dll_VerQueryValueA
lea eax, [esi + 0x10]
mov edx, dword [ebp - 0xc]
call fcn.004050b4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x38]
mov ecx, 0x529f78
mov edx, dword [ebp - 0x14]
call fcn.004051e4
mov eax, dword [ebp - 0x38]
call fcn.00405398
push eax
push edi
call sub.version.dll_VerQueryValueA
lea eax, [esi + 0x14]
mov edx, dword [ebp - 0xc]
call fcn.004050b4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x3c]
mov ecx, 0x529f90
mov edx, dword [ebp - 0x14]
call fcn.004051e4
mov eax, dword [ebp - 0x3c]
call fcn.00405398
push eax
push edi
call sub.version.dll_VerQueryValueA
lea eax, [esi + 0x18]
mov edx, dword [ebp - 0xc]
call fcn.004050b4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x40]
mov ecx, 0x529fac
mov edx, dword [ebp - 0x14]
call fcn.004051e4
mov eax, dword [ebp - 0x40]
call fcn.00405398
push eax
push edi
call sub.version.dll_VerQueryValueA
lea eax, [esi + 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.004050b4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x44]
mov ecx, 0x529fc0
mov edx, dword [ebp - 0x14]
call fcn.004051e4
mov eax, dword [ebp - 0x44]
call fcn.00405398
push eax
push edi
call sub.version.dll_VerQueryValueA
lea eax, [esi + 0x20]
mov edx, dword [ebp - 0xc]
call fcn.004050b4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x48]
mov ecx, 0x529fd8
mov edx, dword [ebp - 0x14]
call fcn.004051e4
mov eax, dword [ebp - 0x48]
call fcn.00405398
push eax
push edi
call sub.version.dll_VerQueryValueA
lea eax, [esi + 0x24]
mov edx, dword [ebp - 0xc]
call fcn.004050b4
mov eax, edi
call fcn.00402b88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x529eb1
lea eax, [ebp - 0x48]
mov edx, 0xc
call fcn.00404ee0
lea eax, [ebp - 0x14]
call fcn.00404ebc
ret