Function at 0x489eb0
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.004dfec0
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 0x489f36
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004de0fd
mov esp, ebp
pop ebp
ret
push edi
push esi
call fcn.004db9e0
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 0x48a180
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 0x48a180
mov ebx, dword [ebp - 0x43c]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynW]
test ebx, ebx
je 0x48a02d
push 0x20a
lea eax, [ebp - 0x41c]
push 0
push eax
call fcn.004dfec0
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.0048d0d0
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 0x48a008
cmp dword [ebp - 0x420], 0
jbe 0x48a008
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.004dfec0
add esp, 0xc
cmp dword [ebp - 0x42c], 0
je 0x48a0e0
push 0x20a
lea eax, [ebp - 0x41c]
push 0
push eax
call fcn.004dfec0
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.0048d0d0
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 0x48a0b4
cmp dword [ebp - 0x420], 0
jbe 0x48a0b4
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.004dfec0
add esp, 0xc
jmp 0x48a0e6
mov ebx, dword [sym.imp.VERSION.dll_VerQueryValueW]
cmp dword [ebp - 0x430], 0
je 0x48a17b
push 0x20a
lea eax, [ebp - 0x41c]
push 0
push eax
call fcn.004dfec0
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.0048d0d0
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 0x48a167
cmp dword [ebp - 0x420], 0
jbe 0x48a167
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.004de0f8
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, ebx
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004de0fd
mov esp, ebp
pop ebp
ret