Function at 0x40730e
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x16c
mov dword [ebp - 0x114], sym.___gxx_personality_sj0
mov dword [ebp - 0x110], 0x47cb88
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x18]
mov dword [eax], edx
mov edx, 0x4077e3
mov dword [eax + 4], edx
mov dword [eax + 8], esp
lea eax, [ebp - 0x12c]
mov dword [esp], eax
call dbg._Unwind_SjLj_Register
lea eax, [ebp - 0x30]
mov dword [esp], eax
mov dword [ebp - 0x128], 0xffffffff
call method.std::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string__
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x34]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
mov dword [ebp - 0x128], 1
call sym._GetFileVersionInfoSizeA_8
sub esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym.operator_new___unsigned_int_
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x20]
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x1c]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._GetFileVersionInfoA_16
sub esp, 0x10
test eax, eax
sete al
test al, al
je 0x40742d
cmp dword [ebp - 0x20], 0
je 0x4073e2
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sym.operator_delete___void_
mov eax, dword [ebp + 8]
mov dword [ebp - 0x130], eax
lea eax, [ebp - 0x2c]
mov dword [esp], eax
call fcn.0044b2ac
lea eax, [ebp - 0x2c]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x48013a
mov edx, dword [ebp - 0x130]
mov dword [esp], edx
mov dword [ebp - 0x128], 2
call method.std::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_char_const__std::allocator_char__const_
lea eax, [ebp - 0x2c]
mov dword [esp], eax
call sym.std::allocator_char_::allocator__
jmp 0x407702
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x3c]
lea edx, [ebp - 0x38]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 0x480368
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov dword [ebp - 0x128], 1
call sym._VerQueryValueA_16
sub esp, 0x10
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 8]
shr eax, 0x10
mov word [ebp - 0x22], ax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 8]
mov word [ebp - 0x24], ax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0xc]
shr eax, 0x10
mov word [ebp - 0x26], ax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0xc]
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x20], 0
je 0x4074a8
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sym.operator_delete___void_
mov dword [esp + 4], 0x10
lea eax, [ebp - 0xf0]
mov dword [esp], eax
mov dword [ebp - 0x128], 1
call sym.std::basic_ostringstream_char__std::char_traits_char___std::allocator_char___::basic_ostringstream_std::_Ios_Openmode_
movzx eax, word [ebp - 0x24]
mov dword [ebp - 0x134], eax
movzx eax, word [ebp - 0x22]
mov dword [esp + 4], eax
lea eax, [ebp - 0xf0]
mov dword [esp], eax
mov dword [ebp - 0x128], 3
call method.std::ostream.operator___unsigned_short_
mov dword [esp + 4], 0x480138
mov dword [esp], eax
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov edx, dword [ebp - 0x134]
mov dword [esp + 4], edx
mov dword [esp], eax
call method.std::ostream.operator___unsigned_short_
mov edx, eax
mov eax, dword [eax]
sub eax, 0xc
mov eax, dword [eax]
lea eax, [edx + eax]
mov dword [esp], eax
call method.std::basic_ios_char__std::char_traits_char___.operator____const
test al, al
je 0x407577
mov eax, dword [ebp + 8]
mov dword [ebp - 0x138], eax
lea eax, [ebp - 0x2b]
mov dword [esp], eax
call fcn.0044b2ac
lea eax, [ebp - 0x2b]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x48013a
mov edx, dword [ebp - 0x138]
mov dword [esp], edx
mov dword [ebp - 0x128], 4
call method.std::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_char_const__std::allocator_char__const_
lea eax, [ebp - 0x2b]
mov dword [esp], eax
call sym.std::allocator_char_::allocator__
jmp 0x4076ea
cmp word [ebp - 0x26], 0
je 0x407621
movzx eax, word [ebp - 0x26]
mov dword [ebp - 0x13c], eax
mov dword [esp + 4], 0x480138
lea eax, [ebp - 0xf0]
mov dword [esp], eax
mov dword [ebp - 0x128], 3
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov edx, dword [ebp - 0x13c]
mov dword [esp + 4], edx
mov dword [esp], eax
call method.std::ostream.operator___unsigned_short_
mov edx, eax
mov eax, dword [eax]
sub eax, 0xc
mov eax, dword [eax]
lea eax, [edx + eax]
mov dword [esp], eax
call method.std::basic_ios_char__std::char_traits_char___.operator____const
test al, al
je 0x407621
mov eax, dword [ebp + 8]
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x2a]
mov dword [esp], eax
call fcn.0044b2ac
lea eax, [ebp - 0x2a]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x48013a
mov edx, dword [ebp - 0x140]
mov dword [esp], edx
mov dword [ebp - 0x128], 5
call method.std::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_char_const__std::allocator_char__const_
lea eax, [ebp - 0x2a]
mov dword [esp], eax
call sym.std::allocator_char_::allocator__
jmp 0x4076ea
cmp word [ebp - 0x28], 0
je 0x4076c8
movzx eax, word [ebp - 0x28]
mov dword [ebp - 0x144], eax
mov dword [esp + 4], 0x480138
lea eax, [ebp - 0xf0]
mov dword [esp], eax
mov dword [ebp - 0x128], 3
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov edx, dword [ebp - 0x144]
mov dword [esp + 4], edx
mov dword [esp], eax
call method.std::ostream.operator___unsigned_short_
mov edx, eax
mov eax, dword [eax]
sub eax, 0xc
mov eax, dword [eax]
lea eax, [edx + eax]
mov dword [esp], eax
call method.std::basic_ios_char__std::char_traits_char___.operator____const
test al, al
je 0x4076c8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x148], eax
lea eax, [ebp - 0x29]
mov dword [esp], eax
call fcn.0044b2ac
lea eax, [ebp - 0x29]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x48013a
mov edx, dword [ebp - 0x148]
mov dword [esp], edx
mov dword [ebp - 0x128], 6
call method.std::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_char_const__std::allocator_char__const_
lea eax, [ebp - 0x29]
mov dword [esp], eax
call sym.std::allocator_char_::allocator__
jmp 0x4076ea
mov eax, dword [ebp + 8]
lea edx, [ebp - 0xf0]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [ebp - 0x128], 3
call method.std::basic_ostringstream_char__std::char_traits_char___std::allocator_char___.str___const
sub esp, 4
lea eax, [ebp - 0xf0]
mov dword [esp], eax
mov dword [ebp - 0x128], 1
call fcn.004740e8
lea eax, [ebp - 0x30]
mov dword [esp], eax
mov dword [ebp - 0x128], 0xffffffff
call fcn.00456010
lea eax, [ebp - 0x12c]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
add esp, 0
pop ebx
pop esi
pop edi
leave
ret 4