Function at 0x42e86c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x35d64
call fcn.004bc5d0
mov eax, dword [0x5065d0]
xor eax, esp
mov dword [esp + 0x35d60], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x14]
push ebx
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x18]
push esi
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x1c]
push edi
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x24]
mov edi, 0x103
xor ebx, ebx
push edi
mov dword [esp + 0x50], eax
lea eax, [esp + 0x35255]
mov esi, ecx
push ebx
push eax
mov dword [esp + 0x38], esi
mov byte [esp + 0x3525c], bl
call fcn.004ab5d0
add esp, 0xc
push 0x35146
lea eax, [esp + 0x6e]
push ebx
push eax
mov word [esp + 0x74], bx
call fcn.004ab5d0
add esp, 0xc
push edi
lea eax, [esp + 0x3535d]
push ebx
push eax
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x35364], bl
call fcn.004ab5d0
add esp, 0xc
push 7
pop ecx
mov byte [esp + 0x351b0], bl
xor eax, eax
lea edi, [esp + 0x351b1]
rep stosd dword es:[edi], eax
push 0x50
stosw word es:[edi], ax
push ebx
push 0x5fb1c8
stosb byte es:[edi], al
mov dword [esp + 0x3c], ebx
call fcn.004ab5d0
add esp, 0xc
push dword [ebp + 8]
call fcn.0049b5ff
test eax, eax
pop ecx
jne 0x42ea75
cmp esi, ebx
je 0x42ea75
push 4
push ebx
call fcn.0040c199
push 1
push 0xc
call fcn.0040e915
push 0x35148
lea eax, [esp + 0x7c]
push ebx
push eax
call fcn.004ab5d0
add esp, 0x1c
call fcn.0040ef45
test eax, eax
jne 0x42ea15
call fcn.0040ef90
test eax, eax
je 0x42ea15
push ebx
push ebx
call fcn.0045ac28
push eax
mov edi, 0x104
mov ecx, edi
lea eax, [esp + 0x3525c]
call fcn.00476b6c
add esp, 0xc
push str.PAULA_Report____________PUI_____.log
mov eax, edi
lea esi, [esp + 0x35254]
call fcn.00476c3c
pop ecx
mov eax, esi
push ebx
push eax
call fcn.00419632
pop ecx
pop ecx
call fcn.004aba8c
cdq
mov ecx, 0x8ae
mov esi, ecx
idiv esi
movzx eax, byte [ebp + 0xb]
add edx, ecx
push edx
push eax
movzx eax, byte [ebp + 0xa]
push eax
movzx eax, word [ebp + 8]
push eax
push ebx
push ebx
call fcn.0045ac28
pop ecx
pop ecx
push eax
push str._sPAULA_Report__04d__02d__02d__PUI_d_.log
lea eax, [esp + 0x35268]
push edi
push eax
call fcn.004781b1
add esp, 0x20
jmp 0x42ea21
lea eax, [esp + 0x35250]
call fcn.00476abd
push str._n_nLoading_employee_descriptions...
call fcn.0040e348
pop ecx
push ebx
push 0xffffffffffffffff
call fcn.0040e915
mov eax, dword [esp + 0x34]
push ebx
push 0xffffffffffffffff
push 0xffededee
push dword [eax + 0xd90]
push str.PaulaEmpConfig.cfg
push eax
call fcn.0043bd42
add esp, 0x20
test eax, eax
jne 0x42ea8d
cmp dword [ebp + 0x20], ebx
jne 0x42ea75
push ebx
push str._nAn_error_occurred_and_the_employee_till_sheets_ncould_not_be_loaded__n_nPress_any_key_to_exit...
push str.__COULD_NOT_LOAD_TILL_SHEETS___
push ebx
push ebx
push ebx
push 1
call fcn.00422000
add esp, 0x1c
or eax, 0xffffffff
mov ecx, dword [esp + 0x35d6c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004aaeb5
mov esp, ebp
pop ebp
ret
push 4
push ebx
call fcn.0040c199
push 1
push 0xc
call fcn.0040e915
mov esi, str._n_nLoading_employee_descriptions...DONE.
push esi
call fcn.0040e348
mov al, byte [ebp + 0xb]
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x7f], al
mov al, byte [ebp + 0xa]
add esp, 0x14
push dword [ebp + 8]
mov byte [esp + 0x6e], al
mov ax, word [ebp + 8]
mov edi, 0xde
mov word [esp + 0x6c], ax
mov dword [esp + 0x35188], edi
call fcn.0042e464
test eax, eax
pop ecx
jne 0x42eaeb
mov dword [esp + 0x3518c], 1
push str._nParsing_invoices__please_wait...
call fcn.0040e348
pop ecx
push 0xffffffffffffffff
push dword [esp + 0x30]
lea eax, [esp + 0x70]
call fcn.00452acc
test eax, eax
pop ecx
pop ecx
je 0x42ebab
push dword [ebp + 8]
mov ecx, dword [esp + 0x30]
call fcn.0042e464
test eax, eax
pop ecx
jne 0x42eb2b
mov dword [esp + 0x3518c], 1
push str._n_nSA12_PARSING_FAILED___Trying_one_more_time...
call fcn.0040e348
pop ecx
push 0xffffffffffffffff
push dword [esp + 0x30]
lea eax, [esp + 0x70]
mov dword [esp + 0x3518c], edi
call fcn.00452acc
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
je 0x42ebab
push edi
push str._n_nTAMS_invoice_parsing_has_failed___err_d
call fcn.0040e348
pop ecx
pop ecx
call fcn.0040ef45
test eax, eax
jne 0x42eb90
call fcn.0040ef90
test eax, eax
je 0x42eb90
cmp dword [ebp + 0x20], ebx
jne 0x42eb90
push edi
push str._nI_was_not_able_to_find_any_invoices_for_the_date_you_entered._nERROR_CODE:__ld_n_nPress_any_key_to_continue...
push str.__INVOICE_PARSING_FAILED___
push ebx
push ebx
push ebx
push 1
call fcn.00422000
add esp, 0x1c
push ebx
push 0xffffffffffffffff
call fcn.0040e915
pop ecx
pop ecx
mov eax, dword [esp + 0x3519c]
call fcn.00458a4f
jmp 0x42ea75
push 4
push ebx
call fcn.0040c199
xor edi, edi
inc edi
push edi
push 0xc
call fcn.0040e915
push esi
call fcn.0040e348
add esp, 0x14
push str._nParsing_invoices__please_wait...
call fcn.0040e348
mov dword [esp], 0x3a98
call fcn.00450d9d
test eax, eax
pop ecx
je 0x42ebe9
push str.DONE.
jmp 0x42ebee
push str.FAILED_
call fcn.0040e348
pop ecx
push str._nGenerating_report...
call fcn.0040e348
cmp dword [esp + 0x50], ebx
pop ecx
je 0x42ec14
mov esi, dword [esp + 0x4c]
lea eax, [esp + 0x68]
push eax
call fcn.0044fd9d
pop ecx
push str..MainPAULA.c
push 0x2328
xor ecx, ecx
call fcn.0043df24
mov esi, eax
push str.__Missing_Invoice_Report__
mov ecx, esi
mov dword [esp + 0x68], esi
call fcn.0043e26c
add esp, 0xc
push 0x4d9618
mov ecx, esi
call fcn.0043e26c
movzx eax, byte [esp + 0x6f]
pop ecx
movzx ecx, word [esp + 0x68]
push eax
movzx eax, byte [esp + 0x6e]
call fcn.0049b714
pop ecx
call fcn.00477da9
push eax
push str._n____s_will_NOT_balance__
mov ecx, esi
call fcn.0043e26c
push 0x4d9658
mov ecx, esi
call fcn.0043e26c
add esp, 0xc
xor esi, esi
xor edx, edx
cmp dword [esp + 0x6c], ebx
mov dword [esp + 0x58], ebx
jle 0x42ecbf
lea ecx, [esp + 0xa5]
cmp word [ecx + 7], bx
jg 0x42ecb2
mov al, byte [ecx]
call fcn.004586b7
test eax, eax
je 0x42ecb2
cmp dword [ecx - 0x2d], ebx
je 0x42ecb2
inc esi
cmp esi, edi
jg 0x42ed4d
inc edx
add ecx, 0x90
cmp edx, dword [esp + 0x6c]
jl 0x42ec93
push str._n_nAn_unregistered_invoice_was_found.
call fcn.0040e348
pop ecx
push 0x4d2cc4
call fcn.0040e348
pop ecx
call fcn.0046aaee
mov dword [esp + 0x50], eax
call fcn.0046aaee
mov dword [esp + 0x20], eax
call fcn.0046aaee
cmp dword [esp + 0x6c], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], ebx
jle 0x42edee
lea esi, [esp + 0xa8]
mov ecx, dword [esi - 0x30]
cmp ecx, ebx
je 0x42edd6
mov al, byte [esi - 3]
call fcn.004586b7
test eax, eax
je 0x42edd6
movzx eax, word [esi + 4]
cmp ax, bx
push 1
push ecx
jle 0x42ed5b
mov edi, dword [esp + 0x58]
movsx eax, ax
call fcn.0046af7c
push dword [esi - 0x34]
push str.Inv_06d_
call fcn.0040e348
add esp, 0x10
jmp 0x42edd6
mov dword [esp + 0x58], edi
push str._n_nMultiple_unregistered_invoices_found.
jmp 0x42ecc4
movsx eax, word [esi]
mov edi, dword [esp + 0x28]
call fcn.0046af7c
cmp byte [esi - 2], bl
mov edi, dword [esp + 0x30]
movsx ebx, word [esi]
pop ecx
pop ecx
je 0x42ed9c
call fcn.0046ae77
test eax, eax
jne 0x42ed8c
push 1
movsx eax, word [esi]
push 1
call fcn.0046af7c
jmp 0x42edc3
movsx ebx, word [esi]
call fcn.0046b00f
test eax, eax
jbe 0x42edc5
push 0
jmp 0x42ed80
call fcn.0046ae77
test eax, eax
jne 0x42edb8
push 1
push eax
movsx eax, word [esi]
push eax
mov ebx, edi
call fcn.0046abb1
add esp, 0xc
jmp 0x42edc5
movsx ebx, word [esi]
push 0
push edi
call fcn.0046aee9
pop ecx
pop ecx
push dword [esi - 0x34]
push str.Bad_06d_
call fcn.0040e348
pop ecx
pop ecx
xor ebx, ebx
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
add esi, 0x90
cmp eax, dword [esp + 0x6c]
jl 0x42ed05
push dword [esp + 0x6c]
push str._n_nSearched__d_invoices.
call fcn.0040e348
push str..MainPAULA.c
push 0x2370
xor ecx, ecx
call fcn.0043df24
mov esi, eax
add esp, 0x10
cmp esi, ebx
mov dword [esp + 0xc], esi
jne 0x42ee6d
push ebx
push 0xffffffffffffffff
call fcn.0040e915
cmp dword [esp + 0x54], ebx
pop ecx
pop ecx
jne 0x42ee3d
mov eax, dword [esp + 0x3519c]
call fcn.00458a4f
mov dword [esp + 0x3519c], ebx
mov esi, dword [esp + 0x50]
cmp esi, ebx
je 0x42ee4a
call fcn.0046ab63
mov esi, dword [esp + 0x20]
cmp esi, ebx
je 0x42ee57
call fcn.0046ab63
mov esi, dword [esp + 0x28]
cmp esi, ebx
je 0x42ea75
call fcn.0046ab63
jmp 0x42ea75
push str.___PLEASE_GIVE_THIS_REPORT_TO_THE_MANAGER.___n
mov ecx, esi
call fcn.0043e26c
cmp dword [esp + 0x5c], ebx
pop ecx
mov ecx, esi
jne 0x42ee89
push str.This_INV_has_NOT_been_registered_with_PAULA:
jmp 0x42ee8e
push str.These_INV_have_NOT_been_registered_with_PAULA:
call fcn.0043e26c
pop ecx
push str.u_inv.dat
lea edi, [esp + 0x3535c]
call fcn.004411d9
mov esi, str..MainPAULA.c
mov ecx, esi
mov dword [esp], 0x2383
call fcn.00479740
mov edi, eax
movzx eax, byte [esp + 0x6f]
pop ecx
push eax
movzx eax, byte [esp + 0x6e]
push eax
movzx eax, word [esp + 0x70]
push eax
push str._04d_02d_02d
lea eax, [esp + 0x351c0]
push 0x20
push eax
mov dword [esp + 0x3c], edi
call fcn.004781b1
push 0x2385
push esi
push 0x10
call fcn.004449ae
lea eax, [esp + 0x351d4]
add esp, 0x24
push eax
lea edx, [esp + 0x3535c]
mov ecx, edi
call fcn.0047abb4
cmp dword [esp + 0x70], ebx
pop ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x10], ebx
jle 0x42f0aa
lea esi, [esp + 0xa8]
mov dword [esp + 0x18], esi
mov ecx, dword [esi - 0x30]
cmp ecx, ebx
je 0x42f08a
mov al, byte [esi - 3]
call fcn.004586b7
test eax, eax
je 0x42f08a
cmp word [esi + 4], bx
jg 0x42f45b
movsx ebx, word [esi]
mov edi, dword [esp + 0x28]
inc dword [esp + 0x38]
add dword [esp + 0x44], ecx
call fcn.0046b00f
cmp eax, 7
jb 0x42f3cd
movsx ebx, word [esi]
mov edi, dword [esp + 0x50]
call fcn.0046b00f
test eax, eax
jne 0x42f3a7
movsx ebx, word [esi]
mov edi, dword [esp + 0x20]
call fcn.0046b00f
test eax, eax
je 0x42f088
movsx ebx, word [esi]
inc dword [esp + 0x3c]
call fcn.0046b00f
push eax
call fcn.0043d65f
movsx ebx, word [esi]
mov edi, dword [esp + 0x2c]
pop ecx
push eax
call fcn.0046b00f
push eax
movsx eax, word [esi]
mov edi, dword [esp + 0x1c]
push eax
movzx eax, word [esi + 0x1e]
push eax
movzx eax, byte [esi + 0x21]
push eax
movzx eax, byte [esi + 0x20]
push eax
push dword [esp + 0x54]
mov ecx, edi
push str._3d__________02d__02d__04d__Employee__d_ran__d_UNREGISTERED_ROAs_totaling__s._n
call fcn.0043e26c
push str._____Note_that_ROAs_may_be_entered_in_PAULA_without_a_till_by
mov ecx, edi
call fcn.0043e26c
mov eax, dword [esp + 0x50]
add esp, 0x24
cmp dword [eax + 0x2198], 0
mov ecx, edi
jne 0x42f027
push str.preceding_your_employee_number_n
call fcn.0043e26c
movsx eax, word [esi]
pop ecx
push eax
push str._____with_a_t___t_d__in_this_case__and_then_entering_0_when_prompted_for_a_till_number._n
mov ecx, edi
call fcn.0043e26c
pop ecx
jmp 0x42f031
push str.entering_0_for_your_till_number._n
call fcn.0043e26c
movsx eax, word [esi]
pop ecx
push eax
push str._____You_may_alternatively_assign_a__0_till_to_emp__d_using__Manager_Menu____Till_Base_____F3___n
mov ecx, edi
call fcn.0043e26c
movsx ebx, word [esi]
mov edi, dword [esp + 0x28]
call fcn.0046b00f
push eax
call fcn.0043d65f
movsx ebx, word [esi]
mov edi, dword [esp + 0x34]
add esp, 0xc
push eax
call fcn.0046b00f
mov ecx, dword [esp + 0x10]
push eax
movsx eax, word [esi]
push eax
push str._nEmp__d_ran__d_UNREGISTERED_ROAs:__s
call fcn.0043e26c
movsx ebx, word [esi]
push 0
push dword [esp + 0x34]
call fcn.0046aee9
add esp, 0x18
xor ebx, ebx
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
add esi, 0x90
cmp eax, dword [esp + 0x6c]
mov dword [esp + 0x18], esi
jl 0x42ef39
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, ebx
je 0x42f0b7
call fcn.0046ab63
mov esi, dword [esp + 0x28]
cmp esi, ebx
je 0x42f0c4
call fcn.0046ab63
cmp dword [esp + 0x30], ebx
jne 0x42f0d0
cmp dword [esp + 0x34], ebx
jle 0x42f12d
cmp dword [esp + 0x34], ebx
jge 0x42f103
lea eax, [esp + 0x351b0]
push eax
lea edx, [esp + 0x3535c]
mov ecx, edi
call fcn.0047abb4
test eax, eax
pop ecx
jge 0x42f103
push 0x1c36
lea ecx, [esp + 0x3535c]
call fcn.0041a6f4
pop ecx
push dword [ebp + 8]
mov ecx, edi
call fcn.0042e7a0
pop ecx
push ebx
push 1
lea eax, [esp + 0x35360]
push eax
push edi
call fcn.0047a679
add esp, 0x10
test eax, eax
jg 0x42f12d
mov esi, edi
call fcn.0047a2e2
mov eax, edi
call fcn.00479871
push 0x10
call fcn.00445606
cmp dword [esp + 0x40], 0x4b
pop ecx
jle 0x42f197
call fcn.0040ef45
test eax, eax
jne 0x42f155
call fcn.0040ef90
test eax, eax
jne 0x42f197
mov esi, dword [esp + 0xc]
call fcn.0043ebac
push str.___PLEASE_GIVE_THIS_REPORT_TO_THE_MANAGER.__
mov ecx, esi
call fcn.0043e26c
pop ecx
push dword [esp + 0x38]
mov ecx, esi
push str._nThere_are__d_unregistered_invoices.
call fcn.0043e26c
push str._nThis_is_more_than_can_be_printed_here.
mov ecx, esi
call fcn.0043e26c
add esp, 0xc
push str._nFor_a_complete_list__run_the_report_manually.
mov ecx, esi
call fcn.0043e26c
pop ecx
cmp dword [esp + 0x3c], 2
jl 0x42f1d1
push dword [esp + 0x44]
call fcn.0043d65f
pop ecx
mov ecx, dword [esp + 0xc]
push eax
mov esi, str._nUnregistered_Invoice_Total___s
push esi
call fcn.0043e26c
push dword [esp + 0x4c]
call fcn.0043d65f
mov ecx, dword [esp + 0x20]
add esp, 0xc
push eax
push esi
call fcn.0043e26c
pop ecx
pop ecx
push dword [ebp + 0x20]
mov ecx, dword [esp + 0x30]
push ebx
push dword [ebp + 8]
call fcn.0042e4d9
add esp, 0xc
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x42f2c4
mov edi, dword [eax]
mov dword [esp + 0x34], edi
call fcn.0049ceb7
mov ecx, dword [esp + 0xc]
mov esi, 0x4d1074
push esi
mov dword [esp + 0x28], eax
call fcn.0043e26c
pop ecx
mov ecx, dword [esp + 0x14]
push esi
call fcn.0043e26c
cmp edi, 2
pop ecx
mov ecx, dword [esp + 0xc]
mov esi, str.EXCLUDED__F10__invoices_that_were_never_INCLUDED:
jge 0x42f22d
mov esi, str.EXCLUDED__F10__invoice_that_was_never_INCLUDED:
push esi
call fcn.0043e26c
pop ecx
mov ecx, dword [esp + 0x14]
push esi
call fcn.0043e26c
pop ecx
mov ecx, dword [esp + 0xc]
mov esi, 0x4cb20c
push esi
call fcn.0043e26c
pop ecx
mov ecx, dword [esp + 0x14]
push esi
call fcn.0043e26c
xor esi, esi
cmp edi, ebx
pop ecx
jle 0x42f2ba
mov eax, dword [esp + 0x18]
add eax, 0x56
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
push dword [eax]
push dword [esp + 0x28]
call fcn.0049bb36
cmp eax, 0xc
pop ecx
pop ecx
jl 0x42f290
mov ecx, dword [esp + 0x14]
push str.__Final_Warning_
call fcn.0043e26c
pop ecx
push dword [esp + 0x14]
lea edi, [esi + 1]
push dword [esp + 0x10]
mov ecx, esi
push edi
push dword [esp + 0x24]
call fcn.0042ffc1
add dword [esp + 0x40], 0x90
mov esi, edi
add esp, 0x10
cmp esi, dword [esp + 0x34]
jl 0x42f26b
push dword [esp + 0x18]
call fcn.004aa2a8
pop ecx
mov edi, str..MainPAULA.c
push edi
push 0x2418
xor ecx, ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x1c], ebx
call fcn.0043df24
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x74]
cmp eax, ebx
pop ecx
pop ecx
mov dword [esp + 0x10], ebx
jle 0x42f46a
lea esi, [esp + 0x78]
mov cl, byte [esi + 0x2f]
cdq
sub eax, edx
sar eax, 1
imul eax, eax, 0x90
cmp cl, byte [esp + eax + 0xa7]
jbe 0x42f346
mov al, byte [esi + 0x2d]
call fcn.004586b7
test eax, eax
je 0x42f346
mov eax, dword [esi]
cmp eax, ebx
je 0x42f346
push dword [esp + 0x40]
inc dword [esp + 0x18]
push dword [esp + 0x28]
add dword [esp + 0x30], eax
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x7c]
push eax
call fcn.0042ffc1
add esp, 0x10
inc dword [esp + 0x10]
mov eax, dword [esp + 0x6c]
add esi, 0x90
cmp dword [esp + 0x10], eax
jl 0x42f2f8
cmp dword [esp + 0x14], 2
jl 0x42f464
cmp dword [esp + 0x28], ebx
je 0x42f46a
push dword [esp + 0x28]
call fcn.0043d65f
pop ecx
mov ecx, dword [esp + 0x24]
push eax
mov esi, str._nLate_Invoice_Total___s
push esi
call fcn.0043e26c
push dword [esp + 0x30]
call fcn.0043d65f
mov ecx, dword [esp + 0x4c]
add esp, 0xc
push eax
push esi
call fcn.0043e26c
pop ecx
pop ecx
jmp 0x42f477
push dword [esp + 0x14]
inc dword [esp + 0x40]
push dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x44]
lea eax, [esp + 0x7c]
push eax
call fcn.0042ffc1
add esp, 0x10
jmp 0x42f088
xor ebx, ebx
push 0x3ff
lea eax, [esp + 0x3556d]
push ebx
push eax
mov byte [esp + 0x35574], bl
call fcn.004ab5d0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push dword [esp + 0x14]
inc dword [esp + 0x40]
push dword [esp + 0x10]
lea eax, [esp + 0x78]
push dword [esp + 0x44]
mov dword [esp + 0x3c], ebx
push eax
call fcn.0042ffc1
lea eax, [esp + 0x40]
add esp, 0x10
push eax
call fcn.0043f2a4
push eax
push 9
push 0x400
add esi, 0xffffffc8
lea eax, [esp + 0x35578]
call fcn.0045181d
push dword [esp + 0x40]
mov esi, dword [esp + 0x38]
lea eax, [esp + 0x3557c]
push eax
call fcn.00479bff
mov esi, dword [esp + 0x30]
add esp, 0x18
mov dword [esp + 0x30], 1
jmp 0x42f088
inc dword [esp + 0x58]
jmp 0x42f08a
cmp dword [esp + 0x28], ebx
jne 0x42f477
mov esi, dword [esp + 0x24]
call fcn.0043ebac
mov dword [esp + 0x14], ebx
push edi
push 0x2436
xor ecx, ecx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x28], ebx
call fcn.0043df24
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x74]
cmp eax, ebx
pop ecx
pop ecx
mov dword [esp + 0x10], ebx
jle 0x42f550
lea esi, [esp + 0x78]
mov cl, byte [esi + 0x2f]
cdq
sub eax, edx
sar eax, 1
imul eax, eax, 0x90
cmp cl, byte [esp + eax + 0xa7]
jae 0x42f4f4
mov al, byte [esi + 0x2d]
call fcn.004586b7
test eax, eax
je 0x42f4f4
mov eax, dword [esi]
cmp eax, ebx
je 0x42f4f4
push dword [esp + 0x48]
inc dword [esp + 0x24]
push dword [esp + 0x1c]
add dword [esp + 0x5c], eax
push dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x7c]
push eax
call fcn.0042ffc1
add esp, 0x10
inc dword [esp + 0x10]
mov eax, dword [esp + 0x6c]
add esi, 0x90
cmp dword [esp + 0x10], eax
jl 0x42f4a6
cmp dword [esp + 0x20], 2
jl 0x42f54a
cmp dword [esp + 0x54], ebx
je 0x42f550
push dword [esp + 0x54]
call fcn.0043d65f
pop ecx
mov ecx, dword [esp + 0x18]
push eax
mov esi, str._nPrev_Day_Invoice_Total___s
push esi
call fcn.0043e26c
push dword [esp + 0x5c]
call fcn.0043d65f
mov ecx, dword [esp + 0x54]
add esp, 0xc
push eax
push esi
call fcn.0043e26c
pop ecx
pop ecx
jmp 0x42f55d
cmp dword [esp + 0x54], ebx
jne 0x42f55d
mov esi, dword [esp + 0x18]
call fcn.0043ebac
mov dword [esp + 0x20], ebx
push edi
push 0x2455
xor ecx, ecx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x18], ebx
call fcn.0043df24
mov dword [esp + 0x38], eax
lea eax, [esp + 0x68]
push eax
mov eax, dword [esp + 0x351a8]
call fcn.00458970
add esp, 0xc
cmp eax, ebx
mov dword [esp + 0x34], eax
je 0x42fa9d
push dword [esp + 0x68]
call fcn.0049b537
test eax, eax
pop ecx
je 0x42f636
mov edi, dword [esp + 0x60]
dec edi
cmp edi, ebx
jl 0x42f636
mov ecx, dword [esp + 0x34]
mov eax, edi
imul eax, eax, 0x90
lea esi, [eax + ecx + 0x37]
push dword [esi + 0x1f]
push dword [esp + 0x6c]
call fcn.0049bb36
cmp eax, ebx
pop ecx
pop ecx
jle 0x42f62b
cmp eax, 2
jg 0x42f636
mov eax, dword [esp + 0x6c]
mov cl, byte [esi]
cdq
sub eax, edx
sar eax, 1
imul eax, eax, 0x90
cmp cl, byte [esp + eax + 0xa7]
jne 0x42f62b
mov al, byte [esi - 2]
call fcn.004586b7
test eax, eax
je 0x42f62b
mov eax, dword [esi - 0x2f]
cmp eax, ebx
je 0x42f62b
push dword [esp + 0x1c]
inc dword [esp + 0x14]
push dword [esp + 0x34]
add dword [esp + 0x50], eax
push dword [esp + 0x18]
mov ecx, edi
push dword [esp + 0x40]
call fcn.0042ffc1
add esp, 0x10
dec edi
sub esi, 0x90
cmp edi, ebx
jge 0x42f5c5
mov eax, dword [esp + 0x3519c]
call fcn.004589cb
cmp dword [esp + 0x10], 2
jl 0x42fa93
cmp dword [esp + 0x48], ebx
je 0x42fa9d
push dword [esp + 0x48]
call fcn.0043d65f
pop ecx
mov ecx, dword [esp + 0x30]
push eax
mov esi, str._nEarly_Invoice_Total___s
push esi
call fcn.0043e26c
push dword [esp + 0x50]
call fcn.0043d65f
mov ecx, dword [esp + 0x28]
add esp, 0xc
push eax
push esi
call fcn.0043e26c
pop ecx
pop ecx
mov edi, dword [esp + 0x2c]
movzx eax, word [esp + 0x68]
push eax
movzx eax, byte [esp + 0x6f]
push eax
movzx eax, byte [esp + 0x72]
push eax
push 0x4d91fc
mov esi, 0x5fb1ac
push esi
call fcn.004ab54e
mov dword [0x5fb1e8], esi
mov dword [0x5fb1e4], 0x507cc0
mov eax, dword [edi + 0x206c]
mov dword [0x5fb1d4], eax
mov eax, dword [edi + 0x2150]
mov dword [0x5fb1c8], eax
mov eax, dword [edi + 0x215c]
mov dword [0x5fb1cc], eax
mov eax, dword [edi + 0x2160]
mov dword [0x5fb1d0], eax
lea eax, [edi + 0x1094]
mov dword [0x5fb1d8], eax
lea eax, [edi + 0x149c]
mov dword [0x5fb1dc], eax
mov eax, dword [esp + 0x70]
mov dword [0x5fb1e0], eax
mov eax, dword [esp + 0x20]
add esp, 0x14
push dword [esp + 0x64]
mov dword [0x5fb1ec], eax
lea eax, [esp + 0x6c]
push eax
push edi
mov dword [0x5fb1fc], 1
call fcn.004301d5
add esp, 0xc
cmp eax, ebx
mov dword [esp + 0x60], eax
mov dword [esp + 0x40], ebx
je 0x42f7ad
mov esi, eax
call fcn.0043e46f
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x42f7a4
cmp dword [esp + 0x38], ebx
jle 0x42f75a
cmp dword [esp + 0x44], ebx
jne 0x42f77e
mov esi, dword [esp + 0xc]
call fcn.0043ebac
push str.___PLEASE_GIVE_THIS_REPORT_TO_THE_MANAGER.___n
mov ecx, esi
call fcn.0043e26c
mov ecx, esi
mov dword [esp], str.The_issue_below_needs_attention:
call fcn.0043e26c
pop ecx
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push 0x4cc9b4
call fcn.0043e26c
push dword [esp + 0x24]
call fcn.004aa2a8
add esp, 0xc
mov dword [esp + 0x40], 1
mov eax, dword [esp + 0x60]
call fcn.0043e074
cmp dword [esp + 0x14], ebx
mov dword [esp + 0x34], ebx
jle 0x42f834
cmp dword [esp + 0x28], ebx
je 0x42f834
mov esi, dword [esp + 0x24]
call fcn.0043e46f
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x42f834
cmp dword [esp + 0x38], ebx
jle 0x42f7da
cmp dword [esp + 0x44], ebx
jne 0x42f7f6
cmp dword [esp + 0x40], ebx
jne 0x42f7f6
mov esi, dword [esp + 0xc]
call fcn.0043ebac
push str.___PLEASE_GIVE_THIS_REPORT_TO_THE_MANAGER.__
mov ecx, esi
call fcn.0043e26c
pop ecx
mov ecx, dword [esp + 0xc]
xor esi, esi
inc esi
cmp dword [esp + 0x14], esi
jne 0x42fab3
push str._nThis_invoice_was_billed_after_TAMS_shutdown:
call fcn.0043e26c
pop ecx
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push 0x4cc9b4
call fcn.0043e26c
pop ecx
pop ecx
push dword [esp + 0x1c]
call fcn.004aa2a8
pop ecx
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x42f841
call fcn.0043e074
cmp dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
jle 0x42f8d2
cmp dword [esp + 0x54], ebx
je 0x42f8d2
mov esi, dword [esp + 0x18]
call fcn.0043e46f
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x42f8d2
cmp dword [esp + 0x38], ebx
jle 0x42f872
cmp dword [esp + 0x44], ebx
jne 0x42f894
cmp dword [esp + 0x40], ebx
jne 0x42f894
cmp dword [esp + 0x34], ebx
jne 0x42f894
mov esi, dword [esp + 0xc]
call fcn.0043ebac
push str.___PLEASE_GIVE_THIS_REPORT_TO_THE_MANAGER.__
mov ecx, esi
call fcn.0043e26c
pop ecx
mov ecx, dword [esp + 0xc]
xor esi, esi
inc esi
cmp dword [esp + 0x20], esi
jne 0x42fafc
push str._nThis_invoice_belongs_to_previous_accnting_day:
call fcn.0043e26c
pop ecx
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push 0x4cc9b4
call fcn.0043e26c
pop ecx
pop ecx
push dword [esp + 0x1c]
call fcn.004aa2a8
pop ecx
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x42f8df
call fcn.0043e074
cmp dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebx
jle 0x42f97a
cmp dword [esp + 0x48], ebx
je 0x42f97a
mov esi, dword [esp + 0x30]
call fcn.0043e46f
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x42f97a
cmp dword [esp + 0x38], ebx
jle 0x42f914
cmp dword [esp + 0x44], ebx
jne 0x42f93c
cmp dword [esp + 0x40], ebx
jne 0x42f93c
cmp dword [esp + 0x34], ebx
jne 0x42f93c
cmp dword [esp + 0x24], ebx
jne 0x42f93c
mov esi, dword [esp + 0xc]
call fcn.0043ebac
push str.___PLEASE_GIVE_THIS_REPORT_TO_THE_MANAGER.__
mov ecx, esi
call fcn.0043e26c
pop ecx
mov ecx, dword [esp + 0xc]
xor esi, esi
inc esi
cmp dword [esp + 0x10], esi
jne 0x42fb45
push str._nThis_invoice_was_billed_before_new_day_started:
call fcn.0043e26c
pop ecx
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push 0x4cc9b4
call fcn.0043e26c
pop ecx
pop ecx
push dword [esp + 0x1c]
call fcn.004aa2a8
pop ecx
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x42f987
call fcn.0043e074
cmp dword [esp + 0x38], ebx
jle 0x42f997
cmp dword [esp + 0x44], ebx
jne 0x42fc72
cmp dword [esp + 0x40], ebx
jne 0x42fc72
cmp dword [esp + 0x34], ebx
jne 0x42fc72
cmp dword [esp + 0x24], ebx
jne 0x42fc72
cmp dword [esp + 0x18], ebx
jne 0x42fc72
mov eax, dword [esp + 0x5c]
call fcn.0043e074
mov eax, dword [esp + 0xc]
call fcn.0043e074
push str._n_nThe_day_is_in_balance_
call fcn.0040e348
pop ecx
call fcn.0040ef45
test eax, eax
jne 0x42fc42
call fcn.0040ef90
test eax, eax
je 0x42fc42
cmp dword [ebp + 0x20], ebx
jne 0x42fc42
push 0x7ff
lea eax, [esp + 0x3556d]
push ebx
push eax
mov byte [esp + 0x35574], bl
call fcn.004ab5d0
mov edi, dword [esp + 0x5c]
add esp, 0xc
call fcn.0046aebe
mov dword [esp + 0x1c], eax
mov eax, edi
call fcn.0046ad3a
mov edi, eax
cmp edi, ebx
jle 0x42fbb6
mov esi, 0x800
mov eax, dword [esp + 0x2c]
mov ecx, edi
call fcn.004398bf
mov ecx, dword [esp + 0x2c]
call fcn.00439983
mov edx, eax
call fcn.00476b3a
test eax, eax
push edi
jne 0x42fb8e
mov eax, dword [esp + 0x30]
mov ecx, edi
call fcn.004398bf
mov ecx, dword [esp + 0x30]
call fcn.00439983
push eax
push str._n_r______s__d
mov eax, esi
lea edi, [esp + 0x35574]
call fcn.0047816f
add esp, 0xc
jmp 0x42fba3
cmp dword [esp + 0x48], ebx
jne 0x42f68a
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
call fcn.0043ebac
mov dword [esp + 0x10], ebx
jmp 0x42f68e
push str._nThese_invoices_were_billed_after_TAMS_shutdown:
call fcn.0043e26c
cmp dword [esp + 0x18], 0x16
pop ecx
jle 0x42f812
mov ecx, dword [esp + 0xc]
push str._nThere_are_too_many_invoices_to_list.
call fcn.0043e26c
mov ecx, dword [esp + 0x10]
mov dword [esp], str._nTAMS_End_Of_Day_was_run_mid_day.
call fcn.0043e26c
mov ecx, dword [esp + 0x10]
mov dword [esp], str._nYour_day_will_not_balance.
call fcn.0043e26c
jmp 0x42f825
push str._nThese_invoices_belong_to_previous_accnting_day:
call fcn.0043e26c
cmp dword [esp + 0x24], 0x16
pop ecx
jle 0x42f8b0
mov ecx, dword [esp + 0xc]
push str._nThere_are_too_many_invoices_to_list.
call fcn.0043e26c
mov ecx, dword [esp + 0x10]
mov dword [esp], str._nTAMS_End_Of_Day_was_run_mid_day.
call fcn.0043e26c
mov ecx, dword [esp + 0x10]
mov dword [esp], str._nYour_day_will_not_balance.
call fcn.0043e26c
jmp 0x42f8c3
push str._nThese_invoices_were_billed_before_start_of_day:
call fcn.0043e26c
cmp dword [esp + 0x14], 0x16
pop ecx
jle 0x42f958
mov ecx, dword [esp + 0xc]
push str._nThere_are_too_many_invoices_to_list.
call fcn.0043e26c
mov ecx, dword [esp + 0x10]
mov dword [esp], str._nTAMS_End_Of_Day_was_not_run_yesterday.
call fcn.0043e26c
mov ecx, dword [esp + 0x10]
mov dword [esp], str._nYour_day_will_not_balance.
call fcn.0043e26c
jmp 0x42f96b
push str._n_r_____UNKNOWN_EMP__d
mov eax, esi
lea edi, [esp + 0x35570]
call fcn.0047816f
pop ecx
pop ecx
mov eax, dword [esp + 0x50]
call fcn.0046ad3a
mov edi, eax
cmp edi, ebx
jg 0x42fa3f
call fcn.0040ac64
cmp dword [esp + 0x1c], 1
jle 0x42fbea
lea eax, [esp + 0x35568]
push eax
push dword [esp + 0x20]
push str._rAll_invoices_have_been_registered_and_your_day_is_in_balance._n_rYou_should_have__d_till_slips__one_for_each_employee_below:_n_s_n_nPress__SPACE_BAR__to_continue...
push str.__THE_DAY_IS_IN_BALANCE___
push ebx
push str.__27_
push ebx
push ebx
call fcn.00422000
add esp, 0x20
jmp 0x42fc38
lea edx, [esp + 0x35568]
call fcn.00476b3a
test eax, eax
jne 0x42fc1e
lea eax, [esp + 0x35568]
push eax
push str._rAll_invoices_have_been_registered_and_your_day_is_in_balance._n_rYou_should_have_only_1_till_slip_for:_n_s_n_nPress__SPACE_BAR__to_continue...
push str.__THE_DAY_IS_IN_BALANCE___
push ebx
push str.__27_
push ebx
push ebx
call fcn.00422000
add esp, 0x1c
jmp 0x42fc38
push str._rAll_invoices_have_been_registered_and_your_day_is_in_balance._n_nPress__SPACE_BAR__to_continue...
push str.__THE_DAY_IS_IN_BALANCE___
push ebx
push str.__27_
push ebx
push ebx
call fcn.00422000
add esp, 0x18
mov eax, 0x7d0
call fcn.0042149d
mov esi, dword [esp + 0x50]
cmp esi, ebx
je 0x42fc4f
call fcn.0046ab63
push ebx
push 0xffffffffffffffff
call fcn.0040e915
cmp dword [esp + 0x54], ebx
pop ecx
pop ecx
jne 0x42fc6b
mov eax, dword [esp + 0x3519c]
call fcn.00458a4f
xor eax, eax
jmp 0x42ea78
mov esi, dword [esp + 0x50]
cmp esi, ebx
je 0x42fc7f
call fcn.0046ab63
call fcn.0040ef45
test eax, eax
jne 0x42fc95
call fcn.0040ef90
test eax, eax
jne 0x42fd58
mov ecx, dword [esp + 0x3c]
cmp ecx, ebx
jle 0x42fd27
mov edx, dword [esp + 0x58]
fild dword [esp + 0x58]
lea eax, [edx + ecx]
mov dword [esp + 0x64], eax
fidiv dword [esp + 0x64]
fcomp qword [0x502d48]
fnstsw ax
test ah, 5
jp 0x42fd27
cmp edx, 2
jl 0x42fccb
cmp ecx, 0xa
jle 0x42fd27
mov eax, dword [esp + 0x5c]
call fcn.0043e074
mov eax, dword [esp + 0xc]
call fcn.0043e074
call fcn.0040ef90
test eax, eax
je 0x42fd02
cmp dword [ebp + 0x20], ebx
jne 0x42fd02
push str.There_are_too_many_unregistered_invoices_to_print._nThis_means_there_is_at_least_one_person_who_did_not_close_their_till._nBecause_of_this__the_day_cannot_be_balanced._nSelect__Reenter_Till__from_the_main_menu_to_enter_the_missing_till._nAfter_doing_this__you_may_try_running_this_report_again._n_nPress_any_key...
push str.__REPORT_IS_TOO_LARGE__
push ebx
push ebx
push ebx
push 1
call fcn.00422000
add esp, 0x18
push ebx
push 0xffffffffffffffff
call fcn.0040e915
pop ecx
pop ecx
cmp dword [esp + 0x4c], ebx
jne 0x42fd1e
mov eax, dword [esp + 0x3519c]
call fcn.00458a4f
mov eax, dword [esp + 0x38]
jmp 0x42ea78
cmp ecx, 0x4b
jl 0x42fd58
cmp dword [esp + 0x40], ebx
jne 0x42fd58
cmp dword [esp + 0x34], ebx
jne 0x42fd58
cmp dword [esp + 0x24], ebx
jne 0x42fd58
cmp dword [esp + 0x18], ebx
jne 0x42fd58
mov eax, dword [esp + 0x5c]
call fcn.0043e074
mov eax, dword [esp + 0xc]
call fcn.0043e074
jmp 0x42fd02
call fcn.0040ef45
test eax, eax
jne 0x42feb0
call fcn.0040ef90
test eax, eax
je 0x42feb0
cmp dword [ebp + 0x20], ebx
jne 0x42fe73
push 0x7f
lea eax, [esp + 0x351d5]
push ebx
push eax
mov byte [esp + 0x351dc], bl
call fcn.004ab5d0
mov esi, dword [esp + 0x18]
add esp, 0xc
push 0x4d9218
mov ecx, esi
call fcn.0043e26c
movzx eax, word [ebp + 8]
pop ecx
push eax
movzx eax, byte [ebp + 0xb]
push eax
movzx eax, byte [ebp + 0xa]
push eax
push str._n_nTransaction_date__02d__02d__04d_is_out_of_balance_due_to_the_above_invoice
mov ecx, esi
call fcn.0043e26c
add esp, 0x10
cmp dword [esp + 0x38], 1
jg 0x42fdd9
push 0x4c9390
mov ecx, esi
call fcn.0043e26c
jmp 0x42fdf1
push dword [esp + 0x44]
call fcn.0043d65f
pop ecx
push eax
push str.s_totaling__s.
mov ecx, esi
call fcn.0043e26c
pop ecx
mov esi, dword [esp + 0x10]
pop ecx
push ebx
lea eax, [esp + 0x35254]
call fcn.0043e82b
mov eax, dword [esp + 0x60]
pop ecx
call fcn.0043e074
mov eax, esi
call fcn.0043e074
lea eax, [esp + 0x35250]
push eax
lea eax, [esp + 0x351d4]
push str.START___PAULA_Unregistered_Invoice_Report____MAX_notepad___s_
push eax
call fcn.004ab54e
add esp, 0xc
lea ebx, [esp + 0x351d0]
call fcn.0040ea0f
push 0x4da0a0
call fcn.0040c935
pop ecx
push eax
mov eax, ebx
push eax
call fcn.004aa9a0
push str._n_n_THE_REPORT_HAS_BEEN_OPENED_ON_YOUR_WINDOWS_TASK_BAR__n_n
call fcn.0040e348
mov eax, ebx
add esp, 0xc
push eax
call fcn.0040c935
pop ecx
mov eax, 0x3a98
call fcn.0042149d
xor ebx, ebx
push ebx
push 0xffffffffffffffff
call fcn.0040e915
cmp dword [esp + 0x40], ebx
pop ecx
pop ecx
jne 0x42fd0c
cmp dword [esp + 0x40], ebx
jne 0x42fea3
cmp dword [esp + 0x34], ebx
jne 0x42fea3
cmp dword [esp + 0x24], ebx
jne 0x42fea3
cmp dword [esp + 0x18], ebx
je 0x42fd0c
mov dword [esp + 0x38], 1
jmp 0x42fd0c
cmp dword [ebp + 0x20], ebx
jne 0x42fe73
push 0x103
lea eax, [esp + 0x35465]
push ebx
push eax
mov byte [esp + 0x3546c], bl
call fcn.004ab5d0
add esp, 0xc
push str._ProgLog.txt
push dword [edi + 0x206c]
xor eax, eax
push ebx
call fcn.0043f2d5
pop ecx
push eax
push ecx
call fcn.0049be5e
pop ecx
push eax
movzx eax, byte [ebp + 0xb]
push eax
movzx eax, byte [ebp + 0xa]
push eax
movzx eax, word [ebp + 8]
push eax
push ebx
push ebx
call fcn.0045ac28
pop ecx
pop ecx
push eax
push str._s_04d__02d__02d_UNREGISTERED_INVOICES___s__s___d_s
lea eax, [esp + 0x35484]
push 0x104
push eax
call fcn.004781b1
mov esi, dword [esp + 0x88]
add esp, 0x2c
push 1
lea eax, [esp + 0x35464]
call fcn.0043e82b
mov esi, dword [esp + 0x10]
pop ecx
push 1
lea eax, [esp + 0x35464]
call fcn.0043e82b
pop ecx
call fcn.0040ef45
test eax, eax
je 0x42ff5e
mov dword [0x5fb20c], 1
cmp dword [esp + 0x35198], ebx
jne 0x42fe73
mov eax, dword [0x5fb1f8]
cmp eax, 0xa
jne 0x42ff95
mov edi, dword [edi + 0x214c]
cmp dword [0x5fb1c8], edi
je 0x42fe73
cmp edi, ebx
jle 0x42fe73
mov dword [0x5fb1c8], edi
cmp eax, 0x64
jb 0x42ff9f
cmp eax, 0x6e
jbe 0x42ffa8
cmp eax, 0xb
jne 0x42fe73
push ebx
push 0xffffffffffffffff
call fcn.0040e915
cmp dword [esp + 0x54], ebx
pop ecx
pop ecx
jne 0x42ea75
jmp 0x42eb9a