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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x5c4e68]
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.005117f0
add esp, 0xc
call fcn.004137c2
push 0
push ebx
call fcn.0045c2d3
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.00453e00
cmp dword [esi], eax
je 0x479b55
lea eax, [ebp - 0x110]
push eax
push 6
call fcn.004147da
pop ecx
pop ecx
push dword [esi]
call fcn.00453d68
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.00511173
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.004500a9
test eax, eax
je 0x479bfa
push str._n_n______________________________________________________________
call fcn.004147da
mov dword [esp], str._nFindInvoices___FAILED__
call fcn.004147da
mov dword [esp], str._nPlease_tell_Kerry_that_this_problem_occurred.
call fcn.004147da
mov dword [esp], str._nTry_running_PAULA_again.
call fcn.004147da
mov dword [esp], str._n_nPress_any_key_to_exit...
call fcn.004147da
mov dword [esp], str.:7:FindInvoices___FAILED___
call fcn.004265da
pop ecx
mov eax, 0x1b7740
call fcn.004352d3
push 3
call fcn.00458887
push edi
push ebx
call fcn.004d678e
test eax, eax
pop ecx
pop ecx
je 0x479de0
mov eax, edi
mov esi, ebx
call fcn.0045bb4f
test eax, eax
je 0x479de0
mov eax, edi
call fcn.0045bb4f
mov esi, eax
call fcn.004137c2
push 0x577df8
call fcn.004147da
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.004147da
add esp, 0x14
push str._n_nWhat_would_you_like_to_do:
call fcn.004147da
mov dword [esp], str._n___1._Reprint_your_Till_Sheet.
call fcn.004147da
mov dword [esp], str._n___2._Start_over_and_enter_your_till_again.
call fcn.004147da
mov dword [esp], str._n___3._Cancel_and_exit.
call fcn.004147da
mov dword [esp], str._n_nEnter_Selection:
call fcn.004147da
pop ecx
push 0
push 0xffffffffffffffff
mov ecx, 0x577f2c
call fcn.004352f0
cmp eax, 0x31
pop ecx
pop ecx
jne 0x479cf8
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.004f05c5
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x114]
push eax
mov eax, dword [ebp - 0x11c]
push ebx
call fcn.00446377
push dword [ebp - 0x118]
push str.:1:_ss_till_is_being_reprinted
call fcn.00426c01
add esp, 0x20
jmp 0x479bf3
cmp eax, 0x33
je 0x479bf3
push dword [ebp - 0x118]
push str.:1:_ss_till_is_being_recounted_
call fcn.00426c01
push edi
mov ecx, ebx
call fcn.004d60db
add esp, 0xc
mov esi, eax
cmp dword [esi + 4], 0
jg 0x479d46
call fcn.004137c2
lea eax, [esi + 0x38]
push eax
push str._n_n_s_
call fcn.004147da
pop ecx
pop ecx
mov edi, str.what_is_your_OSD_account_number_
lea ecx, [esi + 4]
call fcn.00436c5a
push esi
push str.INITIALIZE_TILL
call fcn.004147da
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.004147da
push str._nDate:
push esi
call fcn.004147da
push 2
call fcn.004147da
add esp, 0x24
push str._nStart_Time:
push esi
call fcn.004147da
push 3
call fcn.004147da
add esp, 0xc
push dword [ebx + 0x218c]
call fcn.0045feeb
pop ecx
push eax
push str._nOVER_Tolerance:__s
push esi
call fcn.004147da
add esp, 0xc
push dword [ebx + 0x2190]
call fcn.0045feeb
pop ecx
push eax
push str._nSHORT_Tolerance:___s
push esi
call fcn.004147da
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051291c
leave
ret
push edi
call fcn.004d5e95
mov esi, eax
test esi, esi
pop ecx
jne 0x479d1e
push str._n_n___________________________________________________________
call fcn.004147da
mov dword [esp], str._nUnrecoverable_error_234223__out_of_memory_
call fcn.004147da
mov dword [esp], str._nPlease_tell_Kerry_about_this_error.
call fcn.004147da
mov dword [esp], str._nYou_may_need_to_reboot_this_computer_to_fix_problem.
call fcn.004147da
mov dword [esp], str._n_____________________________________________________________
call fcn.004147da
mov dword [esp], str._nPress_any_key_to_exit...
call fcn.004147da
mov ebx, dword [ebx + 0x4f4]
test ebx, ebx
pop ecx
je 0x479e52
push dword [ebx + 8]
push str.OUT_OF_MEMORY:_Could_not_create_till_sheet.__ld_till_sheets_currently_exist.__Err234223_
call fcn.004265da
pop ecx
jmp 0x479e5c
push str.OUT_OF_MEMORY:_Could_not_create_till_sheet._No_till_sheets_currently_exist.__Err234223_
call fcn.004265da
pop ecx
mov eax, 0x1b7740
call fcn.004352d3
push 0xffffffffffffffff
call fcn.0051287a
int3