Function at 0x48a1c0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x43c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
mov ebx, ecx
push 0x20a
mov dword [ebp - 0x440], eax
lea eax, [ebp - 0x218]
push esi
push eax
mov dword [ebp - 0x438], edx
mov dword [ebp - 0x444], ebx
call fcn.004a73c0
add esp, 0xc
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x448], esi
mov dword [ebp - 0x434], esi
push esi
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
jne 0x48a244
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a474b
mov esp, ebp
pop ebp
ret
push ebx
call fcn.004a47b7
mov edi, eax
add esp, 4
test edi, edi
je 0x48a49a
push edi
push ebx
push 0
push dword [ebp - 0x444]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x48a491
mov ebx, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x434]
push eax
push str.VarFileInfoTranslation
push edi
call ebx
test eax, eax
je 0x48a491
cmp dword [ebp - 0x438], esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynW]
je 0x48a346
push 0x20a
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.004a73c0
mov ecx, dword [ebp - 0x434]
add esp, 0xc
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
push str.StringFileInfo_04x_04xFileDescription
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00438860
add esp, 0x14
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x218]
push eax
push edi
call ebx
test eax, eax
je 0x48a31c
cmp dword [ebp - 0x42c], 0
jbe 0x48a31c
push 0x104
push dword [ebp - 0x430]
lea eax, [ebp - 0x428]
push eax
call esi
push 0x104
lea eax, [ebp - 0x428]
push eax
push dword [ebp - 0x438]
call esi
push 0x20a
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a73c0
add esp, 0xc
cmp dword [ebp - 0x43c], 0
je 0x48a3f4
push 0x20a
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.004a73c0
mov ecx, dword [ebp - 0x434]
add esp, 0xc
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
push str.StringFileInfo_04x_04xFileVersion
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00438860
add esp, 0x14
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x218]
push eax
push edi
call ebx
test eax, eax
je 0x48a3ca
cmp dword [ebp - 0x42c], 0
jbe 0x48a3ca
push 0x104
push dword [ebp - 0x430]
lea eax, [ebp - 0x428]
push eax
call esi
push 0x104
lea eax, [ebp - 0x428]
push eax
push dword [ebp - 0x43c]
call esi
push 0x20a
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a73c0
add esp, 0xc
cmp dword [ebp - 0x440], 0
je 0x48a48c
push 0x20a
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.004a73c0
mov ecx, dword [ebp - 0x434]
add esp, 0xc
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
push str.StringFileInfo_04x_04xProductName
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00438860
add esp, 0x14
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x218]
push eax
push edi
call ebx
test eax, eax
je 0x48a478
cmp dword [ebp - 0x42c], 0
jbe 0x48a478
push 0x104
push dword [ebp - 0x430]
lea eax, [ebp - 0x428]
push eax
call esi
push 0x104
lea eax, [ebp - 0x428]
push eax
push dword [ebp - 0x440]
call esi
mov esi, 1
push edi
call fcn.004a47b2
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a474b
mov esp, ebp
pop ebp
ret