Function at 0x4c0ca4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xe
push 0
push 0
dec ecx
jne 0x4c0cac
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x4c108a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, 0x4c10a4
call fcn.0040494c
lea eax, [ebp - 4]
push eax
push edi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4c0cf0
xor ebx, ebx
jmp 0x4c1067
mov eax, dword [ebp - 8]
call fcn.004027d8
mov esi, eax
push esi
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
jne 0x4c0d1b
mov eax, esi
call fcn.004027f8
xor ebx, ebx
jmp 0x4c1067
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404d64
push eax
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
jne 0x4c0d44
mov eax, esi
call fcn.004027f8
xor ebx, ebx
jmp 0x4c1067
mov eax, dword [ebp - 0x10]
push esi
mov esi, eax
lea edi, [ebp - 0x44]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [ebp - 0x44]
mov dword [ebx], eax
mov eax, dword [ebp - 0x40]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x38]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x28]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x30], eax
lea eax, [ebp - 0xc]
mov edx, 0x4c10b0
call fcn.0040494c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x48]
mov ecx, 0x4c10d4
mov edx, dword [ebp - 0xc]
call fcn.00404bb8
mov eax, dword [ebp - 0x48]
call fcn.00404d64
push eax
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4c0de7
lea eax, [ebx + 0x34]
mov edx, dword [ebp - 0x10]
call fcn.00404aa4
jmp 0x4c0e33
lea eax, [ebp - 0xc]
mov edx, 0x4c10e8
call fcn.0040494c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x4c]
mov ecx, 0x4c10d4
mov edx, dword [ebp - 0xc]
call fcn.00404bb8
mov eax, dword [ebp - 0x4c]
call fcn.00404d64
push eax
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4c0e2c
lea eax, [ebx + 0x34]
mov edx, dword [ebp - 0x10]
call fcn.00404aa4
jmp 0x4c0e33
xor ebx, ebx
jmp 0x4c1067
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x50]
mov ecx, 0x4c110c
mov edx, dword [ebp - 0xc]
call fcn.00404bb8
mov eax, dword [ebp - 0x50]
call fcn.00404d64
push eax
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4c0e69
lea eax, [ebx + 0x38]
mov edx, dword [ebp - 0x10]
call fcn.00404aa4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
mov ecx, 0x4c1124
mov edx, dword [ebp - 0xc]
call fcn.00404bb8
mov eax, dword [ebp - 0x54]
call fcn.00404d64
push eax
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4c0e9f
lea eax, [ebx + 0x3c]
mov edx, dword [ebp - 0x10]
call fcn.00404aa4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x58]
mov ecx, 0x4c1138
mov edx, dword [ebp - 0xc]
call fcn.00404bb8
mov eax, dword [ebp - 0x58]
call fcn.00404d64
push eax
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4c0ed5
lea eax, [ebx + 0x40]
mov edx, dword [ebp - 0x10]
call fcn.00404aa4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x5c]
mov ecx, 0x4c1150
mov edx, dword [ebp - 0xc]
call fcn.00404bb8
mov eax, dword [ebp - 0x5c]
call fcn.00404d64
push eax
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4c0f0b
lea eax, [ebx + 0x44]
mov edx, dword [ebp - 0x10]
call fcn.00404aa4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x60]
mov ecx, 0x4c1168
mov edx, dword [ebp - 0xc]
call fcn.00404bb8
mov eax, dword [ebp - 0x60]
call fcn.00404d64
push eax
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4c0f41
lea eax, [ebx + 0x48]
mov edx, dword [ebp - 0x10]
call fcn.00404aa4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x64]
mov ecx, 0x4c1180
mov edx, dword [ebp - 0xc]
call fcn.00404bb8
mov eax, dword [ebp - 0x64]
call fcn.00404d64
push eax
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4c0f77
lea eax, [ebx + 0x4c]
mov edx, dword [ebp - 0x10]
call fcn.00404aa4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x68]
mov ecx, 0x4c119c
mov edx, dword [ebp - 0xc]
call fcn.00404bb8
mov eax, dword [ebp - 0x68]
call fcn.00404d64
push eax
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4c0fad
lea eax, [ebx + 0x50]
mov edx, dword [ebp - 0x10]
call fcn.00404aa4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x6c]
mov ecx, 0x4c11b0
mov edx, dword [ebp - 0xc]
call fcn.00404bb8
mov eax, dword [ebp - 0x6c]
call fcn.00404d64
push eax
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4c0fe3
lea eax, [ebx + 0x54]
mov edx, dword [ebp - 0x10]
call fcn.00404aa4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x70]
mov ecx, 0x4c11c8
mov edx, dword [ebp - 0xc]
call fcn.00404bb8
mov eax, dword [ebp - 0x70]
call fcn.00404d64
push eax
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4c1019
lea eax, [ebx + 0x58]
mov edx, dword [ebp - 0x10]
call fcn.00404aa4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x74]
mov ecx, 0x4c11dc
mov edx, dword [ebp - 0xc]
call fcn.00404bb8
mov eax, dword [ebp - 0x74]
call fcn.00404d64
push eax
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4c1051
lea eax, [ebx + 0x5c]
mov edx, dword [ebp - 0x10]
call fcn.00404aa4
jmp 0x4c105e
lea eax, [ebx + 0x5c]
mov edx, 0x4c11f0
call fcn.00404908
mov eax, esi
call fcn.004027f8
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c1091
lea eax, [ebp - 0x74]
mov edx, 0xc
call fcn.004048d8
lea eax, [ebp - 0xc]
call fcn.004048b4
ret