Function at 0x44b4b0
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x48c91c
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x4bb028]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bb028]
xor eax, esp
push eax
lea eax, [esp + 0x244]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x24]
mov esi, edx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
xor eax, eax
push 0x1fe
push eax
lea ecx, [esp + 0x4a]
mov dword [esp + 0x254], 0
push ecx
mov word [esp + 0x4c], ax
call sub.MSVCR90.dll_memset
lea ebx, [edi + 0x90]
add esp, 0xc
mov ecx, ebx
mov dword [esp + 0x1c], 0x34
mov dword [esp + 0x14], ebx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::clear_void_]
test esi, esi
je 0x44b685
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44b545
sub eax, edx
sar eax, 1
je 0x44b685
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x44b637
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.mfc90u.dll_new__
add esp, 4
mov ebp, eax
push ebp
push edi
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x44b605
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0x4984d4
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x44b5ef
mov eax, dword [esp + 0x18]
movzx edx, word [eax + 0xc]
movzx ecx, word [eax + 0xe]
push edx
movzx edx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push edx
push eax
push str._d._d._d._d
lea edx, [esp + 0x54]
call fcn.0044b800
add esp, 0x14
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebx
call dword [sym.imp.MSVCP90.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
call sub.mfc90u.dll_delete
add esp, 4
jmp 0x44b65e
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4d
push str.COverView::GetFileVersion
push str._s__d__VerQueryValue_fail_:_ErrorCode__d:_FileName___s
jmp 0x44b619
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x52
push str.COverView::GetFileVersion
push str._s__d__GetFileVersionInfo_fail_:_ErrorCode__d:_FileName___s
push 1
mov ebx, str.Exception.log
call fcn.0045b510
mov ebx, dword [esp + 0x2c]
add esp, 0x18
push ebp
call sub.mfc90u.dll_delete
add esp, 4
jmp 0x44b65e
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x58
push str.COverView::GetFileVersion
push str._s__d__GetFileVersionInfoSize_fail_:_ErrorCode__d:_FileName___s
push 1
mov ebx, str.Exception.log
call fcn.0045b510
mov ebx, dword [esp + 0x2c]
add esp, 0x18
cmp dword [ebx + 0x18], 8
jb 0x44b669
mov esi, dword [ebx + 4]
jmp 0x44b66c
lea esi, [ebx + 4]
lea ecx, [esp + 0x24]
mov dword [esp + 0x24c], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, esi
jmp 0x44b6ba
push 0x3a
push str.COverView::GetFileVersion
push str._s__d__GetFileVersion:_FileName_is_null
push 1
mov ebx, str.Exception.log
call fcn.0045b510
add esp, 0x10
lea ecx, [esp + 0x24]
mov dword [esp + 0x24c], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, 0x4987c8
mov ecx, dword [esp + 0x244]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.0048a3f6
add esp, 0x23c
ret