Function at 0x45c2d3
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x464
mov eax, dword [0x5c4e68]
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.005117f0
add esp, 0xc
push 1
push 7
mov dword [esp + 0x30], esi
call fcn.0041534a
push str._n_nAccessing_server...
call fcn.00414d11
add esp, 0xc
push 0x4512
mov edi, str..MainPAULA.c
push edi
push 2
call fcn.00469252
add esp, 0xc
push esi
push 0xffffffffffffffff
call fcn.0041534a
mov esi, dword [ebp + 0xc]
pop ecx
pop ecx
call fcn.0045c0de
xor esi, esi
cmp dword [ebx], esi
mov dword [esp + 0x1c], esi
jle 0x45c396
lea eax, [ebx + 0x198]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
push dword [eax]
call fcn.005120b0
cmp eax, dword [esp + 0x20]
pop ecx
jle 0x45c38c
mov eax, dword [esp + 0x14]
push dword [eax]
call fcn.005120b0
pop ecx
mov dword [esp + 0x1c], eax
add dword [esp + 0x14], 4
inc esi
cmp esi, dword [ebx]
jl 0x45c36a
xor esi, esi
cmp dword [ebx], esi
mov dword [esp + 0x10], 1
jle 0x45c40b
mov edx, dword [ebx]
lea ecx, [ebx + 4]
mov eax, dword [ecx]
cmp eax, 0x2710
jl 0x45c3c3
cmp dword [esp + 0x10], 5
jge 0x45c405
mov dword [esp + 0x10], 5
jmp 0x45c405
cmp eax, 0x3e8
jl 0x45c3db
cmp dword [esp + 0x10], 4
jge 0x45c405
mov dword [esp + 0x10], 4
jmp 0x45c405
cmp eax, 0x64
jl 0x45c3f1
cmp dword [esp + 0x10], 3
jge 0x45c405
mov dword [esp + 0x10], 3
jmp 0x45c405
cmp eax, 0xa
jl 0x45c405
cmp dword [esp + 0x10], 2
jge 0x45c405
mov dword [esp + 0x10], 2
add ecx, 4
dec edx
jne 0x45c3a9
push 0x4531
mov ecx, edi
call fcn.004c7204
cmp dword [ebx], esi
pop ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], esi
jle 0x45c577
lea eax, [ebx + 4]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 0x194]
push esi
mov ecx, 0x100
lea eax, [esp + 0x4c]
call fcn.004c3b66
pop ecx
push esi
call fcn.005120b0
mov edi, dword [esp + 0x20]
sub edi, eax
jmp 0x45c46b
push 0x5320c4
mov eax, 0x100
lea esi, [esp + 0x4c]
call fcn.004c3c36
dec edi
pop ecx
jns 0x45c457
cmp dword [esp + 0x1c], 0x11
jge 0x45c47c
push 0x5435fc
jmp 0x45c483
jne 0x45c492
push 0x5320c4
mov eax, 0x100
lea esi, [esp + 0x4c]
call fcn.004c3c36
pop ecx
mov eax, dword [esp + 0x10]
dec eax
dec eax
lea edi, [esp + 0x48]
je 0x45c4d7
dec eax
je 0x45c4ca
dec eax
je 0x45c4bd
dec eax
mov eax, dword [esp + 0x18]
je 0x45c4b4
push dword [eax]
push 0x537364
jmp 0x45c4e2
push dword [eax]
push str._5d
jmp 0x45c4e2
mov eax, dword [esp + 0x18]
push dword [eax]
push str._4d
jmp 0x45c4e2
mov eax, dword [esp + 0x18]
push dword [eax]
push str._3d
jmp 0x45c4e2
mov eax, dword [esp + 0x18]
push dword [eax]
push 0x565a1c
mov eax, 0x100
call fcn.004c5375
cmp dword [ebp + 0xc], 2
pop ecx
pop ecx
jne 0x45c54f
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x688]
test ecx, ecx
jne 0x45c517
push str.__ZERO_
mov eax, 0x100
lea edi, [esp + 0x4c]
call fcn.004c5375
jmp 0x45c54e
mov eax, dword [eax + 0x9b0]
test eax, eax
jge 0x45c528
push str.__ASK_
jmp 0x45c507
jle 0x45c532
push eax
push str.__TIL_d_
jmp 0x45c53f
push ecx
call fcn.0045ff00
pop ecx
push eax
push 0x565a58
mov eax, 0x100
lea edi, [esp + 0x50]
call fcn.004c5375
pop ecx
pop ecx
push 0
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x14]
call fcn.004c75fc
add dword [esp + 0x24], 4
add esp, 0xc
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, dword [ebx]
jl 0x45c42f
mov esi, dword [esp + 0xc]
mov eax, esi
call fcn.004c901f
push esi
push ebx
call fcn.0045c000
mov eax, dword [ebp + 0xc]
push ebx
call fcn.0045c16c
add esp, 0xc
xor edi, edi
cmp dword [ebp + 0xc], 2
mov dword [esp + 0x14], 0x44
je 0x45c5a9
mov dword [esp + 0x14], edi
lea eax, [esp + 0x48]
call fcn.004c3ab2
lea eax, [esp + 0x14]
push eax
push 0x20
push 0xff
lea eax, [esp + 0x54]
call fcn.00434fe7
add esp, 0xc
test eax, eax
je 0x45c7b6
cmp dword [esp + 0x14], 3
je 0x45c808
cmp dword [esp + 0x14], 7
je 0x45c86b
lea edx, [esp + 0x48]
call fcn.004c3b34
test eax, eax
jne 0x45c597
push edi
push str.aEynE_mZgW.UF
call fcn.004c6598
push eax
lea eax, [esp + 0x54]
push eax
call fcn.005122c0
add esp, 0x10
test eax, eax
jne 0x45c653
xor edi, edi
push edi
push str.4__3__C2F
call fcn.004c6598
push edi
push edi
mov esi, eax
call fcn.0046290f
push eax
call fcn.004c3ca1
add esp, 0x14
test eax, eax
je 0x45c882
call fcn.0048a53c
test eax, eax
jne 0x45c882
call fcn.00415b45
test eax, eax
jne 0x45c882
lea eax, [esp + 0x48]
push str.Let_Me_Pay_It_
push eax
call fcn.005122c0
test eax, eax
pop ecx
pop ecx
je 0x45c790
lea eax, [esp + 0x48]
push str.itsmekatie_
push eax
call fcn.00512a33
test eax, eax
pop ecx
pop ecx
je 0x45c8a0
lea esi, [esp + 0x48]
call fcn.004c4699
movsx eax, byte [esp + 0x48]
xor edi, edi
mov dword [esp + 0x40], edi
call fcn.004c39b2
cmp eax, 0x54
jne 0x45c6b5
xor esi, esi
inc esi
mov edx, esi
lea ecx, [esp + 0x48]
call fcn.004c474a
mov dword [esp + 0x40], esi
push 0x536a2c
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x4c]
call fcn.004c5846
pop ecx
lea eax, [esp + 0x20]
push eax
lea esi, [esp + 0x4c]
call fcn.00436dae
test eax, eax
pop ecx
je 0x45d305
cmp dword [esp + 0x20], edi
jle 0x45d305
or dword [esp + 0x10], 0xffffffff
xor ecx, ecx
cmp dword [ebx], edi
jle 0x45c70d
mov edx, dword [ebx]
lea eax, [ebx + 4]
mov esi, dword [esp + 0x20]
cmp dword [eax], esi
jne 0x45c705
mov dword [esp + 0x10], ecx
inc ecx
add eax, 4
cmp ecx, edx
jl 0x45c6f9
cmp dword [ebp + 0xc], edi
je 0x45c71d
cmp dword [esp + 0x10], 0xffffffff
je 0x45ca19
cmp dword [esp + 0x10], 0xffffffff
jne 0x45ca45
push dword [esp + 0x20]
push str._n_nYou_entered_employee__d.
call fcn.004147da
push str._nThis_employee_number_is_not_on_file.
call fcn.004147da
add esp, 0xc
push str._nDo_you_want_to_add_this_number_to_PAULA___Y_N_
call fcn.004147da
pop ecx
push edi
call fcn.00435678
test eax, eax
pop ecx
je 0x45c76d
push dword [esp + 0x20]
mov esi, ebx
call fcn.0045defd
test eax, eax
pop ecx
jge 0x45ca3a
mov esi, dword [ebp + 0xc]
call fcn.0045c0de
push dword [esp + 0xc]
push ebx
call fcn.0045c000
push ebx
mov eax, esi
call fcn.0045c16c
mov esi, dword [esp + 0x18]
jmp 0x45c592
push 0x5484f8
call fcn.004137dd
pop ecx
call fcn.00424e59
push str._n_nMake_another_payment___Y_N_
call fcn.00435678
test eax, eax
pop ecx
jne 0x45c790
push 4
call fcn.00458887
cmp dword [ebp + 0xc], edi
je 0x45c7f7
push str._n_nExiting...
call fcn.004147da
pop ecx
push 7
pop esi
push 0x11d
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x5320c4
call fcn.004147da
dec esi
pop ecx
jne 0x45c7c9
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x45c7ef
call fcn.004c7340
or eax, 0xffffffff
jmp 0x45d376
cmp esi, edi
je 0x45c802
mov eax, esi
call fcn.004c7340
push edi
jmp 0x45d36e
push ebx
call fcn.004da6c8
test eax, eax
pop ecx
je 0x45c85c
mov ecx, ebx
call fcn.0044ab02
mov eax, dword [ebx + 0xce4]
cmp eax, 2
jl 0x45c83e
cmp dword [ebx + 0x2198], edi
jne 0x45c839
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 0x45c850
cmp eax, 2
jge 0x45c85c
cmp dword [ebx + 0x2198], edi
je 0x45c85c
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.00436110
add esp, 0x18
cmp esi, edi
je 0x45d36b
mov eax, esi
jmp 0x45d366
cmp esi, edi
je 0x45c876
mov eax, esi
call fcn.004c7340
mov ecx, ebx
call fcn.004468d5
jmp 0x45c7ef
push 1
call fcn.004f38fa
add esp, 4
call fcn.004f3dee
push 0
call fcn.004f38fa
add esp, 4
jmp 0x45c7af
mov esi, 0xff
xor edi, edi
push esi
lea eax, [esp + 0x16d]
push edi
push eax
mov dword [esp + 0x3c], edi
mov byte [esp + 0x174], 0
call fcn.005117f0
add esp, 0xc
push esi
lea eax, [esp + 0x26d]
push edi
push eax
mov byte [esp + 0x274], 0
call fcn.005117f0
add esp, 0xc
push esi
lea eax, [esp + 0x36d]
push edi
push eax
mov dword [esp + 0x34], edi
mov byte [esp + 0x374], 0
call fcn.005117f0
add esp, 0xc
push str._n_nEnter_Admin_Windows_Logon:
call fcn.004147da
mov dword [esp], str._n__Press__ESC__to_Cancel_
call fcn.004147da
mov dword [esp], str._nUser_Name:
call fcn.004147da
pop ecx
push 0x20
push esi
lea eax, [esp + 0x170]
call fcn.00434fd4
test eax, eax
pop ecx
pop ecx
je 0x45d36b
push str._nPassword:
call fcn.004147da
pop ecx
push 0x20
mov ebx, esi
lea edi, [esp + 0x26c]
call fcn.00435241
test eax, eax
pop ecx
jne 0x45c965
push dword [ebp + 0xc]
push dword [esp + 0x28]
jmp 0x45d36f
push str._n_nShould_this_be_used_on_all_PAULA_terminals___Y_N_
call fcn.00435678
pop ecx
push eax
lea eax, [esp + 0x26c]
push eax
lea eax, [esp + 0x170]
push eax
push dword [esp + 0x30]
call fcn.00452845
lea eax, [esp + 0x278]
push eax
lea ecx, [esp + 0x17c]
call fcn.00452ef0
add esp, 0x14
lea eax, [esp + 0x368]
call fcn.004c3ab2
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x36c]
push eax
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea eax, [esp + 0x30]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x45c9f4
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 0x45ca03
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.00436110
add esp, 0x18
push 1
call fcn.004be369
pop ecx
jmp 0x45c7af
push str._n_nThe_employee_entered_has_not_been_defined_
call fcn.004147da
mov dword [esp], str._nPress_any_key...
call fcn.004147da
pop ecx
mov eax, 0x2710
call fcn.004352d3
mov eax, dword [esp + 0xc]
cmp eax, edi
jmp 0x45d364
push 0x536a2c
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 + 0x34], edi
mov dword [ebx + 0xce0], edi
mov dword [ebx + 0x213c], edi
mov dword [esp + 0x40], edi
mov dword [ebx + 0x2140], edi
mov dword [esp + 0x18], edi
mov dword [ebx + 0x2144], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x20], edi
mov dword [0x5e2c60], edi
call fcn.004c5846
mov esi, eax
cmp esi, edi
pop ecx
je 0x45cd6e
push esi
call fcn.00512917
xor edi, edi
cmp eax, edi
pop ecx
mov dword [esp + 0x18], eax
je 0x45cc43
cmp dword [ebx + 0x2124], edi
jne 0x45cc43
or dword [esp + 0x44], 0xffffffff
xor ecx, ecx
cmp dword [ebx], edi
jle 0x45caf5
mov edx, dword [ebx]
lea eax, [ebx + 4]
mov esi, dword [esp + 0x18]
cmp dword [eax], esi
jne 0x45caed
mov dword [esp + 0x44], ecx
inc ecx
add eax, 4
cmp ecx, edx
jl 0x45cae1
cmp dword [ebp + 0xc], edi
jne 0x45cdd7
cmp dword [esp + 0x34], edi
jne 0x45cb88
cmp dword [esp + 0x18], edi
jle 0x45cb88
push str._n_nMULTI_ENTRY:
mov dword [esp + 0x38], 1
call fcn.004147da
mov eax, dword [esp + 0x14]
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.00435678
add esp, 0xc
test eax, eax
jne 0x45cb88
push dword [esi]
push str._nAre_you_counting__ss_till___Y_N_
call fcn.00435678
test eax, eax
pop ecx
pop ecx
je 0x45cdf8
push dword [esi]
push str._n_nAlright__since_you_are_counting__ss_till_
call fcn.004147da
push dword [esi]
push str._nIm_going_to_pretend_that_your_are__s.
call fcn.004147da
push str._nPress_any_key_to_begin...
call fcn.004147da
add esp, 0x14
mov eax, 0x493e0
call fcn.004352d3
cmp dword [esp + 0x18], edi
mov dword [esp + 0x30], 1
jle 0x45cbd2
cmp dword [esp + 0x1c], edi
jne 0x45cbd8
mov edx, dword [ebx + 0x23b0]
xor eax, eax
cmp edx, edi
jle 0x45cbc6
lea ecx, [ebx + 0x23b4]
mov esi, dword [ecx]
neg esi
cmp dword [esp + 0x18], esi
je 0x45cbc4
inc eax
add ecx, 4
cmp eax, dword [ebx + 0x23b0]
jl 0x45cbae
xor edi, edi
cmp eax, edx
jl 0x45cbec
mov dword [esp + 0x1c], 1
cmp dword [esp + 0x1c], edi
je 0x45cbec
cmp dword [esp + 0x2c], edi
jne 0x45ce36
cmp dword [esp + 0x24], edi
jne 0x45ce54
cmp dword [esp + 0x44], 0xffffffff
jne 0x45cc27
cmp dword [esp + 0x18], edi
jle 0x45cc27
push dword [esp + 0x18]
push str._n_nThe_employee_number__d_has_not_been_defined.
call fcn.004147da
push str._nI_will_still_search_invoices_for_this_employee__if_you_continue.
call fcn.004147da
add esp, 0xc
push str._nContinue_anyway___Y_N_
call fcn.00435678
test eax, eax
pop ecx
je 0x45ce25
mov ecx, dword [0x5e2c60]
mov eax, dword [esp + 0x18]
inc dword [0x5e2c60]
mov dword [ecx*4 + 0x5e28e8], eax
jmp 0x45cd51
push 0x566360
push esi
call fcn.00512a33
test eax, eax
pop ecx
pop ecx
jne 0x45cc91
cmp dword [esp + 0x24], edi
mov dword [esp + 0x2c], 1
jne 0x45ce5b
cmp dword [esp + 0x1c], edi
je 0x45cd51
push 0x566278
push str._n_nYou_may_not_specify_multiple_employee_numbers_with_the___s__keyword.
call fcn.004147da
push str._nPress_any_key_to_re_enter...
call fcn.004147da
add esp, 0xc
jmp 0x45cdee
push str.dispatch
push esi
call fcn.00512a33
test eax, eax
pop ecx
pop ecx
je 0x45cd49
push str.dispach
push esi
call fcn.00512a33
test eax, eax
pop ecx
pop ecx
je 0x45cd49
push str.dispache
push esi
call fcn.00512a33
test eax, eax
pop ecx
pop ecx
je 0x45cd49
push str.dispatche
push esi
call fcn.00512a33
test eax, eax
pop ecx
pop ecx
je 0x45cd49
lea edi, [esp + 0x38]
mov ecx, esi
call fcn.0045d38b
test eax, eax
je 0x45ccf6
mov dword [esp + 0x14], 1
jmp 0x45cd51
push str.range
push esi
call fcn.00512a33
test eax, eax
pop ecx
pop ecx
jne 0x45ce9d
cmp dword [esp + 0x2c], eax
mov dword [esp + 0x24], 1
jne 0x45ce71
cmp dword [esp + 0x1c], eax
je 0x45cd51
push str.RANGE
push str._n_nYou_may_not_specify_multiple_employee_numbers_with_the___s__keyword.
call fcn.004147da
push str._nPress_any_key_to_re_enter...
call fcn.004147da
add esp, 0xc
mov eax, 0xea60
jmp 0x45d359
mov dword [esp + 0x3c], 1
push 0x536a2c
lea eax, [esp + 0x2c]
xor ecx, ecx
call fcn.004c5846
mov esi, eax
test esi, esi
pop ecx
jne 0x45cab0
xor edi, edi
cmp dword [esp + 0xc], edi
je 0x45cd81
mov eax, dword [esp + 0xc]
call fcn.004c7340
mov dword [esp + 0xc], edi
cmp dword [esp + 0x14], edi
je 0x45cf07
cmp dword [0x5e2c60], edi
jle 0x45cf07
push str._n_nMultiple_employee_numbers_are_NOT_allowed_with_the__Cash_Box__option.
call fcn.004147da
mov dword [esp], str._nPlease_try_again_entering_only_your_employee_number.
call fcn.004147da
mov dword [esp], str._nPress_any_key_to_re_enter...
call fcn.004147da
pop ecx
mov eax, 0xea60
call fcn.004352d3
cmp dword [esp + 0xc], edi
je 0x45d36b
mov eax, dword [esp + 0xc]
jmp 0x45d366
push str._n_nMultiple_employees_cannot_be_entered_at_this_menu.
call fcn.004147da
mov dword [esp], str._nPress_any_key_to_re_enter...
call fcn.004147da
pop ecx
mov eax, 0xea60
jmp 0x45ca35
push str._n_nThe_FIRST_employee_number_you_enter_in_a_list_must_be_your_own.
call fcn.004147da
mov dword [esp], str._nPlease_re_enter_the_employee_number_list_with_YOUR_emp__first.
call fcn.004147da
mov dword [esp], str._nPress_any_key_to_re_enter...
call fcn.004147da
pop ecx
mov eax, 0xea60
call fcn.004352d3
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x45c802
jmp 0x45c7fd
push 0x566278
push str._n_nYou_may_not_specify_multiple_employee_numbers_with_the___s__keyword.
call fcn.004147da
push str._nPress_any_key_to_re_enter...
call fcn.004147da
add esp, 0xc
jmp 0x45ce1b
push str.RANGE
jmp 0x45ce3b
push str._n_nThe__all__option_does_not_need_to_be_combined_with_the__range__option.
call fcn.004147da
mov dword [esp], str._nChoose_one_or_the_other.
jmp 0x45cddc
push str._n_nThe__RANGE__option_should_not_be_combined_with_the__ALL__option.
call fcn.004147da
mov dword [esp], str._nChoose_one_or_the_other.
call fcn.004147da
mov dword [esp], str._nPress_any_key_to_re_enter...
call fcn.004147da
mov eax, 0xea60
jmp 0x45d358
cmp dword [ebx + 0x2124], 0
je 0x45ced1
push str._n_nMultiple_employee_numbers_cannot_be_entered_when
call fcn.004147da
mov dword [esp], str._nthe__Salesman_Alternative__option_is_enabled.
call fcn.004147da
mov dword [esp], str._nEnter_your_employee_number__after_which__you_will_be_asked_to
call fcn.004147da
mov dword [esp], str._nenter_the_salesman_number_that_corresponds_to_your_till_number.
jmp 0x45cefa
push str._n_nThe_multiple_employee_number_selection_you_entered_is_invalid_
call fcn.004147da
mov dword [esp], str._nMultiple_employees_must_be_separated_with_a_comma.
call fcn.004147da
mov dword [esp], str._nBe_sure_to_enter_YOUR_employee_number_first.
call fcn.004147da
mov dword [esp], str._nExample:_77__12__24
call fcn.004147da
pop ecx
push str._nPress_any_key_to_re_enter...
jmp 0x45ce8e
cmp dword [ebp + 0xc], edi
jne 0x45cf26
mov eax, dword [esp + 0x10]
cmp eax, edi
jl 0x45cf20
mov eax, dword [ebx + eax*4 + 4]
mov dword [ebx + 0xcdc], eax
jmp 0x45cf26
mov dword [ebx + 0xcdc], edi
cmp dword [esp + 0x2c], edi
jne 0x45d0c2
cmp dword [esp + 0x24], edi
jne 0x45d0c2
cmp dword [esp + 0x14], edi
jne 0x45d0c2
cmp dword [ebp + 0xc], edi
jne 0x45d2a3
cmp dword [ebx + 0x2124], edi
je 0x45cfff
push str._n_nNow_I_need_the_salesman_number_associated_with_the_till_you_are_counting.
call fcn.004147da
mov dword [esp], str._nYour_till_number_may_be_the_same_as_your_employee_number.
call fcn.004147da
mov dword [esp], str._nIn_this_case__simply_enter_your_employee_number_again.
call fcn.004147da
mov dword [esp], str._nPress__ESC__to_cancel.
call fcn.004147da
mov dword [esp], str._nEnter_your_TILL_:
jmp 0x45cfce
lea edx, [esp + 0x48]
call fcn.004c3b34
test eax, eax
jne 0x45cfd4
lea esi, [esp + 0x48]
call fcn.004c4699
lea eax, [esp + 0x20]
push eax
call fcn.00436dae
test eax, eax
pop ecx
je 0x45cfbd
mov eax, dword [esp + 0x20]
cmp eax, edi
jg 0x45cff4
push str._nINVALID_INPUT_
call fcn.004147da
mov dword [esp], str._n_nEnter_your_TILL_:
call fcn.004147da
pop ecx
lea eax, [esp + 0x48]
call fcn.004c3ab2
push 0x20
push 0xff
call fcn.00434fd4
test eax, eax
pop ecx
pop ecx
jne 0x45cf90
jmp 0x45ce25
mov dword [ebx + 0xce0], eax
jmp 0x45d0cb
cmp dword [ebx + 0x2120], edi
je 0x45d0cb
push str._n_nNow_I_need_the_number_you_use_for_taking_returns.
call fcn.004147da
mov dword [esp], str._nIf_you_do_not_have_a_return_number__enter_zero.
call fcn.004147da
mov dword [esp], str._nPress__ESC__to_cancel.
call fcn.004147da
mov dword [esp], str._nEnter_your_RETURN_emp_:
jmp 0x45d087
lea edx, [esp + 0x48]
call fcn.004c3b34
test eax, eax
jne 0x45d08d
lea esi, [esp + 0x48]
call fcn.004c4699
mov eax, esi
push str.zero
push eax
call fcn.00512a33
test eax, eax
pop ecx
pop ecx
je 0x45d0cb
lea eax, [esp + 0x20]
push eax
call fcn.00436dae
test eax, eax
pop ecx
je 0x45d076
mov eax, dword [esp + 0x20]
cmp eax, edi
jge 0x45d0ad
push str._nINVALID_INPUT_
call fcn.004147da
mov dword [esp], str._n_nEnter_your_RETURN_emp_:
call fcn.004147da
pop ecx
lea eax, [esp + 0x48]
call fcn.004c3ab2
push 0x20
push 0xff
call fcn.00434fd4
test eax, eax
pop ecx
pop ecx
jne 0x45d036
jmp 0x45ce25
je 0x45d0cb
mov ecx, dword [0x5e2c60]
inc dword [0x5e2c60]
mov dword [ecx*4 + 0x5e28e8], eax
cmp dword [ebp + 0xc], edi
jne 0x45d2a3
mov eax, dword [esp + 0x10]
cmp eax, edi
jl 0x45d2a3
cmp dword [esp + 0x14], edi
jne 0x45d2a3
cmp dword [esp + 0x40], edi
jne 0x45d109
cmp dword [ebx + eax*4 + 0x9b4], edi
jl 0x45d109
cmp dword [ebx + 0x2198], edi
je 0x45d2a3
cmp dword [ebx + eax*4 + 0x820], edi
jne 0x45d2a3
and dword [esp + 0x1c], 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 + 0x10]
push 0
mov ecx, ebx
call fcn.0045ba5f
push eax
push 0
push ebx
call fcn.004da26d
mov esi, eax
push esi
mov eax, ebx
call fcn.0044726c
add esp, 0x14
test eax, eax
jne 0x45d272
test esi, esi
jle 0x45d1e6
push esi
push str._n_nTill__d_has_not_been_defined_
call fcn.004147da
push esi
push str._nWould_you_like_to_temporarily_define_till__d_for_this_session___Y_N_
call fcn.00435678
add esp, 0x10
test eax, eax
je 0x45d127
push str._n_nHow_much_cash_did_this_till_start_with_
call fcn.004147da
mov dword [esp], str._n_Press__ESC__to_cancel_
call fcn.004147da
pop ecx
push str._nEnter_the_till_base_amount:__
call fcn.004147da
pop ecx
push 0x20
push 7
lea eax, [esp + 0x150]
call fcn.00434fd4
test eax, eax
pop ecx
pop ecx
je 0x45d25e
lea eax, [esp + 0x148]
call fcn.0045ff20
test eax, eax
mov dword [esp + 0x1c], eax
jle 0x45d18e
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 0x45d27f
jne 0x45d27f
mov eax, dword [esp + 0x10]
mov esi, ebx
call fcn.0045bb4f
mov edi, eax
mov eax, dword [esp + 0x10]
call fcn.0045bbac
xor esi, esi
cmp edi, esi
je 0x45d218
cmp dword [edi + 0x724], esi
je 0x45d218
cmp dword [edi + 0xbc], esi
je 0x45d22c
cmp eax, esi
je 0x45d230
cmp dword [eax + 0x724], esi
je 0x45d230
cmp dword [eax + 0xbc], esi
jne 0x45d230
xor eax, eax
jmp 0x45d233
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.00435ae5
add esp, 0x14
test eax, eax
je 0x45d127
and dword [esp + 0x1c], esi
jmp 0x45d27f
mov eax, dword [esp + 0xc]
test eax, eax
je 0x45d26b
call fcn.004c7340
push 0
jmp 0x45d36e
push esi
mov eax, ebx
call fcn.00447235
pop ecx
mov dword [esp + 0x1c], eax
test esi, esi
jl 0x45d25e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
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 + 0x14]
mov dword [ebx + 0x2140], eax
mov eax, dword [esp + 0x38]
cmp eax, 2
mov dword [ebx + 0x2144], eax
jge 0x45d2e9
mov eax, dword [ebx + eax*4 + 0x6cc54]
mov dword [ebx + 0x688], eax
jmp 0x45d2ef
mov dword [ebx + 0x688], edi
cmp dword [esp + 0x30], edi
je 0x45d2ff
mov dword [ebx + 0x2148], 1
mov eax, dword [esp + 0x10]
jmp 0x45d376
xor edi, edi
lea ecx, [esp + 0x48]
call fcn.0045d38b
test eax, eax
je 0x45d33d
push str._n_nYou_must_provide_your_employee_number_when_using_the_Cash_Box_option_
call fcn.004147da
mov dword [esp], str._nFor_example__you_may_enter__22__cashbox__if_you_are_emp_22.
call fcn.004147da
mov dword [esp], str._nPress_any_key_to_try_again...
call fcn.004147da
mov eax, 0x7530
jmp 0x45d358
push str._n_nINVALID_INPUT_
call fcn.004147da
mov dword [esp], str._nPress_any_key...
call fcn.004147da
mov eax, 0x1388
pop ecx
call fcn.004352d3
mov eax, dword [esp + 0xc]
test eax, eax
je 0x45d36b
call fcn.004c7340
push dword [ebp + 0xc]
push ebx
call fcn.0045c2d3
pop ecx
pop ecx
mov ecx, dword [esp + 0x46c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0051291c
mov esp, ebp
pop ebp
ret