Function at 0x42dc00
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x465aab
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
mov eax, dword [0x48602c]
xor eax, esp
mov dword [esp + 0x458], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48602c]
xor eax, esp
push eax
lea eax, [esp + 0x470]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x480]
mov esi, ecx
xor ebx, ebx
push 0x47cb34
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x18], ebx
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__]
push 0x206
lea eax, [esp + 0x62]
mov edi, 1
push ebx
mov dword [esp + 0x480], edi
push eax
mov word [esp + 0x68], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea ecx, [esp + 0x60]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x5c]
push 0x5c
push edx
call fcn.004076b0
add esp, 8
cmp eax, ebx
jne 0x42dcbb
push 0x47b991
mov ecx, ebp
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 dword [esp + 0x14], edi
jmp 0x42de40
mov word [eax], bx
push 0x206
lea eax, [esp + 0x26a]
push ebx
push eax
mov word [esp + 0x270], bx
call sub.MSVCR80.dll_memset
push esi
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x278]
push 0x47d4b0
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
push ebx
lea eax, [esp + 0x268]
push eax
mov dword [esp + 0x20], 0x34
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, ebx
je 0x42dd99
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043acf2
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x42dd15
push esi
push edi
push ebx
lea eax, [esp + 0x270]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x42dd90
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
push 0x47bbdc
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42dd90
mov eax, dword [esp + 0x1c]
movzx ecx, word [eax + 0x16]
movzx edx, word [eax + 0x10]
movzx eax, word [eax + 0x12]
push ecx
push edx
push eax
push str._d._d._d
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
push esi
lea ecx, [esp + 0x28]
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 esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x488], 2
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, [esp + 0x38]
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 ebx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
call ebx
mov edi, eax
lea ecx, [edi + 1]
push ecx
call fcn.0043acf2
add esp, 4
push 0
push 0
mov esi, eax
push edi
push esi
lea ecx, [esp + 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, [esp + 0x38]
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 ebx
push esi
lea ecx, [esp + 0x44]
mov byte [esi + edi], 0
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__]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea edx, [esp + 0x40]
push edx
mov ecx, ebp
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__]
lea ecx, [esp + 0x40]
mov dword [esp + 0x14], 1
mov byte [esp + 0x478], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x24]
mov byte [esp + 0x478], 0
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, ebp
mov ecx, dword [esp + 0x470]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x458]
xor ecx, esp
call fcn.0043ad38
add esp, 0x468
ret 4