Function at 0x4827b2
Capabilities:
Set console window title
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x5f2e68]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x103
lea eax, [ebp - 0x10f]
push 0
push eax
mov ebx, ecx
mov byte [ebp - 0x110], 0
call fcn.005306b0
add esp, 0xc
call fcn.00415783
push 0
push ebx
call fcn.00464aaf
mov edi, eax
pop ecx
lea esi, [ebx + edi*4 + 4]
pop ecx
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x124], esi
call fcn.0045bc57
cmp dword [esi], eax
je 0x48282e
lea eax, [ebp - 0x110]
push eax
push 6
call fcn.0041679b
push ebx
lea ecx, [ebp - 0x110]
call fcn.0045bcfd
add esp, 0xc
push dword [esi]
call fcn.0045bbbf
pop ecx
push dword [esi]
lea eax, [ebx + edi*4 + 0x198]
push dword [eax]
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x110]
push str.__s__d
push eax
call fcn.00531b2f
add esp, 0x10
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea edx, [ebx + 0x2510]
mov esi, edi
mov ecx, ebx
call fcn.00457f00
test eax, eax
je 0x4828d3
push str._n_n______________________________________________________________
call fcn.0041679b
mov dword [esp], str._nFindInvoices___FAILED__
call fcn.0041679b
mov dword [esp], str._nPlease_tell_Kerry_that_this_problem_occurred.
call fcn.0041679b
mov dword [esp], str._nTry_running_PAULA_again.
call fcn.0041679b
mov dword [esp], str._n_nPress_any_key_to_exit...
call fcn.0041679b
mov dword [esp], str.:7:FindInvoices___FAILED___
call fcn.0042b70b
pop ecx
mov eax, 0x1b7740
call fcn.0043ce01
push 3
call fcn.00460dbe
push edi
push ebx
call fcn.004dfa0e
test eax, eax
pop ecx
pop ecx
je 0x482ab9
mov eax, edi
mov esi, ebx
call fcn.00464321
test eax, eax
je 0x482ab9
mov eax, edi
call fcn.00464321
mov esi, eax
call fcn.00415783
push 0x59ae48
call fcn.0041679b
lea eax, [esi + 0x1c]
mov dword [ebp - 0x114], eax
movzx eax, word [eax]
pop ecx
push eax
movzx eax, word [esi + 0x22]
push eax
movzx eax, word [esi + 0x1e]
lea ecx, [esi + 0x38]
push eax
push ecx
push str._n_s__Your_till_has_already_been_counted_down_for_today__02d__02d__04d.
mov dword [ebp - 0x118], ecx
call fcn.0041679b
add esp, 0x14
push str._n_nWhat_would_you_like_to_do:
call fcn.0041679b
mov dword [esp], str._n___1._Reprint_your_Till_Sheet.
call fcn.0041679b
mov dword [esp], str._n___2._Start_over_and_enter_your_till_again.
call fcn.0041679b
mov dword [esp], str._n___3._Cancel_and_exit.
call fcn.0041679b
mov dword [esp], str._n_nEnter_Selection:
call fcn.0041679b
pop ecx
push 0
push 0xffffffffffffffff
mov ecx, 0x59af7c
call fcn.0043ce1e
cmp eax, 0x31
pop ecx
pop ecx
jne 0x4829d1
mov esi, dword [ebp - 0x114]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004f96f4
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x114]
push eax
mov eax, dword [ebp - 0x11c]
push ebx
call fcn.0044e1ce
push dword [ebp - 0x118]
push str.:1:_ss_till_is_being_reprinted
call fcn.0042bd38
add esp, 0x20
jmp 0x4828cc
cmp eax, 0x33
je 0x4828cc
push dword [ebp - 0x118]
push str.:1:_ss_till_is_being_recounted_
call fcn.0042bd38
push edi
mov ecx, ebx
call fcn.004df35b
add esp, 0xc
mov esi, eax
cmp dword [esi + 4], 0
jg 0x482a1f
call fcn.00415783
lea eax, [esi + 0x38]
push eax
push str._n_n_s_
call fcn.0041679b
pop ecx
pop ecx
mov edi, str.what_is_your_OSD_account_number_
lea ecx, [esi + 4]
call fcn.0043e788
push esi
push str.INITIALIZE_TILL
call fcn.0041679b
mov eax, dword [ebp - 0x124]
push dword [eax]
mov eax, dword [ebp - 0x120]
push dword [eax]
xor esi, esi
push str.User_Name:__s__d
inc esi
push esi
call fcn.0041679b
push str._nDate:
push esi
call fcn.0041679b
push 2
call fcn.0041679b
add esp, 0x24
push str._nStart_Time:
push esi
call fcn.0041679b
push 3
call fcn.0041679b
add esp, 0xc
push dword [ebx + 0x218c]
call fcn.00468753
pop ecx
push eax
push str._nOVER_Tolerance:__s
push esi
call fcn.0041679b
add esp, 0xc
push dword [ebx + 0x2190]
call fcn.00468753
pop ecx
push eax
push str._nSHORT_Tolerance:___s
push esi
call fcn.0041679b
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.005317e7
leave
ret
push edi
call fcn.004df115
mov esi, eax
test esi, esi
pop ecx
jne 0x4829f7
push str._n_n___________________________________________________________
call fcn.0041679b
mov dword [esp], str._nUnrecoverable_error_234223__out_of_memory_
call fcn.0041679b
mov dword [esp], str._nPlease_tell_Kerry_about_this_error.
call fcn.0041679b
mov dword [esp], str._nYou_may_need_to_reboot_this_computer_to_fix_problem.
call fcn.0041679b
mov dword [esp], str._n_____________________________________________________________
call fcn.0041679b
mov dword [esp], str._nPress_any_key_to_exit...
call fcn.0041679b
mov ebx, dword [ebx + 0x4f4]
test ebx, ebx
pop ecx
je 0x482b2b
push dword [ebx + 8]
push str.OUT_OF_MEMORY:_Could_not_create_till_sheet.__ld_till_sheets_currently_exist.__Err234223_
call fcn.0042b70b
pop ecx
jmp 0x482b35
push str.OUT_OF_MEMORY:_Could_not_create_till_sheet._No_till_sheets_currently_exist.__Err234223_
call fcn.0042b70b
pop ecx
mov eax, 0x1b7740
call fcn.0043ce01
push 0xffffffffffffffff
call fcn.00531745
int3