Function at 0x464aaf
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x464
mov eax, dword [0x5f2e68]
xor eax, esp
mov dword [esp + 0x460], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
push 0xff
lea eax, [esp + 0x4d]
push esi
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], esi
mov byte [esp + 0x54], 0
call fcn.005306b0
add esp, 0xc
push 1
push 7
mov dword [esp + 0x30], esi
call fcn.0041730b
push str._n_nAccessing_server...
call fcn.00416cd2
add esp, 0xc
push 0x44f7
mov edi, str..MainPAULA.c
push edi
push 2
call fcn.00471db5
add esp, 0xc
push esi
push 0xffffffffffffffff
call fcn.0041730b
mov esi, dword [ebp + 0xc]
pop ecx
pop ecx
call fcn.004648ba
xor esi, esi
cmp dword [ebx], esi
mov dword [esp + 0x10], esi
jle 0x464b72
lea eax, [ebx + 0x198]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
push dword [eax]
call fcn.00530f70
cmp eax, dword [esp + 0x14]
pop ecx
jle 0x464b68
mov eax, dword [esp + 0x18]
push dword [eax]
call fcn.00530f70
pop ecx
mov dword [esp + 0x10], eax
add dword [esp + 0x18], 4
inc esi
cmp esi, dword [ebx]
jl 0x464b46
xor esi, esi
cmp dword [ebx], esi
mov dword [esp + 0x14], 1
jle 0x464be7
mov edx, dword [ebx]
lea ecx, [ebx + 4]
mov eax, dword [ecx]
cmp eax, 0x2710
jl 0x464b9f
cmp dword [esp + 0x14], 5
jge 0x464be1
mov dword [esp + 0x14], 5
jmp 0x464be1
cmp eax, 0x3e8
jl 0x464bb7
cmp dword [esp + 0x14], 4
jge 0x464be1
mov dword [esp + 0x14], 4
jmp 0x464be1
cmp eax, 0x64
jl 0x464bcd
cmp dword [esp + 0x14], 3
jge 0x464be1
mov dword [esp + 0x14], 3
jmp 0x464be1
cmp eax, 0xa
jl 0x464be1
cmp dword [esp + 0x14], 2
jge 0x464be1
mov dword [esp + 0x14], 2
add ecx, 4
dec edx
jne 0x464b85
push 0x4516
mov ecx, edi
call fcn.004d04c4
cmp dword [ebx], esi
pop ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], esi
jle 0x464d53
lea eax, [ebx + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov esi, dword [eax + 0x194]
push esi
mov ecx, 0x100
lea eax, [esp + 0x4c]
call fcn.004ccc3f
pop ecx
push esi
call fcn.00530f70
mov edi, dword [esp + 0x14]
sub edi, eax
jmp 0x464c47
push 0x551adc
mov eax, 0x100
lea esi, [esp + 0x4c]
call fcn.004ccd0f
dec edi
pop ecx
jns 0x464c33
cmp dword [esp + 0x10], 0x11
jge 0x464c58
push 0x565730
jmp 0x464c5f
jne 0x464c6e
push 0x551adc
mov eax, 0x100
lea esi, [esp + 0x4c]
call fcn.004ccd0f
pop ecx
mov eax, dword [esp + 0x14]
dec eax
dec eax
lea edi, [esp + 0x48]
je 0x464cb3
dec eax
je 0x464ca6
dec eax
je 0x464c99
dec eax
mov eax, dword [esp + 0x1c]
je 0x464c90
push dword [eax]
push 0x5571c4
jmp 0x464cbe
push dword [eax]
push str._5d
jmp 0x464cbe
mov eax, dword [esp + 0x1c]
push dword [eax]
push str._4d
jmp 0x464cbe
mov eax, dword [esp + 0x1c]
push dword [eax]
push str._3d
jmp 0x464cbe
mov eax, dword [esp + 0x1c]
push dword [eax]
push 0x5888fc
mov eax, 0x100
call fcn.004ce4a3
cmp dword [ebp + 0xc], 2
pop ecx
pop ecx
jne 0x464d2b
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x688]
test ecx, ecx
jne 0x464cf3
push str.__ZERO_
mov eax, 0x100
lea edi, [esp + 0x4c]
call fcn.004ce4a3
jmp 0x464d2a
mov eax, dword [eax + 0x9b0]
test eax, eax
jge 0x464d04
push str.__ASK_
jmp 0x464ce3
jle 0x464d0e
push eax
push str.__TIL_d_
jmp 0x464d1b
push ecx
call fcn.00468768
pop ecx
push eax
push 0x588938
mov eax, 0x100
lea edi, [esp + 0x50]
call fcn.004ce4a3
pop ecx
pop ecx
push 0
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x14]
call fcn.004d08bc
add dword [esp + 0x28], 4
add esp, 0xc
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
cmp eax, dword [ebx]
jl 0x464c0b
mov esi, dword [esp + 0xc]
mov eax, esi
call fcn.004d23eb
push esi
push ebx
call fcn.004647dc
mov eax, dword [ebp + 0xc]
push ebx
call fcn.00464948
add esp, 0xc
xor edi, edi
cmp dword [ebp + 0xc], 2
mov dword [esp + 0x18], 0x44
je 0x464d85
mov dword [esp + 0x18], edi
lea eax, [esp + 0x48]
call fcn.004ccb8b
lea eax, [esp + 0x18]
push eax
push 0x20
push 0xff
lea eax, [esp + 0x54]
call fcn.0043cb15
add esp, 0xc
test eax, eax
je 0x464f92
cmp dword [esp + 0x18], 3
je 0x464fe4
cmp dword [esp + 0x18], 7
je 0x465047
lea edx, [esp + 0x48]
call fcn.004ccc0d
test eax, eax
jne 0x464d73
push edi
push str.aEynE_mZgW.UF
call fcn.004cf702
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00531180
add esp, 0x10
test eax, eax
jne 0x464e2f
xor edi, edi
push edi
push str.4__3__C2F
call fcn.004cf702
push edi
push edi
mov esi, eax
call fcn.0046b280
push eax
call fcn.004ccd7a
add esp, 0x14
test eax, eax
je 0x46505e
call fcn.004935a3
test eax, eax
jne 0x46505e
call fcn.00418463
test eax, eax
jne 0x46505e
lea eax, [esp + 0x48]
push str.Let_Me_Pay_It_
push eax
call fcn.00531180
test eax, eax
pop ecx
pop ecx
je 0x464f6c
lea eax, [esp + 0x48]
push str.itsmekatie_
push eax
call fcn.005318fe
test eax, eax
pop ecx
pop ecx
je 0x46507c
lea esi, [esp + 0x48]
call fcn.004cd772
movsx eax, byte [esp + 0x48]
xor edi, edi
mov dword [esp + 0x40], edi
call fcn.004cca6a
cmp eax, 0x54
jne 0x464e91
xor esi, esi
inc esi
mov edx, esi
lea ecx, [esp + 0x48]
call fcn.004cd823
mov dword [esp + 0x40], esi
push 0x55688c
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x4c]
call fcn.004ce974
pop ecx
lea eax, [esp + 0x20]
push eax
lea esi, [esp + 0x4c]
call fcn.0043e8dc
test eax, eax
pop ecx
je 0x465b69
cmp dword [esp + 0x20], edi
jle 0x465b69
or dword [esp + 0x14], 0xffffffff
xor ecx, ecx
cmp dword [ebx], edi
jle 0x464ee9
mov edx, dword [ebx]
lea eax, [ebx + 4]
mov esi, dword [esp + 0x20]
cmp dword [eax], esi
jne 0x464ee1
mov dword [esp + 0x14], ecx
inc ecx
add eax, 4
cmp ecx, edx
jl 0x464ed5
cmp dword [ebp + 0xc], edi
je 0x464ef9
cmp dword [esp + 0x14], 0xffffffff
je 0x46527d
cmp dword [esp + 0x14], 0xffffffff
jne 0x4652a9
push dword [esp + 0x20]
push str._n_nYou_entered_employee__d.
call fcn.0041679b
push str._nThis_employee_number_is_not_on_file.
call fcn.0041679b
add esp, 0xc
push str._nDo_you_want_to_add_this_number_to_PAULA___Y_N_
call fcn.0041679b
pop ecx
push edi
call fcn.0043d1a6
test eax, eax
pop ecx
je 0x464f49
push dword [esp + 0x20]
mov esi, ebx
call fcn.00466761
test eax, eax
pop ecx
jge 0x46529e
mov esi, dword [ebp + 0xc]
call fcn.004648ba
push dword [esp + 0xc]
push ebx
call fcn.004647dc
push ebx
mov eax, esi
call fcn.00464948
mov esi, dword [esp + 0x18]
jmp 0x464d6e
push 0x56adb0
call fcn.0041579e
pop ecx
call fcn.00429f84
push str._n_nMake_another_payment___Y_N_
call fcn.0043d1a6
test eax, eax
pop ecx
jne 0x464f6c
push 4
call fcn.00460dbe
cmp dword [ebp + 0xc], edi
je 0x464fd3
push str._n_nExiting...
call fcn.0041679b
pop ecx
push 7
pop esi
push 0x11d
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x551adc
call fcn.0041679b
dec esi
pop ecx
jne 0x464fa5
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x464fcb
call fcn.004d0600
or eax, 0xffffffff
jmp 0x465bda
cmp esi, edi
je 0x464fde
mov eax, esi
call fcn.004d0600
push edi
jmp 0x465bd2
push ebx
call fcn.004e3948
test eax, eax
pop ecx
je 0x465038
mov ecx, ebx
call fcn.00452959
mov eax, dword [ebx + 0xce4]
cmp eax, 2
jl 0x46501a
cmp dword [ebx + 0x2198], edi
jne 0x465015
push str.You_have_defined_multiple_shared_tills._nIf_you_would_like_employees__by_default__to_be_prompted_nto_select_one_of_these_tills__press_F7_after_closing_this_popup_nto_go_back_to_the_default_till_base_entry_home_screen._nThen__enter__ASK__for_the_default_till_base_amount._nYou_may_also_assign_a_till_to_an_individual_employee_nby_entering_their_employee_number_here._n_nPress_any_key_to_continue...
push str.___ASK__Option__
jmp 0x46502c
cmp eax, 2
jge 0x465038
cmp dword [ebx + 0x2198], edi
je 0x465038
push str._Warning__nThe__ASK__option_is_enabled_as_the_default_till_base._nThis_causes_employees_to_be_prompted_to_select_a_till_number._nYou_will_probably_not_want_this_enabled_now_since_you_dont_nhave_enough_shared_tills_defined.__To_disable_the_default_n_ASK__option__press_F7_after_closing_this_popup_nto_go_back_to_the_default_till_base_entry_home_screen._nThen__enter_a_default_till_base_amount_at_the_prompt._n_nPress_any_key_to_continue...
push str.__Disable_the__ASK__Option__
push edi
push edi
push edi
push edi
call fcn.0043dc3e
add esp, 0x18
cmp esi, edi
je 0x465bcf
mov eax, esi
jmp 0x465bca
cmp esi, edi
je 0x465052
mov eax, esi
call fcn.004d0600
mov ecx, ebx
call fcn.0044e72c
jmp 0x464fcb
push 1
call fcn.004fcb20
add esp, 4
call fcn.004fd014
push 0
call fcn.004fcb20
add esp, 4
jmp 0x464f8b
mov esi, 0xff
xor edi, edi
push esi
lea eax, [esp + 0x36d]
push edi
push eax
mov dword [esp + 0x1c], edi
mov byte [esp + 0x374], 0
call fcn.005306b0
add esp, 0xc
push esi
lea eax, [esp + 0x26d]
push edi
push eax
mov byte [esp + 0x274], 0
call fcn.005306b0
add esp, 0xc
push esi
lea eax, [esp + 0x16d]
push edi
push eax
mov dword [esp + 0x34], edi
mov byte [esp + 0x174], 0
call fcn.005306b0
add esp, 0xc
push str._n_nEnter_Admin_Windows_Logon:
call fcn.0041679b
mov dword [esp], str._n__Press__ESC__to_Cancel_
call fcn.0041679b
mov dword [esp], str._nUser_Name:
call fcn.0041679b
pop ecx
push 0x20
push esi
lea eax, [esp + 0x370]
call fcn.0043cb02
test eax, eax
pop ecx
pop ecx
je 0x465bcf
push str._nPassword:
call fcn.0041679b
pop ecx
push 0x20
mov ebx, esi
lea edi, [esp + 0x26c]
call fcn.0043cd6f
test eax, eax
pop ecx
jne 0x465141
push dword [ebp + 0xc]
push dword [esp + 0x28]
jmp 0x465bd3
push str._n_nShould_this_be_used_on_all_PAULA_terminals___Y_N_
call fcn.0043d1a6
pop ecx
push eax
lea eax, [esp + 0x26c]
push eax
lea eax, [esp + 0x370]
push eax
push dword [esp + 0x30]
call fcn.0045a69c
lea eax, [esp + 0x278]
push eax
lea ecx, [esp + 0x37c]
call fcn.0045ad47
add esp, 0x14
lea eax, [esp + 0x168]
call fcn.004ccb8b
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x16c]
push eax
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea eax, [esp + 0x10]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x465258
call fcn.00417546
test eax, eax
je 0x465258
mov esi, str.SeTcbPrivilege
lea eax, [esp + 0x168]
push esi
push eax
call fcn.0041819f
push esi
push dword [esp + 0x1c]
call fcn.00418340
mov esi, str.SeIncreaseQuotaPrivilege
lea eax, [esp + 0x178]
push esi
push eax
call fcn.0041819f
push esi
push dword [esp + 0x2c]
call fcn.00418340
mov esi, str.SeAssignPrimaryTokenPrivilege
lea eax, [esp + 0x188]
push esi
push eax
call fcn.0041819f
push esi
push dword [esp + 0x3c]
call fcn.00418340
mov esi, str.SeCreateTokenPrivilege
lea eax, [esp + 0x198]
push esi
push eax
call fcn.0041819f
push esi
push dword [esp + 0x4c]
call fcn.00418340
add esp, 0x40
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
push str._nThe_logon_was_successful._n_nPress_any_key_to_continue...
push str.__Admin_Logon_Succeeded__
xor eax, eax
push eax
push eax
push 1
jmp 0x465267
push str._nLogon_failed._n_nPress_any_key_to_continue_anyway...
push str.__Could_Not_Logon__
xor eax, eax
push eax
push eax
push eax
push eax
call fcn.0043dc3e
add esp, 0x18
push 1
call fcn.004c741f
pop ecx
jmp 0x464f8b
push str._n_nThe_employee_entered_has_not_been_defined_
call fcn.0041679b
mov dword [esp], str._nPress_any_key...
call fcn.0041679b
pop ecx
mov eax, 0x2710
call fcn.0043ce01
mov eax, dword [esp + 0xc]
cmp eax, edi
jmp 0x465bc8
push 0x55688c
lea eax, [esp + 0x2c]
xor ecx, ecx
mov dword [ebx + 0x2138], edi
mov dword [esp + 0x30], edi
mov dword [ebx + 0x2134], edi
mov dword [esp + 0x28], edi
mov dword [ebx + 0x2148], edi
mov dword [esp + 0x38], edi
mov dword [ebx + 0xce0], edi
mov dword [ebx + 0x213c], edi
mov dword [esp + 0x40], edi
mov dword [ebx + 0x2140], edi
mov dword [esp + 0x1c], edi
mov dword [ebx + 0x2144], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x14], edi
mov dword [0x610934], edi
call fcn.004ce974
mov esi, eax
cmp esi, edi
pop ecx
je 0x4655d2
push esi
call fcn.005317e2
xor edi, edi
cmp eax, edi
pop ecx
mov dword [esp + 0x1c], eax
je 0x4654a7
cmp dword [ebx + 0x2124], edi
jne 0x4654a7
or dword [esp + 0x44], 0xffffffff
xor ecx, ecx
cmp dword [ebx], edi
jle 0x465359
mov edx, dword [ebx]
lea eax, [ebx + 4]
mov esi, dword [esp + 0x1c]
cmp dword [eax], esi
jne 0x465351
mov dword [esp + 0x44], ecx
inc ecx
add eax, 4
cmp ecx, edx
jl 0x465345
cmp dword [ebp + 0xc], edi
jne 0x46563b
cmp dword [esp + 0x30], edi
jne 0x4653ec
cmp dword [esp + 0x1c], edi
jle 0x4653ec
push str._n_nMULTI_ENTRY:
mov dword [esp + 0x34], 1
call fcn.0041679b
mov eax, dword [esp + 0x18]
pop ecx
push dword [ebx + eax*4 + 4]
lea esi, [ebx + eax*4 + 0x198]
push dword [esi]
push str.Are_you__s__emp_d___Y_N_
call fcn.0043d1a6
add esp, 0xc
test eax, eax
jne 0x4653ec
push dword [esi]
push str._nAre_you_counting__ss_till___Y_N_
call fcn.0043d1a6
test eax, eax
pop ecx
pop ecx
je 0x46565c
push dword [esi]
push str._n_nAlright__since_you_are_counting__ss_till_
call fcn.0041679b
push dword [esi]
push str._nIm_going_to_pretend_that_your_are__s.
call fcn.0041679b
push str._nPress_any_key_to_begin...
call fcn.0041679b
add esp, 0x14
mov eax, 0x493e0
call fcn.0043ce01
cmp dword [esp + 0x1c], edi
mov dword [esp + 0x34], 1
jle 0x465436
cmp dword [esp + 0x10], edi
jne 0x46543c
mov edx, dword [ebx + 0x23b0]
xor eax, eax
cmp edx, edi
jle 0x46542a
lea ecx, [ebx + 0x23b4]
mov esi, dword [ecx]
neg esi
cmp dword [esp + 0x1c], esi
je 0x465428
inc eax
add ecx, 4
cmp eax, dword [ebx + 0x23b0]
jl 0x465412
xor edi, edi
cmp eax, edx
jl 0x465450
mov dword [esp + 0x10], 1
cmp dword [esp + 0x10], edi
je 0x465450
cmp dword [esp + 0x2c], edi
jne 0x46569a
cmp dword [esp + 0x24], edi
jne 0x4656b8
cmp dword [esp + 0x44], 0xffffffff
jne 0x46548b
cmp dword [esp + 0x1c], edi
jle 0x46548b
push dword [esp + 0x1c]
push str._n_nThe_employee_number__d_has_not_been_defined.
call fcn.0041679b
push str._nI_will_still_search_invoices_for_this_employee__if_you_continue.
call fcn.0041679b
add esp, 0xc
push str._nContinue_anyway___Y_N_
call fcn.0043d1a6
test eax, eax
pop ecx
je 0x465689
mov ecx, dword [0x610934]
mov eax, dword [esp + 0x1c]
inc dword [0x610934]
mov dword [ecx*4 + 0x610938], eax
jmp 0x4655b5
push 0x589240
push esi
call fcn.005318fe
test eax, eax
pop ecx
pop ecx
jne 0x4654f5
cmp dword [esp + 0x24], edi
mov dword [esp + 0x2c], 1
jne 0x4656bf
cmp dword [esp + 0x10], edi
je 0x4655b5
push 0x589158
push str._n_nYou_may_not_specify_multiple_employee_numbers_with_the___s__keyword.
call fcn.0041679b
push str._nPress_any_key_to_re_enter...
call fcn.0041679b
add esp, 0xc
jmp 0x465652
push str.dispatch
push esi
call fcn.005318fe
test eax, eax
pop ecx
pop ecx
je 0x4655ad
push str.dispach
push esi
call fcn.005318fe
test eax, eax
pop ecx
pop ecx
je 0x4655ad
push str.dispache
push esi
call fcn.005318fe
test eax, eax
pop ecx
pop ecx
je 0x4655ad
push str.dispatche
push esi
call fcn.005318fe
test eax, eax
pop ecx
pop ecx
je 0x4655ad
lea edi, [esp + 0x38]
mov ecx, esi
call fcn.00465bef
test eax, eax
je 0x46555a
mov dword [esp + 0x18], 1
jmp 0x4655b5
push str.range
push esi
call fcn.005318fe
test eax, eax
pop ecx
pop ecx
jne 0x465701
cmp dword [esp + 0x2c], eax
mov dword [esp + 0x24], 1
jne 0x4656d5
cmp dword [esp + 0x10], eax
je 0x4655b5
push str.RANGE
push str._n_nYou_may_not_specify_multiple_employee_numbers_with_the___s__keyword.
call fcn.0041679b
push str._nPress_any_key_to_re_enter...
call fcn.0041679b
add esp, 0xc
mov eax, 0xea60
jmp 0x465bbd
mov dword [esp + 0x3c], 1
push 0x55688c
lea eax, [esp + 0x2c]
xor ecx, ecx
call fcn.004ce974
mov esi, eax
test esi, esi
pop ecx
jne 0x465314
xor edi, edi
cmp dword [esp + 0xc], edi
je 0x4655e5
mov eax, dword [esp + 0xc]
call fcn.004d0600
mov dword [esp + 0xc], edi
cmp dword [esp + 0x18], edi
je 0x46576b
cmp dword [0x610934], edi
jle 0x46576b
push str._n_nMultiple_employee_numbers_are_NOT_allowed_with_the__Cash_Box__option.
call fcn.0041679b
mov dword [esp], str._nPlease_try_again_entering_only_your_employee_number.
call fcn.0041679b
mov dword [esp], str._nPress_any_key_to_re_enter...
call fcn.0041679b
pop ecx
mov eax, 0xea60
call fcn.0043ce01
cmp dword [esp + 0xc], edi
je 0x465bcf
mov eax, dword [esp + 0xc]
jmp 0x465bca
push str._n_nMultiple_employees_cannot_be_entered_at_this_menu.
call fcn.0041679b
mov dword [esp], str._nPress_any_key_to_re_enter...
call fcn.0041679b
pop ecx
mov eax, 0xea60
jmp 0x465299
push str._n_nThe_FIRST_employee_number_you_enter_in_a_list_must_be_your_own.
call fcn.0041679b
mov dword [esp], str._nPlease_re_enter_the_employee_number_list_with_YOUR_emp__first.
call fcn.0041679b
mov dword [esp], str._nPress_any_key_to_re_enter...
call fcn.0041679b
pop ecx
mov eax, 0xea60
call fcn.0043ce01
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x464fde
jmp 0x464fd9
push 0x589158
push str._n_nYou_may_not_specify_multiple_employee_numbers_with_the___s__keyword.
call fcn.0041679b
push str._nPress_any_key_to_re_enter...
call fcn.0041679b
add esp, 0xc
jmp 0x46567f
push str.RANGE
jmp 0x46569f
push str._n_nThe__all__option_does_not_need_to_be_combined_with_the__range__option.
call fcn.0041679b
mov dword [esp], str._nChoose_one_or_the_other.
jmp 0x465640
push str._n_nThe__RANGE__option_should_not_be_combined_with_the__ALL__option.
call fcn.0041679b
mov dword [esp], str._nChoose_one_or_the_other.
call fcn.0041679b
mov dword [esp], str._nPress_any_key_to_re_enter...
call fcn.0041679b
mov eax, 0xea60
jmp 0x465bbc
cmp dword [ebx + 0x2124], 0
je 0x465735
push str._n_nMultiple_employee_numbers_cannot_be_entered_when
call fcn.0041679b
mov dword [esp], str._nthe__Salesman_Alternative__option_is_enabled.
call fcn.0041679b
mov dword [esp], str._nEnter_your_employee_number__after_which__you_will_be_asked_to
call fcn.0041679b
mov dword [esp], str._nenter_the_salesman_number_that_corresponds_to_your_till_number.
jmp 0x46575e
push str._n_nThe_multiple_employee_number_selection_you_entered_is_invalid_
call fcn.0041679b
mov dword [esp], str._nMultiple_employees_must_be_separated_with_a_comma.
call fcn.0041679b
mov dword [esp], str._nBe_sure_to_enter_YOUR_employee_number_first.
call fcn.0041679b
mov dword [esp], str._nExample:_77__12__24
call fcn.0041679b
pop ecx
push str._nPress_any_key_to_re_enter...
jmp 0x4656f2
cmp dword [ebp + 0xc], edi
jne 0x46578a
mov eax, dword [esp + 0x14]
cmp eax, edi
jl 0x465784
mov eax, dword [ebx + eax*4 + 4]
mov dword [ebx + 0xcdc], eax
jmp 0x46578a
mov dword [ebx + 0xcdc], edi
cmp dword [esp + 0x2c], edi
jne 0x465926
cmp dword [esp + 0x24], edi
jne 0x465926
cmp dword [esp + 0x18], edi
jne 0x465926
cmp dword [ebp + 0xc], edi
jne 0x465b07
cmp dword [ebx + 0x2124], edi
je 0x465863
push str._n_nNow_I_need_the_salesman_number_associated_with_the_till_you_are_counting.
call fcn.0041679b
mov dword [esp], str._nYour_till_number_may_be_the_same_as_your_employee_number.
call fcn.0041679b
mov dword [esp], str._nIn_this_case__simply_enter_your_employee_number_again.
call fcn.0041679b
mov dword [esp], str._nPress__ESC__to_cancel.
call fcn.0041679b
mov dword [esp], str._nEnter_your_TILL_:
jmp 0x465832
lea edx, [esp + 0x48]
call fcn.004ccc0d
test eax, eax
jne 0x465838
lea esi, [esp + 0x48]
call fcn.004cd772
lea eax, [esp + 0x20]
push eax
call fcn.0043e8dc
test eax, eax
pop ecx
je 0x465821
mov eax, dword [esp + 0x20]
cmp eax, edi
jg 0x465858
push str._nINVALID_INPUT_
call fcn.0041679b
mov dword [esp], str._n_nEnter_your_TILL_:
call fcn.0041679b
pop ecx
lea eax, [esp + 0x48]
call fcn.004ccb8b
push 0x20
push 0xff
call fcn.0043cb02
test eax, eax
pop ecx
pop ecx
jne 0x4657f4
jmp 0x465689
mov dword [ebx + 0xce0], eax
jmp 0x46592f
cmp dword [ebx + 0x2120], edi
je 0x46592f
push str._n_nNow_I_need_the_number_you_use_for_taking_returns.
call fcn.0041679b
mov dword [esp], str._nIf_you_do_not_have_a_return_number__enter_zero.
call fcn.0041679b
mov dword [esp], str._nPress__ESC__to_cancel.
call fcn.0041679b
mov dword [esp], str._nEnter_your_RETURN_emp_:
jmp 0x4658eb
lea edx, [esp + 0x48]
call fcn.004ccc0d
test eax, eax
jne 0x4658f1
lea esi, [esp + 0x48]
call fcn.004cd772
mov eax, esi
push str.zero
push eax
call fcn.005318fe
test eax, eax
pop ecx
pop ecx
je 0x46592f
lea eax, [esp + 0x20]
push eax
call fcn.0043e8dc
test eax, eax
pop ecx
je 0x4658da
mov eax, dword [esp + 0x20]
cmp eax, edi
jge 0x465911
push str._nINVALID_INPUT_
call fcn.0041679b
mov dword [esp], str._n_nEnter_your_RETURN_emp_:
call fcn.0041679b
pop ecx
lea eax, [esp + 0x48]
call fcn.004ccb8b
push 0x20
push 0xff
call fcn.0043cb02
test eax, eax
pop ecx
pop ecx
jne 0x46589a
jmp 0x465689
je 0x46592f
mov ecx, dword [0x610934]
inc dword [0x610934]
mov dword [ecx*4 + 0x610938], eax
cmp dword [ebp + 0xc], edi
jne 0x465b07
mov eax, dword [esp + 0x14]
cmp eax, edi
jl 0x465b07
cmp dword [esp + 0x18], edi
jne 0x465b07
cmp dword [esp + 0x40], edi
jne 0x46596d
cmp dword [ebx + eax*4 + 0x9b4], edi
jl 0x46596d
cmp dword [ebx + 0x2198], edi
je 0x465b07
cmp dword [ebx + eax*4 + 0x820], edi
jne 0x465b07
and dword [esp + 0x10], 0
push 7
mov byte [esp + 0x14c], 0
xor eax, eax
pop ecx
lea edi, [esp + 0x149]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x14]
push 0
mov ecx, ebx
call fcn.00464231
push eax
push 0
push ebx
call fcn.004e34ed
mov esi, eax
push esi
mov eax, ebx
call fcn.0044f0c3
add esp, 0x14
test eax, eax
jne 0x465ad6
test esi, esi
jle 0x465a4a
push esi
push str._n_nTill__d_has_not_been_defined_
call fcn.0041679b
push esi
push str._nWould_you_like_to_temporarily_define_till__d_for_this_session___Y_N_
call fcn.0043d1a6
add esp, 0x10
test eax, eax
je 0x46598b
push str._n_nHow_much_cash_did_this_till_start_with_
call fcn.0041679b
mov dword [esp], str._n_Press__ESC__to_cancel_
call fcn.0041679b
pop ecx
push str._nEnter_the_till_base_amount:__
call fcn.0041679b
pop ecx
push 0x20
push 7
lea eax, [esp + 0x150]
call fcn.0043cb02
test eax, eax
pop ecx
pop ecx
je 0x465ac2
lea eax, [esp + 0x148]
call fcn.00468788
test eax, eax
mov dword [esp + 0x10], eax
jle 0x4659f2
lea ecx, [ebx + 0xce4]
mov edx, dword [ecx]
mov dword [ebx + edx*8 + 0xce8], esi
mov edx, dword [ecx]
mov dword [ebx + edx*8 + 0xcec], eax
inc dword [ecx]
jmp 0x465ae3
jne 0x465ae3
mov eax, dword [esp + 0x14]
mov esi, ebx
call fcn.00464321
mov edi, eax
mov eax, dword [esp + 0x14]
call fcn.0046437e
xor esi, esi
cmp edi, esi
je 0x465a7c
cmp dword [edi + 0x724], esi
je 0x465a7c
cmp dword [edi + 0xbc], esi
je 0x465a90
cmp eax, esi
je 0x465a94
cmp dword [eax + 0x724], esi
je 0x465a94
cmp dword [eax + 0xbc], esi
jne 0x465a94
xor eax, eax
jmp 0x465a97
xor eax, eax
inc eax
xor ecx, ecx
cmp eax, esi
push str.By_entering_Till_0__you_are_indicating_that_you_ndo_NOT_have_a_cash_drawer._n_nIs_this_correct___Y_N__n_nYes___No
sete cl
push str.__No_Cash_Drawer___
push esi
push ecx
push 1
call fcn.0043d613
add esp, 0x14
test eax, eax
je 0x46598b
and dword [esp + 0x10], esi
jmp 0x465ae3
mov eax, dword [esp + 0xc]
test eax, eax
je 0x465acf
call fcn.004d0600
push 0
jmp 0x465bd2
push esi
mov eax, ebx
call fcn.0044f08c
pop ecx
mov dword [esp + 0x10], eax
test esi, esi
jl 0x465ac2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
and dword [ebx + eax*4 + 0x820], 0
mov dword [ebx + eax*4 + 0x9b4], esi
mov dword [ebx + eax*4 + 0x68c], ecx
xor edi, edi
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x2138], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x2134], eax
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0x213c], eax
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x2140], eax
mov eax, dword [esp + 0x38]
cmp eax, 2
mov dword [ebx + 0x2144], eax
jge 0x465b4d
mov eax, dword [ebx + eax*4 + 0x6cc54]
mov dword [ebx + 0x688], eax
jmp 0x465b53
mov dword [ebx + 0x688], edi
cmp dword [esp + 0x34], edi
je 0x465b63
mov dword [ebx + 0x2148], 1
mov eax, dword [esp + 0x14]
jmp 0x465bda
xor edi, edi
lea ecx, [esp + 0x48]
call fcn.00465bef
test eax, eax
je 0x465ba1
push str._n_nYou_must_provide_your_employee_number_when_using_the_Cash_Box_option_
call fcn.0041679b
mov dword [esp], str._nFor_example__you_may_enter__22__cashbox__if_you_are_emp_22.
call fcn.0041679b
mov dword [esp], str._nPress_any_key_to_try_again...
call fcn.0041679b
mov eax, 0x7530
jmp 0x465bbc
push str._n_nINVALID_INPUT_
call fcn.0041679b
mov dword [esp], str._nPress_any_key...
call fcn.0041679b
mov eax, 0x1388
pop ecx
call fcn.0043ce01
mov eax, dword [esp + 0xc]
test eax, eax
je 0x465bcf
call fcn.004d0600
push dword [ebp + 0xc]
push ebx
call fcn.00464aaf
pop ecx
pop ecx
mov ecx, dword [esp + 0x46c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005317e7
mov esp, ebp
pop ebp
ret