Function at 0x40161d
Capabilities:
Terminate process

Disassembly:
jmp 0x462d00
push ebp
lea ebp, [esp - 0x254]
sub esp, 0x254
push 0xfffffffffffffffe
push 0x6169c8
push 0x50eb80
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x6294a0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x250], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 0x25c]
mov ecx, dword [ebp + 0x264]
xor ebx, ebx
mov word [ebp - 0x2c], bx
xor eax, eax
lea edi, [ebp - 0x2a]
stosw word es:[edi], ax
push ecx
call fcn.00402a2c
push esi
call fcn.0040233d
push 1
call fcn.00402de2
add esp, 0xc
call fcn.00402ab3
mov esi, eax
cmp esi, ebx
jne 0x462da0
push 0x40030
push str.__Out_of_memory__
push str.THE_SYSTEM_IS_OUT_OF_MEMORY__nPlease_try_rebooting_this_terminal.
call fcn.00402dc9
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
call fcn.00515860
call fcn.00401cf8
push ebx
call fcn.004013de
pop ecx
test eax, eax
je 0x462dba
push 4
push esi
call fcn.00402f95
pop ecx
pop ecx
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [0x62f194]
jge 0x462e6c
mov edi, eax
lea edi, [edi*4 + 0x62f198]
push str._RunSv
push dword [edi]
call fcn.0050da80
pop ecx
pop ecx
test eax, eax
jne 0x462e13
wait
mov dword [ebp - 4], ebx
call fcn.004025c2
push ebx
call fcn.00401d89
call fcn.004024a0
jmp 0x462e43
push str._StartSv
push dword [edi]
call fcn.0050da80
pop ecx
pop ecx
test eax, eax
jne 0x462e56
wait
mov dword [ebp - 4], 1
call fcn.004025c2
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call fcn.00401a73
push 4
push esi
call fcn.00402f95
add esp, 0xc
wait
mov dword [ebp - 4], 0xfffffffe
inc dword [ebp - 0x1c]
jmp 0x462dbd
call fcn.0040106e
push 1
push fcn.00402d0b
push ebx
call fcn.00401d2a
call fcn.004029ff
call fcn.0040300d
push 0xde
call fcn.00401bb8
push str.___PAULA_Session__
call fcn.00401ea1
push ebx
call fcn.00401b68
call fcn.004017df
push str._n_n_n_n_n_nInitializing...._n_n
call fcn.00401528
mov edi, str.PC.dat
push edi
push esi
call fcn.004024aa
add esp, 0x24
mov dword [ebp - 0x20], eax
cmp eax, ebx
je 0x4630e4
mov byte [ebp + 0x104], bl
push 0x103
push ebx
lea eax, [ebp + 0x105]
push eax
call fcn.00508d00
mov byte [ebp], bl
push 0x103
push ebx
lea eax, [ebp + 1]
push eax
call fcn.00508d00
push ebx
push ebx
call fcn.004031fc
push eax
push str._sCFG_BackupsLastKnownGoodConfig.bak
lea eax, [ebp + 0x104]
push eax
call fcn.0050dd60
call fcn.004017df
push dword [ebp - 0x20]
push str.:8:Problem_with_PAULA_cfg_file.__Could_not_start_PAULA:__s
call fcn.004020c2
push str._n_n_________________________________________________________
call fcn.00401528
push str._nThere_is_a_problem_with_PAULAs_configuration_file.
call fcn.00401528
push dword [ebp - 0x20]
push 0x591690
call fcn.00401528
add esp, 0x44
push 0x586ed8
push str._nPlease_call__s_for_HoodSoftware_tech_support.
call fcn.00401528
push str._nPress_S_to_run_PAULA_setup.
call fcn.00401528
push str._nOr_press__SPACE_BAR__to_manually_edit_and_fix_the_CFG_file.
call fcn.00401528
lea eax, [ebp + 0x104]
push eax
call fcn.00402b5d
add esp, 0x14
test eax, eax
je 0x462f85
push str._nOr_press_R_to_Restore_the_last_known_good_configuration.
call fcn.00401528
pop ecx
call fcn.00401c76
push ebx
push 0xffffffffffffffff
push str.sSrR
call fcn.0040119a
mov dword [ebp - 0x20], eax
push eax
call fcn.00401eba
add esp, 0x10
cmp eax, 0x73
jne 0x462ff3
push str.You_have_chosen_to_run_PAULA_setup_which_will_reinstall_PAULA._nYou_will_be_guided_through_the_original_setup_process._nAll_settings_including_the_Till_Base_Amount__Over_Shorts__nand_store_information_will_all_need_to_be_reentered._n_nWould_you_like_to_continue___Y_N__n_nYes___No
push str.__Repair_Installation___
push ebx
push 1
call fcn.004010d2
add esp, 0x10
test eax, eax
jne 0x4630e4
push str.Press__SPACE__to_exit._nIf_you_would_like_to_attempt_to_continue_with_na_PAULA_session_despite_this_problem__npress_F_to_attempt_to_Force_a_session._n_nPress__SPACE__to_exit.
push str.__Press__SPACE__To_Exit__
push ebx
push str._fF_27_
push ebx
push ebx
call fcn.00401a64
push eax
call fcn.00401eba
add esp, 0x1c
cmp eax, 0x66
je 0x4630e4
jmp 0x4630da
push dword [ebp - 0x20]
call fcn.00401eba
pop ecx
cmp eax, 0x72
jne 0x4630cf
push str._n_nRestoring_previous_config...
call fcn.00401528
push ebx
lea eax, [esi + 0x22a8]
push eax
lea eax, [ebp + 0x104]
push eax
call fcn.004022a7
add esp, 0x10
push edi
push str.ServerSync_
push ebx
push ebx
call fcn.004031fc
pop ecx
pop ecx
push eax
push 0x59c9f4
push 0x104
lea eax, [ebp]
push eax
call fcn.00402dbf
push ebx
lea eax, [ebp]
push eax
lea eax, [ebp + 0x104]
push eax
call fcn.004022a7
push edi
lea eax, [ebp]
push eax
call fcn.00402f81
push ebx
lea eax, [ebp]
push eax
lea eax, [ebp + 0x104]
push eax
call fcn.004022a7
add esp, 0x38
push 0xa
pop edi
push 0x5824dc
call fcn.00401528
pop ecx
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
dec edi
jne 0x46307b
push str._n_nThe_last_known_good_configuration_has_been_restored.
call fcn.00401528
mov dword [esp], str._nPlease_restart_PAULA_for_the_settings_to_be_applied.
call fcn.00401528
mov dword [esp], str._nPress_any_key_to_exit...
call fcn.00401528
mov dword [esp], 0x493e0
call fcn.004026f3
push 4
push esi
call fcn.00402f95
add esp, 0xc
jmp 0x4630e4
push esi
call fcn.00402018
pop ecx
test eax, eax
jne 0x4630e4
push 4
push esi
call fcn.00402f95
pop ecx
pop ecx
push str.DEN122
push ebx
push ebx
call fcn.0040188e
pop ecx
pop ecx
push eax
call fcn.0050da80
pop ecx
pop ecx
test eax, eax
je 0x46310a
cmp dword [esi + 0xd90], 0x1dcd6962
jne 0x463121
push ebx
push str.:1:FYI_Changing_Master_Volume:_lResult___ld
call fcn.00401375
pop ecx
pop ecx
mov dword [0x638c44], 1
cmp dword [esi + 0xd90], 0x1dcd79e3
jne 0x46314e
push str.10.164.136.
push ebx
push ebx
call fcn.00401c3a
pop ecx
pop ecx
push eax
call fcn.0050e4b0
pop ecx
pop ecx
test eax, eax
je 0x46314e
call fcn.0040150a
jmp 0x463153
call fcn.00403323
call fcn.00402676
mov byte [esi + 0x2513], bl
mov byte [esi + 0x2512], bl
mov word [esi + 0x2510], bx
call fcn.00401280
push eax
call fcn.004010dc
pop ecx
test eax, eax
jne 0x46328b
mov byte [ebp + 0x104], bl
push 0x103
push ebx
lea eax, [ebp + 0x105]
push eax
call fcn.00508d00
add esp, 0xc
mov edi, str.PEC.dat
push edi
push str.Misc_Files_
call fcn.00401280
push eax
push 0x59c9f4
push 0x104
lea eax, [ebp + 0x104]
push eax
call fcn.00402dbf
push ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esi + 0xd90]
lea eax, [ebp + 0x104]
push eax
push esi
call fcn.00402d38
add esp, 0x30
push ebx
push edi
push ebx
push ebx
call fcn.004031fc
pop ecx
pop ecx
push eax
push 0x586728
push ebx
call fcn.00402176
add esp, 0x10
push eax
lea eax, [ebp + 0x104]
push eax
call fcn.004022a7
add esp, 0xc
push ebx
push edi
push str.ServerSync_
push ebx
push ebx
call fcn.004031fc
pop ecx
pop ecx
push eax
push 0x59c9f4
push ebx
call fcn.00402176
add esp, 0x14
push eax
lea eax, [ebp + 0x104]
push eax
call fcn.004022a7
add esp, 0xc
push ebx
push edi
push 0x583d40
mov edi, str.empty
push edi
push ebx
call fcn.00402176
pop ecx
pop ecx
push eax
call fcn.00402f81
add esp, 0xc
push eax
lea eax, [ebp + 0x104]
push eax
call fcn.004022a7
add esp, 0xc
push 1
push str.PEC.dat
push 0x583d40
push edi
push ebx
call fcn.00402176
pop ecx
pop ecx
push eax
call fcn.00402f81
add esp, 0xc
push eax
call fcn.00402680
pop ecx
pop ecx
jmp 0x4632a4
push ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esi + 0xd90]
push str.PEC.dat
push esi
call fcn.00402d38
add esp, 0x18
call fcn.00402676
push 1
call fcn.0044580d
pop ecx
test eax, eax
jne 0x4632bf
push 4
push esi
call fcn.00402f95
pop ecx
pop ecx
call fcn.00402838
test eax, eax
je 0x4632d2
push 4
push esi
call fcn.00402f95
pop ecx
pop ecx
mov edi, str.SetupPAULA.exe
push edi
push ebx
call fcn.0040113b
push eax
call fcn.00402b5d
add esp, 0xc
test eax, eax
je 0x46331b
push edi
push ebx
call fcn.0040113b
push eax
call fcn.00401825
push eax
push str.:0:FYI_the_setup_exe_is_being_deleted:__d
call fcn.00401375
add esp, 0x14
push 1
push ebx
push edi
push ebx
call fcn.0040113b
pop ecx
pop ecx
push eax
call fcn.00402ced
add esp, 0xc
call fcn.00401c80
lea eax, [esi + 0x1094]
push eax
call fcn.00402581
pop ecx
push ebx
mov edi, str.NeedAdminLogin.flg
push edi
push ebx
call fcn.0040113b
pop ecx
pop ecx
push eax
call fcn.00403085
pop ecx
pop ecx
cmp eax, 1
jne case.0x463402.9
push str.:0:FYI:Attempting_to_fix_the_Limited_User_ODBC_Registry_issue...
call fcn.00401375
call fcn.00402ed2
push ebx
call fcn.00402527
pop ecx
pop ecx
mov dword [ebp - 0x1c], eax
cmp eax, ebx
jne 0x4633b3
push ebx
push edi
push ebx
call fcn.0040113b
pop ecx
pop ecx
push eax
call fcn.00403085
pop ecx
pop ecx
cmp eax, 1
jne 0x4633b3
push str.:2:...ODBC_fix_FAILED_
call fcn.004020c2
mov dword [esp], str.:1:Please_login_to_Windows_as_Administrator_to_fix_this_terminal.
call fcn.00401375
mov dword [esp], str._nThere_is_a_problem_with_PAULAs_configuration._nThe_ODBC_Driver_for_SQL_Server_needs_to_be_installed._nPAULA_must_be_run_as_Administrator_to_complete_setup._n_nRight_click_the_PAULA_desktop_icon_and_select:_n_Run_as_administrator__n_nPress_any_key...
push str.__Note_To_Administrator__
push ebx
push ebx
push ebx
push 1
call fcn.00401a64
add esp, 0x18
jmp 0x4633e3
push dword [ebp - 0x1c]
push str.:0:FYI:...ODBC_fix_succeeded__hODBC___p
call fcn.00401375
push dword [ebp - 0x1c]
push str.:1:FYI:...Admin_login_issue_has_been_resolved:_Administrator_login_issue:_hODBC___p
call fcn.00401375
push str._nPAULAs_configuration_problem_has_been_resolved._n_nPress_any_key_to_continue...
push str.__Note_To_Administrator__
push ebx
push ebx
push ebx
push ebx
call fcn.00401a64
add esp, 0x28
cmp dword [ebp - 0x1c], ebx
je case.0x463402.9
push dword [ebp - 0x1c]
call fcn.0040141f
pop ecx
mov dword [ebp - 0x28], ebx
call fcn.00401735
cmp eax, 0x33
ja case.0x463402.1
jmp dword [eax*4 + 0x463d5c]
push 4
push esi
call fcn.00402f95
jmp 0x463cf9
lea eax, [esi + 0x2510]
push eax
call fcn.00401726
pop ecx
test eax, eax
jne case.0x463402.1
mov dword [ebp - 0x28], 1
jmp case.0x463402.1
push esi
call fcn.0040184d
jmp 0x4633f0
push esi
call fcn.00402824
jmp 0x4633f0
push esi
call fcn.0040202c
jmp 0x4633f0
push esi
call fcn.00401276
jmp 0x4633f0
mov edx, esi
call fcn.0044939d
jmp case.0x463402.9
mov byte [ebp + 0x208], bl
push 0x3f
push ebx
lea eax, [ebp + 0x209]
push eax
call fcn.00508d00
add esp, 0xc
mov eax, dword [esi + 0x215c]
cmp eax, ebx
jne 0x4634dc
call fcn.00402c52
mov edi, eax
push str.Laser.cfg
push ebx
call fcn.004031fc
push eax
push edi
call fcn.004012df
push 0x25
lea eax, [ebp + 0x208]
push eax
push edi
call fcn.00403067
lea eax, [ebp + 0x208]
push eax
call fcn.004010dc
add esp, 0x20
test eax, eax
je 0x4634d3
push 0x40
push str.Default_Windows_Printer
lea eax, [ebp + 0x208]
push eax
call fcn.00402abd
add esp, 0xc
push edi
call fcn.004017cb
pop ecx
jmp 0x463518
cmp eax, 0x64
jle 0x463501
push ebx
push eax
call fcn.00402117
push eax
push str.Net_Printer__s
push 0x40
lea eax, [ebp + 0x208]
push eax
call fcn.00402dbf
add esp, 0x18
jmp 0x463518
push eax
push str.TAMS_Report_Printer__d
push 0x40
lea eax, [ebp + 0x208]
push eax
call fcn.00402dbf
add esp, 0x10
lea eax, [ebp + 0x208]
push eax
push str.This_will_print_a_test_page_to_the_Till_Sheet_Printer:_n__s__n_nWould_you_like_to_continue___Y_N__n_nYes___No
push str.__Print_Test_Page___
push ebx
push ebx
call fcn.004010d2
add esp, 0x14
test eax, eax
je case.0x463402.9
mov byte [ebp + 0x248], bl
xor eax, eax
lea edi, [ebp + 0x249]
stosd dword es:[edi], eax
push 0x59e4c0
call fcn.00401a7d
push eax
lea eax, [ebp + 0x248]
push eax
call fcn.0050d660
push 0x5b1d18
call fcn.00401528
push str._n__________________Print_Test_Page___n_n_n
call fcn.00401528
push 1
push ebx
push ebx
push esi
call fcn.00402388
add esp, 0x24
test eax, eax
lea eax, [ebp + 0x208]
push eax
je 0x463594
push str._n_n_The_test_page_successfully_printed_to:__n__s_
jmp 0x463599
push str._n_n_ERROR:_The_test_page_failed_to_print_to:__n__s_
call fcn.00401528
pop ecx
pop ecx
push str._n_nPress_any_key_to_continue...
call fcn.00401528
mov dword [esp], 0x927c0
call fcn.004026f3
fld dword [0x5858ec]
fstp dword [esp]
push ebx
call fcn.0040179e
lea eax, [ebp + 0x248]
push eax
call fcn.00402d42
add esp, 0xc
jmp case.0x463402.9
push str.Use_this_tool_to_add_missing_stores_to_the_notes_database._nEnter_a_zip_code_near_the_area_that_should_be_searched._n_n_rEnter_a_zip_code:
push str.__Enter_A_5_Digit_Zip_Code__
push ebx
push 0xffffffffffffffff
push str.Enter_a_zip_code:
call fcn.00508320
pop ecx
push eax
push 5
push ebx
call fcn.0040223e
add esp, 0x1c
mov edi, eax
cmp edi, ebx
je case.0x463402.9
push edi
call fcn.00510980
pop ecx
cmp eax, 0x2b67
je 0x463685
push edi
call fcn.00510980
pop ecx
test eax, eax
jle 0x463692
push ebx
push ebx
push edi
push str._s:_Added__d_n
push str.ZipCodesManuallyScanned.txt
push str.ZipCodesManualScan_
push 0x586728
push ebx
call fcn.004031fc
add esp, 0x10
push eax
call fcn.004016e5
push str._n_nPress_any_key_to_exit...
call fcn.00401528
push 0x5265c00
call fcn.004026f3
add esp, 0x1c
jmp case.0x463402.9
push str._n_nPress_any_key_to_enter_another_account...
call fcn.0040205e
mov dword [esp], 0x5265c00
call fcn.004026f3
mov dword [esp], 0x5ae090
call fcn.0040205e
pop ecx
cmp dword [0x5f2e54], ebx
jne 0x463662
jmp case.0x463402.9
push str.00000
push edi
call fcn.0050dc60
pop ecx
jmp 0x4633f0
call fcn.0045e95c
jmp case.0x463402.9
push esi
call fcn.00401f23
jmp 0x4633f0
push esi
call fcn.00401f5a
jmp 0x4633f0
push esi
call fcn.00401bf4
jmp 0x4633f0
mov eax, esi
call fcn.0045126d
push esi
call fcn.00402347
jmp 0x4633f0
call fcn.0045e79e
jmp 0x4636d5
mov eax, esi
call fcn.0045165b
jmp 0x4636d5
push esi
call fcn.004015d7
jmp 0x4633f0
mov eax, esi
call fcn.00451a3b
jmp 0x4636d5
call fcn.00451b2d
jmp 0x4636d5
mov eax, esi
call fcn.00451392
jmp 0x4636d5
mov eax, esi
call fcn.00451547
jmp 0x4636d5
mov eax, esi
call fcn.0045a347
jmp 0x4636d5
push esi
call fcn.00401f0a
jmp 0x4633f0
push esi
call fcn.00401e83
jmp 0x4633f0
push esi
call fcn.0045a4a8
jmp 0x4633f0
mov dword [ebp - 0x20], ebx
push ebx
call fcn.00402d42
mov dword [esp], str._n________EXCLUDED_INVOICE_RECONCILIATION_REPORT__n_n
call fcn.00401528
mov dword [esp], str.Run_this_report_to_find_EXCLUDED__F10__invoices_nthat_have_never_been_included._n_nWould_you_like_to_run_this_report_now___Y_N__n_nYes___No
push str.__Show_Unapplied_EXCLUDED_Invoices___
push ebx
push ebx
call fcn.004010d2
add esp, 0x10
test eax, eax
je 0x463905
push str.:0:FYI:_STARTCODE_EXCINVREPORT_has_been_run.
call fcn.00401375
mov dword [esp], str..MainPAULA.c
push 0x62a
push ebx
call fcn.00401a9b
add esp, 0xc
mov dword [ebp - 0x1c], eax
push ebx
push 1
push ebx
push ebx
push ebx
call fcn.00401910
add esp, 0xc
push eax
mov ecx, esi
call fcn.0045bfea
add esp, 0xc
mov dword [ebp - 0x24], eax
cmp eax, ebx
je 0x4638e3
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x48], bx
xor eax, eax
lea edi, [ebp - 0x46]
stosw word es:[edi], ax
cmp ecx, 1
jne 0x4637e9
push str._n_______The_invoice_below_was_excluded_using_the_F10_EXCLUDE_invoice_option_
push dword [ebp - 0x1c]
call fcn.004014f6
push str._n___________but_it_has_never_been_F10_INCLUDED_by_anyone_as_of_today.
jmp 0x4637ff
cmp ecx, ebx
jle 0x463817
push str._n_______The_invoices_listed_below_were_excluded_using_the_F10_EXCLUDE_invoice_option_
push dword [ebp - 0x1c]
call fcn.004014f6
push str._n_____________but_they_have_never_been_F10_INCLUDED_by_anyone_as_of_today.
push dword [ebp - 0x1c]
call fcn.004014f6
push 0x5ae090
push dword [ebp - 0x1c]
call fcn.004014f6
add esp, 0x18
xor edi, edi
cmp dword [ebp - 0x30], ebx
jle 0x4638d7
mov eax, dword [ebp - 0x24]
add eax, 0x56
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push dword [eax]
push dword [ebp - 0x48]
call fcn.00402e14
pop ecx
pop ecx
test eax, eax
jne 0x463855
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
push 0x5871e0
push dword [ebp - 0x1c]
call fcn.004014f6
pop ecx
pop ecx
lea eax, [edi + 1]
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x1c]
push ebx
push eax
push dword [ebp - 0x24]
mov ecx, edi
call fcn.00449e1a
add esp, 0x10
mov edi, dword [ebp - 0x4c]
add dword [ebp - 0x34], 0x90
cmp edi, dword [ebp - 0x30]
jl 0x46382b
cmp dword [ebp - 0x30], ebx
jle 0x4638d7
mov dword [ebp - 0x20], 1
push ebx
mov edi, str.PRP076.txt
push edi
push ebx
call fcn.0040113b
pop ecx
pop ecx
push eax
push dword [ebp - 0x1c]
call fcn.004018b1
push dword [ebp - 0x1c]
call fcn.00402441
push edi
push ebx
call fcn.0040113b
push eax
push str.START___Unreconciled_Excluded_Invoice_List____MAX_notepad___s_
call fcn.00403314
push str.The_unreconciled_invoice_list_has_been_opened_in_another_window._nIf_the_page_has_not_appeared__check_your_Windows_Task_Bar_for_na_minimized_window._n_nPress_any_key_to_continue...
push str.__Please_Check_Your_Task_Bar__
push ebx
push ebx
push ebx
push 0x55f0
push 1
push ebx
call fcn.00402761
add esp, 0x40
push 1
push dword [ebp - 0x24]
call fcn.0050a6d0
pop ecx
pop ecx
cmp dword [ebp - 0x20], ebx
jne case.0x463402.2
push ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esi + 0xd90]
push str.PEC.dat
push esi
call fcn.00402d38
add esp, 0x18
cmp dword [ebp - 0x20], ebx
je 0x46342b
jmp case.0x463402.2
push ebx
call fcn.00402d42
mov edi, str._n______________PRP077__PAULA_CASH_REPORT__n_n
push edi
call fcn.00401528
pop ecx
pop ecx
cmp dword [esi + 0x216c], ebx
jne 0x46395c
push str.A_default_printer_should_be_setup_before_running_this_report._nIf_you_choose_not_to_setup_a_default_report_printer__nthis_report_will_be_printed_to_the_default_Windows_printer._n_nWould_you_like_to_provide_a_TAMS_report_printer_now___Y_N__n_nYes___No
push str.__Create_Default_Printer___
push ebx
push 1
call fcn.004010d2
add esp, 0x10
test eax, eax
je 0x46395c
push esi
call fcn.0040202c
push ebx
call fcn.00402d42
push edi
call fcn.00401528
add esp, 0xc
push str.This_option_will_run_the_PAULA_Cash_Report__PRP077__for_any_date._nThis_report_normally_prints_every_night_to_the_default_report_printer._nYou_may_enter_an_invoice_date_below_to_rerun_this_report_for_any_day._n_n_r____Enter_the_transaction_date_to_run:_______________n_n_rESC_Cancel
push str.__Enter_Transaction_Date__
push ebx
lea eax, [ebp - 0x2c]
push eax
push 0x4022de
push ebx
push ebx
call fcn.004027a2
add esp, 0x1c
test eax, eax
je 0x463a98
mov edi, str..MainPAULA.c
push edi
push 0x676
push ebx
call fcn.00401a9b
mov dword [ebp - 0x20], eax
push edi
push 0x677
push ebx
call fcn.00401a9b
mov dword [ebp - 0x30], eax
push edi
push 0x678
push ebx
call fcn.00401a9b
mov dword [ebp - 0x28], eax
push edi
push 0x679
push ebx
call fcn.00401a9b
mov dword [ebp - 0x24], eax
push edi
push 0x67a
push ebx
call fcn.00401a9b
mov edi, eax
lea eax, [esi + 0x2510]
push eax
push 1
push edi
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x30]
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push esi
call fcn.00402cfc
add esp, 0x60
call fcn.00401c76
push ebx
push 1
push edi
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x30]
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push esi
call fcn.00401d16
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x20]
call fcn.00402441
push dword [ebp - 0x30]
call fcn.00402441
push dword [ebp - 0x28]
call fcn.00402441
push dword [ebp - 0x24]
call fcn.00402441
push edi
call fcn.00402441
lea edi, [esi + 0x37644]
push dword [edi]
call fcn.0040134d
add esp, 0x3c
mov dword [edi], ebx
cmp dword [ebp - 0x4c], ebx
je 0x463a66
push str.:0:The_PAULA_Cash_Report_was_manually_run.
call fcn.00401375
push 4
push esi
call fcn.00402f95
add esp, 0xc
movzx eax, word [ebp - 0x2c]
push eax
movzx eax, byte [ebp - 0x29]
push eax
movzx eax, byte [ebp - 0x2a]
push eax
push str.:3:PrintLaserCashReport___FAILED_when_selected_from_menu:__02d__02d__04d
call fcn.00401375
push ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esi + 0xd90]
push str.PEC.dat
push esi
call fcn.00402d38
add esp, 0x28
push 4
push ebx
lea eax, [ebp - 0x2c]
push eax
call fcn.00508d00
jmp 0x4635d1
mov word [ebp - 0x44], bx
xor eax, eax
lea edi, [ebp - 0x42]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
jmp 0x463b02
lea eax, [ebp - 0x44]
push eax
call fcn.00401550
pop ecx
movzx eax, word [ebp - 0x38]
push eax
movzx eax, word [ebp - 0x3a]
push eax
movzx eax, word [ebp - 0x3c]
push eax
movzx eax, word [ebp - 0x44]
push eax
movzx eax, word [ebp - 0x42]
push eax
movzx eax, word [ebp - 0x3e]
push eax
movzx eax, word [ebp - 0x40]
push eax
call fcn.00401a14
pop ecx
push eax
push str._nTime:__s___02d__02d__04d____02d:_02d._02d
call fcn.0040205e
add esp, 0x20
push 0x37
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00401370
test eax, eax
je 0x463ab9
push str._n_nPress_Q_to_quit...
call fcn.0040205e
call fcn.004014bf
push eax
call fcn.004024be
pop ecx
pop ecx
jmp 0x463b70
lea eax, [ebp - 0x44]
push eax
call fcn.00401550
pop ecx
movzx eax, word [ebp - 0x38]
push eax
movzx eax, word [ebp - 0x3a]
push eax
movzx eax, word [ebp - 0x3c]
push eax
movzx eax, word [ebp - 0x44]
push eax
movzx eax, word [ebp - 0x42]
push eax
movzx eax, word [ebp - 0x3e]
push eax
movzx eax, word [ebp - 0x40]
push eax
call fcn.00401a14
pop ecx
push eax
push str._nTime:__s___02d__02d__04d____02d:_02d._02d
call fcn.0040205e
call fcn.004014bf
push eax
call fcn.004024be
add esp, 0x24
cmp eax, 0x51
jne 0x463b24
jmp case.0x463402.2
push ebx
push ebx
push 0xff
call fcn.00402e96
add esp, 0xc
mov edi, eax
cmp edi, ebx
je 0x463bdf
push 0x583e6c
push edi
call fcn.0050e4b0
pop ecx
pop ecx
test eax, eax
je 0x463bd2
push str.SoundsFYI.wav
push ebx
call fcn.004031fc
push eax
call fcn.00402b5d
add esp, 0xc
test eax, eax
je 0x463bd2
push 0x20001
push ebx
push str.SoundsFYI.wav
push ebx
call fcn.004031fc
pop ecx
pop ecx
push eax
call dword [sym.imp.WINMM.dll_PlaySoundA]
push edi
push 0x591690
call fcn.0040205e
pop ecx
pop ecx
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00401370
test eax, eax
je 0x463b7a
jmp case.0x463402.9
push str._n_n______APPLYING_UPDATES__
call fcn.0040205e
mov dword [esp], str._n_n_Please_wait..._n
call fcn.0040205e
push 1
call fcn.0040281f
pop ecx
pop ecx
test eax, eax
je 0x463c41
push str._nAn_updated_revision_was_successfully_applied.
call fcn.0040205e
mov dword [esp], str._n_nPress_any_key...
call fcn.0040205e
push ebx
call fcn.004026f3
push 4
push esi
call fcn.00402f95
add esp, 0x10
jmp 0x463c58
push str._nERROR:_The_update_could_not_be_applied.
call fcn.0040205e
mov dword [esp], str._n_nPress_any_key...
call fcn.0040205e
pop ecx
push ebx
call fcn.004026f3
jmp 0x4633f0
cmp dword [esi + 0x2118], ebx
je 0x463c86
push str.The__Top_Seven__feature_is_not_available_when_nthe__One_Till__option_is_enabled._n_nPress_any_key_to_continue...
push str.__Top_Seven_Has_Been_Disabled___
push ebx
push ebx
push ebx
push ebx
call fcn.00401a64
add esp, 0x18
jmp case.0x463402.9
push ebx
push esi
call fcn.00401aaf
jmp 0x46369d
call fcn.00402bfd
jmp case.0x463402.9
push 3
jmp 0x46340b
push 0x59e4c0
call fcn.00402d42
mov dword [esp], str._n_n_________________REPRINT_TILL_SHEET_
call fcn.00401528
push 3
push esi
call fcn.00403288
add esp, 0xc
mov edi, eax
cmp edi, ebx
jl 0x463ce2
push 0x5acdbc
call fcn.00402d42
push ebx
push ebx
push edi
push esi
call fcn.00401e92
add esp, 0x14
jmp case.0x463402.3
mov dword [ebp - 0x28], 1
push ecx
fld dword [0x5858ec]
fstp dword [esp]
push ebx
call fcn.0040179e
pop ecx
pop ecx
cmp dword [ebp - 0x28], ebx
jne case.0x463402.9
call fcn.00402676
push esi
call fcn.0045d980
call fcn.00402635
push ebx
push esi
call fcn.0040146a
call fcn.004015fa
call fcn.00402676
call fcn.004026f8
push 3
push esi
call fcn.00402f95
add esp, 0x14
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x250]
xor ecx, ebp
call fcn.00508cf0
add ebp, 0x254
leave
ret 0x10