Function at 0x6ec834
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x6ec83c
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
lea edi, [ebp - 0x14]
xor eax, eax
push ebp
push 0x6eccec
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 0x6ec893
lea eax, [ebp - 0x18]
mov ecx, esi
mov edx, 0x6ecd08
call fcn.00408514
mov eax, dword [ebp - 0x18]
xor edx, edx
call fcn.006ed1b4
jmp 0x6eccbc
mov eax, dword [ebp - 0xc]
call fcn.004046b8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x6eccb5
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 0x6ec8ea
lea eax, [ebp - 0x1c]
mov ecx, esi
mov edx, 0x6ecd54
call fcn.00408514
mov eax, dword [ebp - 0x1c]
xor edx, edx
call fcn.006ed1b4
call fcn.00406c4c
jmp 0x6eccbc
lea eax, [ebp - 0xc]
push eax
push edi
push 0x6ecd90
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
jne 0x6ec924
lea eax, [ebp - 0x20]
mov ecx, esi
mov edx, 0x6ecdd0
call fcn.00408514
mov eax, dword [ebp - 0x20]
xor edx, edx
call fcn.006ed1b4
call fcn.00406c4c
jmp 0x6eccbc
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, 0x6ece18
call fcn.00422710
lea eax, [ebp - 0xc]
push eax
push edi
push 0x6ece38
push dword [ebp - 4]
push 0x6ece68
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 0x6ec996
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 0x6ece38
push dword [ebp - 4]
push 0x6ece90
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 0x6ec9dc
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 0x6ece38
push dword [ebp - 4]
push 0x6ecec0
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 0x6eca22
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 0x6ece38
push dword [ebp - 4]
push 0x6ecee8
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 0x6eca68
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 0x6ece38
push dword [ebp - 4]
push 0x6ecf10
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 0x6ecaae
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 0x6ece38
push dword [ebp - 4]
push 0x6ecf3c
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 0x6ecaf4
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 0x6ece38
push dword [ebp - 4]
push 0x6ecf6c
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 0x6ecb3a
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 0x6ece38
push dword [ebp - 4]
push 0x6ecf9c
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 0x6ecb80
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 0x6ece38
push dword [ebp - 4]
push 0x6ecfc4
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 0x6ecbc6
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 0x6ece38
push dword [ebp - 4]
push 0x6ecff0
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 0x6ecc0c
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 0x6ece38
push dword [ebp - 4]
push 0x6ed010
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 0x6ecc52
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 0x6ece38
push dword [ebp - 4]
push 0x6ed038
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 0x6ecc98
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 0x6eccbc
mov eax, dword [ebp - 0x10]
call fcn.004046d4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6eccf3
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