Function at 0x4d8580
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x58a243
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov ebx, ecx
push edi
push 1
lea eax, [ebx + 0x74]
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x28], ebx
call sub.MFC71.DLL_CSingleLock::CSingleLock
lea edi, [ebx + 0x70]
xor ebp, ebp
mov ecx, edi
mov dword [esp + 0x38], ebp
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Empty]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_7]
push 0x5bdc98
mov ecx, edi
mov byte [esp + 0x3c], 1
call dword [0x5942f8]
mov ecx, 0x5fda18
call fcn.004bec60
add eax, 0x10
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_4]
push 0x596834
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
test eax, eax
jne 0x4d8618
push str.NeroRecode
lea ecx, [esp + 0x14]
call dword [0x5942f8]
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
push str.__n_n
mov ecx, edi
call dword [0x59434c]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Empty]
push 0x104
call sub.MFC71.DLL_operator_new
add esp, 4
push 0x104
mov esi, eax
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp eax, ebp
mov dword [esp + 0x14], ebp
je 0x4d86ec
lea edx, [esp + 0x14]
push edx
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebp, eax
test ebp, ebp
je 0x4d86ec
push ebp
call sub.MFC71.DLL_operator_new
add esp, 4
mov ebx, eax
mov eax, dword [esp + 0x14]
push ebx
push ebp
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4d86df
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0x597664
xor ebp, ebp
push ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebp
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x4d86df
movzx ecx, word [eax + 0x14]
movzx edx, word [eax + 0x16]
push ecx
movzx ecx, word [eax + 0x10]
push edx
movzx edx, word [eax + 0x12]
push ecx
push edx
lea eax, [esp + 0x20]
push str.Version:__d._d._d._d_n_n
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format_1]
add esp, 0x18
push ebx
call sub.MFC71.DLL_operator_delete
mov ebx, dword [esp + 0x24]
add esp, 4
push esi
call sub.MFC71.DLL_operator_delete
add esp, 4
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
mov ecx, 0x5fda18
call fcn.004e4beb
mov esi, eax
test esi, esi
je 0x4d877f
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
push eax
mov ecx, edi
call dword [0x59434c]
push 0xa
mov ecx, edi
call dword [0x59483c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
push eax
mov ecx, edi
call dword [0x59434c]
push 0xa
mov ecx, edi
call dword [0x59483c]
mov edx, dword [esi]
xor ebp, ebp
push ebp
mov ecx, esi
call dword [edx + 0x14]
test eax, eax
je 0x4d8778
push eax
mov ecx, edi
call dword [0x59434c]
push 0xa
mov ecx, edi
call dword [0x59483c]
mov eax, dword [esi]
inc ebp
push ebp
mov ecx, esi
call dword [eax + 0x14]
test eax, eax
jne 0x4d8754
test ebp, ebp
jne 0x4d878c
push str.No_serial_number_n
jmp 0x4d8784
push str.No_license_n
mov ecx, edi
call dword [0x59434c]
mov eax, dword [ebx + 0x60]
dec eax
cmp eax, 6
ja case.0x4d8795.4
jmp dword [eax*4 + 0x4d89a8]
push str.Copy_entire_DVD
jmp 0x4d87bd
push str.Remake_a_DVD
jmp 0x4d87bd
push str.Nero_Digital
jmp 0x4d87bd
push str.Main_Movie_to_DVD
jmp 0x4d87bd
push str.Main_Movie_to_Nero_Digital
lea ecx, [esp + 0x14]
call dword [0x5942f8]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push str._nProject_type:
push edx
call fcn.004082e0
add esp, 0xc
push eax
mov ecx, edi
mov byte [esp + 0x3c], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ecx, ebx
call fcn.004d74f0
cmp eax, 0xa0a50
ja 0x4d8843
je 0x4d8837
cmp eax, 0x50528
je 0x4d8826
cmp eax, 0x566d0
jne 0x4d8851
push eax
push str.CD80___u_
lea eax, [esp + 0x18]
push eax
jmp 0x4d887e
push 0x50528
push str.CD74___u_
lea ecx, [esp + 0x18]
push ecx
jmp 0x4d887e
push 0xa0a50
push str.HD_BURN___u_
jmp 0x4d8879
cmp eax, 0x22d5ad
je 0x4d886f
cmp eax, 0x3f5be2
je 0x4d885e
push eax
push str.Custom___u_
lea eax, [esp + 0x18]
push eax
jmp 0x4d887e
push 0x3f5be2
push str.DVD9___u_
lea ecx, [esp + 0x18]
push ecx
jmp 0x4d887e
push 0x22d5ad
push str.DVD5___u_
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format_1]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x20]
push str._nTarget_size:
push ecx
call fcn.004082e0
add esp, 0xc
push eax
mov ecx, edi
mov byte [esp + 0x3c], 3
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov eax, dword [ebx + 0x60]
cmp eax, 3
je 0x4d88d8
cmp eax, 7
je 0x4d88cf
mov ebp, 1
jmp 0x4d88f0
push 1
push str.TargetDiscsMovieToDigital
jmp 0x4d88df
push 1
push str.TargetDiscsNDigital
mov ecx, 0x5fda18
push str.Preferences
call sub.MFC71.DLL_CWinApp::GetProfileIntA
mov ebp, eax
mov eax, dword [ebx + 0x60]
cmp eax, 3
je 0x4d890a
cmp eax, 7
je 0x4d8901
xor esi, esi
jmp 0x4d8922
push 0
push str.TargetDiscSizeMovieToDigital
jmp 0x4d8911
push 0
push str.TargetDiscSizeNDigital
mov ecx, 0x5fda18
push str.Preferences
call sub.MFC71.DLL_CWinApp::GetProfileIntA
mov esi, eax
cmp ebp, 1
jbe 0x4d896d
test esi, esi
jbe 0x4d896d
push ebp
lea edx, [esp + 0x14]
push str._nSplitted_on__u_discs
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format_1]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
push esi
lea ecx, [esp + 0x14]
push str._with_size__u_each
push ecx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format_1]
add esp, 0xc
lea edx, [esp + 0x10]
push edx
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
push 0x598acc
mov ecx, edi
call dword [0x59434c]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC71.DLL_CSingleLock::Unlock
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret