Function at 0x48e213
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x86c
mov eax, dword [0x4d2a20]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x48e236
mov eax, dword [ebp + 8]
movzx eax, word [eax]
test eax, eax
jne 0x48e23d
xor eax, eax
jmp 0x48e5b1
and dword [ebp - 0x85c], 0
and dword [ebp - 0x21c], 0
and dword [ebp - 0x648], 0
and word [ebp - 0x858], 0
push 0x208
push 0
lea eax, [ebp - 0x856]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
and dword [ebp - 0x860], 0
and dword [ebp - 0x644], 0
and dword [ebp - 0x220], 0
and dword [ebp - 0x864], 0
and word [ebp - 0x218], 0
push 0x208
push 0
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
and word [ebp - 0x640], 0
push 0x208
push 0
lea eax, [ebp - 0x63e]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
and word [ebp - 0x430], 0
push 0x208
push 0
lea eax, [ebp - 0x42e]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x648], eax
cmp dword [ebp - 0x648], 0
jne 0x48e306
xor eax, eax
jmp 0x48e5b1
push 0x4d6880
push dword [ebp - 0x648]
call fcn.004769d4
pop ecx
pop ecx
mov dword [ebp - 0x868], eax
mov eax, dword [ebp - 0x868]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x48e33d
jmp 0x48e583
push dword [ebp - 0x21c]
push dword [ebp - 0x648]
push 0
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x48e361
jmp 0x48e583
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x864]
push eax
push str.VarFileInfoTranslation
push dword [ebp - 0x21c]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x48e38d
jmp 0x48e583
push 0x20a
push 0
lea eax, [ebp - 0x858]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x864]
movzx eax, word [eax + 2]
push eax
mov eax, dword [ebp - 0x864]
movzx eax, word [eax]
push eax
push str.StringFileInfo_04x_04xFileDescription
push 0x104
lea eax, [ebp - 0x858]
push eax
call sub.MSVCR80.dll__snwprintf
add esp, 0x14
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x860]
push eax
lea eax, [ebp - 0x858]
push eax
push dword [ebp - 0x21c]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x48e416
cmp dword [ebp - 0x644], 0
jbe 0x48e416
push 0x105
push dword [ebp - 0x860]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 0x20a
push 0
lea eax, [ebp - 0x858]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x864]
movzx eax, word [eax + 2]
push eax
mov eax, dword [ebp - 0x864]
movzx eax, word [eax]
push eax
push str.StringFileInfo_04x_04xFileVersion
push 0x104
lea eax, [ebp - 0x858]
push eax
call sub.MSVCR80.dll__snwprintf
add esp, 0x14
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x860]
push eax
lea eax, [ebp - 0x858]
push eax
push dword [ebp - 0x21c]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x48e49f
cmp dword [ebp - 0x644], 0
jbe 0x48e49f
push 0x105
push dword [ebp - 0x860]
lea eax, [ebp - 0x640]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 0x20a
push 0
lea eax, [ebp - 0x858]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x864]
movzx eax, word [eax + 2]
push eax
mov eax, dword [ebp - 0x864]
movzx eax, word [eax]
push eax
push str.StringFileInfo_04x_04xProductName
push 0x104
lea eax, [ebp - 0x858]
push eax
call sub.MSVCR80.dll__snwprintf
add esp, 0x14
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x860]
push eax
lea eax, [ebp - 0x858]
push eax
push dword [ebp - 0x21c]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x48e528
cmp dword [ebp - 0x644], 0
jbe 0x48e528
push 0x105
push dword [ebp - 0x860]
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp dword [ebp + 0xc], 0
je 0x48e543
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp dword [ebp + 0x10], 0
je 0x48e55e
push 0x104
lea eax, [ebp - 0x640]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp dword [ebp + 0x14], 0
je 0x48e579
push 0x104
lea eax, [ebp - 0x430]
push eax
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [ebp - 0x85c], 1
cmp dword [ebp - 0x21c], 0
je 0x48e5a4
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x86c], eax
push dword [ebp - 0x86c]
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
pop ecx
and dword [ebp - 0x21c], 0
mov eax, dword [ebp - 0x85c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047676d
leave
ret