Function at 0x4d299a
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x590
mov eax, dword [0x5f2e68]
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.005306b0
add esp, 0xc
push esi
lea eax, [ebp - 0x533]
push ebx
push eax
mov byte [ebp - 0x534], bl
call fcn.005306b0
add esp, 0xc
push esi
lea eax, [ebp - 0x42b]
push ebx
push eax
mov byte [ebp - 0x42c], bl
call fcn.005306b0
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 0x4d2a64
mov dword [ebp - 0x53c], ebx
call fcn.00418518
test eax, eax
mov eax, str.including_TAMS_II_graphical_or_TAMS_graphical_PartsPro.
jne 0x4d2a44
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.0043d5cf
add esp, 0x14
test eax, eax
jne 0x4d2a72
xor eax, eax
jmp 0x4d412a
xor esi, esi
inc esi
mov dword [ebp - 0x53c], esi
jmp 0x4d2af7
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.0043d5cf
add esp, 0x10
test eax, eax
je 0x4d2a8e
push 1
jmp 0x4d2a8f
push ebx
call fcn.004d28c9
cmp eax, ebx
pop ecx
jne 0x4d2ab0
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.0043dc3e
add esp, 0x18
call fcn.004d287f
test eax, eax
je 0x4d2ad2
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.0043d5cf
add esp, 0x10
test eax, eax
je 0x4d2a5d
call fcn.0043d3da
cmp eax, ebx
mov dword [ebp + 8], eax
jg 0x4d2af4
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.0043dc3e
add esp, 0x18
xor esi, esi
inc esi
push 0x54
pop eax
call fcn.004cca6a
push 0x20
mov byte [ebp - 0x53d], al
lea eax, [ebp - 0x568]
push ebx
push eax
call fcn.005306b0
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.005306b0
movsx eax, byte [ebp - 0x53d]
add esp, 0xc
push eax
push 0x593d70
push ebx
mov dword [ebp - 0x588], esi
mov dword [ebp - 0x56c], eax
call fcn.004ce595
add esp, 0xc
mov dword [ebp - 0x57c], eax
call fcn.0046b2ee
push eax
push str._s_tamspos
push ebx
call fcn.004ce595
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.00493154
push str.TmsNetPrn.num
push ebx
call fcn.00493030
lea edx, [ebp - 0x544]
mov ecx, eax
call fcn.00433c36
push dword [ebp - 0x544]
call fcn.0053146e
add esp, 0x14
push ebx
mov dword [ebp - 0x544], eax
mov dword [ebp - 0x548], esi
call fcn.0041579e
pop ecx
mov edi, str._nPlease_wait_a_moment...
push edi
call fcn.0041679b
mov dword [esp], 0x551adc
call fcn.0041679b
pop ecx
push dword [ebp - 0x558]
push str.net_use__s__DELETE__Y
call fcn.004174c0
push ebx
call fcn.0041579e
add esp, 0xc
push edi
call fcn.0041679b
pop ecx
mov dword [ebp - 0x538], 2
push 0x551adc
call fcn.0041679b
dec dword [ebp - 0x538]
pop ecx
jne 0x4d2c17
push 0x167
push str..TamsTerminal.c
push esi
push dword [ebp - 0x558]
call fcn.00478d8e
push ebx
call fcn.0041579e
pop ecx
push edi
call fcn.0041679b
pop ecx
mov dword [ebp - 0x538], 3
push 0x551adc
call fcn.0041679b
dec dword [ebp - 0x538]
pop ecx
jne 0x4d2c58
push dword [ebp - 0x57c]
push str.net_use__s__DELETE__Y
call fcn.004174c0
push ebx
call fcn.0041579e
add esp, 0xc
push edi
call fcn.0041679b
pop ecx
mov dword [ebp - 0x538], 4
push 0x551adc
call fcn.0041679b
dec dword [ebp - 0x538]
pop ecx
jne 0x4d2c95
push 0x16c
push str..TamsTerminal.c
push esi
push dword [ebp - 0x57c]
call fcn.00478d8e
cmp dword [ebp - 0x53c], ebx
jne 0x4d2de6
push str.:1:CreateNetworkTAMS__:_Someone_is_setting_up_a_TAMS_terminal.
call fcn.0042bd38
pop ecx
push ebx
call fcn.0041579e
pop ecx
push edi
call fcn.0041679b
pop ecx
push 5
pop edi
push 0x551adc
call fcn.0041679b
dec edi
pop ecx
jne 0x4d2ce6
push str..DONE._n
call fcn.0041679b
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.0043d5cf
add esp, 0x10
test eax, eax
je 0x4d2dbf
push esi
push esi
call fcn.004132b3
test eax, eax
pop ecx
pop ecx
jne 0x4d2d34
push str.:2:CreateNetworkTAMS___EAP:_SetPaulaServerRegStartup___FAILED:_The_registry_is_inaccessable.
call fcn.0042b70b
pop ecx
push dword [ebp + 8]
mov edi, str.IsTmsTermSetup.flg
push edi
push ebx
call fcn.00493154
pop ecx
pop ecx
mov ecx, eax
call fcn.00433d41
test eax, eax
pop ecx
jne 0x4d2d7e
push edi
push ebx
call fcn.00493154
push eax
push str.:7:CreateNetworkTAMS___Critical_Error:_SaveStaticInt__s__FAILED:_The_setup_will_not_continue_if_registry_access_also_failed.
call fcn.0042b70b
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.0043dc3e
add esp, 0x28
jmp 0x4d2a5d
call fcn.004d2634
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.0043dc3e
add esp, 0x18
call fcn.00417ccc
test eax, eax
jne 0x4d2db8
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.0043dc3e
add esp, 0x18
mov eax, esi
jmp 0x4d412a
push str.:2:CreateNetworkTAMS__:_The_user_canceled_terminal_setup_when_asked_to_reboot.
call fcn.0042bd38
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.0043dc3e
add esp, 0x18
jmp 0x4d2a5d
push 5
pop esi
push ebx
mov dword [ebp - 0x538], esi
call fcn.0041579e
pop ecx
mov edi, str._nThis_may_take_several_minutes._nPlease_be_patient...
push edi
call fcn.0041679b
pop ecx
push 0x551adc
call fcn.0041679b
dec esi
pop ecx
jne 0x4d2e02
cmp dword [ebp + 8], ebx
mov esi, str._GetLastError_
jle 0x4d3038
push ebx
mov dword [ebp - 0x538], 6
call fcn.0041579e
pop ecx
push edi
call fcn.0041679b
pop ecx
mov dword [ebp - 0x53c], 6
push 0x551adc
call fcn.0041679b
dec dword [ebp - 0x53c]
pop ecx
jne 0x4d2e40
push dword [ebp + 8]
call fcn.0046b2ee
push eax
push str._sREPORT_d
push ebx
call fcn.004ce595
add esp, 0x10
push 0x81
mov dword [ebp - 0x554], eax
call fcn.0046b30d
push eax
call fcn.0046b32c
push eax
lea eax, [ebp - 0x568]
push eax
call sub.MPR.dll_WNetAddConnection2A
test eax, eax
je 0x4d3020
push esi
push str.:2:CreateNetworkTAMS__:_WNetAddConnection2A___failed_1_of_4:__s
call fcn.0042bd38
push ebx
mov dword [ebp - 0x538], 7
call fcn.0041579e
add esp, 0xc
push edi
call fcn.0041679b
pop ecx
mov dword [ebp - 0x53c], 7
push 0x551adc
call fcn.0041679b
dec dword [ebp - 0x53c]
pop ecx
jne 0x4d2ec4
push dword [ebp + 8]
call fcn.0046b2ee
push eax
push str._sWINPRINTER_d
push ebx
call fcn.004ce595
add esp, 0x10
push 0x81
mov dword [ebp - 0x554], eax
call fcn.0046b30d
push eax
call fcn.0046b32c
push eax
lea eax, [ebp - 0x568]
push eax
call sub.MPR.dll_WNetAddConnection2A
test eax, eax
je 0x4d3278
push esi
push str.:2:CreateNetworkTAMS__:_WNetAddConnection2A___failed_2_of_4:__s
call fcn.0042bd38
push ebx
mov dword [ebp - 0x538], 8
call fcn.0041579e
add esp, 0xc
push edi
call fcn.0041679b
pop ecx
mov dword [ebp - 0x53c], 8
push 0x551adc
call fcn.0041679b
dec dword [ebp - 0x53c]
pop ecx
jne 0x4d2f48
push dword [ebp + 8]
call fcn.0046b2ee
push eax
push str._sREPORT_d
push ebx
call fcn.004ce595
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 0x4d3020
push esi
push str.:2:CreateNetworkTAMS__:_WNetAddConnection2A___failed_3_of_4:__s
call fcn.0042bd38
push ebx
mov dword [ebp - 0x538], 9
call fcn.0041579e
add esp, 0xc
push edi
call fcn.0041679b
pop ecx
mov dword [ebp - 0x53c], 9
push 0x551adc
call fcn.0041679b
dec dword [ebp - 0x53c]
pop ecx
jne 0x4d2fc2
push dword [ebp + 8]
call fcn.0046b2ee
push eax
push str._sWINPRINTER_d
push ebx
call fcn.004ce595
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 0x4d3278
push esi
push str.:5:CreateNetworkTAMS__:_WNetAddConnection2A___COMPLETELY_FAILED_4_of_4:__s
call fcn.0042b70b
pop ecx
pop ecx
mov dword [ebp - 0x548], ebx
push dword [ebp + 8]
push str.TmsNetPrn.num
push ebx
call fcn.00493030
pop ecx
pop ecx
mov ecx, eax
call fcn.00433d41
pop ecx
inc dword [ebp - 0x538]
push ebx
call fcn.0041579e
pop ecx
push edi
call fcn.0041679b
cmp dword [ebp - 0x538], ebx
pop ecx
jle 0x4d3073
mov eax, dword [ebp - 0x538]
mov dword [ebp - 0x53c], eax
push 0x551adc
call fcn.0041679b
dec dword [ebp - 0x53c]
pop ecx
jne 0x4d3060
mov al, byte [ebp - 0x53d]
sub al, 0x41
cmp al, 0x19
mov byte [ebp - 0x53d], al
ja 0x4d3151
inc dword [ebp - 0x538]
push ebx
call fcn.0041579e
pop ecx
push edi
call fcn.0041679b
cmp dword [ebp - 0x538], ebx
pop ecx
jle 0x4d30c4
mov eax, dword [ebp - 0x538]
mov dword [ebp - 0x53c], eax
push 0x551adc
call fcn.0041679b
dec dword [ebp - 0x53c]
pop ecx
jne 0x4d30b1
push 0x81
call fcn.0046b30d
push eax
call fcn.0046b32c
push eax
lea eax, [ebp - 0x58c]
push eax
call sub.MPR.dll_WNetAddConnection2A
test eax, eax
je 0x4d3151
push esi
push str.:2:CreateNetworkTAMS__:_WNetAddConnection2A___failed_to_create_mapped_driver_with_login:__s
call fcn.0042bd38
inc dword [ebp - 0x538]
push ebx
call fcn.0041579e
add esp, 0xc
push edi
call fcn.0041679b
cmp dword [ebp - 0x538], ebx
pop ecx
jle 0x4d312d
mov eax, dword [ebp - 0x538]
mov dword [ebp - 0x53c], eax
push 0x551adc
call fcn.0041679b
dec dword [ebp - 0x53c]
pop ecx
jne 0x4d311a
push 0x81
push ebx
push ebx
lea eax, [ebp - 0x58c]
push eax
call sub.MPR.dll_WNetAddConnection2A
test eax, eax
je 0x4d3151
push esi
push str.:5:CreateNetworkTAMS__:_WNetAddConnection2A___COMPLETELY_FAILED:__s
call fcn.0042b70b
pop ecx
pop ecx
inc dword [ebp - 0x538]
push ebx
call fcn.0041579e
pop ecx
push edi
call fcn.0041679b
cmp dword [ebp - 0x538], ebx
pop ecx
jle 0x4d3181
mov esi, dword [ebp - 0x538]
push 0x551adc
call fcn.0041679b
dec esi
pop ecx
jne 0x4d3173
lea eax, [ebp - 0x114]
call fcn.004314ff
lea eax, [ebp - 0x114]
push str._echo_off
push eax
call fcn.004343aa
cmp dword [ebp + 8], ebx
pop ecx
pop ecx
jle 0x4d3cb9
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.005306b0
add esp, 0xc
push 0x103
lea eax, [ebp - 0x21b]
push ebx
push eax
mov byte [ebp - 0x21c], bl
call fcn.005306b0
add esp, 0xc
inc dword [ebp - 0x538]
push ebx
call fcn.0041579e
mov dword [esp], str._nThis_may_take_several_minutes._nPlease_be_patient...
call fcn.0041679b
cmp dword [ebp - 0x538], ebx
pop ecx
jle 0x4d321f
mov esi, dword [ebp - 0x538]
push 0x551adc
call fcn.0041679b
dec esi
pop ecx
jne 0x4d3211
lea ecx, [ebp - 0x21c]
call fcn.00411212
mov edi, 0x5bb73c
mov ecx, edi
lea ebx, [ebp - 0x21c]
call fcn.004cd3c9
mov ecx, str.ntprint.inf
call fcn.004cd3c9
mov eax, ebx
push eax
call fcn.004335e2
mov esi, eax
test esi, esi
pop ecx
je 0x4d3283
lea eax, [ebp - 0x324]
push eax
push esi
call fcn.004cd9f0
test eax, eax
pop ecx
pop ecx
jne 0x4d326f
mov eax, ebx
call fcn.004ccb8b
push esi
call fcn.0053061e
pop ecx
jmp 0x4d328e
mov eax, dword [ebp + 8]
neg eax
push eax
jmp 0x4d3023
lea eax, [ebp - 0x21c]
call fcn.004ccb8b
inc dword [ebp - 0x538]
push 0
call fcn.0041579e
mov dword [esp], str._nThis_may_take_several_minutes._nPlease_be_patient...
call fcn.0041679b
cmp dword [ebp - 0x538], 0
pop ecx
jle 0x4d32c5
mov esi, dword [ebp - 0x538]
push 0x551adc
call fcn.0041679b
dec esi
pop ecx
jne 0x4d32b7
lea edx, [ebp - 0x21c]
call fcn.004ccc0d
test eax, eax
je 0x4d3399
lea ecx, [ebp - 0x21c]
call fcn.00411212
mov ecx, edi
lea ebx, [ebp - 0x21c]
call fcn.004cd3c9
mov ecx, str.prnlx001.inf
call fcn.004cd3c9
mov eax, ebx
push eax
call fcn.004335e2
mov ebx, eax
test ebx, ebx
pop ecx
je 0x4d338e
lea eax, [ebp - 0x324]
push eax
push ebx
call fcn.004cd9f0
test eax, eax
pop ecx
pop ecx
je 0x4d333d
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.0042bd38
add esp, 0xc
jmp 0x4d3385
mov esi, str._Lexmark_Optra_S_1250_PS_
push esi
push ebx
call fcn.004cd9f0
test eax, eax
pop ecx
pop ecx
je 0x4d336f
push esi
mov ecx, 0x104
lea eax, [ebp - 0x324]
call fcn.004ccc3f
mov dword [esp], str.:2:CreateNetworkTAMS___had_to_use_the_alternate_VISTA_printer_driver.
call fcn.0042bd38
pop ecx
jmp 0x4d3385
push str.:7:CreateNetworkTAMS___EAP:_The_driver_entry_does_not_exist_in_the_VISTA_file_
call fcn.0042b70b
pop ecx
lea eax, [ebp - 0x21c]
call fcn.004ccb8b
push ebx
call fcn.0053061e
pop ecx
jmp 0x4d3399
lea eax, [ebp - 0x21c]
call fcn.004ccb8b
inc dword [ebp - 0x538]
push 0
call fcn.0041579e
mov dword [esp], str._nThis_may_take_several_minutes._nPlease_be_patient...
call fcn.0041679b
cmp dword [ebp - 0x538], 0
pop ecx
jle 0x4d33d0
mov esi, dword [ebp - 0x538]
push 0x551adc
call fcn.0041679b
dec esi
pop ecx
jne 0x4d33c2
lea edx, [ebp - 0x21c]
call fcn.004ccc0d
test eax, eax
je 0x4d349c
lea ecx, [ebp - 0x21c]
call fcn.00411212
mov ecx, edi
lea ebx, [ebp - 0x21c]
call fcn.004cd3c9
mov ecx, str.prnlx007.inf
call fcn.004cd3c9
mov eax, ebx
push eax
call fcn.004335e2
mov edi, eax
test edi, edi
pop ecx
je 0x4d3491
lea eax, [ebp - 0x324]
push eax
push edi
call fcn.004cd9f0
test eax, eax
pop ecx
pop ecx
je 0x4d3440
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.0042bd38
add esp, 0xc
jmp 0x4d3488
mov esi, str._Lexmark_T620__MS__
push esi
push edi
call fcn.004cd9f0
test eax, eax
pop ecx
pop ecx
je 0x4d3472
push esi
mov ecx, 0x104
lea eax, [ebp - 0x324]
call fcn.004ccc3f
mov dword [esp], str.:2:CreateNetworkTAMS___had_to_use_the_alternate_Windows_7_printer_driver.
call fcn.0042bd38
pop ecx
jmp 0x4d3488
push str.:7:CreateNetworkTAMS___EAP:_The_driver_entry_does_not_exist_in_the_Windows_7_file_
call fcn.0042b70b
pop ecx
lea eax, [ebp - 0x21c]
call fcn.004ccb8b
push edi
call fcn.0053061e
pop ecx
jmp 0x4d349c
lea eax, [ebp - 0x21c]
call fcn.004ccb8b
inc dword [ebp - 0x538]
xor edi, edi
push edi
call fcn.0041579e
mov dword [esp], str._nThis_may_take_several_minutes._nPlease_be_patient...
call fcn.0041679b
cmp dword [ebp - 0x538], edi
pop ecx
jle 0x4d34d3
mov esi, dword [ebp - 0x538]
push 0x551adc
call fcn.0041679b
dec esi
pop ecx
jne 0x4d34c5
lea edx, [ebp - 0x21c]
call fcn.004ccc0d
test eax, eax
jne 0x4d350b
push 0x104
lea eax, [ebp - 0x21c]
push edi
push eax
mov ebx, str._f__
call fcn.004cdb22
add esp, 0xc
push 0x22
lea esi, [ebp - 0x21c]
call fcn.004cdc5b
jmp 0x4d3515
push str.:5:CreateNetworkTAMS___EAP:_An_inf_file_was_not_found_for_the_printer_driver.
call fcn.0042bd38
pop ecx
push dword [ebp + 8]
mov esi, str.TAMS_Printer_
push esi
push str.prnqctl.vbs
push 0
call fcn.00493030
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x114]
push str._ncscript___s___x__p___s_d___NUL
push eax
call fcn.004343aa
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.004343aa
inc dword [ebp - 0x538]
mov ebx, str._nCLS
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.004343aa
mov edi, str._nECHO._nECHO_This_may_take_several_minutes._nECHO_Please_be_patient...
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.004343aa
add esp, 0x20
cmp dword [ebp - 0x538], 0
jle 0x4d35b4
mov eax, dword [ebp - 0x538]
mov dword [ebp - 0x53c], eax
lea eax, [ebp - 0x114]
push 0x551adc
push eax
call fcn.004343aa
dec dword [ebp - 0x53c]
pop ecx
pop ecx
jne 0x4d3599
push dword [ebp + 8]
push esi
push str.prnqctl.vbs
push 0
call fcn.00493030
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.004343aa
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.004343aa
inc dword [ebp - 0x538]
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.004343aa
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.004343aa
add esp, 0x20
cmp dword [ebp - 0x538], 0
jle 0x4d3643
mov eax, dword [ebp - 0x538]
mov dword [ebp - 0x53c], eax
lea eax, [ebp - 0x114]
push 0x551adc
push eax
call fcn.004343aa
dec dword [ebp - 0x53c]
pop ecx
pop ecx
jne 0x4d3628
push dword [ebp + 8]
push esi
push str.prnqctl.vbs
push 0
call fcn.00493030
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.004343aa
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.004343aa
inc dword [ebp - 0x538]
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.004343aa
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.004343aa
add esp, 0x20
cmp dword [ebp - 0x538], 0
jle 0x4d36d2
mov eax, dword [ebp - 0x538]
mov dword [ebp - 0x53c], eax
lea eax, [ebp - 0x114]
push 0x551adc
push eax
call fcn.004343aa
dec dword [ebp - 0x53c]
pop ecx
pop ecx
jne 0x4d36b7
mov eax, dword [ebp - 0x544]
test eax, eax
jle 0x4d38a3
cmp eax, dword [ebp + 8]
je 0x4d38a3
push eax
push esi
push str.prnqctl.vbs
push 0
call fcn.00493030
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x114]
push str._ncscript___s___x__p___s_d___NUL
push eax
call fcn.004343aa
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.004343aa
inc dword [ebp - 0x538]
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.004343aa
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.004343aa
add esp, 0x20
cmp dword [ebp - 0x538], 0
jle 0x4d3779
mov eax, dword [ebp - 0x538]
mov dword [ebp - 0x53c], eax
lea eax, [ebp - 0x114]
push 0x551adc
push eax
call fcn.004343aa
dec dword [ebp - 0x53c]
pop ecx
pop ecx
jne 0x4d375e
push dword [ebp - 0x544]
push esi
push str.prnqctl.vbs
push 0
call fcn.00493030
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.004343aa
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.004343aa
inc dword [ebp - 0x538]
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.004343aa
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.004343aa
add esp, 0x20
cmp dword [ebp - 0x538], 0
jle 0x4d380e
mov eax, dword [ebp - 0x538]
mov dword [ebp - 0x53c], eax
lea eax, [ebp - 0x114]
push 0x551adc
push eax
call fcn.004343aa
dec dword [ebp - 0x53c]
pop ecx
pop ecx
jne 0x4d37f3
push dword [ebp - 0x544]
push esi
push str.prnqctl.vbs
push 0
call fcn.00493030
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.004343aa
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.004343aa
inc dword [ebp - 0x538]
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.004343aa
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.004343aa
add esp, 0x20
cmp dword [ebp - 0x538], 0
jle 0x4d38a3
mov eax, dword [ebp - 0x538]
mov dword [ebp - 0x53c], eax
lea eax, [ebp - 0x114]
push 0x551adc
push eax
call fcn.004343aa
dec dword [ebp - 0x53c]
pop ecx
pop ecx
jne 0x4d3888
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.004343aa
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.0042bd38
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.004343aa
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.0042bd38
inc dword [ebp - 0x538]
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.004343aa
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.004343aa
add esp, 0x30
cmp dword [ebp - 0x538], 0
jle 0x4d3984
mov eax, dword [ebp - 0x538]
mov dword [ebp - 0x53c], eax
lea eax, [ebp - 0x114]
push 0x551adc
push eax
call fcn.004343aa
dec dword [ebp - 0x53c]
pop ecx
pop ecx
jne 0x4d3969
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.004343aa
inc dword [ebp - 0x538]
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.004343aa
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.004343aa
add esp, 0x20
cmp dword [ebp - 0x538], 0
jle 0x4d39e1
mov esi, dword [ebp - 0x538]
lea eax, [ebp - 0x114]
push 0x551adc
push eax
call fcn.004343aa
dec esi
pop ecx
pop ecx
jne 0x4d39cb
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.004343aa
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.0042bd38
add esp, 0x18
push esi
push str.prnqctl.vbs
push 0
call fcn.00493030
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x114]
push str._ncscript___s___x__p___s__Copy_1____NUL
push eax
call fcn.004343aa
push esi
lea eax, [ebp - 0x114]
push str._nrundll32.exe_printui.dll_PrintUIEntry__dl__n___s__Copy_1____q__NUL
push eax
call fcn.004343aa
add esp, 0x1c
push esi
push str.prnqctl.vbs
push 0
call fcn.00493030
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x114]
push str._ncscript___s___x__p___s__Copy_2____NUL
push eax
call fcn.004343aa
push esi
lea eax, [ebp - 0x114]
push str._nrundll32.exe_printui.dll_PrintUIEntry__dl__n___s__Copy_2____q__NUL
push eax
call fcn.004343aa
add esp, 0x1c
inc dword [ebp - 0x538]
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.004343aa
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.004343aa
add esp, 0x10
cmp dword [ebp - 0x538], 0
jle 0x4d3ae5
mov esi, dword [ebp - 0x538]
lea eax, [ebp - 0x114]
push 0x551adc
push eax
call fcn.004343aa
dec esi
pop ecx
pop ecx
jne 0x4d3acf
push 0
push 0x22
lea esi, [ebp - 0x324]
call fcn.004cd934
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.004343aa
push 0x22
call fcn.004cdc5b
add esp, 0x1c
inc dword [ebp - 0x538]
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.004343aa
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.004343aa
add esp, 0x10
cmp dword [ebp - 0x538], 0
jle 0x4d3b5f
mov esi, dword [ebp - 0x538]
lea eax, [ebp - 0x114]
push 0x551adc
push eax
call fcn.004343aa
dec esi
pop ecx
pop ecx
jne 0x4d3b49
call fcn.004185ac
test eax, eax
je 0x4d3c16
call fcn.0046b30d
push eax
call fcn.0046b32c
push eax
push dword [ebp + 8]
call fcn.0046b2ee
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.004343aa
add esp, 0x1c
call fcn.0046b30d
push eax
call fcn.0046b32c
push eax
push dword [ebp + 8]
call fcn.0046b2ee
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.004343aa
add esp, 0x1c
inc dword [ebp - 0x538]
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.004343aa
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.004343aa
add esp, 0x10
cmp dword [ebp - 0x538], 0
jle 0x4d3cbe
mov esi, dword [ebp - 0x538]
lea eax, [ebp - 0x114]
push 0x551adc
push eax
call fcn.004343aa
dec esi
pop ecx
pop ecx
jne 0x4d3bfb
jmp 0x4d3cbe
call fcn.0046b30d
push eax
call fcn.0046b32c
push eax
push dword [ebp + 8]
call fcn.0046b2ee
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.004343aa
add esp, 0x1c
call fcn.0046b30d
push eax
call fcn.0046b32c
push eax
push dword [ebp + 8]
call fcn.0046b2ee
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.004343aa
add esp, 0x1c
inc dword [ebp - 0x538]
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.004343aa
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.004343aa
add esp, 0x10
cmp dword [ebp - 0x538], 0
jle 0x4d3cbe
mov esi, dword [ebp - 0x538]
lea eax, [ebp - 0x114]
push 0x551adc
push eax
call fcn.004343aa
dec esi
pop ecx
pop ecx
jne 0x4d3ca1
jmp 0x4d3cbe
mov ebx, str._nCLS
cmp byte [ebp - 0x53d], 0x19
ja 0x4d3e12
push dword [ebp - 0x56c]
push str._c:.bat
push 0
call fcn.004ce595
add esp, 0xc
mov edi, eax
call fcn.00432263
test eax, eax
mov esi, dword [ebp - 0x538]
jne 0x4d3e18
lea eax, [ebp - 0x114]
push ebx
push eax
inc esi
call fcn.004343aa
mov edi, str._nECHO._nECHO_This_may_take_several_minutes._nECHO_Please_be_patient...
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.004343aa
add esp, 0x10
test esi, esi
jle 0x4d3d3d
mov dword [ebp - 0x53c], esi
lea eax, [ebp - 0x114]
push 0x551adc
push eax
call fcn.004343aa
dec dword [ebp - 0x53c]
pop ecx
pop ecx
jne 0x4d3d22
lea eax, [ebp - 0x114]
push str._nIF_NOT_EXIST__T:___
push eax
call fcn.004343aa
call fcn.0046b2ee
push eax
lea eax, [ebp - 0x114]
push str._nnet_use_T:__s_tamspos_interactive__USER:dellclient__Y__PERSISTENT:YES__NUL
push eax
call fcn.004343aa
add esp, 0x14
lea eax, [ebp - 0x114]
push ebx
push eax
inc esi
call fcn.004343aa
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.004343aa
add esp, 0x10
test esi, esi
jle 0x4d3dab
mov dword [ebp - 0x53c], esi
lea eax, [ebp - 0x114]
push 0x551adc
push eax
call fcn.004343aa
dec dword [ebp - 0x53c]
pop ecx
pop ecx
jne 0x4d3d90
call fcn.0046b2ee
push eax
lea eax, [ebp - 0x114]
push str._nnet_use_T:__s_tamspos__Y__NUL
push eax
call fcn.004343aa
add esp, 0xc
lea eax, [ebp - 0x114]
push 0x5bc06c
push eax
call fcn.004343aa
lea eax, [ebp - 0x114]
push ebx
push eax
inc esi
call fcn.004343aa
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.004343aa
add esp, 0x18
test esi, esi
jle 0x4d3e18
mov edi, esi
lea eax, [ebp - 0x114]
push 0x551adc
push eax
call fcn.004343aa
dec edi
pop ecx
pop ecx
jne 0x4d3dfa
jmp 0x4d3e18
mov esi, dword [ebp - 0x538]
xor ebx, ebx
push ebx
inc esi
call fcn.0041579e
pop ecx
mov edi, str._nThis_may_take_several_minutes._nPlease_be_patient...
push edi
call fcn.0041679b
cmp esi, ebx
pop ecx
jle 0x4d3e42
mov ebx, esi
push 0x551adc
call fcn.0041679b
dec ebx
pop ecx
jne 0x4d3e34
lea eax, [ebp - 0x114]
push eax
push str.CALL__s
call fcn.004174c0
lea eax, [ebp - 0x114]
call fcn.004314ff
inc esi
push ebx
mov dword [ebp - 0x538], esi
call fcn.0041579e
add esp, 0xc
push edi
call fcn.0041679b
cmp esi, ebx
pop ecx
jle 0x4d3e87
push 0x551adc
call fcn.0041679b
dec esi
pop ecx
jne 0x4d3e79
push str.DONE__n
call fcn.0041679b
mov dword [esp], str.Special_
mov esi, str._sicons_
push esi
push ebx
call fcn.00493030
add esp, 0xc
push eax
push str._swts.ark
lea eax, [ebp - 0x534]
push 0x104
push eax
call fcn.004ce4e5
push 2
xor edx, edx
lea ecx, [ebp - 0x42c]
call fcn.004112af
add esp, 0x14
push ebx
lea eax, [ebp - 0x42c]
push ebx
push eax
lea ecx, [ebp - 0x534]
call fcn.00404a71
add esp, 0xc
test eax, eax
jg 0x4d3ef6
push str.:4:CreateNetworkTAMS___EAP:_Could_not_copy_the_wts.ark_icon_image.
call fcn.0042b70b
pop ecx
push 2
xor edx, edx
lea ecx, [ebp - 0x534]
call fcn.004112af
pop ecx
mov edi, str.TAMS_Graphical_Application.lnk
mov ecx, edi
lea ebx, [ebp - 0x534]
call fcn.004cd3c9
push 2
lea ecx, [ebp - 0x42c]
call fcn.004112a5
pop ecx
mov ecx, edi
lea ebx, [ebp - 0x42c]
call fcn.004cd3c9
xor ebx, ebx
push ebx
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x534]
push eax
call fcn.00431386
add esp, 0xc
test eax, eax
jne 0x4d3f8e
lea edi, [ebp - 0x42c]
call fcn.00432263
push eax
push ecx
lea edi, [ebp - 0x534]
call fcn.00432263
pop ecx
push eax
push str.:7:CreateNetworkTAMS___FAILED:_Failed_to_create_the_graphical_shortcut:_Does_Exist_d__d
call fcn.0042b70b
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.0043dc3e
add esp, 0x18
push 2
xor edx, edx
lea ecx, [ebp - 0x534]
call fcn.004112af
pop ecx
mov edi, str.Reconnect_to_TAMS.lnk
mov ecx, edi
lea ebx, [ebp - 0x534]
call fcn.004cd3c9
push 2
lea ecx, [ebp - 0x42c]
call fcn.004112a5
pop ecx
mov ecx, edi
lea ebx, [ebp - 0x42c]
call fcn.004cd3c9
xor ebx, ebx
push ebx
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x534]
push eax
call fcn.00431386
add esp, 0xc
test eax, eax
jne 0x4d400f
lea edi, [ebp - 0x42c]
call fcn.00432263
push eax
push ecx
lea edi, [ebp - 0x534]
call fcn.00432263
pop ecx
push eax
push str.:7:CreateNetworkTAMS___FAILED:_Failed_to_create_the_Reconnection_shortcut:_Does_Exist_d__d
call fcn.0042b70b
add esp, 0xc
inc dword [ebp - 0x538]
push ebx
call fcn.0041579e
mov dword [esp], str._nThis_may_take_several_minutes._nPlease_be_patient...
call fcn.0041679b
cmp dword [ebp - 0x538], ebx
pop ecx
jle 0x4d4044
mov edi, dword [ebp - 0x538]
push 0x551adc
call fcn.0041679b
dec edi
pop ecx
jne 0x4d4036
call fcn.00418518
test eax, eax
jne 0x4d4139
push str.Special_
push esi
push ebx
call fcn.00493030
add esp, 0xc
push eax
push str._stelnet.lnk
lea eax, [ebp - 0x534]
push 0x104
push eax
call fcn.004ce4e5
push 2
lea ecx, [ebp - 0x42c]
call fcn.004112a5
add esp, 0x14
mov ecx, str.TAMS_Telnet_Session.lnk
lea ebx, [ebp - 0x42c]
call fcn.004cd3c9
push 0
mov eax, ebx
push eax
lea eax, [ebp - 0x534]
push eax
call fcn.00431386
add esp, 0xc
test eax, eax
jne 0x4d40eb
mov edi, ebx
call fcn.00432263
push eax
push ecx
lea edi, [ebp - 0x534]
call fcn.00432263
pop ecx
push eax
push str.:7:CreateNetworkTAMS___FAILED:_Failed_to_create_the_telnet_shortcut:_Does_Exist_d__d
call fcn.0042b70b
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.0043dc3e
add esp, 0x18
xor ebx, ebx
mov esi, dword [ebp - 0x538]
push ebx
inc esi
call fcn.0041579e
mov dword [esp], str._nThis_may_take_several_minutes._nPlease_be_patient...
call fcn.0041679b
cmp esi, ebx
pop ecx
jle 0x4d4119
push 0x551adc
call fcn.0041679b
dec esi
pop ecx
jne 0x4d410b
push str.DONE__n
call fcn.0041679b
mov eax, dword [ebp - 0x548]
pop ecx
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005317e7
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.0043dc3e
add esp, 0x18
jmp 0x4d40ed