Function at 0x405164
Capabilities:
Check if file exists
Create thread
Get file attributes
Get file size
Get graphical window text
Hide graphical window
Set current directory

Disassembly:
mov al, byte [0x412c28]
cmp al, 1
je 0x40520b
cmp al, 2
je 0x405348
cmp al, 3
je 0x405429
cmp al, 4
je 0x40547f
cmp al, 5
je 0x4054e0
cmp al, 6
je 0x4055ef
cmp al, 7
je 0x405947
cmp al, 8
je 0x405c8c
cmp al, 9
je 0x405deb
cmp al, 0xa
je 0x405e91
cmp al, 0xb
je 0x405f51
cmp al, 0xc
je 0x406008
push str.Welcome_to_the_InstallSimple_Wizard__
push dword [0x412c10]
call sub.user32.dll_SetWindowTextA
push str.Click_Next_to_continue...
push dword [0x412aec]
call sub.user32.dll_SetWindowTextA
push 5
push dword [0x412c10]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412aec]
call sub.user32.dll_ShowWindow
mov byte [0x412c28], 1
ret
call fcn.00408fa9
push 5
push dword [0x412be0]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412bc0]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412acc]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412adc]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412b20]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412ae0]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412b24]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412ae8]
call sub.user32.dll_ShowWindow
push str.Make_window_title_and_name_of_your_product
push dword [0x412ad0]
call sub.user32.dll_SetWindowTextA
push str.During_the_entire_installation__the_user_will_see_a_window_title._r_nWindow_title_and_the_name_of_your_product_can_be_identical.
push dword [0x412ad4]
call sub.user32.dll_SetWindowTextA
push str.Window_Title:
push dword [0x412adc]
call sub.user32.dll_SetWindowTextA
push str.Click_Next_to_continue...
push dword [0x412ae8]
call sub.user32.dll_SetWindowTextA
push dword [0x412b20]
call sub.user32.dll_SetFocus
push 0
push dword [0x412ad8]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412afc]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412aec]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412c10]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412ad0]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412ad4]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412af4]
call sub.user32.dll_ShowWindow
push str.Product_Name:
push dword [0x412ae0]
call sub.user32.dll_SetWindowTextA
mov byte [0x412c28], 2
push 1
push 0x412d48
push dword [0x412ac0]
call sub.user32.dll_InvalidateRect
ret
push dword [0x412b24]
call sub.user32.dll_GetWindowTextLengthA
or eax, eax
jne 0x40537a
push 0x30
push str.Warning
push str.Please_enter_the_name_of_your_product__
push dword [0x412ac0]
call sub.user32.dll_MessageBoxA
push dword [0x412b24]
call sub.user32.dll_SetFocus
ret
push str.First_message_for_user
push dword [0x412ad0]
call sub.user32.dll_SetWindowTextA
push str.At_start_of_the_installation__user_will_see_this_message_from_you.__You_might_provide_user_with_some_information_about_the_software__installation__purchase_or_other.
push dword [0x412ad4]
call sub.user32.dll_SetWindowTextA
push str.Message_Text:
push dword [0x412adc]
call sub.user32.dll_SetWindowTextA
push 0
push dword [0x412be0]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412be4]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412bd8]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412be8]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412ae0]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412b24]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412b20]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412b28]
call sub.user32.dll_ShowWindow
push dword [0x412b28]
call sub.user32.dll_SetFocus
mov byte [0x412c28], 3
jmp 0x406229
push str.Last_message_for_user
push dword [0x412ad0]
call sub.user32.dll_SetWindowTextA
push str.When_installation_complete__user_will_see_this_text.
push dword [0x412ad4]
call sub.user32.dll_SetWindowTextA
push str.Message_Text:
push dword [0x412adc]
call sub.user32.dll_SetWindowTextA
push 5
push dword [0x412b2c]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412b28]
call sub.user32.dll_ShowWindow
mov byte [0x412c28], 4
jmp 0x406229
push str.License_Agreement
push dword [0x412ad0]
call sub.user32.dll_SetWindowTextA
push str.Display_the_specified_text_as_software_license._User_must_accept_it_for_continue_setup._r_nIf_licence_does_not_need_to_be_shown__simply_pass_to_the_next_step.
push dword [0x412ad4]
call sub.user32.dll_SetWindowTextA
push str.License_Text:
push dword [0x412adc]
call sub.user32.dll_SetWindowTextA
push 5
push dword [0x412b30]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412b2c]
call sub.user32.dll_ShowWindow
push dword [0x412b30]
call sub.user32.dll_SetFocus
mov byte [0x412c28], 5
jmp 0x406229
push str.Graphics
push dword [0x412ad0]
call sub.user32.dll_SetWindowTextA
push str.You_can_display_a_bitmap_as_a_splash_screen___the_user_will_see_before_installation._r_nAlso_you_can_display_a_bitmap_in_the_header_of_installer.
push dword [0x412ad4]
call sub.user32.dll_SetWindowTextA
push str.Splash_Screen:
push dword [0x412adc]
call sub.user32.dll_SetWindowTextA
push str.Header:
push dword [0x412ae0]
call sub.user32.dll_SetWindowTextA
push 5
push dword [0x412ae0]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412b90]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412b9c]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412ba0]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412ba4]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412b94]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412ba8]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412bac]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412bb0]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412bc4]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412bc8]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412bd0]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412bb8]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412bbc]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412b30]
call sub.user32.dll_ShowWindow
mov byte [0x412c28], 6
jmp 0x406229
cmp dword [0x412cd3], 0
jne 0x40565f
push 0x104
push 0x4116ff
push dword [0x412b9c]
call sub.user32.dll_GetWindowTextA
or eax, eax
je 0x40565f
push 0x4116ff
push str._s_r_nFile_not_found.
push 0x411803
call sub.user32.dll_wsprintfA
add esp, 0xc
push 0x30
push str.Splash_Screen
push 0x411803
push dword [0x412ac0]
call sub.user32.dll_MessageBoxA
push 0xffffffffffffffff
push 0
push 0xb1
push dword [0x412b9c]
call sub.user32.dll_SendMessageA
push dword [0x412b9c]
call sub.user32.dll_SetFocus
ret
cmp byte [0x412cd7], 1
jne 0x4056ce
push 0x104
push 0x4116ff
push dword [0x412ba8]
call sub.user32.dll_GetWindowTextA
mov eax, str._s_r_nFile_not_found.
push 0x4116ff
push eax
push 0x411803
call sub.user32.dll_wsprintfA
add esp, 0xc
push 0x30
push str.Header
push 0x411803
push dword [0x412ac0]
call sub.user32.dll_MessageBoxA
push 0xffffffffffffffff
push 0
push 0xb1
push dword [0x412ba8]
call sub.user32.dll_SendMessageA
push dword [0x412ba8]
call sub.user32.dll_SetFocus
ret
cmp byte [0x412cd7], 2
jne 0x4056f1
push 0x10
push str.Header
push str.Memory_Allocation_failed__
push dword [0x412ac0]
call sub.user32.dll_MessageBoxA
ret
cmp byte [0x412cd7], 3
jne 0x405701
mov eax, str._s_r_nThis_is_not_a_valid_bitmap_file__or_its_format_is_not_currently_supported.
jmp 0x405682
mov dword [0x412cb9], 0
push 0x104
push 0x4116ff
push dword [0x412bbc]
call sub.user32.dll_GetWindowTextA
or eax, eax
je 0x4057bc
push 0
push 0x4116ff
call sub.KERNEL32.DLL__lopen
cmp eax, 0xffffffff
jne 0x405788
mov eax, str._s_r_nFile_not_found.
push 0x4116ff
push eax
push 0x411803
call sub.user32.dll_wsprintfA
add esp, 0xc
push 0x30
push str.Wizard_Bitmap
push 0x411803
push dword [0x412ac0]
call sub.user32.dll_MessageBoxA
push 0xffffffffffffffff
push 0
push 0xb1
push dword [0x412bbc]
call sub.user32.dll_SendMessageA
push dword [0x412bbc]
call sub.user32.dll_SetFocus
ret
mov dword [0x412c29], eax
push 0
push eax
call sub.KERNEL32.DLL_GetFileSize
cmp eax, 0x32
jae 0x4057ac
push dword [0x412c29]
call sub.KERNEL32.DLL__lclose
mov eax, str._s_r_nThis_is_not_a_valid_bitmap_file__or_its_format_is_not_currently_supported.
jmp 0x40573e
mov dword [0x412cb9], eax
push dword [0x412c29]
call sub.KERNEL32.DLL__lclose
push str.Files_to_distribute
push dword [0x412ad0]
call sub.user32.dll_SetWindowTextA
push str.You_must_select_a_source_folder__which_you_want_to_distribute_and_setup_path.
push dword [0x412ad4]
call sub.user32.dll_SetWindowTextA
push str.Source_Folder:
push dword [0x412adc]
call sub.user32.dll_SetWindowTextA
push 5
push dword [0x412b34]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412b00]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412b5c]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412b60]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412b68]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412b64]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412b6c]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412bfc]
call sub.user32.dll_ShowWindow
push 0
push 0x412824
push dword [0x412ac0]
call sub.user32.dll_InvalidateRect
push 0
push dword [0x412b90]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412b9c]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412ba0]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412ba4]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412b94]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412ae0]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412ba8]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412bac]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412bb0]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412bc4]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412bc8]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412bd0]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412bb8]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412bbc]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412ad0]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412ad4]
call sub.user32.dll_ShowWindow
call fcn.004090b7
mov byte [0x412c28], 7
jmp 0x406229
push 0x104
push 0x4116ff
push dword [0x412b34]
call sub.user32.dll_GetWindowTextA
mov dword [0x412c82], eax
or eax, eax
jne 0x405988
push 0x30
push str.Warning
push str.Please_enter_the_name_of_source_folder__
push dword [0x412ac0]
call sub.user32.dll_MessageBoxA
push dword [0x412b34]
call sub.user32.dll_SetFocus
ret
cmp dword [0x412d2a], 0x8000
je 0x4059cb
push 0x30
push str.Warning
push str.Setup_path_contain_illegal_characters.
push dword [0x412ac0]
call sub.user32.dll_MessageBoxA
push 0xffffffffffffffff
push 0
push 0xb1
push dword [0x412b6c]
call sub.user32.dll_SendMessageA
push dword [0x412b6c]
call sub.user32.dll_SetFocus
ret
push 0x4116ff
call sub.KERNEL32.DLL_SetCurrentDirectoryA
or eax, eax
je 0x405965
push 0x4116ff
push dword [0x412c3d]
call sub.KERNEL32.DLL_lstrcmpA
or eax, eax
jne 0x4059fa
cmp byte [0x412c94], 0
jne 0x405b5c
mov eax, dword [0x412c3d]
mov ecx, 0x800
dec ecx
mov dword [eax + ecx*4], 0
or ecx, ecx
jne 0x405a04
push 0x4116ff
push eax
call sub.KERNEL32.DLL_lstrcpyA
push 0xffff0000
push 0
push 0x1101
push dword [0x412ac4]
call sub.user32.dll_SendMessageA
mov dword [0x4128f0], 0
mov dword [0x4128f4], 0xffff0000
mov dword [0x4128f8], 0x23
mov dword [0x412908], 0x411607
mov dword [0x412910], 0
mov dword [0x412914], 0
push 0x4128f0
push 0
push 0x1100
push dword [0x412ac4]
call sub.user32.dll_SendMessageA
mov dword [0x412c1c], eax
mov byte [0x412c94], 0
push 0
push dword [0x412ac4]
call fcn.00406e5b
cmp byte [0x412c94], 0
jne 0x405abf
push 0x10
push str.ERROR
push str.Your_source_folder_is_empty__
push dword [0x412ac0]
call sub.user32.dll_MessageBoxA
ret
push dword [0x412c1c]
push 2
push 0x1102
push dword [0x412ac4]
call sub.user32.dll_SendMessageA
push dword [0x412c1c]
pop dword [0x4128f0]
mov dword [0x4128f4], 0xffff0001
mov dword [0x412908], 0x410e62
mov dword [0x412910], 0xfffffffe
mov dword [0x412914], 1
push 0x4128f0
push 0
push 0x1100
push dword [0x412ac4]
call sub.user32.dll_SendMessageA
mov dword [0x412924], 0x18
mov dword [0x412930], 0x10
mov dword [0x41292c], 0x10
mov dword [0x412928], eax
push 0x412924
push 0
push 0x110d
push dword [0x412ac4]
call sub.user32.dll_SendMessageA
push 0x410553
push dword [0x412ad0]
call sub.user32.dll_SetWindowTextA
push str.Create_shortcuts_for_files_in_your_installation._You_can_set_shortcuts_in_the_Windows_startup_menu_or_on_the_Desktop.
push dword [0x412ad4]
call sub.user32.dll_SetWindowTextA
push 5
push dword [0x412ac4]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412ae4]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412b38]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412b08]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412b0c]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412b10]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412b14]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412b18]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412b1c]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412adc]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412b34]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412b00]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412b34]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412b00]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412b5c]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412b60]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412b68]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412b64]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412b6c]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412bfc]
call sub.user32.dll_ShowWindow
mov byte [0x412c28], 8
jmp 0x406229
push 0x104
push 0x411803
push dword [0x412b38]
call sub.user32.dll_GetWindowTextA
or eax, eax
je 0x405d06
mov esi, 0x411803
lodsb al, byte [esi]
cmp al, 0x22
je 0x405ccb
cmp al, 0x2a
je 0x405ccb
cmp al, 0x2f
je 0x405ccb
cmp al, 0x3c
je 0x405ccb
cmp al, 0x3e
je 0x405ccb
cmp al, 0x3f
je 0x405ccb
cmp al, 0x7c
je 0x405ccb
cmp al, 0x3a
jne 0x405d02
push 0x30
push str.Warning
push str.Setup_path_contain_illegal_characters.
push dword [0x412ac0]
call sub.user32.dll_MessageBoxA
push 0xffffffffffffffff
push 0
push 0xb1
push dword [0x412b38]
call sub.user32.dll_SendMessageA
push dword [0x412b38]
call sub.user32.dll_SetFocus
ret
or al, al
jne 0x405caa
mov dword [0x4129a4], 0xfffffe6e
push dword [0x412c8c]
pop dword [0x4129b0]
push 0x41299c
push 0
push 0x4e
push dword [0x412ac0]
call sub.user32.dll_SendMessageA
push str.Windows_registry
push dword [0x412ad0]
call sub.user32.dll_SetWindowTextA
push str.You_can_make_modifications_to_the_Windows_registry_on_end_user_computer.
push dword [0x412ad4]
call sub.user32.dll_SetWindowTextA
push 5
push dword [0x412b40]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412bcc]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412ac4]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412ae4]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412b38]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412b08]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412b0c]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412b10]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412b14]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412b18]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412b1c]
call sub.user32.dll_ShowWindow
mov byte [0x412c28], 9
jmp 0x406229
push str.System_Requirements
push dword [0x412ad0]
call sub.user32.dll_SetWindowTextA
push str.Define_your_applications_system_requirements__which_are_checked_before_installing_on_the_destination_computer.
push dword [0x412ad4]
call sub.user32.dll_SetWindowTextA
push 5
push dword [0x412b70]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412b74]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412b78]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412b7c]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412b40]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412bcc]
call sub.user32.dll_ShowWindow
push 0x35
push dword [0x412ac0]
call sub.user32.dll_IsDlgButtonChecked
cmp eax, 1
jne 0x405e85
push 5
push dword [0x412b80]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412bd4]
call sub.user32.dll_ShowWindow
mov byte [0x412c28], 0xa
jmp 0x406229
push 0x3e
push dword [0x412ac0]
call sub.user32.dll_IsDlgButtonChecked
cmp eax, 1
jne 0x405ebd
push 5
push dword [0x412c08]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412bdc]
call sub.user32.dll_ShowWindow
push str.After_Installing
push dword [0x412ad0]
call sub.user32.dll_SetWindowTextA
push str.The_action_that_should_be_taken_at_the_end_of_the_install.
push dword [0x412ad4]
call sub.user32.dll_SetWindowTextA
push 5
push dword [0x412c0c]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412c04]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412b70]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412b74]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412b78]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412b7c]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412b80]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412bd4]
call sub.user32.dll_ShowWindow
mov byte [0x412c28], 0xb
jmp 0x406229
push str.Build_Setup
push dword [0x412ad0]
call sub.user32.dll_SetWindowTextA
push str.Now_all_ready_to_create_your_install_package.
push dword [0x412ad4]
call sub.user32.dll_SetWindowTextA
push str.Build
push dword [0x412af0]
call sub.user32.dll_SetWindowTextA
push str.Setup_File:
push dword [0x412adc]
call sub.user32.dll_SetWindowTextA
push str.Click_Build_to_create_your_installation_package...
push dword [0x412ae8]
call sub.user32.dll_SetWindowTextA
push 5
push dword [0x412adc]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412b3c]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412b04]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412c0c]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412c04]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412c08]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412bdc]
call sub.user32.dll_ShowWindow
mov byte [0x412c28], 0xc
jmp 0x406229
push 0x104
push 0x4116ff
push dword [0x412b3c]
call sub.user32.dll_GetWindowTextA
or eax, eax
jne 0x406044
push 0x30
push str.Warning
push str.Please_enter_correct_file_name_
push dword [0x412ac0]
call sub.user32.dll_MessageBoxA
push dword [0x412b3c]
call sub.user32.dll_SetFocus
ret
mov esi, 0x4116ff
xor ecx, ecx
lodsb al, byte [esi]
cmp al, 0
je 0x406076
cmp al, 0x22
je 0x406021
cmp al, 0x2a
je 0x406021
cmp al, 0x2f
je 0x406021
cmp al, 0x3c
je 0x406021
cmp al, 0x3e
je 0x406021
cmp al, 0x3f
je 0x406021
cmp al, 0x7c
je 0x406021
cmp al, 0x3a
jne 0x40604b
inc ecx
cmp cl, 2
jne 0x40604b
push 0x4116ff
call sub.KERNEL32.DLL_lstrlenA
cmp dword [eax + 0x4116fb], 0x6578652e
jne 0x406021
dec eax
or eax, eax
je 0x406021
cmp byte [eax + 0x4116ff], 0x5c
jne 0x40608c
inc eax
push eax
push 0x4116ff
push 0x411803
call sub.KERNEL32.DLL_lstrcpynA
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x406021
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push 0x4116ff
call sub.KERNEL32.DLL_CreateFileA
cmp eax, 0xffffffff
jne 0x4060f7
push 0x10
push str.ERROR
push str.Could_not_create_Setup_file
push dword [0x412ac0]
call sub.user32.dll_MessageBoxA
jmp 0x406038
mov dword [0x412c7e], eax
mov dword [0x412cfd], 0
mov dword [0x412d01], 0
push str.Building_Setup
push dword [0x412ad0]
call sub.user32.dll_SetWindowTextA
push str.Please_wait_while_the_InstallSimple_create_your_setup_pack._r_nThis_may_take_several_minutes.
push dword [0x412ad4]
call sub.user32.dll_SetWindowTextA
push 0
push dword [0x412af0]
call sub.user32.dll_EnableWindow
push 0
push dword [0x412af4]
call sub.user32.dll_EnableWindow
push str.Initializing
push dword [0x412b8c]
call sub.user32.dll_SetWindowTextA
push 0
push 0
push 0
push 0
push 0
push 0
push str.Elapsed_time:___i_i:_i_i:_i_i
push 0x4116ff
call sub.user32.dll_wsprintfA
add esp, 0x20
push 0x4116ff
push dword [0x412ae8]
call sub.user32.dll_SetWindowTextA
push 5
push dword [0x412b88]
call sub.user32.dll_ShowWindow
push 5
push dword [0x412b8c]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412adc]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412b3c]
call sub.user32.dll_ShowWindow
push 0
push dword [0x412b04]
call sub.user32.dll_ShowWindow
push 0x8f
push dword [0x412ac0]
call sub.user32.dll_GetDlgItem
mov dword [0x412b84], eax
push 5
push eax
call sub.user32.dll_ShowWindow
push 0
push 0x3e8
push 2
push dword [0x412ac0]
call sub.user32.dll_SetTimer
push 0
push 0x64
push 3
push dword [0x412ac0]
call sub.user32.dll_SetTimer
push 0x412c95
push 0x20
push 0
push 0x40623c
push 0
push 0
call sub.KERNEL32.DLL_CreateThread
mov byte [0x412c28], 0xd
push 0
push 0x412824
push dword [0x412ac0]
call sub.user32.dll_InvalidateRect
ret