Function at 0x40c5d3
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3088
call fcn.0050c6f0
push edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc14], eax
lea ecx, [ebp - 0x3084]
mov dword [ebp - 0x207c], ecx
mov dword [ebp - 0xc20], 0
mov byte [ebp - 0xc10], 0
mov ecx, 0x100
xor eax, eax
lea edi, [ebp - 0xc0f]
rep stosd dword es:[edi], eax
mov edx, dword [str.Copyright__c__1989_2006_Macrovision_Europe_Ltd._and_or_Macrovision_Corporation._All_Rights_Reserved._n]
push edx
push str.lminstall
push 0x526c08
mov eax, dword [0x589ae4]
push eax
call fcn.0050c6ac
add esp, 0x10
cmp dword [0x589ae4], 0
je 0x40c64e
cmp dword [0x589ae4], 0x53d460
jne 0x40c8a9
lea ecx, [ebp - 0x2080]
push ecx
lea edx, [ebp - 0x1078]
push edx
lea eax, [ebp - 0x2084]
push eax
lea ecx, [ebp - 0x1048]
push ecx
call fcn.0041db90
add esp, 0x10
mov edx, dword [ebp - 0x1078]
add edx, 0x76c
mov dword [ebp - 0x1078], edx
mov eax, dword [ebp - 0x2084]
add eax, 1
mov dword [ebp - 0x2084], eax
mov ecx, dword [ebp - 0x1048]
push ecx
mov edx, dword [ebp - 0x2084]
push edx
mov eax, dword [ebp - 0x1078]
push eax
push str._d_02d_02d.lic
lea ecx, [ebp - 0xc10]
push ecx
call fcn.0050cc03
add esp, 0x14
mov dword [ebp - 0x1074], 1
jmp 0x40c6d7
mov edx, dword [ebp - 0x1074]
add edx, 1
mov dword [ebp - 0x1074], edx
lea eax, [ebp - 0x106c]
push eax
lea ecx, [ebp - 0xc10]
push ecx
mov edx, dword [0x53f65c]
push edx
call fcn.0043b8cc
add esp, 0xc
test eax, eax
jne 0x40c72a
mov eax, dword [ebp - 0x1074]
push eax
mov ecx, dword [ebp - 0x1048]
push ecx
mov edx, dword [ebp - 0x2084]
push edx
mov eax, dword [ebp - 0x1078]
push eax
push str._d_02d_02d__d.lic
lea ecx, [ebp - 0xc10]
push ecx
call fcn.0050cc03
add esp, 0x18
jmp 0x40c6c8
push str.Enter_path_to_output_license_file_n
push 0x53d460
call fcn.0050c6ac
add esp, 8
lea edx, [ebp - 0xc10]
push edx
push str._default__s__qquit:
push 0x53d460
call fcn.0050c6ac
add esp, 0xc
push 0x53d440
push 0x1000
lea eax, [ebp - 0x2078]
push eax
call fcn.0050ca41
add esp, 0xc
lea ecx, [ebp - 0x2078]
push ecx
call fcn.0050c510
add esp, 4
mov byte [ebp + eax - 0x2079], 0
movsx edx, byte [ebp - 0x2078]
test edx, edx
je 0x40c7a6
lea eax, [ebp - 0x2078]
push eax
lea ecx, [ebp - 0xc10]
push ecx
call fcn.0050c8f0
add esp, 8
push 0x526c70
lea edx, [ebp - 0x2078]
push edx
mov eax, dword [0x53f65c]
push eax
call fcn.00418500
add esp, 0xc
test eax, eax
je 0x40c7dd
push str.Exiting_n
push 0x53d460
call fcn.0050c6ac
add esp, 8
push 0
call fcn.0050cf49
lea ecx, [ebp - 0x106c]
push ecx
lea edx, [ebp - 0xc10]
push edx
mov eax, dword [0x53f65c]
push eax
call fcn.0043b8cc
add esp, 0xc
test eax, eax
jne 0x40c863
push str.File_exists__do_you_want_to_append__y_n__
push 0x53d460
call fcn.0050c6ac
add esp, 8
push 0x53d440
push 0x1000
lea ecx, [ebp - 0x2078]
push ecx
call fcn.0050ca41
add esp, 0xc
lea edx, [ebp - 0x2078]
push edx
call fcn.0050c510
add esp, 4
mov byte [ebp + eax - 0x2079], 0
push 0x526cac
lea eax, [ebp - 0x2078]
push eax
mov ecx, dword [0x53f65c]
push ecx
call fcn.00418500
add esp, 0xc
test eax, eax
jne 0x40c863
jmp 0x40c635
push 0x526cb0
lea edx, [ebp - 0xc10]
push edx
mov eax, dword [0x53f65c]
push eax
call fcn.0043b3d0
add esp, 0xc
mov dword [0x589ae4], eax
cmp dword [0x589ae4], 0
jne 0x40c8a4
lea ecx, [ebp - 0xc10]
push ecx
push str.Cant_open_output_file__s_n
push 0x53d460
call fcn.0050c6ac
add esp, 0xc
jmp 0x40c635
push str.Please_enter_the_license_file_below.__As_you_enter_license_lines__n
push 0x53d460
call fcn.0050c6ac
add esp, 8
push str.they_will_be_checked_for_errors._n_n
push 0x53d460
call fcn.0050c6ac
add esp, 8
push str._Enter_Q_to_quit__or_2_Returns_will_also_exit.__n_n_n
push 0x53d460
call fcn.0050c6ac
add esp, 8
push 0x526d6c
push 0x53d460
call fcn.0050c6ac
add esp, 8
push 0x53d440
push 0x1000
lea edx, [ebp - 0x2078]
push edx
call fcn.0050ca41
add esp, 0xc
test eax, eax
je 0x40ccfe
mov dword [ebp - 0x408], 0
lea eax, [ebp - 0x2078]
push eax
call fcn.0040cd05
add esp, 4
lea ecx, [ebp - 0x2078]
push ecx
call fcn.0050c510
add esp, 4
movsx edx, byte [ebp + eax - 0x2079]
cmp edx, 0x5c
jne 0x40c97f
lea eax, [ebp - 0x2078]
push eax
mov ecx, dword [ebp - 0x207c]
push ecx
call fcn.0050c8f0
add esp, 8
mov edx, dword [ebp - 0x207c]
push edx
call fcn.0050c510
add esp, 4
mov ecx, dword [ebp - 0x207c]
add ecx, eax
mov dword [ebp - 0x207c], ecx
jmp 0x40c8df
lea edx, [ebp - 0x2078]
push edx
mov eax, dword [ebp - 0x207c]
push eax
call fcn.0050c8f0
add esp, 8
lea ecx, [ebp - 0x3084]
mov dword [ebp - 0x207c], ecx
movsx edx, byte [ebp - 0x2078]
test edx, edx
jne 0x40c9bb
mov eax, dword [ebp - 0xc20]
add eax, 1
mov dword [ebp - 0xc20], eax
cmp dword [ebp - 0xc20], 2
je 0x40c9e3
push 0x526d70
lea ecx, [ebp - 0x3084]
push ecx
mov edx, dword [0x53f65c]
push edx
call fcn.00418500
add esp, 0xc
test eax, eax
je 0x40c9ea
xor eax, eax
jmp 0x40cd00
cmp dword [ebp - 0xc20], 1
jne 0x40ca05
push str._One_more_RETURN_to_finish__n
push 0x53d460
call fcn.0050c6ac
add esp, 8
movsx eax, byte [ebp - 0x3084]
test eax, eax
jne 0x40ca15
jmp 0x40c8df
lea ecx, [ebp - 0x1070]
push ecx
mov edx, dword [0x53f65c]
push edx
call fcn.004131b7
add esp, 8
test eax, eax
je 0x40ca9a
mov eax, dword [0x53f65c]
cmp dword [eax + 0x80], 0
je 0x40ca57
xor ecx, ecx
test ecx, ecx
je 0x40ca57
mov edx, dword [0x53f65c]
mov eax, dword [edx + 0x80]
mov dword [ebp - 0x3088], eax
jmp 0x40ca61
mov dword [ebp - 0x3088], 0xffffffd8
mov ecx, dword [0x53f65c]
mov edx, dword [ebp - 0x3088]
mov dword [ecx + 0x80], edx
push 0
push 0xff
push 0
push 0
push 0x25f
push 0xffffffffffffffd8
mov eax, dword [0x53f65c]
push eax
call fcn.00417d90
add esp, 0x1c
xor eax, eax
jmp 0x40cd00
lea ecx, [ebp - 0x3084]
push ecx
call fcn.004481bb
add esp, 4
test eax, eax
je 0x40cb20
push 0
mov edx, dword [ebp - 0x1070]
push edx
lea eax, [ebp - 0x3084]
push eax
mov ecx, dword [0x53f65c]
push ecx
call fcn.00447290
add esp, 0x10
mov dword [ebp - 0xc1c], eax
cmp dword [ebp - 0xc1c], 0
jne 0x40caff
mov edx, dword [0x53f65c]
push edx
call fcn.004193e0
add esp, 4
push eax
push str.Invalid_decimal_line__please_re_enter:__s_n
push 0x53d460
call fcn.0050c6ac
add esp, 0xc
jmp 0x40cb1b
push 0x526dc0
push 0x53d460
call fcn.0050c6ac
add esp, 8
mov dword [ebp - 0x408], 1
jmp 0x40cc90
push 0
push 0
lea eax, [ebp - 0x1044]
push eax
lea ecx, [ebp - 0x3084]
push ecx
mov edx, dword [0x53f65c]
push edx
call fcn.00411b9d
add esp, 0x14
test eax, eax
je 0x40cb66
push 0x526dc8
push 0x53d460
call fcn.0050c6ac
add esp, 8
mov dword [ebp - 0x408], 1
jmp 0x40cc90
lea eax, [ebp - 0x80c]
push eax
lea ecx, [ebp - 0x404]
push ecx
lea edx, [ebp - 0x3084]
push edx
mov eax, dword [0x53f65c]
push eax
call fcn.00414cfe
add esp, 0x10
test eax, eax
je 0x40cbae
push 0x526dd0
push 0x53d460
call fcn.0050c6ac
add esp, 8
mov dword [ebp - 0x408], 1
jmp 0x40cc90
lea ecx, [ebp - 0xc18]
push ecx
mov edx, dword [ebp - 0x1070]
push edx
lea eax, [ebp - 0x3084]
push eax
mov ecx, dword [0x53f65c]
push ecx
call fcn.00413a26
add esp, 0x10
test eax, eax
je 0x40cc4d
cmp dword [ebp - 0xc18], 0
jne 0x40cc4d
push 0
mov edx, dword [ebp - 0x1070]
push edx
mov eax, dword [0x53f65c]
push eax
call fcn.004276f0
add esp, 0xc
mov dword [ebp - 0xc18], eax
cmp dword [ebp - 0xc18], 0
je 0x40cc2f
mov ecx, dword [ebp - 0xc18]
push ecx
push str.Error:___s__n
push 0x53d460
call fcn.0050c6ac
add esp, 0xc
mov edx, dword [ebp - 0xc18]
push edx
call fcn.00412654
add esp, 4
jmp 0x40cc4b
push str.Good_n
push 0x53d460
call fcn.0050c6ac
add esp, 8
mov dword [ebp - 0x408], 1
jmp 0x40cc90
cmp dword [ebp - 0xc18], 0
je 0x40cc7e
mov eax, dword [ebp - 0xc18]
push eax
push str.Syntax_error:___s__n
push 0x53d460
call fcn.0050c6ac
add esp, 0xc
mov ecx, dword [ebp - 0xc18]
push ecx
call fcn.00412654
add esp, 4
push str.Invalid_line__please_re_enter_n
push 0x53d460
call fcn.0050c6ac
add esp, 8
cmp dword [ebp - 0x408], 0
je 0x40cce4
lea edx, [ebp - 0x3084]
push edx
mov eax, dword [ebp - 0xc14]
push eax
call fcn.0050c8f0
add esp, 8
mov ecx, dword [ebp - 0xc14]
push ecx
call fcn.0050c510
add esp, 4
mov edx, dword [ebp - 0xc14]
add edx, eax
mov dword [ebp - 0xc14], edx
mov eax, dword [ebp - 0xc14]
mov byte [eax], 0xa
mov ecx, dword [ebp - 0xc14]
add ecx, 1
mov dword [ebp - 0xc14], ecx
mov edx, dword [ebp - 0x1070]
push edx
mov eax, dword [0x53f65c]
push eax
call fcn.0041325a
add esp, 8
jmp 0x40c8df
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret