Function at 0x4c95ce
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x590
mov eax, dword [0x5c4e68]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp - 0x113]
push ebx
push eax
mov byte [ebp - 0x114], bl
call fcn.005117f0
add esp, 0xc
push esi
lea eax, [ebp - 0x533]
push ebx
push eax
mov byte [ebp - 0x534], bl
call fcn.005117f0
add esp, 0xc
push esi
lea eax, [ebp - 0x42b]
push ebx
push eax
mov byte [ebp - 0x42c], bl
call fcn.005117f0
add esp, 0xc
push 7
pop ecx
xor eax, eax
cmp dword [ebp + 8], ebx
lea edi, [ebp - 0x564]
mov dword [ebp - 0x568], ebx
rep stosd dword es:[edi], eax
push 7
pop ecx
lea edi, [ebp - 0x588]
mov dword [ebp - 0x58c], ebx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x544], ebx
jne 0x4c9698
mov dword [ebp - 0x53c], ebx
call fcn.00415bfa
test eax, eax
mov eax, str.including_TAMS_II_graphical_or_TAMS_graphical_PartsPro.
jne 0x4c9678
mov eax, str.including_TAMS_Telnet_and_TAMS_graphical_PartsPro.
push eax
push str.This_setup_option_will_enable_this_terminal_to_run_TAMS_POS_applications_n_s_nYou_may_also_choose_a_TAMS_report_printer_to_be_setup_as_na_Microsoft_Windows_usable_printer._nNote_that_this_setup_procedure_will_require_this_terminal_to_be_restarted._n_nYou_should_perform_this_setup_only_if_this_terminal_does_not_already_nhave_access_to_the_the_TAMS_POS_applications._n_nWould_you_like_to_continue_with_this_setup___Y_N__n_nYes___No
push str.__Create_Sales_Terminal__
push ebx
push ebx
call fcn.00435aa1
add esp, 0x14
test eax, eax
jne 0x4c96a6
xor eax, eax
jmp 0x4cad5e
xor esi, esi
inc esi
mov dword [ebp - 0x53c], esi
jmp 0x4c972b
push str._nShould_this_terminal_be_allowed_full_internet_access___Y_N__n_nYes___No
push str.__Allow_Internet_Access___
push ebx
push ebx
call fcn.00435aa1
add esp, 0x10
test eax, eax
je 0x4c96c2
push 1
jmp 0x4c96c3
push ebx
call fcn.004c94fd
cmp eax, ebx
pop ecx
jne 0x4c96e4
push str.A_problem_occurred_while_setting_up_the_web_browser._nThis_may_happen_if_you_are_a_Limited_User._n_nPress_any_key_to_continue_anyway...
push str.__Web_Browser_Setup_Failed__
push ebx
push ebx
push ebx
push 1
call fcn.00436110
add esp, 0x18
call fcn.004c94b3
test eax, eax
je 0x4c9706
push str.It_appears_that_you_may_be_running_this_setup_procedure_nwith_a_non_administrator_Windows_user._nIf_this_is_true__please_log_off_and_log_back_on_to_nWindows_using_a_non_limited_user_account._nOtherwise__the_setup_may_not_complete_successfully._n_nWould_you_like_to_continue_with_the_setup_anyway___Y_N__n_nYes___No
push str.__Limited_User_Account__
push ebx
push 1
call fcn.00435aa1
add esp, 0x10
test eax, eax
je 0x4c9691
call fcn.004358ac
cmp eax, ebx
mov dword [ebp + 8], eax
jg 0x4c9728
push str.The_setup_has_been_canceled._n_nPress_any_key_to_exit...
push str.__Setup_Canceled___
push ebx
push ebx
push ebx
push ebx
call fcn.00436110
add esp, 0x18
xor esi, esi
inc esi
push 0x54
pop eax
call fcn.004c39b2
push 0x20
mov byte [ebp - 0x53d], al
lea eax, [ebp - 0x568]
push ebx
push eax
call fcn.005117f0
add esp, 0xc
push 0x20
lea eax, [ebp - 0x58c]
push ebx
push eax
mov dword [ebp - 0x564], 2
mov dword [ebp - 0x558], str.LPT1:
mov dword [ebp - 0x54c], ebx
call fcn.005117f0
movsx eax, byte [ebp - 0x53d]
add esp, 0xc
push eax
push 0x570da8
push ebx
mov dword [ebp - 0x588], esi
mov dword [ebp - 0x56c], eax
call fcn.004c5467
add esp, 0xc
mov dword [ebp - 0x57c], eax
call fcn.0046297d
push eax
push str._s_tamspos
push ebx
call fcn.004c5467
add esp, 0xc
mov dword [ebp - 0x578], eax
lea eax, [ebp - 0x114]
push str.SetupTerminal.bat
push eax
mov dword [ebp - 0x570], ebx
call fcn.0048a119
push str.TmsNetPrn.num
push ebx
call fcn.00489f49
lea edx, [ebp - 0x544]
mov ecx, eax
call fcn.0042c27f
push dword [ebp - 0x544]
call fcn.0051209e
add esp, 0x14
push ebx
mov dword [ebp - 0x544], eax
mov dword [ebp - 0x548], esi
call fcn.004137dd
pop ecx
mov edi, str._nPlease_wait_a_moment...
push edi
call fcn.004147da
mov dword [esp], 0x5320c4
call fcn.004147da
pop ecx
push dword [ebp - 0x558]
push str.net_use__s__DELETE__Y
call fcn.004154ff
push ebx
call fcn.004137dd
add esp, 0xc
push edi
call fcn.004147da
pop ecx
mov dword [ebp - 0x538], 2
push 0x5320c4
call fcn.004147da
dec dword [ebp - 0x538]
pop ecx
jne 0x4c984b
push 0x167
push str..TamsTerminal.c
push esi
push dword [ebp - 0x558]
call fcn.0047017a
push ebx
call fcn.004137dd
pop ecx
push edi
call fcn.004147da
pop ecx
mov dword [ebp - 0x538], 3
push 0x5320c4
call fcn.004147da
dec dword [ebp - 0x538]
pop ecx
jne 0x4c988c
push dword [ebp - 0x57c]
push str.net_use__s__DELETE__Y
call fcn.004154ff
push ebx
call fcn.004137dd
add esp, 0xc
push edi
call fcn.004147da
pop ecx
mov dword [ebp - 0x538], 4
push 0x5320c4
call fcn.004147da
dec dword [ebp - 0x538]
pop ecx
jne 0x4c98c9
push 0x16c
push str..TamsTerminal.c
push esi
push dword [ebp - 0x57c]
call fcn.0047017a
cmp dword [ebp - 0x53c], ebx
jne 0x4c9a1a
push str.:1:CreateNetworkTAMS__:_Someone_is_setting_up_a_TAMS_terminal.
call fcn.00426c01
pop ecx
push ebx
call fcn.004137dd
pop ecx
push edi
call fcn.004147da
pop ecx
push 5
pop edi
push 0x5320c4
call fcn.004147da
dec edi
pop ecx
jne 0x4c991a
push str..DONE._n
call fcn.004147da
mov dword [esp], str._nThis_terminal_needs_to_be_restarted_for_the_setup_to_continue._nMay_I_restart_your_computer_now___Y_N__n_nYes___No
push str.__Need_to_Reboot_System__
push ebx
push ebx
call fcn.00435aa1
add esp, 0x10
test eax, eax
je 0x4c99f3
push esi
push esi
call fcn.004112f2
test eax, eax
pop ecx
pop ecx
jne 0x4c9968
push str.:2:CreateNetworkTAMS___EAP:_SetPaulaServerRegStartup___FAILED:_The_registry_is_inaccessable.
call fcn.004265da
pop ecx
push dword [ebp + 8]
mov edi, str.IsTmsTermSetup.flg
push edi
push ebx
call fcn.0048a119
pop ecx
pop ecx
mov ecx, eax
call fcn.0042c38a
test eax, eax
pop ecx
jne 0x4c99b2
push edi
push ebx
call fcn.0048a119
push eax
push str.:7:CreateNetworkTAMS___Critical_Error:_SaveStaticInt__s__FAILED:_The_setup_will_not_continue_if_registry_access_also_failed.
call fcn.004265da
push str.The_system_temporary_file_directory_is_inaccessable__nThe_setup_cannot_continue._n_nPress_any_key_to_cancel...
push str.__Access_Denied___
push ebx
push ebx
push ebx
push esi
call fcn.00436110
add esp, 0x28
jmp 0x4c9691
call fcn.004c9268
push str._nYour_terminal_is_about_to_be_restarted._nIf_it_does_not_restart_on_its_own__nplease_restart_manually._n_nPress_any_key_to_restart...
push str.__Restart_System__
push ebx
push ebx
push esi
push ebx
call fcn.00436110
add esp, 0x18
call fcn.00415911
test eax, eax
jne 0x4c99ec
push str.A_small_problem_occurred._nYour_computer_could_not_be_automatically_restarted._nPlease_manually_restart_your_computer._n_nPress_any_key_to_exit_setup...
push str.__Could_Not_Restart__
push ebx
push ebx
push ebx
push ebx
call fcn.00436110
add esp, 0x18
mov eax, esi
jmp 0x4cad5e
push str.:2:CreateNetworkTAMS__:_The_user_canceled_terminal_setup_when_asked_to_reboot.
call fcn.00426c01
mov dword [esp], str._nThe_setup_process_has_been_canceled._n_nPress_any_key_to_exit_setup...
push str.__Setup_Canceled__
push ebx
push ebx
push esi
push ebx
call fcn.00436110
add esp, 0x18
jmp 0x4c9691
push 5
pop esi
push ebx
mov dword [ebp - 0x538], esi
call fcn.004137dd
pop ecx
mov edi, str._nThis_may_take_several_minutes._nPlease_be_patient...
push edi
call fcn.004147da
pop ecx
push 0x5320c4
call fcn.004147da
dec esi
pop ecx
jne 0x4c9a36
cmp dword [ebp + 8], ebx
mov esi, str._GetLastError_
jle 0x4c9c6c
push ebx
mov dword [ebp - 0x538], 6
call fcn.004137dd
pop ecx
push edi
call fcn.004147da
pop ecx
mov dword [ebp - 0x53c], 6
push 0x5320c4
call fcn.004147da
dec dword [ebp - 0x53c]
pop ecx
jne 0x4c9a74
push dword [ebp + 8]
call fcn.0046297d
push eax
push str._sREPORT_d
push ebx
call fcn.004c5467
add esp, 0x10
push 0x81
mov dword [ebp - 0x554], eax
call fcn.0046299c
push eax
call fcn.004629bb
push eax
lea eax, [ebp - 0x568]
push eax
call sub.MPR.dll_WNetAddConnection2A
test eax, eax
je 0x4c9c54
push esi
push str.:2:CreateNetworkTAMS__:_WNetAddConnection2A___failed_1_of_4:__s
call fcn.00426c01
push ebx
mov dword [ebp - 0x538], 7
call fcn.004137dd
add esp, 0xc
push edi
call fcn.004147da
pop ecx
mov dword [ebp - 0x53c], 7
push 0x5320c4
call fcn.004147da
dec dword [ebp - 0x53c]
pop ecx
jne 0x4c9af8
push dword [ebp + 8]
call fcn.0046297d
push eax
push str._sWINPRINTER_d
push ebx
call fcn.004c5467
add esp, 0x10
push 0x81
mov dword [ebp - 0x554], eax
call fcn.0046299c
push eax
call fcn.004629bb
push eax
lea eax, [ebp - 0x568]
push eax
call sub.MPR.dll_WNetAddConnection2A
test eax, eax
je 0x4c9eac
push esi
push str.:2:CreateNetworkTAMS__:_WNetAddConnection2A___failed_2_of_4:__s
call fcn.00426c01
push ebx
mov dword [ebp - 0x538], 8
call fcn.004137dd
add esp, 0xc
push edi
call fcn.004147da
pop ecx
mov dword [ebp - 0x53c], 8
push 0x5320c4
call fcn.004147da
dec dword [ebp - 0x53c]
pop ecx
jne 0x4c9b7c
push dword [ebp + 8]
call fcn.0046297d
push eax
push str._sREPORT_d
push ebx
call fcn.004c5467
add esp, 0x10
push 0x81
push ebx
mov dword [ebp - 0x554], eax
push ebx
lea eax, [ebp - 0x568]
push eax
call sub.MPR.dll_WNetAddConnection2A
test eax, eax
je 0x4c9c54
push esi
push str.:2:CreateNetworkTAMS__:_WNetAddConnection2A___failed_3_of_4:__s
call fcn.00426c01
push ebx
mov dword [ebp - 0x538], 9
call fcn.004137dd
add esp, 0xc
push edi
call fcn.004147da
pop ecx
mov dword [ebp - 0x53c], 9
push 0x5320c4
call fcn.004147da
dec dword [ebp - 0x53c]
pop ecx
jne 0x4c9bf6
push dword [ebp + 8]
call fcn.0046297d
push eax
push str._sWINPRINTER_d
push ebx
call fcn.004c5467
add esp, 0x10
push 0x81
push ebx
mov dword [ebp - 0x554], eax
push ebx
lea eax, [ebp - 0x568]
push eax
call sub.MPR.dll_WNetAddConnection2A
test eax, eax
je 0x4c9eac
push esi
push str.:5:CreateNetworkTAMS__:_WNetAddConnection2A___COMPLETELY_FAILED_4_of_4:__s
call fcn.004265da
pop ecx
pop ecx
mov dword [ebp - 0x548], ebx
push dword [ebp + 8]
push str.TmsNetPrn.num
push ebx
call fcn.00489f49
pop ecx
pop ecx
mov ecx, eax
call fcn.0042c38a
pop ecx
inc dword [ebp - 0x538]
push ebx
call fcn.004137dd
pop ecx
push edi
call fcn.004147da
cmp dword [ebp - 0x538], ebx
pop ecx
jle 0x4c9ca7
mov eax, dword [ebp - 0x538]
mov dword [ebp - 0x53c], eax
push 0x5320c4
call fcn.004147da
dec dword [ebp - 0x53c]
pop ecx
jne 0x4c9c94
mov al, byte [ebp - 0x53d]
sub al, 0x41
cmp al, 0x19
mov byte [ebp - 0x53d], al
ja 0x4c9d85
inc dword [ebp - 0x538]
push ebx
call fcn.004137dd
pop ecx
push edi
call fcn.004147da
cmp dword [ebp - 0x538], ebx
pop ecx
jle 0x4c9cf8
mov eax, dword [ebp - 0x538]
mov dword [ebp - 0x53c], eax
push 0x5320c4
call fcn.004147da
dec dword [ebp - 0x53c]
pop ecx
jne 0x4c9ce5
push 0x81
call fcn.0046299c
push eax
call fcn.004629bb
push eax
lea eax, [ebp - 0x58c]
push eax
call sub.MPR.dll_WNetAddConnection2A
test eax, eax
je 0x4c9d85
push esi
push str.:2:CreateNetworkTAMS__:_WNetAddConnection2A___failed_to_create_mapped_driver_with_login:__s
call fcn.00426c01
inc dword [ebp - 0x538]
push ebx
call fcn.004137dd
add esp, 0xc
push edi
call fcn.004147da
cmp dword [ebp - 0x538], ebx
pop ecx
jle 0x4c9d61
mov eax, dword [ebp - 0x538]
mov dword [ebp - 0x53c], eax
push 0x5320c4
call fcn.004147da
dec dword [ebp - 0x53c]
pop ecx
jne 0x4c9d4e
push 0x81
push ebx
push ebx
lea eax, [ebp - 0x58c]
push eax
call sub.MPR.dll_WNetAddConnection2A
test eax, eax
je 0x4c9d85
push esi
push str.:5:CreateNetworkTAMS__:_WNetAddConnection2A___COMPLETELY_FAILED:__s
call fcn.004265da
pop ecx
pop ecx
inc dword [ebp - 0x538]
push ebx
call fcn.004137dd
pop ecx
push edi
call fcn.004147da
cmp dword [ebp - 0x538], ebx
pop ecx
jle 0x4c9db5
mov esi, dword [ebp - 0x538]
push 0x5320c4
call fcn.004147da
dec esi
pop ecx
jne 0x4c9da7
lea eax, [ebp - 0x114]
call fcn.0042a76b
lea eax, [ebp - 0x114]
push str._echo_off
push eax
call fcn.0042c9fd
cmp dword [ebp + 8], ebx
pop ecx
pop ecx
jle 0x4ca8ed
mov esi, str._Lexmark_Optra_PS_
lea edi, [ebp - 0x324]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0xf1
lea eax, [ebp - 0x311]
push ebx
push eax
movsb byte es:[edi], byte [esi]
call fcn.005117f0
add esp, 0xc
push 0x103
lea eax, [ebp - 0x21b]
push ebx
push eax
mov byte [ebp - 0x21c], bl
call fcn.005117f0
add esp, 0xc
inc dword [ebp - 0x538]
push ebx
call fcn.004137dd
mov dword [esp], str._nThis_may_take_several_minutes._nPlease_be_patient...
call fcn.004147da
cmp dword [ebp - 0x538], ebx
pop ecx
jle 0x4c9e53
mov esi, dword [ebp - 0x538]
push 0x5320c4
call fcn.004147da
dec esi
pop ecx
jne 0x4c9e45
lea ecx, [ebp - 0x21c]
call fcn.0040f5fc
mov edi, 0x5983bc
mov ecx, edi
lea ebx, [ebp - 0x21c]
call fcn.004c42f0
mov ecx, str.ntprint.inf
call fcn.004c42f0
mov eax, ebx
push eax
call fcn.0042bfd2
mov esi, eax
test esi, esi
pop ecx
je 0x4c9eb7
lea eax, [ebp - 0x324]
push eax
push esi
call fcn.004c48c1
test eax, eax
pop ecx
pop ecx
jne 0x4c9ea3
mov eax, ebx
call fcn.004c3ab2
push esi
call fcn.00511758
pop ecx
jmp 0x4c9ec2
mov eax, dword [ebp + 8]
neg eax
push eax
jmp 0x4c9c57
lea eax, [ebp - 0x21c]
call fcn.004c3ab2
inc dword [ebp - 0x538]
push 0
call fcn.004137dd
mov dword [esp], str._nThis_may_take_several_minutes._nPlease_be_patient...
call fcn.004147da
cmp dword [ebp - 0x538], 0
pop ecx
jle 0x4c9ef9
mov esi, dword [ebp - 0x538]
push 0x5320c4
call fcn.004147da
dec esi
pop ecx
jne 0x4c9eeb
lea edx, [ebp - 0x21c]
call fcn.004c3b34
test eax, eax
je 0x4c9fcd
lea ecx, [ebp - 0x21c]
call fcn.0040f5fc
mov ecx, edi
lea ebx, [ebp - 0x21c]
call fcn.004c42f0
mov ecx, str.prnlx001.inf
call fcn.004c42f0
mov eax, ebx
push eax
call fcn.0042bfd2
mov ebx, eax
test ebx, ebx
pop ecx
je 0x4c9fc2
lea eax, [ebp - 0x324]
push eax
push ebx
call fcn.004c48c1
test eax, eax
pop ecx
pop ecx
je 0x4c9f71
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x324]
push eax
push str.:2:FYI:_The_default_printer_driver__s_was_found_in___s_._This_is_very_unexpected.
call fcn.00426c01
add esp, 0xc
jmp 0x4c9fb9
mov esi, str._Lexmark_Optra_S_1250_PS_
push esi
push ebx
call fcn.004c48c1
test eax, eax
pop ecx
pop ecx
je 0x4c9fa3
push esi
mov ecx, 0x104
lea eax, [ebp - 0x324]
call fcn.004c3b66
mov dword [esp], str.:2:CreateNetworkTAMS___had_to_use_the_alternate_VISTA_printer_driver.
call fcn.00426c01
pop ecx
jmp 0x4c9fb9
push str.:7:CreateNetworkTAMS___EAP:_The_driver_entry_does_not_exist_in_the_VISTA_file_
call fcn.004265da
pop ecx
lea eax, [ebp - 0x21c]
call fcn.004c3ab2
push ebx
call fcn.00511758
pop ecx
jmp 0x4c9fcd
lea eax, [ebp - 0x21c]
call fcn.004c3ab2
inc dword [ebp - 0x538]
push 0
call fcn.004137dd
mov dword [esp], str._nThis_may_take_several_minutes._nPlease_be_patient...
call fcn.004147da
cmp dword [ebp - 0x538], 0
pop ecx
jle 0x4ca004
mov esi, dword [ebp - 0x538]
push 0x5320c4
call fcn.004147da
dec esi
pop ecx
jne 0x4c9ff6
lea edx, [ebp - 0x21c]
call fcn.004c3b34
test eax, eax
je 0x4ca0d0
lea ecx, [ebp - 0x21c]
call fcn.0040f5fc
mov ecx, edi
lea ebx, [ebp - 0x21c]
call fcn.004c42f0
mov ecx, str.prnlx007.inf
call fcn.004c42f0
mov eax, ebx
push eax
call fcn.0042bfd2
mov edi, eax
test edi, edi
pop ecx
je 0x4ca0c5
lea eax, [ebp - 0x324]
push eax
push edi
call fcn.004c48c1
test eax, eax
pop ecx
pop ecx
je 0x4ca074
mov eax, ebx
push eax
lea eax, [ebp - 0x324]
push eax
push str.:2:FYI:_The_default_printer_driver__s_was_found_in___s_._This_is_very_unexpected.
call fcn.00426c01
add esp, 0xc
jmp 0x4ca0bc
mov esi, str._Lexmark_T620__MS__
push esi
push edi
call fcn.004c48c1
test eax, eax
pop ecx
pop ecx
je 0x4ca0a6
push esi
mov ecx, 0x104
lea eax, [ebp - 0x324]
call fcn.004c3b66
mov dword [esp], str.:2:CreateNetworkTAMS___had_to_use_the_alternate_Windows_7_printer_driver.
call fcn.00426c01
pop ecx
jmp 0x4ca0bc
push str.:7:CreateNetworkTAMS___EAP:_The_driver_entry_does_not_exist_in_the_Windows_7_file_
call fcn.004265da
pop ecx
lea eax, [ebp - 0x21c]
call fcn.004c3ab2
push edi
call fcn.00511758
pop ecx
jmp 0x4ca0d0
lea eax, [ebp - 0x21c]
call fcn.004c3ab2
inc dword [ebp - 0x538]
xor edi, edi
push edi
call fcn.004137dd
mov dword [esp], str._nThis_may_take_several_minutes._nPlease_be_patient...
call fcn.004147da
cmp dword [ebp - 0x538], edi
pop ecx
jle 0x4ca107
mov esi, dword [ebp - 0x538]
push 0x5320c4
call fcn.004147da
dec esi
pop ecx
jne 0x4ca0f9
lea edx, [ebp - 0x21c]
call fcn.004c3b34
test eax, eax
jne 0x4ca13f
push 0x104
lea eax, [ebp - 0x21c]
push edi
push eax
mov ebx, str._f__
call fcn.004c49f4
add esp, 0xc
push 0x22
lea esi, [ebp - 0x21c]
call fcn.004c4b2d
jmp 0x4ca149
push str.:5:CreateNetworkTAMS___EAP:_An_inf_file_was_not_found_for_the_printer_driver.
call fcn.00426c01
pop ecx
push dword [ebp + 8]
mov esi, str.TAMS_Printer_
push esi
push str.prnqctl.vbs
push 0
call fcn.00489f49
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x114]
push str._ncscript___s___x__p___s_d___NUL
push eax
call fcn.0042c9fd
add esp, 0x14
push dword [ebp + 8]
lea eax, [ebp - 0x114]
push esi
push str._nrundll32.exe_printui.dll_PrintUIEntry__dl__n___s_d___q__NUL
push eax
call fcn.0042c9fd
inc dword [ebp - 0x538]
mov edi, str._nCLS
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.0042c9fd
mov ebx, str._nECHO._nECHO_This_may_take_several_minutes._nECHO_Please_be_patient...
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.0042c9fd
add esp, 0x20
cmp dword [ebp - 0x538], 0
jle 0x4ca1e8
mov eax, dword [ebp - 0x538]
mov dword [ebp - 0x53c], eax
lea eax, [ebp - 0x114]
push 0x5320c4
push eax
call fcn.0042c9fd
dec dword [ebp - 0x53c]
pop ecx
pop ecx
jne 0x4ca1cd
push dword [ebp + 8]
push esi
push str.prnqctl.vbs
push 0
call fcn.00489f49
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x114]
push str._ncscript___s___x__p___s_d__Copy_1____NUL
push eax
call fcn.0042c9fd
add esp, 0x14
push dword [ebp + 8]
lea eax, [ebp - 0x114]
push esi
push str._nrundll32.exe_printui.dll_PrintUIEntry__dl__n___s_d__Copy_1____q__NUL
push eax
call fcn.0042c9fd
inc dword [ebp - 0x538]
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.0042c9fd
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.0042c9fd
add esp, 0x20
cmp dword [ebp - 0x538], 0
jle 0x4ca277
mov eax, dword [ebp - 0x538]
mov dword [ebp - 0x53c], eax
lea eax, [ebp - 0x114]
push 0x5320c4
push eax
call fcn.0042c9fd
dec dword [ebp - 0x53c]
pop ecx
pop ecx
jne 0x4ca25c
push dword [ebp + 8]
push esi
push str.prnqctl.vbs
push 0
call fcn.00489f49
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x114]
push str._ncscript___s___x__p___s_d__Copy_2____NUL
push eax
call fcn.0042c9fd
add esp, 0x14
push dword [ebp + 8]
lea eax, [ebp - 0x114]
push esi
push str._nrundll32.exe_printui.dll_PrintUIEntry__dl__n___s_d__Copy_2____q__NUL
push eax
call fcn.0042c9fd
inc dword [ebp - 0x538]
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.0042c9fd
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.0042c9fd
add esp, 0x20
cmp dword [ebp - 0x538], 0
jle 0x4ca306
mov eax, dword [ebp - 0x538]
mov dword [ebp - 0x53c], eax
lea eax, [ebp - 0x114]
push 0x5320c4
push eax
call fcn.0042c9fd
dec dword [ebp - 0x53c]
pop ecx
pop ecx
jne 0x4ca2eb
mov eax, dword [ebp - 0x544]
test eax, eax
jle 0x4ca4d7
cmp eax, dword [ebp + 8]
je 0x4ca4d7
push eax
push esi
push str.prnqctl.vbs
push 0
call fcn.00489f49
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x114]
push str._ncscript___s___x__p___s_d___NUL
push eax
call fcn.0042c9fd
add esp, 0x14
push dword [ebp - 0x544]
lea eax, [ebp - 0x114]
push esi
push str._nrundll32.exe_printui.dll_PrintUIEntry__dl__n___s_d___q__NUL
push eax
call fcn.0042c9fd
inc dword [ebp - 0x538]
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.0042c9fd
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.0042c9fd
add esp, 0x20
cmp dword [ebp - 0x538], 0
jle 0x4ca3ad
mov eax, dword [ebp - 0x538]
mov dword [ebp - 0x53c], eax
lea eax, [ebp - 0x114]
push 0x5320c4
push eax
call fcn.0042c9fd
dec dword [ebp - 0x53c]
pop ecx
pop ecx
jne 0x4ca392
push dword [ebp - 0x544]
push esi
push str.prnqctl.vbs
push 0
call fcn.00489f49
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x114]
push str._ncscript___s___x__p___s_d__Copy_1____NUL
push eax
call fcn.0042c9fd
add esp, 0x14
push dword [ebp - 0x544]
lea eax, [ebp - 0x114]
push esi
push str._nrundll32.exe_printui.dll_PrintUIEntry__dl__n___s_d__Copy_1____q__NUL
push eax
call fcn.0042c9fd
inc dword [ebp - 0x538]
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.0042c9fd
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.0042c9fd
add esp, 0x20
cmp dword [ebp - 0x538], 0
jle 0x4ca442
mov eax, dword [ebp - 0x538]
mov dword [ebp - 0x53c], eax
lea eax, [ebp - 0x114]
push 0x5320c4
push eax
call fcn.0042c9fd
dec dword [ebp - 0x53c]
pop ecx
pop ecx
jne 0x4ca427
push dword [ebp - 0x544]
push esi
push str.prnqctl.vbs
push 0
call fcn.00489f49
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x114]
push str._ncscript___s___x__p___s_d__Copy_2____NUL
push eax
call fcn.0042c9fd
add esp, 0x14
push dword [ebp - 0x544]
lea eax, [ebp - 0x114]
push esi
push str._nrundll32.exe_printui.dll_PrintUIEntry__dl__n___s_d__Copy_2____q__NUL
push eax
call fcn.0042c9fd
inc dword [ebp - 0x538]
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.0042c9fd
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.0042c9fd
add esp, 0x20
cmp dword [ebp - 0x538], 0
jle 0x4ca4d7
mov eax, dword [ebp - 0x538]
mov dword [ebp - 0x53c], eax
lea eax, [ebp - 0x114]
push 0x5320c4
push eax
call fcn.0042c9fd
dec dword [ebp - 0x53c]
pop ecx
pop ecx
jne 0x4ca4bc
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x324]
push eax
lea eax, [ebp - 0x114]
push str._nrundll32.exe_printui.dll_PrintUIEntry__ia__m__s__s__u__NUL
push eax
call fcn.0042c9fd
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x324]
push eax
push str.:0:CreateNetworkTAMS___Setup:_rundll32.exe_printui.dll_PrintUIEntry__ia__m__s__s__u
call fcn.00426c01
add esp, 0x1c
lea eax, [ebp - 0x324]
push eax
push str.LPT1:
lea eax, [ebp - 0x21c]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x114]
push esi
push dword [ebp + 8]
push esi
push str._nrundll32.exe_printui.dll_PrintUIEntry__ga__y__if__n___s_d___b___s_d___s__r___s___m__s__q__z__u__NUL
push eax
call fcn.0042c9fd
add esp, 0x24
lea eax, [ebp - 0x324]
push eax
push str.LPT1:
lea eax, [ebp - 0x21c]
push eax
push dword [ebp + 8]
push esi
push dword [ebp + 8]
push esi
push str.:0:CreateNetworkTAMS___Setup:_rundll32.exe_printui.dll_PrintUIEntry__ga__y__if__n___s_d___b___s_d___s__r___s___m__s__q__z__u__NUL
call fcn.00426c01
inc dword [ebp - 0x538]
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.0042c9fd
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.0042c9fd
add esp, 0x30
cmp dword [ebp - 0x538], 0
jle 0x4ca5b8
mov eax, dword [ebp - 0x538]
mov dword [ebp - 0x53c], eax
lea eax, [ebp - 0x114]
push 0x5320c4
push eax
call fcn.0042c9fd
dec dword [ebp - 0x53c]
pop ecx
pop ecx
jne 0x4ca59d
push dword [ebp + 8]
lea eax, [ebp - 0x114]
push esi
push str._nrundll32.exe_printui.dll_PrintUIEntry__y__n___s_d___q__NUL
push eax
call fcn.0042c9fd
inc dword [ebp - 0x538]
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.0042c9fd
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.0042c9fd
add esp, 0x20
cmp dword [ebp - 0x538], 0
jle 0x4ca615
mov esi, dword [ebp - 0x538]
lea eax, [ebp - 0x114]
push 0x5320c4
push eax
call fcn.0042c9fd
dec esi
pop ecx
pop ecx
jne 0x4ca5ff
lea eax, [ebp - 0x324]
push eax
push str.LPT1:
lea eax, [ebp - 0x21c]
push eax
mov esi, str.Lexmark_Optra_S_PS2
push esi
push esi
lea eax, [ebp - 0x114]
push str._nrundll32.exe_printui.dll_PrintUIEntry__ga__y__if__n___s___b___s___s__r___s___m__s__q__z__u__NUL
push eax
call fcn.0042c9fd
add esp, 0x1c
lea eax, [ebp - 0x324]
push eax
push str.LPT1:
lea eax, [ebp - 0x21c]
push eax
push esi
push esi
push str.:0:CreateNetworkTAMS___Setup:_rundll32.exe_printui.dll_PrintUIEntry__ga__y__if__n___s___b___s___s__r___s___m__s__q__z__u__NUL
call fcn.00426c01
add esp, 0x18
push esi
push str.prnqctl.vbs
push 0
call fcn.00489f49
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x114]
push str._ncscript___s___x__p___s__Copy_1____NUL
push eax
call fcn.0042c9fd
push esi
lea eax, [ebp - 0x114]
push str._nrundll32.exe_printui.dll_PrintUIEntry__dl__n___s__Copy_1____q__NUL
push eax
call fcn.0042c9fd
add esp, 0x1c
push esi
push str.prnqctl.vbs
push 0
call fcn.00489f49
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x114]
push str._ncscript___s___x__p___s__Copy_2____NUL
push eax
call fcn.0042c9fd
push esi
lea eax, [ebp - 0x114]
push str._nrundll32.exe_printui.dll_PrintUIEntry__dl__n___s__Copy_2____q__NUL
push eax
call fcn.0042c9fd
add esp, 0x1c
inc dword [ebp - 0x538]
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.0042c9fd
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.0042c9fd
add esp, 0x10
cmp dword [ebp - 0x538], 0
jle 0x4ca719
mov esi, dword [ebp - 0x538]
lea eax, [ebp - 0x114]
push 0x5320c4
push eax
call fcn.0042c9fd
dec esi
pop ecx
pop ecx
jne 0x4ca703
push 0
push 0x22
lea esi, [ebp - 0x324]
call fcn.004c485b
push str.LPT1:
mov eax, esi
push eax
lea eax, [ebp - 0x114]
push str._nREG_ADD__HKCUSoftwareMicrosoftWindows_NTCurrentVersionWindows___V__Device___d__s_winspool__s___f__NUL
push eax
call fcn.0042c9fd
push 0x22
call fcn.004c4b2d
add esp, 0x1c
inc dword [ebp - 0x538]
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.0042c9fd
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.0042c9fd
add esp, 0x10
cmp dword [ebp - 0x538], 0
jle 0x4ca793
mov esi, dword [ebp - 0x538]
lea eax, [ebp - 0x114]
push 0x5320c4
push eax
call fcn.0042c9fd
dec esi
pop ecx
pop ecx
jne 0x4ca77d
call fcn.00415c8e
test eax, eax
je 0x4ca84a
call fcn.0046299c
push eax
call fcn.004629bb
push eax
push dword [ebp + 8]
call fcn.0046297d
push eax
mov esi, str.LPT1:
push esi
lea eax, [ebp - 0x114]
push str._nnet_use__s__sWINPRINTER_d__s__USER:_s__Y__PERSISTENT:YES__NUL
push eax
call fcn.0042c9fd
add esp, 0x1c
call fcn.0046299c
push eax
call fcn.004629bb
push eax
push dword [ebp + 8]
call fcn.0046297d
push eax
push esi
lea eax, [ebp - 0x114]
push str._nnet_use__s__sREPORT_d__s__USER:_s__Y__PERSISTENT:YES__NUL
push eax
call fcn.0042c9fd
add esp, 0x1c
inc dword [ebp - 0x538]
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.0042c9fd
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.0042c9fd
add esp, 0x10
cmp dword [ebp - 0x538], 0
jle 0x4ca8f2
mov esi, dword [ebp - 0x538]
lea eax, [ebp - 0x114]
push 0x5320c4
push eax
call fcn.0042c9fd
dec esi
pop ecx
pop ecx
jne 0x4ca82f
jmp 0x4ca8f2
call fcn.0046299c
push eax
call fcn.004629bb
push eax
push dword [ebp + 8]
call fcn.0046297d
push eax
mov esi, str.LPT1:
push esi
lea eax, [ebp - 0x114]
push str._nnet_use__s__sREPORT_d__s__USER:_s__Y__PERSISTENT:YES__NUL
push eax
call fcn.0042c9fd
add esp, 0x1c
call fcn.0046299c
push eax
call fcn.004629bb
push eax
push dword [ebp + 8]
call fcn.0046297d
push eax
push esi
lea eax, [ebp - 0x114]
push str._nnet_use__s__sWINPRINTER_d__s__USER:_s__Y__PERSISTENT:YES__NUL
push eax
call fcn.0042c9fd
add esp, 0x1c
inc dword [ebp - 0x538]
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.0042c9fd
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.0042c9fd
add esp, 0x10
cmp dword [ebp - 0x538], 0
jle 0x4ca8f2
mov esi, dword [ebp - 0x538]
lea eax, [ebp - 0x114]
push 0x5320c4
push eax
call fcn.0042c9fd
dec esi
pop ecx
pop ecx
jne 0x4ca8d5
jmp 0x4ca8f2
mov ebx, str._nECHO._nECHO_This_may_take_several_minutes._nECHO_Please_be_patient...
cmp byte [ebp - 0x53d], 0x19
ja 0x4caa46
push dword [ebp - 0x56c]
push str._c:.bat
push 0
call fcn.004c5467
add esp, 0xc
mov edi, eax
call fcn.0042ad00
test eax, eax
mov esi, dword [ebp - 0x538]
jne 0x4caa4c
mov edi, str._nCLS
lea eax, [ebp - 0x114]
push edi
push eax
inc esi
call fcn.0042c9fd
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.0042c9fd
add esp, 0x10
test esi, esi
jle 0x4ca971
mov dword [ebp - 0x53c], esi
lea eax, [ebp - 0x114]
push 0x5320c4
push eax
call fcn.0042c9fd
dec dword [ebp - 0x53c]
pop ecx
pop ecx
jne 0x4ca956
lea eax, [ebp - 0x114]
push str._nIF_NOT_EXIST__T:___
push eax
call fcn.0042c9fd
call fcn.0046297d
push eax
lea eax, [ebp - 0x114]
push str._nnet_use_T:__s_tamspos_interactive__USER:dellclient__Y__PERSISTENT:YES__NUL
push eax
call fcn.0042c9fd
add esp, 0x14
lea eax, [ebp - 0x114]
push edi
push eax
inc esi
call fcn.0042c9fd
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.0042c9fd
add esp, 0x10
test esi, esi
jle 0x4ca9df
mov dword [ebp - 0x53c], esi
lea eax, [ebp - 0x114]
push 0x5320c4
push eax
call fcn.0042c9fd
dec dword [ebp - 0x53c]
pop ecx
pop ecx
jne 0x4ca9c4
call fcn.0046297d
push eax
lea eax, [ebp - 0x114]
push str._nnet_use_T:__s_tamspos__Y__NUL
push eax
call fcn.0042c9fd
add esp, 0xc
lea eax, [ebp - 0x114]
push 0x598cec
push eax
call fcn.0042c9fd
lea eax, [ebp - 0x114]
push edi
push eax
inc esi
call fcn.0042c9fd
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.0042c9fd
add esp, 0x18
test esi, esi
jle 0x4caa4c
mov edi, esi
lea eax, [ebp - 0x114]
push 0x5320c4
push eax
call fcn.0042c9fd
dec edi
pop ecx
pop ecx
jne 0x4caa2e
jmp 0x4caa4c
mov esi, dword [ebp - 0x538]
xor ebx, ebx
push ebx
inc esi
call fcn.004137dd
pop ecx
mov edi, str._nThis_may_take_several_minutes._nPlease_be_patient...
push edi
call fcn.004147da
cmp esi, ebx
pop ecx
jle 0x4caa76
mov ebx, esi
push 0x5320c4
call fcn.004147da
dec ebx
pop ecx
jne 0x4caa68
lea eax, [ebp - 0x114]
push eax
push str.CALL__s
call fcn.004154ff
lea eax, [ebp - 0x114]
call fcn.0042a76b
inc esi
push ebx
mov dword [ebp - 0x538], esi
call fcn.004137dd
add esp, 0xc
push edi
call fcn.004147da
cmp esi, ebx
pop ecx
jle 0x4caabb
push 0x5320c4
call fcn.004147da
dec esi
pop ecx
jne 0x4caaad
push str.DONE__n
call fcn.004147da
mov dword [esp], str.Special_
mov esi, str._sicons_
push esi
push ebx
call fcn.00489f49
add esp, 0xc
push eax
push str._swts.ark
lea eax, [ebp - 0x534]
push 0x104
push eax
call fcn.004c53b7
push 2
xor edx, edx
lea ecx, [ebp - 0x42c]
call fcn.0040f699
add esp, 0x14
push ebx
lea eax, [ebp - 0x42c]
push ebx
push eax
lea ecx, [ebp - 0x534]
call fcn.004033a2
add esp, 0xc
test eax, eax
jg 0x4cab2a
push str.:4:CreateNetworkTAMS___EAP:_Could_not_copy_the_wts.ark_icon_image.
call fcn.004265da
pop ecx
push 2
xor edx, edx
lea ecx, [ebp - 0x534]
call fcn.0040f699
pop ecx
mov edi, str.TAMS_Graphical_Application.lnk
mov ecx, edi
lea ebx, [ebp - 0x534]
call fcn.004c42f0
push 2
lea ecx, [ebp - 0x42c]
call fcn.0040f68f
pop ecx
mov ecx, edi
lea ebx, [ebp - 0x42c]
call fcn.004c42f0
xor ebx, ebx
push ebx
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x534]
push eax
call fcn.0042a5f2
add esp, 0xc
test eax, eax
jne 0x4cabc2
lea edi, [ebp - 0x42c]
call fcn.0042ad00
push eax
push ecx
lea edi, [ebp - 0x534]
call fcn.0042ad00
pop ecx
push eax
push str.:7:CreateNetworkTAMS___FAILED:_Failed_to_create_the_graphical_shortcut:_Does_Exist_d__d
call fcn.004265da
add esp, 0xc
push str.The_Graphical_Session_desktop_icon_could_not_be_created._n_nPress_any_key_to_continue...
push str.__Icon_Creation_Problem__
push ebx
push ebx
push ebx
push 1
call fcn.00436110
add esp, 0x18
push 2
xor edx, edx
lea ecx, [ebp - 0x534]
call fcn.0040f699
pop ecx
mov edi, str.Reconnect_to_TAMS.lnk
mov ecx, edi
lea ebx, [ebp - 0x534]
call fcn.004c42f0
push 2
lea ecx, [ebp - 0x42c]
call fcn.0040f68f
pop ecx
mov ecx, edi
lea ebx, [ebp - 0x42c]
call fcn.004c42f0
xor ebx, ebx
push ebx
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x534]
push eax
call fcn.0042a5f2
add esp, 0xc
test eax, eax
jne 0x4cac43
lea edi, [ebp - 0x42c]
call fcn.0042ad00
push eax
push ecx
lea edi, [ebp - 0x534]
call fcn.0042ad00
pop ecx
push eax
push str.:7:CreateNetworkTAMS___FAILED:_Failed_to_create_the_Reconnection_shortcut:_Does_Exist_d__d
call fcn.004265da
add esp, 0xc
inc dword [ebp - 0x538]
push ebx
call fcn.004137dd
mov dword [esp], str._nThis_may_take_several_minutes._nPlease_be_patient...
call fcn.004147da
cmp dword [ebp - 0x538], ebx
pop ecx
jle 0x4cac78
mov edi, dword [ebp - 0x538]
push 0x5320c4
call fcn.004147da
dec edi
pop ecx
jne 0x4cac6a
call fcn.00415bfa
test eax, eax
jne 0x4cad6d
push str.Special_
push esi
push ebx
call fcn.00489f49
add esp, 0xc
push eax
push str._stelnet.lnk
lea eax, [ebp - 0x534]
push 0x104
push eax
call fcn.004c53b7
push 2
lea ecx, [ebp - 0x42c]
call fcn.0040f68f
add esp, 0x14
mov ecx, str.TAMS_Telnet_Session.lnk
lea ebx, [ebp - 0x42c]
call fcn.004c42f0
push 0
mov eax, ebx
push eax
lea eax, [ebp - 0x534]
push eax
call fcn.0042a5f2
add esp, 0xc
test eax, eax
jne 0x4cad1f
mov edi, ebx
call fcn.0042ad00
push eax
push ecx
lea edi, [ebp - 0x534]
call fcn.0042ad00
pop ecx
push eax
push str.:7:CreateNetworkTAMS___FAILED:_Failed_to_create_the_telnet_shortcut:_Does_Exist_d__d
call fcn.004265da
add esp, 0xc
push str.The_Telnet_Session_desktop_icon_could_not_be_created._n_nPress_any_key_to_continue...
push str.__Icon_Creation_Problem__
xor eax, eax
push eax
push eax
push eax
push 1
call fcn.00436110
add esp, 0x18
xor ebx, ebx
mov esi, dword [ebp - 0x538]
push ebx
inc esi
call fcn.004137dd
mov dword [esp], str._nThis_may_take_several_minutes._nPlease_be_patient...
call fcn.004147da
cmp esi, ebx
pop ecx
jle 0x4cad4d
push 0x5320c4
call fcn.004147da
dec esi
pop ecx
jne 0x4cad3f
push str.DONE__n
call fcn.004147da
mov eax, dword [ebp - 0x548]
pop ecx
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051291c
leave
ret
push str.Because_your_system_is_running_the_TAMS_II_graphical_applications__nthe_TelNet__text_based__interface_will_not_be_installed._n_nPress_any_key_to_continue...
push str.__TAMS_II_Detected__
push ebx
push ebx
push ebx
push ebx
call fcn.00436110
add esp, 0x18
jmp 0x4cad21