Function at 0x6ec870
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x6ec878
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
lea edi, [ebp - 0x14]
xor eax, eax
push ebp
push 0x6ecd28
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, esi
call fcn.004082a8
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x6ec8cf
lea eax, [ebp - 0x18]
mov ecx, esi
mov edx, 0x6ecd44
call fcn.00408514
mov eax, dword [ebp - 0x18]
xor edx, edx
call fcn.006ed1f0
jmp 0x6eccf8
mov eax, dword [ebp - 0xc]
call fcn.004046b8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x6eccf1
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
mov eax, esi
call fcn.004082a8
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
jne 0x6ec926
lea eax, [ebp - 0x1c]
mov ecx, esi
mov edx, 0x6ecd90
call fcn.00408514
mov eax, dword [ebp - 0x1c]
xor edx, edx
call fcn.006ed1f0
call fcn.00406c4c
jmp 0x6eccf8
lea eax, [ebp - 0xc]
push eax
push edi
push 0x6ecdcc
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
jne 0x6ec960
lea eax, [ebp - 0x20]
mov ecx, esi
mov edx, 0x6ece0c
call fcn.00408514
mov eax, dword [ebp - 0x20]
xor edx, edx
call fcn.006ed1f0
call fcn.00406c4c
jmp 0x6eccf8
push 1
call sub.KERNEL32.DLL_Sleep_2
lea eax, [ebp - 4]
push eax
mov esi, dword [edi]
movzx eax, word [esi]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
movzx eax, word [esi + 2]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
lea edx, [ebp - 0x30]
mov ecx, 1
mov eax, 0x6ece54
call fcn.00422700
lea eax, [ebp - 0xc]
push eax
push edi
push 0x6ece74
push dword [ebp - 4]
push 0x6ecea4
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.0040859c
mov eax, dword [ebp - 0x34]
call fcn.004082a8
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6ec9d2
mov eax, ebx
mov edx, dword [edi]
call fcn.00408310
push 1
call sub.KERNEL32.DLL_Sleep_2
lea eax, [ebp - 0xc]
push eax
push edi
push 0x6ece74
push dword [ebp - 4]
push 0x6ececc
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.0040859c
mov eax, dword [ebp - 0x38]
call fcn.004082a8
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6eca18
lea eax, [ebx + 4]
mov edx, dword [edi]
call fcn.00408310
push 1
call sub.KERNEL32.DLL_Sleep_2
lea eax, [ebp - 0xc]
push eax
push edi
push 0x6ece74
push dword [ebp - 4]
push 0x6ecefc
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.0040859c
mov eax, dword [ebp - 0x3c]
call fcn.004082a8
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6eca5e
lea eax, [ebx + 8]
mov edx, dword [edi]
call fcn.00408310
push 1
call sub.KERNEL32.DLL_Sleep_2
lea eax, [ebp - 0xc]
push eax
push edi
push 0x6ece74
push dword [ebp - 4]
push 0x6ecf24
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.0040859c
mov eax, dword [ebp - 0x40]
call fcn.004082a8
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6ecaa4
lea eax, [ebx + 0xc]
mov edx, dword [edi]
call fcn.00408310
push 1
call sub.KERNEL32.DLL_Sleep_2
lea eax, [ebp - 0xc]
push eax
push edi
push 0x6ece74
push dword [ebp - 4]
push 0x6ecf4c
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.0040859c
mov eax, dword [ebp - 0x44]
call fcn.004082a8
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6ecaea
lea eax, [ebx + 0x10]
mov edx, dword [edi]
call fcn.00408310
push 1
call sub.KERNEL32.DLL_Sleep_2
lea eax, [ebp - 0xc]
push eax
push edi
push 0x6ece74
push dword [ebp - 4]
push 0x6ecf78
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.0040859c
mov eax, dword [ebp - 0x48]
call fcn.004082a8
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6ecb30
lea eax, [ebx + 0x14]
mov edx, dword [edi]
call fcn.00408310
push 1
call sub.KERNEL32.DLL_Sleep_2
lea eax, [ebp - 0xc]
push eax
push edi
push 0x6ece74
push dword [ebp - 4]
push 0x6ecfa8
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.0040859c
mov eax, dword [ebp - 0x4c]
call fcn.004082a8
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6ecb76
lea eax, [ebx + 0x18]
mov edx, dword [edi]
call fcn.00408310
push 1
call sub.KERNEL32.DLL_Sleep_2
lea eax, [ebp - 0xc]
push eax
push edi
push 0x6ece74
push dword [ebp - 4]
push 0x6ecfd8
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.0040859c
mov eax, dword [ebp - 0x50]
call fcn.004082a8
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6ecbbc
lea eax, [ebx + 0x1c]
mov edx, dword [edi]
call fcn.00408310
push 1
call sub.KERNEL32.DLL_Sleep_2
lea eax, [ebp - 0xc]
push eax
push edi
push 0x6ece74
push dword [ebp - 4]
push 0x6ed000
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.0040859c
mov eax, dword [ebp - 0x54]
call fcn.004082a8
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6ecc02
lea eax, [ebx + 0x20]
mov edx, dword [edi]
call fcn.00408310
push 1
call sub.KERNEL32.DLL_Sleep_2
lea eax, [ebp - 0xc]
push eax
push edi
push 0x6ece74
push dword [ebp - 4]
push 0x6ed02c
lea eax, [ebp - 0x58]
mov edx, 3
call fcn.0040859c
mov eax, dword [ebp - 0x58]
call fcn.004082a8
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6ecc48
lea eax, [ebx + 0x24]
mov edx, dword [edi]
call fcn.00408310
push 1
call sub.KERNEL32.DLL_Sleep_2
lea eax, [ebp - 0xc]
push eax
push edi
push 0x6ece74
push dword [ebp - 4]
push 0x6ed04c
lea eax, [ebp - 0x5c]
mov edx, 3
call fcn.0040859c
mov eax, dword [ebp - 0x5c]
call fcn.004082a8
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6ecc8e
lea eax, [ebx + 0x28]
mov edx, dword [edi]
call fcn.00408310
push 1
call sub.KERNEL32.DLL_Sleep_2
lea eax, [ebp - 0xc]
push eax
push edi
push 0x6ece74
push dword [ebp - 4]
push 0x6ed074
lea eax, [ebp - 0x60]
mov edx, 3
call fcn.0040859c
mov eax, dword [ebp - 0x60]
call fcn.004082a8
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6eccd4
lea eax, [ebx + 0x2c]
mov edx, dword [edi]
call fcn.00408310
push 1
call sub.KERNEL32.DLL_Sleep_2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6eccf8
mov eax, dword [ebp - 0x10]
call fcn.004046d4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6ecd2f
lea eax, [ebp - 0x60]
mov edx, 0xc
call fcn.004074c0
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004074c0
lea eax, [ebp - 4]
call fcn.00407460
ret