Function at 0x42aeb0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x150]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 4]
call fcn.00408ed0
mov eax, dword [ebp - 8]
call fcn.00408ed0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x134], 0
xor eax, eax
push fcn.0042ae80
push ebp
push 0x415300
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push fcn.0042ae00
push ebp
push 0x415300
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x134]
xor dl, dl
call fcn.0053a270
mov edx, dword [ebp - 0x134]
lea eax, [ebp - 4]
call fcn.00408f00
mov eax, dword [ebp - 4]
test eax, eax
je 0x42af38
mov eax, dword [eax - 4]
add eax, 1
call fcn.00448cc0
mov edx, dword [ebp - 4]
call fcn.00448d30
mov dword [ebp - 0x124], eax
mov byte [ebp - 0x120], 0
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 0x124]
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x12c], eax
test eax, eax
jbe 0x42afdc
xor eax, eax
push 0x42afc8
push ebp
push 0x415680
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x12c]
lea eax, [ebp - 0x128]
call fcn.004101a0
push dword [ebp - 0x128]
push dword [ebp - 0x12c]
push dword [ebp - 0x130]
push dword [ebp - 0x124]
call sub.version.dll_GetFileVersionInfoA
or eax, eax
setne al
mov byte [ebp - 0x120], al
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
jmp 0x42afd9
lea esi, [esi]
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.00408f00
cmp byte [ebp - 0x120], 0
je 0x42b010
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x110]
push eax
mov eax, str.VarFileInfoTranslation
push eax
push dword [ebp - 0x128]
call sub.version.dll_VerQueryValueA
jmp 0x42b01a
mov dword [ebp - 0x110], 0
cmp dword [ebp - 0x110], 0
je 0x42b080
mov eax, dword [ebp - 0x110]
mov eax, dword [eax]
mov dword [ebp - 0x13c], eax
movzx eax, word [ebp - 0x13c]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x110]
mov eax, dword [eax]
mov dword [ebp - 0x140], eax
shr eax, 0x10
and eax, 0xffff
mov dword [ebp - 0x13c], eax
movzx eax, word [ebp - 0x138]
shl eax, 0x10
movzx edx, word [ebp - 0x13c]
or eax, edx
lea ecx, [ebp - 0x11c]
mov edx, 8
call fcn.00440e40
lea esi, [esi]
cmp byte [ebp - 0x120], 0
je 0x42b120
lea eax, [ebp - 0x134]
call fcn.00403be0
push 0
mov eax, str.StringFileInfo_
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x14c], eax
mov eax, 0x603030
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x144], eax
lea edx, [ebp - 0x150]
mov ecx, 3
lea eax, [ebp - 0x134]
call fcn.00409290
mov edx, dword [ebp - 0x134]
lea eax, [ebp - 0x10c]
call fcn.00448d30
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 0x128]
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x42b120
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x114]
call fcn.00448cb0
mov esi, esi
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0042ae00
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0042ae80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret