Function at 0x42b400
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.00408f10
mov eax, dword [ebp - 8]
call fcn.00408f10
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x134], 0
xor eax, eax
push fcn.0042b3d0
push ebp
push 0x415340
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push fcn.0042b350
push ebp
push 0x415340
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x134]
xor dl, dl
call fcn.0053a7c0
mov edx, dword [ebp - 0x134]
lea eax, [ebp - 4]
call fcn.00408f40
mov eax, dword [ebp - 4]
test eax, eax
je 0x42b488
mov eax, dword [eax - 4]
add eax, 1
call fcn.00449210
mov edx, dword [ebp - 4]
call fcn.00449280
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 0x42b52c
xor eax, eax
push 0x42b518
push ebp
push 0x4156c0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x12c]
lea eax, [ebp - 0x128]
call fcn.004101e0
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 0x42b529
lea esi, [esi]
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.00408f40
cmp byte [ebp - 0x120], 0
je 0x42b560
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 0x42b56a
mov dword [ebp - 0x110], 0
cmp dword [ebp - 0x110], 0
je 0x42b5d0
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.00441390
lea esi, [esi]
cmp byte [ebp - 0x120], 0
je 0x42b670
lea eax, [ebp - 0x134]
call fcn.00403c20
push 0
mov eax, str.StringFileInfo_
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x14c], eax
mov eax, 0x604160
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.004092d0
mov edx, dword [ebp - 0x134]
lea eax, [ebp - 0x10c]
call fcn.00449280
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 0x42b670
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x114]
call fcn.00449200
mov esi, esi
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0042b350
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0042b3d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret