Function at 0x489e40
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x43c], eax
xor ebx, ebx
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp + 0x14]
push 0x20a
mov dword [ebp - 0x430], eax
lea eax, [ebp - 0x210]
push ebx
push eax
mov dword [ebp - 0x434], esi
call fcn.004e02e0
add esp, 0xc
mov dword [ebp - 0x424], ebx
mov dword [ebp - 0x420], ebx
mov dword [ebp - 0x438], ebx
mov dword [ebp - 0x428], ebx
push ebx
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
jne 0x489ec6
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004de51d
mov esp, ebp
pop ebp
ret
push edi
push esi
call fcn.004dbe00
add esp, 4
mov edi, eax
push edi
push esi
push 0
push dword [ebp - 0x434]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x48a110
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x428]
push eax
push str.VarFileInfoTranslation
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x48a110
mov ebx, dword [ebp - 0x43c]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynW]
test ebx, ebx
je 0x489fbd
push 0x20a
lea eax, [ebp - 0x41c]
push 0
push eax
call fcn.004e02e0
mov ecx, dword [ebp - 0x428]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
push str.StringFileInfo_04x_04xFileDescription
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.0048d050
add esp, 0x20
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x489f98
cmp dword [ebp - 0x420], 0
jbe 0x489f98
push 0x104
push dword [ebp - 0x424]
lea eax, [ebp - 0x41c]
push eax
call esi
push 0x104
lea eax, [ebp - 0x41c]
push eax
push ebx
call esi
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.004e02e0
add esp, 0xc
cmp dword [ebp - 0x42c], 0
je 0x48a070
push 0x20a
lea eax, [ebp - 0x41c]
push 0
push eax
call fcn.004e02e0
mov ecx, dword [ebp - 0x428]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
push str.StringFileInfo_04x_04xFileVersion
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.0048d050
mov ebx, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea eax, [ebp - 0x420]
add esp, 0x20
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x210]
push eax
push edi
call ebx
test eax, eax
je 0x48a044
cmp dword [ebp - 0x420], 0
jbe 0x48a044
push 0x104
push dword [ebp - 0x424]
lea eax, [ebp - 0x41c]
push eax
call esi
push 0x104
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 0x42c]
call esi
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.004e02e0
add esp, 0xc
jmp 0x48a076
mov ebx, dword [sym.imp.VERSION.dll_VerQueryValueW]
cmp dword [ebp - 0x430], 0
je 0x48a10b
push 0x20a
lea eax, [ebp - 0x41c]
push 0
push eax
call fcn.004e02e0
mov ecx, dword [ebp - 0x428]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
push str.StringFileInfo_04x_04xProductName
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.0048d050
add esp, 0x20
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x210]
push eax
push edi
call ebx
test eax, eax
je 0x48a0f7
cmp dword [ebp - 0x420], 0
jbe 0x48a0f7
push 0x104
push dword [ebp - 0x424]
lea eax, [ebp - 0x41c]
push eax
call esi
push 0x104
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 0x430]
call esi
mov ebx, 1
push edi
call fcn.004de518
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, ebx
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004de51d
mov esp, ebp
pop ebp
ret