Function at 0x4e9aac
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xe
push 0
push 0
dec ecx
jne 0x4e9ab4
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x4e9e92
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x4e9eac
call fcn.00404df4
lea eax, [ebp - 8]
push eax
push edi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4e9af8
xor ebx, ebx
jmp 0x4e9e6f
mov eax, dword [ebp - 0xc]
call fcn.00402f50
mov esi, eax
push esi
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push edi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
jne 0x4e9b23
mov eax, esi
call fcn.00402f6c
xor ebx, ebx
jmp 0x4e9e6f
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.004051ec
push eax
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
jne 0x4e9b4c
mov eax, esi
call fcn.00402f6c
xor ebx, ebx
jmp 0x4e9e6f
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 - 4]
mov edx, 0x4e9eb8
call fcn.00404df4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x48]
mov ecx, 0x4e9edc
mov edx, dword [ebp - 4]
call fcn.00405074
mov eax, dword [ebp - 0x48]
call fcn.004051ec
push eax
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4e9bef
lea eax, [ebx + 0x34]
mov edx, dword [ebp - 0x10]
call fcn.00404f54
jmp 0x4e9c3b
lea eax, [ebp - 4]
mov edx, 0x4e9ef0
call fcn.00404df4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x4c]
mov ecx, 0x4e9edc
mov edx, dword [ebp - 4]
call fcn.00405074
mov eax, dword [ebp - 0x4c]
call fcn.004051ec
push eax
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4e9c34
lea eax, [ebx + 0x34]
mov edx, dword [ebp - 0x10]
call fcn.00404f54
jmp 0x4e9c3b
xor ebx, ebx
jmp 0x4e9e6f
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x50]
mov ecx, 0x4e9f14
mov edx, dword [ebp - 4]
call fcn.00405074
mov eax, dword [ebp - 0x50]
call fcn.004051ec
push eax
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4e9c71
lea eax, [ebx + 0x38]
mov edx, dword [ebp - 0x10]
call fcn.00404f54
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
mov ecx, 0x4e9f2c
mov edx, dword [ebp - 4]
call fcn.00405074
mov eax, dword [ebp - 0x54]
call fcn.004051ec
push eax
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4e9ca7
lea eax, [ebx + 0x3c]
mov edx, dword [ebp - 0x10]
call fcn.00404f54
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x58]
mov ecx, 0x4e9f40
mov edx, dword [ebp - 4]
call fcn.00405074
mov eax, dword [ebp - 0x58]
call fcn.004051ec
push eax
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4e9cdd
lea eax, [ebx + 0x40]
mov edx, dword [ebp - 0x10]
call fcn.00404f54
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x5c]
mov ecx, 0x4e9f58
mov edx, dword [ebp - 4]
call fcn.00405074
mov eax, dword [ebp - 0x5c]
call fcn.004051ec
push eax
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4e9d13
lea eax, [ebx + 0x44]
mov edx, dword [ebp - 0x10]
call fcn.00404f54
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x60]
mov ecx, 0x4e9f70
mov edx, dword [ebp - 4]
call fcn.00405074
mov eax, dword [ebp - 0x60]
call fcn.004051ec
push eax
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4e9d49
lea eax, [ebx + 0x48]
mov edx, dword [ebp - 0x10]
call fcn.00404f54
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x64]
mov ecx, 0x4e9f88
mov edx, dword [ebp - 4]
call fcn.00405074
mov eax, dword [ebp - 0x64]
call fcn.004051ec
push eax
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4e9d7f
lea eax, [ebx + 0x4c]
mov edx, dword [ebp - 0x10]
call fcn.00404f54
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x68]
mov ecx, 0x4e9fa4
mov edx, dword [ebp - 4]
call fcn.00405074
mov eax, dword [ebp - 0x68]
call fcn.004051ec
push eax
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4e9db5
lea eax, [ebx + 0x50]
mov edx, dword [ebp - 0x10]
call fcn.00404f54
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x6c]
mov ecx, 0x4e9fb8
mov edx, dword [ebp - 4]
call fcn.00405074
mov eax, dword [ebp - 0x6c]
call fcn.004051ec
push eax
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4e9deb
lea eax, [ebx + 0x54]
mov edx, dword [ebp - 0x10]
call fcn.00404f54
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x70]
mov ecx, 0x4e9fd0
mov edx, dword [ebp - 4]
call fcn.00405074
mov eax, dword [ebp - 0x70]
call fcn.004051ec
push eax
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4e9e21
lea eax, [ebx + 0x58]
mov edx, dword [ebp - 0x10]
call fcn.00404f54
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x74]
mov ecx, 0x4e9fe4
mov edx, dword [ebp - 4]
call fcn.00405074
mov eax, dword [ebp - 0x74]
call fcn.004051ec
push eax
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4e9e59
lea eax, [ebx + 0x5c]
mov edx, dword [ebp - 0x10]
call fcn.00404f54
jmp 0x4e9e66
lea eax, [ebx + 0x5c]
mov edx, 0x4e9ff8
call fcn.00404db0
mov eax, esi
call fcn.00402f6c
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e9e99
lea eax, [ebp - 0x74]
mov edx, 0xc
call fcn.00404d80
lea eax, [ebp - 4]
call fcn.00404d5c
ret