Function at 0x4eb12c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0x4eb135
xchg dword [ebp - 4], ecx
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405518
xor eax, eax
push ebp
push 0x4eb569
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
test ebx, ebx
je 0x4eb546
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x44]
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
call fcn.00405528
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x4eb546
mov eax, dword [ebp - 0xc]
call fcn.004096d8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4eb53f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push esi
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x4eb57c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
cmp dword [ebp - 0x20], 0
je 0x4eb522
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x20]
movzx eax, word [eax + 2]
mov edx, 4
call fcn.00409d78
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
movzx eax, word [eax]
mov edx, 4
call fcn.00409d78
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
pop ecx
call fcn.00405374
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x4eb59c
push dword [ebp - 0x24]
push 0x4eb5b4
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.004053e8
mov eax, dword [ebp - 0x30]
call fcn.00405528
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x18]
call fcn.00405260
mov ecx, dword [ebp - 0x34]
mov edx, 0x4eb5cc
mov eax, ebx
call fcn.0041d2d4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x4eb59c
push dword [ebp - 0x24]
push 0x4eb5e0
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.004053e8
mov eax, dword [ebp - 0x38]
call fcn.00405528
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 0x18]
call fcn.00405260
mov ecx, dword [ebp - 0x3c]
mov edx, 0x4eb5f8
mov eax, ebx
call fcn.0041d2d4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x4eb59c
push dword [ebp - 0x24]
push 0x4eb60c
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.004053e8
mov eax, dword [ebp - 0x40]
call fcn.00405528
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x18]
call fcn.00405260
mov ecx, dword [ebp - 0x44]
mov edx, 0x4eb628
mov eax, ebx
call fcn.0041d2d4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x4eb59c
push dword [ebp - 0x24]
push 0x4eb640
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.004053e8
mov eax, dword [ebp - 0x48]
call fcn.00405528
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x18]
call fcn.00405260
mov ecx, dword [ebp - 0x4c]
mov edx, 0x4eb658
mov eax, ebx
call fcn.0041d2d4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x4eb59c
push dword [ebp - 0x24]
push 0x4eb670
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.004053e8
mov eax, dword [ebp - 0x50]
call fcn.00405528
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 0x18]
call fcn.00405260
mov ecx, dword [ebp - 0x54]
mov edx, 0x4eb688
mov eax, ebx
call fcn.0041d2d4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x4eb59c
push dword [ebp - 0x24]
push 0x4eb6a0
lea eax, [ebp - 0x58]
mov edx, 3
call fcn.004053e8
mov eax, dword [ebp - 0x58]
call fcn.00405528
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
lea eax, [ebp - 0x5c]
mov edx, dword [ebp - 0x18]
call fcn.00405260
mov ecx, dword [ebp - 0x5c]
mov edx, 0x4eb6bc
mov eax, ebx
call fcn.0041d2d4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x4eb59c
push dword [ebp - 0x24]
push 0x4eb6d4
lea eax, [ebp - 0x60]
mov edx, 3
call fcn.004053e8
mov eax, dword [ebp - 0x60]
call fcn.00405528
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
lea eax, [ebp - 0x64]
mov edx, dword [ebp - 0x18]
call fcn.00405260
mov ecx, dword [ebp - 0x64]
mov edx, 0x4eb6f0
mov eax, ebx
call fcn.0041d2d4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x4eb59c
push dword [ebp - 0x24]
push 0x4eb70c
lea eax, [ebp - 0x68]
mov edx, 3
call fcn.004053e8
mov eax, dword [ebp - 0x68]
call fcn.00405528
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0x18]
call fcn.00405260
mov ecx, dword [ebp - 0x6c]
mov edx, 0x4eb724
mov eax, ebx
call fcn.0041d2d4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x4eb59c
push dword [ebp - 0x24]
push 0x4eb738
lea eax, [ebp - 0x70]
mov edx, 3
call fcn.004053e8
mov eax, dword [ebp - 0x70]
call fcn.00405528
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
lea eax, [ebp - 0x74]
mov edx, dword [ebp - 0x18]
call fcn.00405260
mov ecx, dword [ebp - 0x74]
mov edx, 0x4eb750
mov eax, ebx
call fcn.0041d2d4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x4eb59c
push dword [ebp - 0x24]
push 0x4eb768
lea eax, [ebp - 0x78]
mov edx, 3
call fcn.004053e8
mov eax, dword [ebp - 0x78]
call fcn.00405528
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
lea eax, [ebp - 0x7c]
mov edx, dword [ebp - 0x18]
call fcn.00405260
mov ecx, dword [ebp - 0x7c]
mov edx, 0x4eb77c
mov eax, ebx
call fcn.0041d2d4
mov byte [ebp - 5], 1
jmp 0x4eb526
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eb546
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.00402b70
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eb570
lea eax, [ebp - 0x7c]
mov edx, 0x17
call fcn.0040508c
lea eax, [ebp - 4]
call fcn.00405068
ret