Function at 0x6ce954
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x6ce95c
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
lea edi, [ebp - 0x14]
xor eax, eax
push ebp
push 0x6cee0c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, esi
call fcn.0040a90c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x6ce9b3
lea eax, [ebp - 0x18]
mov ecx, esi
mov edx, 0x6cee28
call fcn.0040ab78
mov eax, dword [ebp - 0x18]
xor edx, edx
call fcn.0074fa6c
jmp 0x6ceddc
mov eax, dword [ebp - 0xc]
call fcn.00406ac4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x6cedd5
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.0040a90c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
jne 0x6cea0a
lea eax, [ebp - 0x1c]
mov ecx, esi
mov edx, 0x6cee74
call fcn.0040ab78
mov eax, dword [ebp - 0x1c]
xor edx, edx
call fcn.0074fa6c
call fcn.00409500
jmp 0x6ceddc
lea eax, [ebp - 0xc]
push eax
push edi
push 0x6ceeb0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
jne 0x6cea44
lea eax, [ebp - 0x20]
mov ecx, esi
mov edx, 0x6ceef0
call fcn.0040ab78
mov eax, dword [ebp - 0x20]
xor edx, edx
call fcn.0074fa6c
call fcn.00409500
jmp 0x6ceddc
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, 0x6cef38
call fcn.00425664
lea eax, [ebp - 0xc]
push eax
push edi
push 0x6cef58
push dword [ebp - 4]
push 0x6cef88
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.0040ac00
mov eax, dword [ebp - 0x34]
call fcn.0040a90c
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6ceab6
mov eax, ebx
mov edx, dword [edi]
call fcn.0040a974
push 1
call sub.KERNEL32.DLL_Sleep_2
lea eax, [ebp - 0xc]
push eax
push edi
push 0x6cef58
push dword [ebp - 4]
push 0x6cefb0
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.0040ac00
mov eax, dword [ebp - 0x38]
call fcn.0040a90c
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6ceafc
lea eax, [ebx + 4]
mov edx, dword [edi]
call fcn.0040a974
push 1
call sub.KERNEL32.DLL_Sleep_2
lea eax, [ebp - 0xc]
push eax
push edi
push 0x6cef58
push dword [ebp - 4]
push 0x6cefe0
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.0040ac00
mov eax, dword [ebp - 0x3c]
call fcn.0040a90c
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6ceb42
lea eax, [ebx + 8]
mov edx, dword [edi]
call fcn.0040a974
push 1
call sub.KERNEL32.DLL_Sleep_2
lea eax, [ebp - 0xc]
push eax
push edi
push 0x6cef58
push dword [ebp - 4]
push 0x6cf008
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.0040ac00
mov eax, dword [ebp - 0x40]
call fcn.0040a90c
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6ceb88
lea eax, [ebx + 0xc]
mov edx, dword [edi]
call fcn.0040a974
push 1
call sub.KERNEL32.DLL_Sleep_2
lea eax, [ebp - 0xc]
push eax
push edi
push 0x6cef58
push dword [ebp - 4]
push 0x6cf030
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.0040ac00
mov eax, dword [ebp - 0x44]
call fcn.0040a90c
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6cebce
lea eax, [ebx + 0x10]
mov edx, dword [edi]
call fcn.0040a974
push 1
call sub.KERNEL32.DLL_Sleep_2
lea eax, [ebp - 0xc]
push eax
push edi
push 0x6cef58
push dword [ebp - 4]
push 0x6cf05c
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.0040ac00
mov eax, dword [ebp - 0x48]
call fcn.0040a90c
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6cec14
lea eax, [ebx + 0x14]
mov edx, dword [edi]
call fcn.0040a974
push 1
call sub.KERNEL32.DLL_Sleep_2
lea eax, [ebp - 0xc]
push eax
push edi
push 0x6cef58
push dword [ebp - 4]
push 0x6cf08c
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.0040ac00
mov eax, dword [ebp - 0x4c]
call fcn.0040a90c
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6cec5a
lea eax, [ebx + 0x18]
mov edx, dword [edi]
call fcn.0040a974
push 1
call sub.KERNEL32.DLL_Sleep_2
lea eax, [ebp - 0xc]
push eax
push edi
push 0x6cef58
push dword [ebp - 4]
push 0x6cf0bc
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.0040ac00
mov eax, dword [ebp - 0x50]
call fcn.0040a90c
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6ceca0
lea eax, [ebx + 0x1c]
mov edx, dword [edi]
call fcn.0040a974
push 1
call sub.KERNEL32.DLL_Sleep_2
lea eax, [ebp - 0xc]
push eax
push edi
push 0x6cef58
push dword [ebp - 4]
push 0x6cf0e4
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.0040ac00
mov eax, dword [ebp - 0x54]
call fcn.0040a90c
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6cece6
lea eax, [ebx + 0x20]
mov edx, dword [edi]
call fcn.0040a974
push 1
call sub.KERNEL32.DLL_Sleep_2
lea eax, [ebp - 0xc]
push eax
push edi
push 0x6cef58
push dword [ebp - 4]
push 0x6cf110
lea eax, [ebp - 0x58]
mov edx, 3
call fcn.0040ac00
mov eax, dword [ebp - 0x58]
call fcn.0040a90c
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6ced2c
lea eax, [ebx + 0x24]
mov edx, dword [edi]
call fcn.0040a974
push 1
call sub.KERNEL32.DLL_Sleep_2
lea eax, [ebp - 0xc]
push eax
push edi
push 0x6cef58
push dword [ebp - 4]
push 0x6cf130
lea eax, [ebp - 0x5c]
mov edx, 3
call fcn.0040ac00
mov eax, dword [ebp - 0x5c]
call fcn.0040a90c
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6ced72
lea eax, [ebx + 0x28]
mov edx, dword [edi]
call fcn.0040a974
push 1
call sub.KERNEL32.DLL_Sleep_2
lea eax, [ebp - 0xc]
push eax
push edi
push 0x6cef58
push dword [ebp - 4]
push 0x6cf158
lea eax, [ebp - 0x60]
mov edx, 3
call fcn.0040ac00
mov eax, dword [ebp - 0x60]
call fcn.0040a90c
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6cedb8
lea eax, [ebx + 0x2c]
mov edx, dword [edi]
call fcn.0040a974
push 1
call sub.KERNEL32.DLL_Sleep_2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6ceddc
mov eax, dword [ebp - 0x10]
call fcn.00406ae0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6cee13
lea eax, [ebp - 0x60]
mov edx, 0xc
call fcn.00409dac
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00409dac
lea eax, [ebp - 4]
call fcn.00409d4c
ret