Function at 0x48bcb0
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.004a8960
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 0x48bd34
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret
push ebx
call fcn.004a5d8d
mov edi, eax
add esp, 4
test edi, edi
je 0x48bf8a
push edi
push ebx
push 0
push dword [ebp - 0x444]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x48bf81
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 0x48bf81
cmp dword [ebp - 0x438], esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynW]
je 0x48be36
push 0x20a
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.004a8960
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.004385e0
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 0x48be0c
cmp dword [ebp - 0x42c], 0
jbe 0x48be0c
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.004a8960
add esp, 0xc
cmp dword [ebp - 0x43c], 0
je 0x48bee4
push 0x20a
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.004a8960
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.004385e0
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 0x48beba
cmp dword [ebp - 0x42c], 0
jbe 0x48beba
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.004a8960
add esp, 0xc
cmp dword [ebp - 0x440], 0
je 0x48bf7c
push 0x20a
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.004a8960
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.004385e0
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 0x48bf68
cmp dword [ebp - 0x42c], 0
jbe 0x48bf68
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.004a5d88
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a5d13
mov esp, ebp
pop ebp
ret