Function at 0x4a8258
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x4a8260
push ebx
push esi
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x10]
xor eax, eax
push ebp
push 0x4a8497
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi]
call fcn.004a80c0
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
mov eax, dword [eax + 4]
call fcn.00409674
test al, al
jne 0x4a82bd
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ebp - 0x20]
mov edx, 0x4a84ac
call fcn.00404bd8
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x41733c]
call fcn.0040ca7c
call fcn.00404284
lea eax, [ebp - 8]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 4]
call fcn.00404d8c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
mov eax, dword [esi]
mov dword [eax + 8], ebx
cmp ebx, 1
jb 0x4a847c
mov eax, ebx
call fcn.00408ac8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
push ebx
push 0
mov eax, dword [esi]
mov eax, dword [eax + 4]
call fcn.00404d8c
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4a84c0
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
cmp dword [ebp - 8], 4
jb 0x4a8376
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov ecx, 2
mov edx, dword [ebp - 0x14]
call fcn.00409968
lea ecx, [ebp - 0x1c]
mov edx, 4
mov eax, dword [ebp - 0x18]
call fcn.00409280
mov edx, dword [ebp - 0x14]
add edx, 2
lea eax, [ebp - 0x18]
mov ecx, 2
call fcn.00409968
lea ecx, [ebp - 0x24]
mov edx, 4
mov eax, dword [ebp - 0x18]
call fcn.00409280
mov ecx, dword [ebp - 0x24]
mov eax, dword [esi]
add eax, 0x2c
mov edx, dword [ebp - 0x1c]
call fcn.00404bd8
push ebp
lea edx, [ebp - 0x28]
mov eax, 0x4a84e4
call fcn.004a8190
pop ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [esi]
add eax, 0x1c
call fcn.00404920
push ebp
lea edx, [ebp - 0x2c]
mov eax, 0x4a84f8
call fcn.004a8190
pop ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [esi]
add eax, 0x10
call fcn.00404920
push ebp
lea edx, [ebp - 0x30]
mov eax, 0x4a8510
call fcn.004a8190
pop ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [esi]
add eax, 0xc
call fcn.00404920
push ebp
lea edx, [ebp - 0x34]
mov eax, 0x4a8524
call fcn.004a8190
pop ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [esi]
add eax, 0x14
call fcn.00404920
push ebp
lea edx, [ebp - 0x38]
mov eax, 0x4a853c
call fcn.004a8190
pop ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [esi]
add eax, 0x28
call fcn.00404920
push ebp
lea edx, [ebp - 0x3c]
mov eax, 0x4a8554
call fcn.004a8190
pop ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [esi]
add eax, 0x18
call fcn.00404920
push ebp
lea edx, [ebp - 0x40]
mov eax, 0x4a8570
call fcn.004a8190
pop ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [esi]
add eax, 0x24
call fcn.00404920
push ebp
lea edx, [ebp - 0x44]
mov eax, 0x4a8584
call fcn.004a8190
pop ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [esi]
add eax, 0x20
call fcn.00404920
push ebp
lea edx, [ebp - 0x48]
mov eax, 0x4a859c
call fcn.004a8190
pop ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [esi]
add eax, 0x30
call fcn.00404920
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004027ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a849e
lea eax, [ebp - 0x48]
mov edx, 0xc
call fcn.004048f0
ret