Function at 0x40f643
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3088
call fcn.004aeff0
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_2005_Macrovision_Europe_Ltd._and_or_Macrovision_Corporation._All_Rights_Reserved._n]
push edx
push str.lminstall
push 0x4c7fe0
mov eax, dword [0x4dc70c]
push eax
call fcn.004aefac
add esp, 0x10
cmp dword [0x4dc70c], 0
je 0x40f6be
cmp dword [0x4dc70c], 0x4d2bc0
jne 0x40f919
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.0041d45f
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.004af408
add esp, 0x14
mov dword [ebp - 0x1074], 1
jmp 0x40f747
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 [0x4d4ddc]
push edx
call fcn.00443554
add esp, 0xc
test eax, eax
jne 0x40f79a
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.004af408
add esp, 0x18
jmp 0x40f738
push str.Enter_path_to_output_license_file_n
push 0x4d2bc0
call fcn.004aefac
add esp, 8
lea edx, [ebp - 0xc10]
push edx
push str._default__s__qquit:
push 0x4d2bc0
call fcn.004aefac
add esp, 0xc
push 0x4d2ba0
push 0x1000
lea eax, [ebp - 0x2078]
push eax
call fcn.004af246
add esp, 0xc
lea ecx, [ebp - 0x2078]
push ecx
call fcn.004aee10
add esp, 4
mov byte [ebp + eax - 0x2079], 0
movsx edx, byte [ebp - 0x2078]
test edx, edx
je 0x40f816
lea eax, [ebp - 0x2078]
push eax
lea ecx, [ebp - 0xc10]
push ecx
call fcn.004af810
add esp, 8
push 0x4c8048
lea edx, [ebp - 0x2078]
push edx
mov eax, dword [0x4d4ddc]
push eax
call fcn.00419ac0
add esp, 0xc
test eax, eax
je 0x40f84d
push str.Exiting_n
push 0x4d2bc0
call fcn.004aefac
add esp, 8
push 0
call fcn.004afc62
lea ecx, [ebp - 0x106c]
push ecx
lea edx, [ebp - 0xc10]
push edx
mov eax, dword [0x4d4ddc]
push eax
call fcn.00443554
add esp, 0xc
test eax, eax
jne 0x40f8d3
push str.File_exists__do_you_want_to_append__y_n__
push 0x4d2bc0
call fcn.004aefac
add esp, 8
push 0x4d2ba0
push 0x1000
lea ecx, [ebp - 0x2078]
push ecx
call fcn.004af246
add esp, 0xc
lea edx, [ebp - 0x2078]
push edx
call fcn.004aee10
add esp, 4
mov byte [ebp + eax - 0x2079], 0
push 0x4c8084
lea eax, [ebp - 0x2078]
push eax
mov ecx, dword [0x4d4ddc]
push ecx
call fcn.00419ac0
add esp, 0xc
test eax, eax
jne 0x40f8d3
jmp 0x40f6a5
push 0x4c8088
lea edx, [ebp - 0xc10]
push edx
mov eax, dword [0x4d4ddc]
push eax
call fcn.00443030
add esp, 0xc
mov dword [0x4dc70c], eax
cmp dword [0x4dc70c], 0
jne 0x40f914
lea ecx, [ebp - 0xc10]
push ecx
push str.Cant_open_output_file__s_n
push 0x4d2bc0
call fcn.004aefac
add esp, 0xc
jmp 0x40f6a5
push str.Please_enter_the_license_file_below.__As_you_enter_license_lines__n
push 0x4d2bc0
call fcn.004aefac
add esp, 8
push str.they_will_be_checked_for_errors._n_n
push 0x4d2bc0
call fcn.004aefac
add esp, 8
push str._Enter_Q_to_quit__or_2_Returns_will_also_exit.__n_n_n
push 0x4d2bc0
call fcn.004aefac
add esp, 8
push 0x4c8144
push 0x4d2bc0
call fcn.004aefac
add esp, 8
push 0x4d2ba0
push 0x1000
lea edx, [ebp - 0x2078]
push edx
call fcn.004af246
add esp, 0xc
test eax, eax
je 0x40fd79
mov dword [ebp - 0x408], 0
lea eax, [ebp - 0x2078]
push eax
call fcn.0040fd80
add esp, 4
lea ecx, [ebp - 0x2078]
push ecx
call fcn.004aee10
add esp, 4
movsx edx, byte [ebp + eax - 0x2079]
cmp edx, 0x5c
jne 0x40f9ef
lea eax, [ebp - 0x2078]
push eax
mov ecx, dword [ebp - 0x207c]
push ecx
call fcn.004af810
add esp, 8
mov edx, dword [ebp - 0x207c]
push edx
call fcn.004aee10
add esp, 4
mov ecx, dword [ebp - 0x207c]
add ecx, eax
mov dword [ebp - 0x207c], ecx
jmp 0x40f94f
lea edx, [ebp - 0x2078]
push edx
mov eax, dword [ebp - 0x207c]
push eax
call fcn.004af810
add esp, 8
lea ecx, [ebp - 0x3084]
mov dword [ebp - 0x207c], ecx
movsx edx, byte [ebp - 0x2078]
test edx, edx
jne 0x40fa2b
mov eax, dword [ebp - 0xc20]
add eax, 1
mov dword [ebp - 0xc20], eax
cmp dword [ebp - 0xc20], 2
je 0x40fa53
push 0x4c8148
lea ecx, [ebp - 0x3084]
push ecx
mov edx, dword [0x4d4ddc]
push edx
call fcn.00419ac0
add esp, 0xc
test eax, eax
je 0x40fa5a
xor eax, eax
jmp 0x40fd7b
cmp dword [ebp - 0xc20], 1
jne 0x40fa75
push str._One_more_RETURN_to_finish__n
push 0x4d2bc0
call fcn.004aefac
add esp, 8
movsx eax, byte [ebp - 0x3084]
test eax, eax
jne 0x40fa85
jmp 0x40f94f
push 0x37c
mov ecx, dword [0x4d4ddc]
push ecx
call fcn.00419880
add esp, 8
mov dword [ebp - 0x1070], eax
cmp dword [ebp - 0x1070], 0
jne 0x40fb14
mov edx, dword [0x4d4ddc]
cmp dword [edx + 0x80], 0
je 0x40fad1
xor eax, eax
test eax, eax
je 0x40fad1
mov ecx, dword [0x4d4ddc]
mov edx, dword [ecx + 0x80]
mov dword [ebp - 0x3088], edx
jmp 0x40fadb
mov dword [ebp - 0x3088], 0xffffffd8
mov eax, dword [0x4d4ddc]
mov ecx, dword [ebp - 0x3088]
mov dword [eax + 0x80], ecx
push 0
push 0xff
push 0
push 0
push 0x25f
push 0xffffffffffffffd8
mov edx, dword [0x4d4ddc]
push edx
call fcn.00419110
add esp, 0x1c
xor eax, eax
jmp 0x40fd7b
lea eax, [ebp - 0x3084]
push eax
call fcn.0044be4b
add esp, 4
test eax, eax
je 0x40fb99
push 0
mov ecx, dword [ebp - 0x1070]
push ecx
lea edx, [ebp - 0x3084]
push edx
mov eax, dword [0x4d4ddc]
push eax
call fcn.0044af20
add esp, 0x10
mov dword [ebp - 0xc1c], eax
cmp dword [ebp - 0xc1c], 0
jne 0x40fb78
mov ecx, dword [0x4d4ddc]
push ecx
call fcn.0041a960
add esp, 4
push eax
push str.Invalid_decimal_line__please_re_enter:__s_n
push 0x4d2bc0
call fcn.004aefac
add esp, 0xc
jmp 0x40fb94
push 0x4c8198
push 0x4d2bc0
call fcn.004aefac
add esp, 8
mov dword [ebp - 0x408], 1
jmp 0x40fd0a
push 0
push 0
lea edx, [ebp - 0x1044]
push edx
lea eax, [ebp - 0x3084]
push eax
mov ecx, dword [0x4d4ddc]
push ecx
call fcn.004132b4
add esp, 0x14
test eax, eax
je 0x40fbdf
push 0x4c81a0
push 0x4d2bc0
call fcn.004aefac
add esp, 8
mov dword [ebp - 0x408], 1
jmp 0x40fd0a
lea edx, [ebp - 0x80c]
push edx
lea eax, [ebp - 0x404]
push eax
lea ecx, [ebp - 0x3084]
push ecx
mov edx, dword [0x4d4ddc]
push edx
call fcn.00416134
add esp, 0x10
test eax, eax
je 0x40fc28
push 0x4c81a8
push 0x4d2bc0
call fcn.004aefac
add esp, 8
mov dword [ebp - 0x408], 1
jmp 0x40fd0a
lea eax, [ebp - 0xc18]
push eax
mov ecx, dword [ebp - 0x1070]
push ecx
lea edx, [ebp - 0x3084]
push edx
mov eax, dword [0x4d4ddc]
push eax
call fcn.00414e46
add esp, 0x10
test eax, eax
je 0x40fcc7
cmp dword [ebp - 0xc18], 0
jne 0x40fcc7
push 0
mov ecx, dword [ebp - 0x1070]
push ecx
mov edx, dword [0x4d4ddc]
push edx
call fcn.00425130
add esp, 0xc
mov dword [ebp - 0xc18], eax
cmp dword [ebp - 0xc18], 0
je 0x40fca9
mov eax, dword [ebp - 0xc18]
push eax
push str.Error:___s__n
push 0x4d2bc0
call fcn.004aefac
add esp, 0xc
mov ecx, dword [ebp - 0xc18]
push ecx
call fcn.00419aae
add esp, 4
jmp 0x40fcc5
push str.Good_n
push 0x4d2bc0
call fcn.004aefac
add esp, 8
mov dword [ebp - 0x408], 1
jmp 0x40fd0a
cmp dword [ebp - 0xc18], 0
je 0x40fcf8
mov edx, dword [ebp - 0xc18]
push edx
push str.Syntax_error:___s__n
push 0x4d2bc0
call fcn.004aefac
add esp, 0xc
mov eax, dword [ebp - 0xc18]
push eax
call fcn.00419aae
add esp, 4
push str.Invalid_line__please_re_enter_n
push 0x4d2bc0
call fcn.004aefac
add esp, 8
cmp dword [ebp - 0x408], 0
je 0x40fd5e
lea ecx, [ebp - 0x3084]
push ecx
mov edx, dword [ebp - 0xc14]
push edx
call fcn.004af810
add esp, 8
mov eax, dword [ebp - 0xc14]
push eax
call fcn.004aee10
add esp, 4
mov ecx, dword [ebp - 0xc14]
add ecx, eax
mov dword [ebp - 0xc14], ecx
mov edx, dword [ebp - 0xc14]
mov byte [edx], 0xa
mov eax, dword [ebp - 0xc14]
add eax, 1
mov dword [ebp - 0xc14], eax
mov ecx, dword [ebp - 0x1070]
push ecx
mov edx, dword [0x4d4ddc]
push edx
call fcn.00414669
add esp, 8
jmp 0x40f94f
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret