Function at 0x44dca0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x464e21
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x48602c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48c], 0
push 0x476204
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov dword [ebp - 4], 1
mov word [ebp - 0x474], 0
push 0x206
push 0
lea eax, [ebp - 0x472]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x474]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
lea edx, [ebp - 0x474]
push edx
call fcn.004076b0
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x44dd69
push 0x468ea3
mov ecx, dword [ebp + 8]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov eax, dword [ebp - 0x48c]
or eax, 1
mov dword [ebp - 0x48c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [ebp + 8]
jmp 0x44dfaa
mov ecx, dword [ebp - 0x14]
mov word [ecx], 0
mov word [ebp - 0x26c], 0
push 0x206
push 0
lea edx, [ebp - 0x26a]
push edx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x474]
push ecx
push 0x476208
lea edx, [ebp - 0x26c]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov dword [ebp - 0x3c], 0x34
push 0
lea eax, [ebp - 0x26c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x44dec5
mov dword [ebp - 0x478], 0
cmp dword [ebp - 0x478], 0
jne 0x44de15
xor ecx, ecx
mov eax, dword [ebp - 0x38]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043acf2
add esp, 4
mov dword [ebp - 0x47c], eax
mov eax, dword [ebp - 0x47c]
mov dword [ebp - 0x478], eax
jmp 0x44dddc
mov ecx, dword [ebp - 0x478]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 0
lea eax, [ebp - 0x26c]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x44deaa
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
push 0x476214
mov eax, dword [ebp - 0x478]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x44deaa
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x14]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x10]
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x10]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
push eax
push 0x476218
mov ecx, dword [ebp - 0x478]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
mov edx, dword [ebp - 0x478]
push edx
lea ecx, [ebp - 0x34]
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__]
mov eax, dword [ebp - 0x478]
mov dword [ebp - 0x480], eax
mov ecx, dword [ebp - 0x480]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov byte [ebp - 4], 2
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::size_void_const]
push eax
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
add edx, 1
push edx
call fcn.0043acf2
add esp, 4
mov dword [ebp - 0x484], eax
mov eax, dword [ebp - 0x484]
mov dword [ebp - 0x10], eax
push 0
push 0
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::size_void_const]
push eax
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x44]
mov byte [eax], 0
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const__]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x488], edx
mov eax, dword [ebp - 0x488]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [ebp - 0x60]
push ecx
mov ecx, dword [ebp + 8]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov edx, dword [ebp - 0x48c]
or edx, 1
mov dword [ebp - 0x48c], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0043ad38
mov esp, ebp
pop ebp
ret