Function at 0x464fb4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 8
push 0
push 0
dec ecx
jne 0x464fbd
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4652ed
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x14], eax
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.00405004
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x4652ca
mov eax, dword [ebp - 8]
call fcn.0040270c
mov edi, eax
push edi
mov eax, dword [ebp - 8]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00405004
push eax
call sub.version.dll_GetFileVersionInfoA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x4652c3
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x465300
push edi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x46506c
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
call fcn.00464fb0
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, 0x465324
call fcn.0040a0ec
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x465334
push dword [ebp - 0x18]
push 0x46534c
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404ec4
mov eax, dword [ebp - 0x24]
call fcn.00405004
push eax
push edi
call sub.version.dll_VerQueryValueA
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.00404d3c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x465334
push dword [ebp - 0x18]
push 0x465364
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00404ec4
mov eax, dword [ebp - 0x28]
call fcn.00405004
push eax
push edi
call sub.version.dll_VerQueryValueA
lea eax, [esi + 4]
mov edx, dword [ebp - 0xc]
call fcn.00404d3c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x465334
push dword [ebp - 0x18]
push 0x465380
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.00404ec4
mov eax, dword [ebp - 0x2c]
call fcn.00405004
push eax
push edi
call sub.version.dll_VerQueryValueA
lea eax, [esi + 8]
mov edx, dword [ebp - 0xc]
call fcn.00404d3c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x465334
push dword [ebp - 0x18]
push 0x465398
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00404ec4
mov eax, dword [ebp - 0x30]
call fcn.00405004
push eax
push edi
call sub.version.dll_VerQueryValueA
lea eax, [esi + 0xc]
mov edx, dword [ebp - 0xc]
call fcn.00404d3c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x465334
push dword [ebp - 0x18]
push 0x4653b0
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00404ec4
mov eax, dword [ebp - 0x34]
call fcn.00405004
push eax
push edi
call sub.version.dll_VerQueryValueA
lea eax, [esi + 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00404d3c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x465334
push dword [ebp - 0x18]
push 0x4653c8
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00404ec4
mov eax, dword [ebp - 0x38]
call fcn.00405004
push eax
push edi
call sub.version.dll_VerQueryValueA
lea eax, [esi + 0x14]
mov edx, dword [ebp - 0xc]
call fcn.00404d3c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x465334
push dword [ebp - 0x18]
push 0x4653e4
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00404ec4
mov eax, dword [ebp - 0x3c]
call fcn.00405004
push eax
push edi
call sub.version.dll_VerQueryValueA
lea eax, [esi + 0x18]
mov edx, dword [ebp - 0xc]
call fcn.00404d3c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x465334
push dword [ebp - 0x18]
push 0x465400
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00404ec4
mov eax, dword [ebp - 0x40]
call fcn.00405004
push eax
push edi
call sub.version.dll_VerQueryValueA
lea eax, [esi + 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.00404d3c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x465334
push dword [ebp - 0x18]
push 0x465418
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.00404ec4
mov eax, dword [ebp - 0x44]
call fcn.00405004
push eax
push edi
call sub.version.dll_VerQueryValueA
lea eax, [esi + 0x20]
mov edx, dword [ebp - 0xc]
call fcn.00404d3c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x465334
push dword [ebp - 0x18]
push 0x465430
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.00404ec4
mov eax, dword [ebp - 0x48]
call fcn.00405004
push eax
push edi
call sub.version.dll_VerQueryValueA
lea eax, [esi + 0x24]
mov edx, dword [ebp - 0xc]
call fcn.00404d3c
mov eax, edi
call fcn.0040272c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4652f4
lea eax, [ebp - 0x48]
mov edx, 0xa
call fcn.00404b68
lea eax, [ebp - 0x18]
call fcn.00404b44
ret