Function at 0x5ec3dc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x17
push 0
push 0
dec ecx
jne 0x5ec3e4
push ebx
mov dword [ebp - 0x3c], edx
xor eax, eax
push ebp
push 0x5ec988
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x38]
xor eax, eax
call fcn.00404b40
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x38]
call fcn.00407d8c
mov ebx, eax
push ebx
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jbe 0x5ec735
mov eax, dword [ebp - 0x48]
call fcn.00404784
mov dword [ebp - 0x54], eax
xor eax, eax
push ebp
push 0x5ec72e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x48]
push eax
push 0
push ebx
call sub.version.dll_GetFileVersionInfoW
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x5ec994
mov eax, dword [ebp - 0x54]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x5ec4b2
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
call fcn.0040e278
movzx eax, ax
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0
lea edx, [ebp - 0x60]
xor ecx, ecx
mov eax, 0x5ec9d4
call fcn.0041fdb0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x44]
movzx eax, word [eax]
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0
lea edx, [ebp - 0x60]
xor ecx, ecx
mov eax, 0x5ec9d4
call fcn.0041fdb0
push 0x5ec9ec
push dword [ebp - 4]
push dword [ebp - 8]
push 0x5eca18
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.00408078
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x64]
mov ecx, 0x5eca28
mov edx, dword [ebp - 0xc]
call fcn.00407ff0
mov eax, dword [ebp - 0x64]
call fcn.00407d8c
push eax
mov eax, dword [ebp - 0x54]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x5ec508
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x58]
call fcn.00407dec
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x68]
mov ecx, 0x5eca4c
mov edx, dword [ebp - 0xc]
call fcn.00407ff0
mov eax, dword [ebp - 0x68]
call fcn.00407d8c
push eax
mov eax, dword [ebp - 0x54]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x5ec541
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x58]
call fcn.00407dec
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x6c]
mov ecx, 0x5eca78
mov edx, dword [ebp - 0xc]
call fcn.00407ff0
mov eax, dword [ebp - 0x6c]
call fcn.00407d8c
push eax
mov eax, dword [ebp - 0x54]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x5ec57a
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x58]
call fcn.00407dec
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x70]
mov ecx, 0x5eca9c
mov edx, dword [ebp - 0xc]
call fcn.00407ff0
mov eax, dword [ebp - 0x70]
call fcn.00407d8c
push eax
mov eax, dword [ebp - 0x54]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x5ec5b3
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x58]
call fcn.00407dec
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x74]
mov ecx, 0x5ecac4
mov edx, dword [ebp - 0xc]
call fcn.00407ff0
mov eax, dword [ebp - 0x74]
call fcn.00407d8c
push eax
mov eax, dword [ebp - 0x54]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x5ec5ec
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x58]
call fcn.00407dec
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x78]
mov ecx, 0x5ecaf0
mov edx, dword [ebp - 0xc]
call fcn.00407ff0
mov eax, dword [ebp - 0x78]
call fcn.00407d8c
push eax
mov eax, dword [ebp - 0x54]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x5ec625
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x58]
call fcn.00407dec
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x7c]
mov ecx, 0x5ecb1c
mov edx, dword [ebp - 0xc]
call fcn.00407ff0
mov eax, dword [ebp - 0x7c]
call fcn.00407d8c
push eax
mov eax, dword [ebp - 0x54]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x5ec65e
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x58]
call fcn.00407dec
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x80]
mov ecx, 0x5ecb4c
mov edx, dword [ebp - 0xc]
call fcn.00407ff0
mov eax, dword [ebp - 0x80]
call fcn.00407d8c
push eax
mov eax, dword [ebp - 0x54]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x5ec697
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x58]
call fcn.00407dec
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x84]
mov ecx, 0x5ecb70
mov edx, dword [ebp - 0xc]
call fcn.00407ff0
mov eax, dword [ebp - 0x84]
call fcn.00407d8c
push eax
mov eax, dword [ebp - 0x54]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x5ec6d6
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x58]
call fcn.00407dec
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x88]
mov ecx, 0x5ecb9c
mov edx, dword [ebp - 0xc]
call fcn.00407ff0
mov eax, dword [ebp - 0x88]
call fcn.00407d8c
push eax
mov eax, dword [ebp - 0x54]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x5ec715
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x58]
call fcn.00407dec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ec7d1
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x54]
call fcn.004047d4
ret
lea eax, [ebp - 4]
mov edx, 0x5ecbbc
call fcn.004072d4
lea eax, [ebp - 8]
mov edx, 0x5ecbbc
call fcn.004072d4
lea eax, [ebp - 0x10]
mov edx, 0x5ecbbc
call fcn.004072d4
lea eax, [ebp - 0x14]
mov edx, 0x5ecbbc
call fcn.004072d4
lea eax, [ebp - 0x18]
mov edx, 0x5ecbbc
call fcn.004072d4
lea eax, [ebp - 0x1c]
mov edx, 0x5ecbbc
call fcn.004072d4
lea eax, [ebp - 0x20]
mov edx, 0x5ecbbc
call fcn.004072d4
lea eax, [ebp - 0x24]
mov edx, 0x5ecbbc
call fcn.004072d4
lea eax, [ebp - 0x28]
mov edx, 0x5ecbbc
call fcn.004072d4
lea eax, [ebp - 0x2c]
mov edx, 0x5ecbbc
call fcn.004072d4
lea eax, [ebp - 0x30]
mov edx, 0x5ecbbc
call fcn.004072d4
lea eax, [ebp - 0x34]
mov edx, 0x5ecbbc
call fcn.004072d4
lea eax, [ebp - 0x8c]
mov ecx, dword [ebp - 4]
mov edx, 0x5ecbe4
call fcn.00407ff0
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x90]
mov ecx, dword [ebp - 8]
mov edx, 0x5ecc08
call fcn.00407ff0
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x94]
mov ecx, dword [ebp - 0x10]
mov edx, 0x5ecc28
call fcn.00407ff0
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x98]
mov ecx, dword [ebp - 0x14]
mov edx, 0x5ecc50
call fcn.00407ff0
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x9c]
mov ecx, dword [ebp - 0x18]
mov edx, 0x5ecc80
call fcn.00407ff0
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0xa0]
mov ecx, dword [ebp - 0x1c]
mov edx, 0x5ecca8
call fcn.00407ff0
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0xa4]
mov ecx, dword [ebp - 0x20]
mov edx, 0x5eccd4
call fcn.00407ff0
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0xa8]
mov ecx, dword [ebp - 0x24]
mov edx, 0x5ecd04
call fcn.00407ff0
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0xac]
mov ecx, dword [ebp - 0x28]
mov edx, 0x5ecd34
call fcn.00407ff0
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0xb0]
mov ecx, dword [ebp - 0x2c]
mov edx, 0x5ecd68
call fcn.00407ff0
mov edx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0xb4]
mov ecx, dword [ebp - 0x30]
mov edx, 0x5ecd90
call fcn.00407ff0
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0xb8]
mov ecx, dword [ebp - 0x34]
mov edx, 0x5ecdc0
call fcn.00407ff0
mov edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ec98f
lea eax, [ebp - 0xb8]
mov edx, 0x16
call fcn.00406f0c
lea eax, [ebp - 0x38]
mov edx, 0xe
call fcn.00406f0c
ret