Function at 0x526e48
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x526e50
push ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x52730a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
call fcn.004051a8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x5272e7
mov eax, dword [ebp - 8]
call fcn.004093e8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
call fcn.004051a8
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x527318
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x24]
and eax, dword [edx + 0x18]
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_FileTimeToSystemTime
lea eax, [ebp - 0x3c]
call fcn.0040b814
mov eax, dword [ebp - 4]
fstp qword [eax + 0x40]
wait
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x52731c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0x1c]
movsx eax, word [eax + 2]
mov edx, 4
call fcn.00409bf0
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.00409bf0
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x20]
pop ecx
call fcn.00404ff4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x527340
push dword [ebp - 0x20]
push 0x527358
push 0x527364
lea eax, [ebp - 0x48]
mov edx, 4
call fcn.00405068
mov eax, dword [ebp - 0x48]
call fcn.004051a8
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x526fb9
mov eax, dword [ebp - 4]
add eax, 4
mov edx, dword [ebp - 0x14]
call fcn.00404ee0
jmp 0x526fc4
mov eax, dword [ebp - 4]
add eax, 4
call fcn.00404ce8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x527340
push dword [ebp - 0x20]
push 0x527358
push 0x527378
lea eax, [ebp - 0x4c]
mov edx, 4
call fcn.00405068
mov eax, dword [ebp - 0x4c]
call fcn.004051a8
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x527011
mov eax, dword [ebp - 4]
add eax, 8
mov edx, dword [ebp - 0x14]
call fcn.00404ee0
jmp 0x52701c
mov eax, dword [ebp - 4]
add eax, 8
call fcn.00404ce8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x527340
push dword [ebp - 0x20]
push 0x527358
push 0x527390
lea eax, [ebp - 0x50]
mov edx, 4
call fcn.00405068
mov eax, dword [ebp - 0x50]
call fcn.004051a8
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x527069
mov eax, dword [ebp - 4]
add eax, 0xc
mov edx, dword [ebp - 0x14]
call fcn.00404ee0
jmp 0x527074
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.00404ce8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x527340
push dword [ebp - 0x20]
push 0x527358
push 0x5273a4
lea eax, [ebp - 0x54]
mov edx, 4
call fcn.00405068
mov eax, dword [ebp - 0x54]
call fcn.004051a8
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x5270c1
mov eax, dword [ebp - 4]
add eax, 0x10
mov edx, dword [ebp - 0x14]
call fcn.00404ee0
jmp 0x5270cc
mov eax, dword [ebp - 4]
add eax, 0x10
call fcn.00404ce8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x527340
push dword [ebp - 0x20]
push 0x527358
push 0x5273bc
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00405068
mov eax, dword [ebp - 0x58]
call fcn.004051a8
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x527119
mov eax, dword [ebp - 4]
add eax, 0x14
mov edx, dword [ebp - 0x14]
call fcn.00404ee0
jmp 0x527124
mov eax, dword [ebp - 4]
add eax, 0x14
call fcn.00404ce8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x527340
push dword [ebp - 0x20]
push 0x527358
push 0x5273d4
lea eax, [ebp - 0x5c]
mov edx, 4
call fcn.00405068
mov eax, dword [ebp - 0x5c]
call fcn.004051a8
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x527171
mov eax, dword [ebp - 4]
add eax, 0x18
mov edx, dword [ebp - 0x14]
call fcn.00404ee0
jmp 0x52717c
mov eax, dword [ebp - 4]
add eax, 0x18
call fcn.00404ce8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x527340
push dword [ebp - 0x20]
push 0x527358
push 0x5273ec
lea eax, [ebp - 0x60]
mov edx, 4
call fcn.00405068
mov eax, dword [ebp - 0x60]
call fcn.004051a8
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x5271c9
mov eax, dword [ebp - 4]
add eax, 0x1c
mov edx, dword [ebp - 0x14]
call fcn.00404ee0
jmp 0x5271d4
mov eax, dword [ebp - 4]
add eax, 0x1c
call fcn.00404ce8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x527340
push dword [ebp - 0x20]
push 0x527358
push 0x527408
lea eax, [ebp - 0x64]
mov edx, 4
call fcn.00405068
mov eax, dword [ebp - 0x64]
call fcn.004051a8
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x527221
mov eax, dword [ebp - 4]
add eax, 0x20
mov edx, dword [ebp - 0x14]
call fcn.00404ee0
jmp 0x52722c
mov eax, dword [ebp - 4]
add eax, 0x20
call fcn.00404ce8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x527340
push dword [ebp - 0x20]
push 0x527358
push 0x52741c
lea eax, [ebp - 0x68]
mov edx, 4
call fcn.00405068
mov eax, dword [ebp - 0x68]
call fcn.004051a8
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x527279
mov eax, dword [ebp - 4]
add eax, 0x24
mov edx, dword [ebp - 0x14]
call fcn.00404ee0
jmp 0x527284
mov eax, dword [ebp - 4]
add eax, 0x24
call fcn.00404ce8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x527340
push dword [ebp - 0x20]
push 0x527358
push 0x527434
lea eax, [ebp - 0x6c]
mov edx, 4
call fcn.00405068
mov eax, dword [ebp - 0x6c]
call fcn.004051a8
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x5272d1
mov eax, dword [ebp - 4]
add eax, 0x28
mov edx, dword [ebp - 0x14]
call fcn.00404ee0
jmp 0x5272dc
mov eax, dword [ebp - 4]
add eax, 0x28
call fcn.00404ce8
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.00402b80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x527311
lea eax, [ebp - 0x6c]
mov edx, 0xc
call fcn.00404d0c
lea eax, [ebp - 0x20]
call fcn.00404ce8
ret