Function at 0x67351a40
Capabilities:
Check if file exists
Get file attributes
Get file version info

Disassembly:
sub esp, 0xa0
mov eax, dword [0x67460ecc]
xor eax, esp
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xac]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push esi
mov dword [esp + 0x24], eax
mov ebx, edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x67351a7a
xor al, al
jmp 0x67351c44
lea ecx, [esp + 0x24]
push ecx
push esi
mov byte [esp + 0x1f], 0
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jbe 0x67351c10
push edi
call dword [sym.imp.MSVCR80.dll_malloc]
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x67351aba
push str._Unknown______GetFileVersion:_Insufficient_memory_available_for_getting_file_information.
push 1
push str.Dec_25_2011
push 0x214
jmp 0x67351c21
push ebp
push edi
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x67351bd1
xor eax, eax
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
push eax
push 0x6742eef0
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x67351b95
mov ecx, dword [esp + 0xb4]
mov ecx, dword [ecx]
cmp ecx, 1
mov eax, dword [esp + 0x18]
jne 0x67351b0a
mov esi, dword [eax + 8]
jmp 0x67351b0d
mov esi, dword [eax + 0x10]
cmp ecx, 1
jne 0x67351b17
mov edi, dword [eax + 0xc]
jmp 0x67351b1a
mov edi, dword [eax + 0x14]
cmp byte [esp + 0xb8], 0
je 0x67351b58
movzx edx, di
push edx
mov eax, edi
shr eax, 0x10
push eax
movzx ecx, si
push ecx
mov edx, esi
shr edx, 0x10
push edx
push str._d._d._d._d
lea edx, [esp + 0x3c]
call fcn.67351ef0
mov ecx, dword [esp + 0x34]
add esp, 0x14
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push 0xa
push 0x40
lea ecx, [esp + 0x30]
xor eax, eax
push ecx
xor edx, edx
or esi, eax
or edx, edi
push esi
push edx
call dword [sym.imp.MSVCR80.dll__ui64tow_s]
add esp, 0x14
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebx
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push ebp
mov byte [esp + 0x1b], 1
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
jmp 0x67351c40
push str._Unknown______GetFileVersion:_Failed_to_query_version_information.
push 1
push str.Dec_25_2011
push 0x243
push 0xffffffffffffffff
push ecx
call fcn.6734bae0
add esp, 4
mov edx, str..FileSystemUtils.cpp
mov ecx, 1
mov ebx, eax
call fcn.6734ca70
add esp, 0x14
push ebp
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
jmp 0x67351c40
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._Unknown______GetFileVersion:_Failed_to_get_file_version_information._Error_0x_X.
push 1
push str.Dec_25_2011
push 0x248
push 0xffffffffffffffff
call fcn.6734bae0
mov edx, str..FileSystemUtils.cpp
mov ecx, 1
mov ebx, eax
call fcn.6734ca70
add esp, 0x18
push ebp
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
jmp 0x67351c40
push str._Unknown______GetFileVersion:_The_file_does_not_contain_version_information.
push 1
push str.Dec_25_2011
push 0x250
push 0xffffffffffffffff
push ecx
call fcn.6734bae0
add esp, 4
mov edx, str..FileSystemUtils.cpp
mov ecx, 1
mov ebx, eax
call fcn.6734ca70
add esp, 0x14
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.673f06fa
add esp, 0xa0
ret