Function at 0x76ad90
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x76ad98
push ecx
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x76b21e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, esi
call fcn.0040ae78
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040b924
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x76b1f6
mov eax, dword [ebp - 0xc]
call fcn.00406efc
mov esi, eax
push esi
mov eax, dword [ebp - 0xc]
push eax
push 0
push edi
call sub.version.dll_GetFileVersionInfoW
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x76b22c
push esi
call sub.version.dll_VerQueryValueW
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x20]
and eax, dword [edx + 0x18]
mov dword [ebx + 0x7c], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x20]
mov dword [ebx + 0x80], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x24]
mov dword [ebx + 0x84], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x28], 0
jne 0x76ae4f
cmp dword [ebp - 0x24], 0
je 0x76ae6d
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_FileTimeToSystemTime
lea eax, [ebp - 0x38]
call fcn.00429c34
fstp qword [ebx + 0x88]
wait
jmp 0x76ae8c
lea edx, [ebp - 0x3c]
mov eax, dword [0x8bd610]
mov eax, dword [eax]
call fcn.0060bc18
mov eax, dword [ebp - 0x3c]
lea edx, [ebx + 0x88]
mov cl, 1
call fcn.00426d4c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x76b230
push esi
call sub.version.dll_VerQueryValueW
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0x1c]
movsx eax, word [eax + 2]
mov edx, 4
call fcn.00426344
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 0x1c]
movsx eax, word [eax]
mov edx, 4
call fcn.00426344
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 4]
pop ecx
call fcn.0040bb90
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x76b270
push dword [ebp - 4]
push 0x76b29c
push 0x76b2ac
lea eax, [ebp - 0x48]
mov edx, 4
call fcn.0040bc18
mov eax, dword [ebp - 0x48]
call fcn.0040b924
push eax
push esi
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x76af1d
lea eax, [ebx + 0x40]
mov edx, dword [ebp - 0x14]
call fcn.0040b98c
jmp 0x76af25
lea eax, [ebx + 0x40]
call fcn.0040aa50
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x76b270
push dword [ebp - 4]
push 0x76b29c
push 0x76b2d0
lea eax, [ebp - 0x4c]
mov edx, 4
call fcn.0040bc18
mov eax, dword [ebp - 0x4c]
call fcn.0040b924
push eax
push esi
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x76af6c
lea eax, [ebx + 0x44]
mov edx, dword [ebp - 0x14]
call fcn.0040b98c
jmp 0x76af74
lea eax, [ebx + 0x44]
call fcn.0040aa50
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x76b270
push dword [ebp - 4]
push 0x76b29c
push 0x76b2fc
lea eax, [ebp - 0x50]
mov edx, 4
call fcn.0040bc18
mov eax, dword [ebp - 0x50]
call fcn.0040b924
push eax
push esi
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x76afbb
lea eax, [ebx + 0x48]
mov edx, dword [ebp - 0x14]
call fcn.0040b98c
jmp 0x76afc3
lea eax, [ebx + 0x48]
call fcn.0040aa50
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x76b270
push dword [ebp - 4]
push 0x76b29c
push 0x76b320
lea eax, [ebp - 0x54]
mov edx, 4
call fcn.0040bc18
mov eax, dword [ebp - 0x54]
call fcn.0040b924
push eax
push esi
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x76b00a
lea eax, [ebx + 0x4c]
mov edx, dword [ebp - 0x14]
call fcn.0040b98c
jmp 0x76b012
lea eax, [ebx + 0x4c]
call fcn.0040aa50
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x76b270
push dword [ebp - 4]
push 0x76b29c
push 0x76b348
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.0040bc18
mov eax, dword [ebp - 0x58]
call fcn.0040b924
push eax
push esi
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x76b059
lea eax, [ebx + 0x50]
mov edx, dword [ebp - 0x14]
call fcn.0040b98c
jmp 0x76b061
lea eax, [ebx + 0x50]
call fcn.0040aa50
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x76b270
push dword [ebp - 4]
push 0x76b29c
push 0x76b374
lea eax, [ebp - 0x5c]
mov edx, 4
call fcn.0040bc18
mov eax, dword [ebp - 0x5c]
call fcn.0040b924
push eax
push esi
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x76b0a8
lea eax, [ebx + 0x54]
mov edx, dword [ebp - 0x14]
call fcn.0040b98c
jmp 0x76b0b0
lea eax, [ebx + 0x54]
call fcn.0040aa50
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x76b270
push dword [ebp - 4]
push 0x76b29c
push 0x76b3a0
lea eax, [ebp - 0x60]
mov edx, 4
call fcn.0040bc18
mov eax, dword [ebp - 0x60]
call fcn.0040b924
push eax
push esi
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x76b0f7
lea eax, [ebx + 0x58]
mov edx, dword [ebp - 0x14]
call fcn.0040b98c
jmp 0x76b0ff
lea eax, [ebx + 0x58]
call fcn.0040aa50
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x76b270
push dword [ebp - 4]
push 0x76b29c
push 0x76b3d0
lea eax, [ebp - 0x64]
mov edx, 4
call fcn.0040bc18
mov eax, dword [ebp - 0x64]
call fcn.0040b924
push eax
push esi
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x76b146
lea eax, [ebx + 0x5c]
mov edx, dword [ebp - 0x14]
call fcn.0040b98c
jmp 0x76b14e
lea eax, [ebx + 0x5c]
call fcn.0040aa50
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x76b270
push dword [ebp - 4]
push 0x76b29c
push 0x76b3f4
lea eax, [ebp - 0x68]
mov edx, 4
call fcn.0040bc18
mov eax, dword [ebp - 0x68]
call fcn.0040b924
push eax
push esi
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x76b195
lea eax, [ebx + 0x60]
mov edx, dword [ebp - 0x14]
call fcn.0040b98c
jmp 0x76b19d
lea eax, [ebx + 0x60]
call fcn.0040aa50
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x76b270
push dword [ebp - 4]
push 0x76b29c
push 0x76b420
lea eax, [ebp - 0x6c]
mov edx, 4
call fcn.0040bc18
mov eax, dword [ebp - 0x6c]
call fcn.0040b924
push eax
push esi
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x76b1e4
lea eax, [ebx + 0x64]
mov edx, dword [ebp - 0x14]
call fcn.0040b98c
jmp 0x76b1ec
lea eax, [ebx + 0x64]
call fcn.0040aa50
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.00406f4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x76b225
lea eax, [ebp - 0x6c]
mov edx, 0xd
call fcn.0040aab0
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040aab0
ret