Function at 0x4ed324
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xe
push 0
push 0
dec ecx
jne 0x4ed32c
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x4ed70a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x4ed724
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 0x4ed370
xor ebx, ebx
jmp 0x4ed6e7
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 0x4ed39b
mov eax, esi
call fcn.00402f6c
xor ebx, ebx
jmp 0x4ed6e7
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 0x4ed3c4
mov eax, esi
call fcn.00402f6c
xor ebx, ebx
jmp 0x4ed6e7
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, 0x4ed730
call fcn.00404df4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x48]
mov ecx, 0x4ed754
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 0x4ed467
lea eax, [ebx + 0x34]
mov edx, dword [ebp - 0x10]
call fcn.00404f54
jmp 0x4ed4b3
lea eax, [ebp - 4]
mov edx, 0x4ed768
call fcn.00404df4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x4c]
mov ecx, 0x4ed754
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 0x4ed4ac
lea eax, [ebx + 0x34]
mov edx, dword [ebp - 0x10]
call fcn.00404f54
jmp 0x4ed4b3
xor ebx, ebx
jmp 0x4ed6e7
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x50]
mov ecx, 0x4ed78c
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 0x4ed4e9
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, 0x4ed7a4
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 0x4ed51f
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, 0x4ed7b8
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 0x4ed555
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, 0x4ed7d0
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 0x4ed58b
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, 0x4ed7e8
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 0x4ed5c1
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, 0x4ed800
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 0x4ed5f7
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, 0x4ed81c
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 0x4ed62d
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, 0x4ed830
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 0x4ed663
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, 0x4ed848
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 0x4ed699
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, 0x4ed85c
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 0x4ed6d1
lea eax, [ebx + 0x5c]
mov edx, dword [ebp - 0x10]
call fcn.00404f54
jmp 0x4ed6de
lea eax, [ebx + 0x5c]
mov edx, 0x4ed870
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 0x4ed711
lea eax, [ebp - 0x74]
mov edx, 0xc
call fcn.00404d80
lea eax, [ebp - 4]
call fcn.00404d5c
ret