Function at 0x517d74
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x17
push 0
push 0
dec ecx
jne 0x517d7c
push ebx
mov dword [ebp - 0x3c], edx
xor eax, eax
push ebp
push 0x518320
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x38]
xor eax, eax
call fcn.00404884
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x38]
call fcn.00406e20
mov ebx, eax
push ebx
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jbe 0x5180cd
mov eax, dword [ebp - 0x48]
call fcn.004044dc
mov dword [ebp - 0x54], eax
xor eax, eax
push ebp
push 0x5180c6
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 0x51832c
mov eax, dword [ebp - 0x54]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x517e4a
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
call fcn.0040c334
movzx eax, ax
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0
lea edx, [ebp - 0x60]
xor ecx, ecx
mov eax, 0x51836c
call fcn.00414658
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, 0x51836c
call fcn.00414658
push 0x518384
push dword [ebp - 4]
push dword [ebp - 8]
push 0x5183b0
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.00407334
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x64]
mov ecx, 0x5183c0
mov edx, dword [ebp - 0xc]
call fcn.00407250
mov eax, dword [ebp - 0x64]
call fcn.00406e20
push eax
mov eax, dword [ebp - 0x54]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x517ea0
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x58]
call fcn.00406f40
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x68]
mov ecx, 0x5183e4
mov edx, dword [ebp - 0xc]
call fcn.00407250
mov eax, dword [ebp - 0x68]
call fcn.00406e20
push eax
mov eax, dword [ebp - 0x54]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x517ed9
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x58]
call fcn.00406f40
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x6c]
mov ecx, 0x518410
mov edx, dword [ebp - 0xc]
call fcn.00407250
mov eax, dword [ebp - 0x6c]
call fcn.00406e20
push eax
mov eax, dword [ebp - 0x54]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x517f12
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x58]
call fcn.00406f40
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x70]
mov ecx, 0x518434
mov edx, dword [ebp - 0xc]
call fcn.00407250
mov eax, dword [ebp - 0x70]
call fcn.00406e20
push eax
mov eax, dword [ebp - 0x54]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x517f4b
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x58]
call fcn.00406f40
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x74]
mov ecx, 0x51845c
mov edx, dword [ebp - 0xc]
call fcn.00407250
mov eax, dword [ebp - 0x74]
call fcn.00406e20
push eax
mov eax, dword [ebp - 0x54]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x517f84
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x58]
call fcn.00406f40
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x78]
mov ecx, 0x518488
mov edx, dword [ebp - 0xc]
call fcn.00407250
mov eax, dword [ebp - 0x78]
call fcn.00406e20
push eax
mov eax, dword [ebp - 0x54]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x517fbd
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x58]
call fcn.00406f40
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x7c]
mov ecx, 0x5184b4
mov edx, dword [ebp - 0xc]
call fcn.00407250
mov eax, dword [ebp - 0x7c]
call fcn.00406e20
push eax
mov eax, dword [ebp - 0x54]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x517ff6
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x58]
call fcn.00406f40
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x80]
mov ecx, 0x5184e4
mov edx, dword [ebp - 0xc]
call fcn.00407250
mov eax, dword [ebp - 0x80]
call fcn.00406e20
push eax
mov eax, dword [ebp - 0x54]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x51802f
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x58]
call fcn.00406f40
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x84]
mov ecx, 0x518508
mov edx, dword [ebp - 0xc]
call fcn.00407250
mov eax, dword [ebp - 0x84]
call fcn.00406e20
push eax
mov eax, dword [ebp - 0x54]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x51806e
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x58]
call fcn.00406f40
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x88]
mov ecx, 0x518534
mov edx, dword [ebp - 0xc]
call fcn.00407250
mov eax, dword [ebp - 0x88]
call fcn.00406e20
push eax
mov eax, dword [ebp - 0x54]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x5180ad
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x58]
call fcn.00406f40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x518169
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x54]
call fcn.0040452c
ret
lea eax, [ebp - 4]
mov edx, 0x518554
call fcn.00406de8
lea eax, [ebp - 8]
mov edx, 0x518554
call fcn.00406de8
lea eax, [ebp - 0x10]
mov edx, 0x518554
call fcn.00406de8
lea eax, [ebp - 0x14]
mov edx, 0x518554
call fcn.00406de8
lea eax, [ebp - 0x18]
mov edx, 0x518554
call fcn.00406de8
lea eax, [ebp - 0x1c]
mov edx, 0x518554
call fcn.00406de8
lea eax, [ebp - 0x20]
mov edx, 0x518554
call fcn.00406de8
lea eax, [ebp - 0x24]
mov edx, 0x518554
call fcn.00406de8
lea eax, [ebp - 0x28]
mov edx, 0x518554
call fcn.00406de8
lea eax, [ebp - 0x2c]
mov edx, 0x518554
call fcn.00406de8
lea eax, [ebp - 0x30]
mov edx, 0x518554
call fcn.00406de8
lea eax, [ebp - 0x34]
mov edx, 0x518554
call fcn.00406de8
lea eax, [ebp - 0x8c]
mov ecx, dword [ebp - 4]
mov edx, 0x51857c
call fcn.00407250
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, 0x5185a0
call fcn.00407250
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, 0x5185c0
call fcn.00407250
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, 0x5185e8
call fcn.00407250
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, 0x518618
call fcn.00407250
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, 0x518640
call fcn.00407250
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, 0x51866c
call fcn.00407250
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, 0x51869c
call fcn.00407250
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, 0x5186cc
call fcn.00407250
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, 0x518700
call fcn.00407250
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, 0x518728
call fcn.00407250
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, 0x518758
call fcn.00407250
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 0x518327
lea eax, [ebp - 0xb8]
mov edx, 0x16
call fcn.00406d8c
lea eax, [ebp - 0x38]
mov edx, 0xe
call fcn.00406d8c
ret