Function at 0x61dd08
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x10
push 0
push 0
dec ecx
jne 0x61dd10
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00406e14
xor eax, eax
push ebp
push 0x61e110
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, esi
call fcn.0061daa4
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.00407d34
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x61e0e8
mov eax, edi
call fcn.004044a8
mov ebx, eax
push ebx
push edi
push 0
mov eax, dword [ebp - 4]
call fcn.00407d34
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x61e0df
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x61e124
push ebx
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x61e058
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 2]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
lea edx, [ebp - 0x30]
mov ecx, 1
mov eax, 0x61e160
call fcn.0041edd0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x34]
mov ecx, 0x61e1a0
mov edx, dword [ebp - 8]
call fcn.00407f98
mov eax, dword [ebp - 0x34]
call fcn.00407d34
push eax
push ebx
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x61de02
lea eax, [esi + 0x5c]
mov edx, dword [ebp - 0x18]
call fcn.00407d94
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
mov ecx, 0x61e1c0
mov edx, dword [ebp - 8]
call fcn.00407f98
mov eax, dword [ebp - 0x38]
call fcn.00407d34
push eax
push ebx
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x61de38
lea eax, [esi + 0x44]
mov edx, dword [ebp - 0x18]
call fcn.00407d94
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x3c]
mov ecx, 0x61e1e8
mov edx, dword [ebp - 8]
call fcn.00407f98
mov eax, dword [ebp - 0x3c]
call fcn.00407d34
push eax
push ebx
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x61de6e
lea eax, [esi + 0x54]
mov edx, dword [ebp - 0x18]
call fcn.00407d94
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x40]
mov ecx, 0x61e20c
mov edx, dword [ebp - 8]
call fcn.00407f98
mov eax, dword [ebp - 0x40]
call fcn.00407d34
push eax
push ebx
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x61dea4
lea eax, [esi + 0x38]
mov edx, dword [ebp - 0x18]
call fcn.00407d94
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x44]
mov ecx, 0x61e230
mov edx, dword [ebp - 8]
call fcn.00407f98
mov eax, dword [ebp - 0x44]
call fcn.00407d34
push eax
push ebx
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x61deda
lea eax, [esi + 0x48]
mov edx, dword [ebp - 0x18]
call fcn.00407d94
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
mov ecx, 0x61e25c
mov edx, dword [ebp - 8]
call fcn.00407f98
mov eax, dword [ebp - 0x48]
call fcn.00407d34
push eax
push ebx
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x61df10
lea eax, [esi + 0x58]
mov edx, dword [ebp - 0x18]
call fcn.00407d94
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x4c]
mov ecx, 0x61e288
mov edx, dword [ebp - 8]
call fcn.00407f98
mov eax, dword [ebp - 0x4c]
call fcn.00407d34
push eax
push ebx
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x61df46
lea eax, [esi + 0x3c]
mov edx, dword [ebp - 0x18]
call fcn.00407d94
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x50]
mov ecx, 0x61e2b4
mov edx, dword [ebp - 8]
call fcn.00407f98
mov eax, dword [ebp - 0x50]
call fcn.00407d34
push eax
push ebx
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x61df7c
lea eax, [esi + 0x4c]
mov edx, dword [ebp - 0x18]
call fcn.00407d94
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x54]
mov ecx, 0x61e2e0
mov edx, dword [ebp - 8]
call fcn.00407f98
mov eax, dword [ebp - 0x54]
call fcn.00407d34
push eax
push ebx
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x61dfb2
lea eax, [esi + 0x60]
mov edx, dword [ebp - 0x18]
call fcn.00407d94
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x58]
mov ecx, 0x61e308
mov edx, dword [ebp - 8]
call fcn.00407f98
mov eax, dword [ebp - 0x58]
call fcn.00407d34
push eax
push ebx
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x61dfe8
lea eax, [esi + 0x40]
mov edx, dword [ebp - 0x18]
call fcn.00407d94
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
mov ecx, 0x61e32c
mov edx, dword [ebp - 8]
call fcn.00407f98
mov eax, dword [ebp - 0x5c]
call fcn.00407d34
push eax
push ebx
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x61e01e
lea eax, [esi + 0x50]
mov edx, dword [ebp - 0x18]
call fcn.00407d94
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x60]
mov ecx, 0x61e35c
mov edx, dword [ebp - 8]
call fcn.00407f98
mov eax, dword [ebp - 0x60]
call fcn.00407d34
push eax
push ebx
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x61e054
lea eax, [esi + 0x64]
mov edx, dword [ebp - 0x18]
call fcn.00407d94
mov byte [ebp - 9], 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x61e378
push ebx
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x61e0df
mov eax, dword [ebp - 0x20]
push esi
push edi
lea edi, [esi + 4]
mov esi, eax
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x64]
push eax
mov eax, dword [esi + 0xc]
shr eax, 0x10
movzx eax, ax
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x80], 0
movzx eax, word [esi + 0xc]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x78], 0
mov eax, dword [esi + 0x10]
shr eax, 0x10
movzx eax, ax
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x70], 0
movzx eax, word [esi + 0x10]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0
lea edx, [ebp - 0x84]
mov ecx, 3
mov eax, 0x61e388
call fcn.0041edd0
mov edx, dword [ebp - 0x64]
lea eax, [esi + 0x40]
call fcn.00407110
mov edx, edi
mov eax, ebx
call fcn.004044dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61e117
lea eax, [ebp - 0x64]
mov edx, 0xd
call fcn.00406d90
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406d90
ret