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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x35d64
call fcn.004c8990
mov eax, dword [0x5385d0]
xor eax, esp
mov dword [esp + 0x35d60], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x14]
push ebx
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x18]
push esi
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x1c]
push edi
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x24]
mov edi, 0x103
xor ebx, ebx
push edi
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x35255]
mov esi, ecx
push ebx
push eax
mov dword [esp + 0x44], esi
mov byte [esp + 0x3525c], bl
call fcn.004b7880
add esp, 0xc
push 0x35146
lea eax, [esp + 0x6e]
push ebx
push eax
mov word [esp + 0x74], bx
call fcn.004b7880
add esp, 0xc
push edi
lea eax, [esp + 0x3535d]
push ebx
push eax
mov dword [esp + 0x70], ebx
mov byte [esp + 0x35364], bl
call fcn.004b7880
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 0x62d1e0
stosb byte es:[edi], al
mov dword [esp + 0x28], ebx
call fcn.004b7880
add esp, 0xc
push dword [ebp + 8]
call fcn.004a5cf0
test eax, eax
pop ecx
jne 0x43123f
cmp esi, ebx
je 0x43123f
push 4
push ebx
call fcn.0040d211
push 1
push 0xc
call fcn.0040fa94
push 0x35148
lea eax, [esp + 0x7c]
push ebx
push eax
call fcn.004b7880
add esp, 0x1c
call fcn.00410123
test eax, eax
jne 0x4311d8
call fcn.0041017a
test eax, eax
je 0x4311d8
push ebx
push ebx
call fcn.004610ab
push eax
mov edi, 0x104
mov ecx, edi
lea eax, [esp + 0x3525c]
call fcn.0047ebe1
add esp, 0xc
push str.PAULA_Report____________PUI_____.log
mov eax, edi
lea esi, [esp + 0x35254]
call fcn.0047ecb1
pop ecx
mov eax, esi
push ebx
push eax
call fcn.0041b3f0
pop ecx
pop ecx
call fcn.004b7d0d
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.004610ab
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.00480225
mov esi, dword [esp + 0x58]
add esp, 0x20
jmp 0x4311e4
lea eax, [esp + 0x35250]
call fcn.0047eb32
push str._n_nLoading_employee_descriptions...
call fcn.0040f464
pop ecx
push ebx
push 0xffffffffffffffff
call fcn.0040fa94
push ebx
push 0xffffffffffffffff
push 0xffededee
push dword [esi + 0xd90]
push str.PEC.dat
push esi
call fcn.0043ec1c
add esp, 0x20
test eax, eax
jne 0x431257
push str.:8:PrintUnregisteredInvoicesNew___has_FAILED:_DefineEmployees___FAILED_
call fcn.00418e96
cmp dword [ebp + 0x20], ebx
pop ecx
jne 0x43123f
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.0042419f
add esp, 0x1c
or eax, 0xffffffff
mov ecx, dword [esp + 0x35d6c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b7140
mov esp, ebp
pop ebp
ret
push 4
push ebx
call fcn.0040d211
push 1
push 0xc
call fcn.0040fa94
mov edi, str._n_nLoading_employee_descriptions...DONE.
push edi
call fcn.0040f464
mov al, byte [ebp + 0xb]
mov byte [esp + 0x7f], al
mov al, byte [ebp + 0xa]
mov byte [esp + 0x7e], al
mov eax, dword [ebp + 8]
add esp, 0x14
push eax
mov ecx, esi
mov word [esp + 0x6c], ax
mov dword [esp + 0x35188], 0xde
call fcn.00430bec
test eax, eax
pop ecx
jne 0x4312af
mov dword [esp + 0x3518c], 1
push str._nParsing_invoices__please_wait...
call fcn.0040f464
pop ecx
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x70]
call fcn.00457dcd
test eax, eax
pop ecx
pop ecx
je 0x431377
push dword [ebp + 8]
mov ecx, esi
call fcn.00430bec
test eax, eax
pop ecx
jne 0x4312ea
mov dword [esp + 0x3518c], 1
push str._n_nSA12_PARSING_FAILED___Trying_one_more_time...
call fcn.0040f464
pop ecx
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x70]
mov dword [esp + 0x3518c], 0xde
call fcn.00457dcd
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x431377
push esi
push str.:8:PrintUnregisteredInvoicesNew___has_COMPLETELY_FAILED:_ParseTAMS_SA12___returned__d.
call fcn.00418e96
push esi
push str._n_nTAMS_invoice_parsing_has_failed___err_d
call fcn.0040f464
add esp, 0x10
call fcn.00410123
test eax, eax
jne 0x43135c
call fcn.0041017a
test eax, eax
je 0x43135c
cmp dword [ebp + 0x20], ebx
jne 0x43135c
push esi
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.0042419f
add esp, 0x1c
push ebx
push 0xffffffffffffffff
call fcn.0040fa94
pop ecx
pop ecx
mov eax, dword [esp + 0x3519c]
call fcn.0045e99f
jmp 0x43123f
push 4
push ebx
call fcn.0040d211
push 1
push 0xc
call fcn.0040fa94
push edi
call fcn.0040f464
add esp, 0x14
push str._nParsing_invoices__please_wait...
call fcn.0040f464
mov dword [esp], 0x3a98
call fcn.00455d45
test eax, eax
pop ecx
je 0x4313b3
push str.DONE.
jmp 0x4313b8
push str.FAILED_
call fcn.0040f464
pop ecx
push str._nGenerating_report...
call fcn.0040f464
cmp dword [esp + 0x4c], ebx
pop ecx
je 0x4313de
mov esi, dword [esp + 0x48]
lea eax, [esp + 0x68]
push eax
call fcn.00454b0b
pop ecx
mov ebx, str..MainPAULA.c
push ebx
push 0x2331
xor ecx, ecx
call fcn.00440fd2
mov esi, eax
push str.__Missing_Invoice_Report__
mov ecx, esi
mov dword [esp + 0x60], esi
call fcn.0044137c
add esp, 0xc
push 0x4ef828
mov ecx, esi
call fcn.0044137c
movzx eax, byte [esp + 0x6f]
pop ecx
movzx ecx, word [esp + 0x68]
push eax
movzx eax, byte [esp + 0x6e]
call fcn.004a5e05
pop ecx
call fcn.0047fe1d
push eax
push str._n____s_will_NOT_balance__
mov ecx, esi
call fcn.0044137c
push 0x4ef868
mov ecx, esi
call fcn.0044137c
xor edi, edi
add esp, 0xc
xor esi, esi
xor edx, edx
cmp dword [esp + 0x6c], edi
mov dword [esp + 0x50], edi
jle 0x43148f
lea ecx, [esp + 0xa5]
cmp word [ecx + 7], di
jg 0x431482
mov al, byte [ecx]
call fcn.0045e60d
test eax, eax
je 0x431482
cmp dword [ecx - 0x2d], edi
je 0x431482
xor eax, eax
inc esi
inc eax
cmp esi, eax
jg 0x43151d
inc edx
add ecx, 0x90
cmp edx, dword [esp + 0x6c]
jl 0x431460
push str._n_nAn_unregistered_invoice_was_found.
call fcn.0040f464
pop ecx
push 0x4e8784
call fcn.0040f464
pop ecx
call fcn.00471551
mov dword [esp + 0x44], eax
call fcn.00471551
mov dword [esp + 0x30], eax
call fcn.00471551
cmp dword [esp + 0x6c], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], edi
jle 0x4315d6
lea esi, [esp + 0xa8]
mov edi, dword [esi - 0x30]
test edi, edi
je 0x4315bc
mov al, byte [esi - 3]
call fcn.0045e60d
test eax, eax
je 0x4315bc
movzx eax, word [esi + 4]
test ax, ax
push 1
jle 0x43152b
movsx eax, ax
push eax
mov eax, dword [esp + 0x4c]
call fcn.00471b10
push dword [esi - 0x34]
push str.Inv_06d_
call fcn.0040f464
add esp, 0x10
jmp 0x4315bc
mov dword [esp + 0x50], eax
push str._n_nMultiple_unregistered_invoices_found.
jmp 0x431494
movsx eax, word [esi]
push eax
mov eax, dword [esp + 0x38]
call fcn.00471b10
cmp byte [esi - 2], 0
movsx ebx, word [esi]
mov eax, dword [esp + 0x14]
pop ecx
pop ecx
je 0x43157b
call fcn.004719b9
test eax, eax
jne 0x431564
xor edi, edi
inc edi
push edi
movsx eax, word [esi]
push eax
mov eax, dword [esp + 0x14]
call fcn.00471b10
pop ecx
jmp 0x4315a7
movsx ebx, word [esi]
mov eax, dword [esp + 0xc]
call fcn.00471bce
test eax, eax
jbe 0x4315a8
xor edi, edi
push 0
inc edi
jmp 0x431554
call fcn.004719b9
test eax, eax
jne 0x431599
push 1
push eax
movsx eax, word [esi]
push eax
mov eax, dword [esp + 0x18]
call fcn.0047164b
add esp, 0xc
jmp 0x4315a8
movsx ebx, word [esi]
mov eax, dword [esp + 0xc]
push 0
call fcn.00471a4e
pop ecx
push dword [esi - 0x34]
push str.Bad_06d_
call fcn.0040f464
pop ecx
pop ecx
mov ebx, str..MainPAULA.c
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
add esi, 0x90
cmp eax, dword [esp + 0x6c]
jl 0x4314d5
xor edi, edi
push dword [esp + 0x6c]
push str._n_nSearched__d_invoices.
call fcn.0040f464
push ebx
push 0x2379
xor ecx, ecx
call fcn.00440fd2
mov esi, eax
add esp, 0x10
cmp esi, edi
mov dword [esp + 0x24], esi
jne 0x43165b
push edi
push 0xffffffffffffffff
call fcn.0040fa94
cmp dword [esp + 0x50], edi
pop ecx
pop ecx
jne 0x431621
mov eax, dword [esp + 0x3519c]
call fcn.0045e99f
mov dword [esp + 0x3519c], edi
cmp dword [esp + 0x44], edi
je 0x431632
mov edi, dword [esp + 0x44]
call fcn.004715f4
xor edi, edi
cmp dword [esp + 0x30], edi
je 0x431643
mov edi, dword [esp + 0x30]
call fcn.004715f4
xor edi, edi
cmp dword [esp + 0xc], edi
je 0x43123f
mov edi, dword [esp + 0xc]
call fcn.004715f4
jmp 0x43123f
push str.___PLEASE_GIVE_THIS_REPORT_TO_THE_MANAGER.___n
mov ecx, esi
call fcn.0044137c
cmp dword [esp + 0x54], edi
pop ecx
mov ecx, esi
jne 0x431677
push str.This_INV_has_NOT_been_registered_with_PAULA:
jmp 0x43167c
push str.These_INV_have_NOT_been_registered_with_PAULA:
call fcn.0044137c
pop ecx
push str.u_inv.dat
lea edi, [esp + 0x3535c]
call fcn.00444791
mov ecx, ebx
mov dword [esp], 0x238c
call fcn.00481832
mov dword [esp + 0x24], 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
call fcn.00480225
push 0x238e
push ebx
push 0x10
call fcn.00448320
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x351d4]
add esp, 0x24
push eax
mov edx, edi
call fcn.00482f63
mov dword [esp + 0x1c], eax
xor eax, eax
cmp dword [esp + 0x70], eax
pop ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], eax
jle 0x43193d
lea edi, [esp + 0xa8]
mov ecx, dword [edi - 0x30]
test ecx, ecx
je 0x431925
mov al, byte [edi - 3]
call fcn.0045e60d
test eax, eax
je 0x431925
cmp word [edi + 4], 0
jg 0x431921
movsx ebx, word [edi]
mov eax, dword [esp + 0xc]
inc dword [esp + 0x28]
add dword [esp + 0x40], ecx
call fcn.00471bce
cmp eax, 7
jb 0x43189a
movsx ebx, word [edi]
mov eax, dword [esp + 0x44]
call fcn.00471bce
test eax, eax
jne 0x431874
movsx ebx, word [edi]
mov esi, dword [esp + 0x30]
mov eax, esi
call fcn.00471bce
test eax, eax
je 0x431925
movsx ebx, word [edi]
inc dword [esp + 0x34]
mov eax, esi
call fcn.00471bce
push eax
call fcn.0044068d
movsx ebx, word [edi]
pop ecx
push eax
mov eax, dword [esp + 0x10]
push ecx
call fcn.00471bce
pop ecx
push eax
movsx eax, word [edi]
mov ebx, dword [esp + 0x18]
push eax
movzx eax, word [edi + 0x1e]
push eax
movzx eax, byte [edi + 0x21]
push eax
movzx eax, byte [edi + 0x20]
push eax
push dword [esp + 0x4c]
mov ecx, ebx
push str._3d__________02d__02d__04d__Employee__d_ran__d_UNREGISTERED_ROAs_totaling__s._n
call fcn.0044137c
push str._____Note_that_ROAs_may_be_entered_in_PAULA_without_a_till_by
mov ecx, ebx
call fcn.0044137c
mov eax, dword [esp + 0x5c]
add esp, 0x24
cmp dword [eax + 0x2198], 0
mov ecx, ebx
jne 0x431810
push str.preceding_your_employee_number_n
call fcn.0044137c
movsx eax, word [edi]
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, ebx
call fcn.0044137c
pop ecx
jmp 0x43181a
push str.entering_0_for_your_till_number._n
call fcn.0044137c
movsx eax, word [edi]
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, ebx
call fcn.0044137c
movsx ebx, word [edi]
mov eax, esi
call fcn.00471bce
push eax
call fcn.0044068d
movsx ebx, word [edi]
add esp, 0xc
push eax
mov eax, dword [esp + 0x10]
push ecx
call fcn.00471bce
pop ecx
mov ecx, dword [esp + 0x28]
push eax
movsx eax, word [edi]
push eax
push str._nEmp__d_ran__d_UNREGISTERED_ROAs:__s
call fcn.0044137c
movsx ebx, word [edi]
push 0
mov eax, esi
call fcn.00471a4e
add esp, 0x14
jmp 0x431925
push dword [esp + 0x10]
inc dword [esp + 0x38]
push dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
push dword [esp + 0x3c]
lea eax, [esp + 0x7c]
push eax
call fcn.004327c8
add esp, 0x10
jmp 0x431925
xor ebx, ebx
push 0x3ff
lea eax, [esp + 0x3556d]
push ebx
push eax
mov byte [esp + 0x35574], bl
call fcn.004b7880
mov ecx, dword [esp + 0x20]
add esp, 0xc
push dword [esp + 0x10]
inc dword [esp + 0x38]
push dword [esp + 0x28]
lea eax, [esp + 0x78]
push dword [esp + 0x3c]
mov dword [esp + 0x28], ebx
push eax
call fcn.004327c8
lea eax, [esp + 0x2c]
add esp, 0x10
push eax
call fcn.0044258c
push eax
push 9
push 0x400
lea esi, [edi - 0x38]
lea eax, [esp + 0x35578]
call fcn.0045687e
push dword [esp + 0x2c]
lea eax, [esp + 0x3557c]
push eax
mov eax, dword [esp + 0x38]
call fcn.00481d8b
add esp, 0x18
mov dword [esp + 0x1c], 1
jmp 0x431925
inc dword [esp + 0x50]
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
add edi, 0x90
cmp eax, dword [esp + 0x6c]
jl 0x43171b
mov edi, dword [esp + 0x30]
xor ebx, ebx
cmp edi, ebx
je 0x43194c
call fcn.004715f4
mov edi, dword [esp + 0xc]
cmp edi, ebx
je 0x431959
call fcn.004715f4
cmp dword [esp + 0x1c], ebx
jne 0x431969
cmp dword [esp + 0x18], ebx
jle 0x4319ed
cmp dword [esp + 0x18], ebx
jge 0x4319ad
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x351b0]
push eax
lea edx, [esp + 0x3535c]
call fcn.00482f63
test eax, eax
pop ecx
jge 0x4319ad
push 0x1c36
lea ecx, [esp + 0x3535c]
call fcn.0041c6c6
test eax, eax
pop ecx
je 0x4319ad
push str.:8:Unreconciled_Invoice_Log_ERROR:_Database_exists_but_could_NOT_be_loaded.__The_database_is_now_incomplete_
call fcn.00418e96
pop ecx
push dword [ebp + 8]
mov ecx, dword [esp + 0x24]
call fcn.00430f2c
pop ecx
push ebx
push 1
lea eax, [esp + 0x35360]
push eax
push dword [esp + 0x2c]
call fcn.00482921
add esp, 0x10
test eax, eax
jg 0x4319ed
mov eax, dword [esp + 0x20]
call fcn.004824ee
test eax, eax
jle 0x4319ed
push str.:7:Unreconciled_Invoice_Log_ERROR:_Database_was_updated_but_could_NOT_be_saved___The_database_is_now_incomplete_
call fcn.00418e96
pop ecx
mov eax, dword [esp + 0x20]
call fcn.0048196e
push 0x10
call fcn.004491a9
cmp dword [esp + 0x38], 0x4b
pop ecx
jle 0x431a5b
call fcn.00410123
test eax, eax
jne 0x431a17
call fcn.0041017a
test eax, eax
jne 0x431a5b
mov esi, dword [esp + 0x24]
mov eax, esi
call fcn.00441dd4
push str.___PLEASE_GIVE_THIS_REPORT_TO_THE_MANAGER.__
mov ecx, esi
call fcn.0044137c
pop ecx
push dword [esp + 0x28]
mov ecx, esi
push str._nThere_are__d_unregistered_invoices.
call fcn.0044137c
push str._nThis_is_more_than_can_be_printed_here.
mov ecx, esi
call fcn.0044137c
add esp, 0xc
push str._nFor_a_complete_list__run_the_report_manually.
mov ecx, esi
call fcn.0044137c
pop ecx
cmp dword [esp + 0x34], 2
jl 0x431a95
push dword [esp + 0x40]
call fcn.0044068d
pop ecx
mov ecx, dword [esp + 0x24]
push eax
mov esi, str._nUnregistered_Invoice_Total___s
push esi
call fcn.0044137c
push dword [esp + 0x48]
call fcn.0044068d
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push eax
push esi
call fcn.0044137c
pop ecx
pop ecx
push dword [ebp + 0x20]
push ebx
push dword [ebp + 8]
push dword [esp + 0x44]
call fcn.00430c6c
add esp, 0x10
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x431b80
mov ebx, dword [eax]
call fcn.004a7836
mov esi, dword [esp + 0x24]
mov edi, 0x4e67b0
push edi
mov ecx, esi
mov dword [esp + 0x30], eax
call fcn.0044137c
pop ecx
mov ecx, dword [esp + 0x10]
push edi
call fcn.0044137c
cmp ebx, 2
pop ecx
mov ecx, esi
mov edi, str.EXCLUDED__F10__invoices_that_were_never_INCLUDED:
jge 0x431aed
mov edi, str.EXCLUDED__F10__invoice_that_was_never_INCLUDED:
push edi
call fcn.0044137c
pop ecx
mov ecx, dword [esp + 0x10]
push edi
call fcn.0044137c
pop ecx
mov edi, 0x4da17c
push edi
mov ecx, esi
call fcn.0044137c
pop ecx
mov ecx, dword [esp + 0x10]
push edi
call fcn.0044137c
xor edi, edi
test ebx, ebx
pop ecx
jle 0x431b76
mov eax, dword [esp + 0x1c]
add eax, 0x56
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
push dword [eax]
push dword [esp + 0x30]
call fcn.004a6227
cmp eax, 0xc
pop ecx
pop ecx
jl 0x431b4e
mov ecx, dword [esp + 0x10]
push str.__Final_Warning_
call fcn.0044137c
pop ecx
push dword [esp + 0x10]
lea esi, [edi + 1]
push dword [esp + 0x28]
mov ecx, edi
push esi
push dword [esp + 0x28]
call fcn.004327c8
add dword [esp + 0x28], 0x90
mov edi, esi
add esp, 0x10
cmp edi, ebx
jl 0x431b29
push dword [esp + 0x1c]
call fcn.004b651e
pop ecx
mov edi, str..MainPAULA.c
xor ebx, ebx
push edi
push 0x2421
xor ecx, ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], ebx
call fcn.00440fd2
cmp dword [esp + 0x74], ebx
pop ecx
pop ecx
mov dword [esp + 0x2c], eax
jle 0x431c57
lea esi, [esp + 0x78]
mov eax, dword [esp + 0x6c]
mov cl, byte [esi + 0x2f]
cdq
sub eax, edx
sar eax, 1
imul eax, eax, 0x90
cmp cl, byte [esp + eax + 0xa7]
jbe 0x431c00
mov al, byte [esi + 0x2d]
call fcn.0045e60d
test eax, eax
je 0x431c00
mov eax, dword [esi]
test eax, eax
je 0x431c00
push dword [esp + 0x3c]
inc dword [esp + 0x18]
push dword [esp + 0x30]
add dword [esp + 0x28], eax
push dword [esp + 0x1c]
lea eax, [esp + 0x7c]
push eax
mov ecx, ebx
call fcn.004327c8
add esp, 0x10
inc ebx
add esi, 0x90
cmp ebx, dword [esp + 0x6c]
jl 0x431bb0
cmp dword [esp + 0x14], 2
jl 0x431c50
cmp dword [esp + 0x20], 0
je 0x431c57
push dword [esp + 0x20]
call fcn.0044068d
pop ecx
mov ecx, dword [esp + 0x2c]
push eax
mov esi, str._nLate_Invoice_Total___s
push esi
call fcn.0044137c
push dword [esp + 0x28]
call fcn.0044068d
mov ecx, dword [esp + 0x48]
add esp, 0xc
push eax
push esi
call fcn.0044137c
pop ecx
pop ecx
jmp 0x431c65
cmp dword [esp + 0x20], 0
jne 0x431c65
mov eax, dword [esp + 0x2c]
call fcn.00441dd4
and dword [esp + 0x14], 0
xor ebx, ebx
push edi
push 0x243f
xor ecx, ecx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x18], ebx
call fcn.00440fd2
cmp dword [esp + 0x74], ebx
pop ecx
pop ecx
mov dword [esp + 0x18], eax
jle 0x431d37
lea esi, [esp + 0x78]
mov eax, dword [esp + 0x6c]
mov cl, byte [esi + 0x2f]
cdq
sub eax, edx
sar eax, 1
imul eax, eax, 0x90
cmp cl, byte [esp + eax + 0xa7]
jae 0x431ce0
mov al, byte [esi + 0x2d]
call fcn.0045e60d
test eax, eax
je 0x431ce0
mov eax, dword [esi]
test eax, eax
je 0x431ce0
push dword [esp + 0x60]
inc dword [esp + 0x14]
push dword [esp + 0x1c]
add dword [esp + 0x54], eax
push dword [esp + 0x18]
lea eax, [esp + 0x7c]
push eax
mov ecx, ebx
call fcn.004327c8
add esp, 0x10
inc ebx
add esi, 0x90
cmp ebx, dword [esp + 0x6c]
jl 0x431c90
cmp dword [esp + 0x10], 2
jl 0x431d30
cmp dword [esp + 0x4c], 0
je 0x431d37
push dword [esp + 0x4c]
call fcn.0044068d
pop ecx
mov ecx, dword [esp + 0x18]
push eax
mov esi, str._nPrev_Day_Invoice_Total___s
push esi
call fcn.0044137c
push dword [esp + 0x54]
call fcn.0044068d
mov ecx, dword [esp + 0x6c]
add esp, 0xc
push eax
push esi
call fcn.0044137c
pop ecx
pop ecx
jmp 0x431d45
cmp dword [esp + 0x4c], 0
jne 0x431d45
mov eax, dword [esp + 0x18]
call fcn.00441dd4
and dword [esp + 0x10], 0
and dword [esp + 0x3c], 0
and dword [esp + 0xc], 0
push edi
push 0x245e
xor ecx, ecx
call fcn.00440fd2
pop ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x351a0]
pop ecx
lea edi, [esp + 0x64]
call fcn.0045e8c0
mov ebx, eax
test ebx, ebx
je 0x431e8a
push dword [esp + 0x68]
call fcn.004a5c28
test eax, eax
pop ecx
je 0x431e15
mov edi, dword [esp + 0x64]
dec edi
js 0x431e34
mov eax, edi
imul eax, eax, 0x90
lea esi, [eax + ebx + 0x37]
push dword [esi + 0x1f]
push dword [esp + 0x6c]
call fcn.004a6227
test eax, eax
pop ecx
pop ecx
jle 0x431e08
cmp eax, 2
jg 0x431e34
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 0x431e08
mov al, byte [esi - 2]
call fcn.0045e60d
test eax, eax
je 0x431e08
mov eax, dword [esi - 0x2f]
test eax, eax
je 0x431e08
push dword [esp + 0x58]
inc dword [esp + 0x10]
push dword [esp + 0x20]
add dword [esp + 0x44], eax
push dword [esp + 0x14]
mov ecx, edi
push ebx
call fcn.004327c8
add esp, 0x10
dec edi
sub esi, 0x90
test edi, edi
jge 0x431da5
jmp 0x431e34
movzx eax, byte [esp + 0x6b]
push eax
movzx eax, byte [esp + 0x6e]
push eax
movzx eax, word [esp + 0x70]
push eax
push str.:6:Failed_to_scan_previous_days_invoices_because_the_SA12_transaction_date_is_invalid:__04d__02d__02d
call fcn.00418e96
add esp, 0x10
mov eax, dword [esp + 0x3519c]
call fcn.0045e924
cmp dword [esp + 0xc], 2
jl 0x431e83
cmp dword [esp + 0x3c], 0
je 0x431e8a
push dword [esp + 0x3c]
call fcn.0044068d
pop ecx
mov ecx, dword [esp + 0x1c]
push eax
mov esi, str._nEarly_Invoice_Total___s
push esi
call fcn.0044137c
push dword [esp + 0x44]
call fcn.0044068d
mov ecx, dword [esp + 0x64]
add esp, 0xc
push eax
push esi
call fcn.0044137c
pop ecx
pop ecx
jmp 0x431e98
cmp dword [esp + 0x3c], 0
jne 0x431e98
mov eax, dword [esp + 0x1c]
call fcn.00441dd4
and dword [esp + 0xc], 0
movzx eax, word [esp + 0x68]
push eax
movzx eax, byte [esp + 0x6f]
push eax
movzx eax, byte [esp + 0x72]
push eax
push 0x4ef248
mov edi, 0x62d1c4
push edi
call fcn.004b77ce
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x38]
mov dword [0x62d200], edi
mov dword [0x62d1fc], 0x539cd0
mov eax, dword [ebx + 0x206c]
mov dword [0x62d1ec], eax
mov eax, dword [ebx + 0x2150]
mov dword [0x62d1e0], eax
mov eax, dword [ebx + 0x215c]
mov dword [0x62d1e4], eax
mov eax, dword [ebx + 0x2160]
mov dword [0x62d1e8], eax
lea eax, [ebx + 0x1094]
mov dword [0x62d1f0], eax
lea eax, [ebx + 0x149c]
mov dword [0x62d1f4], eax
mov eax, dword [esp + 0x68]
add esp, 0x14
push dword [esp + 0x5c]
mov dword [0x62d1f8], eax
lea eax, [esp + 0x6c]
push eax
push ebx
mov dword [0x62d214], 1
mov dword [0x62d204], esi
call fcn.004329dc
and dword [esp + 0x44], 0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x431fb9
call fcn.00441625
mov esi, eax
test esi, esi
je 0x431fae
cmp dword [esp + 0x28], 0
jle 0x431f66
cmp dword [esp + 0x40], 0
jne 0x431f8e
mov eax, dword [esp + 0x24]
call fcn.00441dd4
mov ecx, dword [esp + 0x24]
push str.___PLEASE_GIVE_THIS_REPORT_TO_THE_MANAGER.___n
call fcn.0044137c
mov ecx, dword [esp + 0x28]
mov dword [esp], str.The_issue_below_needs_attention:
call fcn.0044137c
pop ecx
mov ecx, dword [esp + 0x24]
push esi
push 0x4df634
call fcn.0044137c
push esi
call fcn.004b651e
add esp, 0xc
mov dword [esp + 0x38], 1
mov eax, edi
call fcn.00441129
mov esi, dword [esp + 0x24]
xor eax, eax
cmp dword [esp + 0x14], eax
mov dword [esp + 0x30], eax
jle 0x432038
cmp dword [esp + 0x20], eax
je 0x432038
mov eax, dword [esp + 0x2c]
call fcn.00441625
mov edi, eax
test edi, edi
je 0x432038
xor eax, eax
cmp dword [esp + 0x28], eax
jle 0x431fe8
cmp dword [esp + 0x40], eax
jne 0x432002
cmp dword [esp + 0x38], eax
jne 0x432002
mov eax, esi
call fcn.00441dd4
push str.___PLEASE_GIVE_THIS_REPORT_TO_THE_MANAGER.__
mov ecx, esi
call fcn.0044137c
pop ecx
cmp dword [esp + 0x14], 1
mov ecx, esi
jne 0x432221
push str._nThis_invoice_was_billed_after_TAMS_shutdown:
call fcn.0044137c
pop ecx
push edi
push 0x4df634
mov ecx, esi
call fcn.0044137c
pop ecx
pop ecx
push edi
call fcn.004b651e
pop ecx
mov dword [esp + 0x30], 1
mov eax, dword [esp + 0x2c]
xor edi, edi
cmp eax, edi
je 0x432047
call fcn.00441129
cmp dword [esp + 0x10], edi
mov dword [esp + 0x2c], edi
jle 0x4320ca
cmp dword [esp + 0x4c], edi
je 0x4320ca
mov eax, dword [esp + 0x18]
call fcn.00441625
mov edi, eax
test edi, edi
je 0x4320ca
xor eax, eax
cmp dword [esp + 0x28], eax
jle 0x432074
cmp dword [esp + 0x40], eax
jne 0x432094
cmp dword [esp + 0x38], eax
jne 0x432094
cmp dword [esp + 0x30], eax
jne 0x432094
mov eax, esi
call fcn.00441dd4
push str.___PLEASE_GIVE_THIS_REPORT_TO_THE_MANAGER.__
mov ecx, esi
call fcn.0044137c
pop ecx
cmp dword [esp + 0x10], 1
mov ecx, esi
jne 0x432264
push str._nThis_invoice_belongs_to_previous_accnting_day:
call fcn.0044137c
pop ecx
push edi
push 0x4df634
mov ecx, esi
call fcn.0044137c
pop ecx
pop ecx
push edi
call fcn.004b651e
pop ecx
mov dword [esp + 0x2c], 1
mov eax, dword [esp + 0x18]
xor edi, edi
cmp eax, edi
je 0x4320d9
call fcn.00441129
cmp dword [esp + 0xc], edi
mov dword [esp + 0x18], edi
jle 0x432162
cmp dword [esp + 0x3c], edi
je 0x432162
mov eax, dword [esp + 0x1c]
call fcn.00441625
mov edi, eax
test edi, edi
je 0x432162
xor eax, eax
cmp dword [esp + 0x28], eax
jle 0x432106
cmp dword [esp + 0x40], eax
jne 0x43212c
cmp dword [esp + 0x38], eax
jne 0x43212c
cmp dword [esp + 0x30], eax
jne 0x43212c
cmp dword [esp + 0x2c], eax
jne 0x43212c
mov eax, esi
call fcn.00441dd4
push str.___PLEASE_GIVE_THIS_REPORT_TO_THE_MANAGER.__
mov ecx, esi
call fcn.0044137c
pop ecx
cmp dword [esp + 0xc], 1
mov ecx, esi
jne 0x4322a7
push str._nThis_invoice_was_billed_before_new_day_started:
call fcn.0044137c
pop ecx
push edi
push 0x4df634
mov ecx, esi
call fcn.0044137c
pop ecx
pop ecx
push edi
call fcn.004b651e
pop ecx
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x1c]
xor edi, edi
cmp eax, edi
je 0x432171
call fcn.00441129
cmp dword [esp + 0x28], edi
jle 0x432181
cmp dword [esp + 0x40], edi
jne 0x43243e
cmp dword [esp + 0x38], edi
jne 0x43243e
cmp dword [esp + 0x30], edi
jne 0x43243e
cmp dword [esp + 0x2c], edi
jne 0x43243e
cmp dword [esp + 0x18], edi
jne 0x43243e
mov eax, dword [esp + 0x54]
call fcn.00441129
mov eax, esi
call fcn.00441129
push str._n_nThe_day_is_in_balance_
call fcn.0040f464
pop ecx
call fcn.00410123
test eax, eax
jne 0x43240c
call fcn.0041017a
test eax, eax
je 0x43240c
cmp dword [ebp + 0x20], 0
jne 0x43240c
push 0x7ff
xor edi, edi
lea eax, [esp + 0x3556d]
push edi
push eax
mov byte [esp + 0x35574], 0
call fcn.004b7880
mov esi, dword [esp + 0x50]
add esp, 0xc
push esi
call fcn.00471a0e
pop ecx
mov dword [esp + 0x58], eax
call fcn.00471837
jmp 0x43236a
push str._nThese_invoices_were_billed_after_TAMS_shutdown:
call fcn.0044137c
cmp dword [esp + 0x18], 0x16
pop ecx
jle 0x43201a
push str._nThere_are_too_many_invoices_to_list.
mov ecx, esi
call fcn.0044137c
mov ecx, esi
mov dword [esp], str._nTAMS_End_Of_Day_was_run_mid_day.
call fcn.0044137c
mov ecx, esi
mov dword [esp], str._nYour_day_will_not_balance.
call fcn.0044137c
jmp 0x432028
push str._nThese_invoices_belong_to_previous_accnting_day:
call fcn.0044137c
cmp dword [esp + 0x14], 0x16
pop ecx
jle 0x4320ac
push str._nThere_are_too_many_invoices_to_list.
mov ecx, esi
call fcn.0044137c
mov ecx, esi
mov dword [esp], str._nTAMS_End_Of_Day_was_run_mid_day.
call fcn.0044137c
mov ecx, esi
mov dword [esp], str._nYour_day_will_not_balance.
call fcn.0044137c
jmp 0x4320ba
push str._nThese_invoices_were_billed_before_start_of_day:
call fcn.0044137c
cmp dword [esp + 0x10], 0x16
pop ecx
jle 0x432144
push str._nThere_are_too_many_invoices_to_list.
mov ecx, esi
call fcn.0044137c
mov ecx, esi
mov dword [esp], str._nTAMS_End_Of_Day_was_not_run_yesterday.
call fcn.0044137c
mov ecx, esi
mov dword [esp], str._nYour_day_will_not_balance.
call fcn.0044137c
jmp 0x432152
mov ecx, esi
mov eax, ebx
call fcn.0043c6aa
mov ecx, ebx
call fcn.0043c772
mov edx, eax
call fcn.0047ebaf
test eax, eax
mov ecx, esi
mov eax, ebx
jne 0x432332
push esi
call fcn.0043c6aa
mov ecx, ebx
call fcn.0043c772
push eax
push str._n_r______s__d
mov eax, 0x800
lea edi, [esp + 0x35574]
call fcn.004801e3
add esp, 0xc
jmp 0x43235f
call fcn.0043c6aa
push eax
push esi
push str.:8:PrintUnregisteredInvoicesNew___encountered_an_undefined_employee_number__d.__The_employee_does_not_have_a_name_or_is_not_defined._EmpNumToOffset___returns__d
call fcn.0041936e
add esp, 0xc
push esi
push str._n_r_____UNKNOWN_EMP__d
mov eax, 0x800
lea edi, [esp + 0x35570]
call fcn.004801e3
pop ecx
pop ecx
mov esi, dword [esp + 0x44]
call fcn.00471837
xor edi, edi
mov esi, eax
cmp esi, edi
jg 0x4322ea
call fcn.0040bb5d
cmp dword [esp + 0x58], 1
jle 0x4323a8
lea eax, [esp + 0x35568]
push eax
push dword [esp + 0x5c]
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 edi
push str.__27_
push edi
push edi
call fcn.0042419f
add esp, 0x20
jmp 0x432402
lea edx, [esp + 0x35568]
call fcn.0047ebaf
test eax, eax
jne 0x4323dc
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 edi
push str.__27_
push edi
push edi
call fcn.0042419f
add esp, 0x1c
jmp 0x432402
push str.:9:PrintUnregisteredInvoicesNew___has_encountered_an_impossible_exception:_an_emp_name_is_not_defined_
call fcn.00418e96
mov dword [esp], 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 edi
push str.__27_
push edi
push edi
call fcn.0042419f
add esp, 0x18
mov eax, 0x7d0
call fcn.0042359f
mov edi, dword [esp + 0x44]
test edi, edi
je 0x432419
call fcn.004715f4
push 0
push 0xffffffffffffffff
call fcn.0040fa94
cmp dword [esp + 0x50], 0
pop ecx
pop ecx
jne 0x432437
mov eax, dword [esp + 0x3519c]
call fcn.0045e99f
xor eax, eax
jmp 0x431242
mov edi, dword [esp + 0x44]
test edi, edi
je 0x43244b
call fcn.004715f4
call fcn.00410123
test eax, eax
jne 0x432461
call fcn.0041017a
test eax, eax
jne 0x432532
mov ecx, dword [esp + 0x34]
test ecx, ecx
jle 0x4324f3
mov edx, dword [esp + 0x50]
fild dword [esp + 0x50]
lea eax, [edx + ecx]
mov dword [esp + 0x5c], eax
fidiv dword [esp + 0x5c]
fcomp qword [0x534128]
fnstsw ax
test ah, 5
jp 0x4324f3
cmp edx, 2
jl 0x432497
cmp ecx, 0xa
jle 0x4324f3
mov eax, dword [esp + 0x54]
call fcn.00441129
mov eax, esi
call fcn.00441129
call fcn.0041017a
xor esi, esi
test eax, eax
je 0x4324ce
cmp dword [ebp + 0x20], esi
jne 0x4324ce
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 esi
push esi
push esi
push 1
call fcn.0042419f
add esp, 0x18
push esi
push 0xffffffffffffffff
call fcn.0040fa94
cmp dword [esp + 0x50], esi
pop ecx
pop ecx
jne 0x4324ea
mov eax, dword [esp + 0x3519c]
call fcn.0045e99f
mov eax, dword [esp + 0x28]
jmp 0x431242
cmp ecx, 0x4b
jl 0x432532
xor edi, edi
cmp dword [esp + 0x38], edi
jne 0x432532
cmp dword [esp + 0x30], edi
jne 0x432532
cmp dword [esp + 0x2c], edi
jne 0x432532
cmp dword [esp + 0x18], edi
jne 0x432532
mov eax, dword [esp + 0x54]
call fcn.00441129
mov eax, esi
call fcn.00441129
push edi
push 0xffffffffffffffff
call fcn.0040fa94
pop ecx
pop ecx
cmp dword [esp + 0x48], edi
jmp 0x4324dc
call fcn.00410123
test eax, eax
jne 0x43268c
call fcn.0041017a
test eax, eax
je 0x43268c
xor edi, edi
cmp dword [ebp + 0x20], edi
jne 0x43264f
push 0x7f
lea eax, [esp + 0x351d5]
push edi
push eax
mov byte [esp + 0x351dc], 0
call fcn.004b7880
add esp, 0xc
push 0x4ef260
mov ecx, esi
call fcn.0044137c
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.0044137c
add esp, 0x10
cmp dword [esp + 0x28], 1
jg 0x4325b2
push 0x4d5c64
mov ecx, esi
call fcn.0044137c
jmp 0x4325ca
push dword [esp + 0x40]
call fcn.0044068d
pop ecx
push eax
push str.s_totaling__s.
mov ecx, esi
call fcn.0044137c
pop ecx
pop ecx
lea eax, [esp + 0x35250]
push 0
push eax
mov eax, dword [esp + 0x2c]
call fcn.004419fc
mov eax, dword [esp + 0x5c]
call fcn.00441129
mov eax, dword [esp + 0x2c]
call fcn.00441129
lea eax, [esp + 0x35258]
push eax
lea eax, [esp + 0x351dc]
push str.START___PAULA_Unregistered_Invoice_Report____MAX_notepad___s_
push eax
call fcn.004b77ce
add esp, 0x14
lea ebx, [esp + 0x351d0]
call fcn.0040fb8e
push 0x4f0510
call fcn.0040d8e7
pop ecx
push eax
mov eax, ebx
push eax
call fcn.004b6c20
push str._n_n_THE_REPORT_HAS_BEEN_OPENED_ON_YOUR_WINDOWS_TASK_BAR__n_n
call fcn.0040f464
mov eax, ebx
add esp, 0xc
push eax
call fcn.0040d8e7
pop ecx
mov eax, 0x3a98
call fcn.0042359f
xor edi, edi
push edi
push 0xffffffffffffffff
call fcn.0040fa94
cmp dword [esp + 0x30], edi
pop ecx
pop ecx
jne 0x43252c
cmp dword [esp + 0x38], edi
jne 0x43267f
cmp dword [esp + 0x30], edi
jne 0x43267f
cmp dword [esp + 0x2c], edi
jne 0x43267f
cmp dword [esp + 0x18], edi
je 0x43252c
mov dword [esp + 0x28], 1
jmp 0x43252c
xor edi, edi
cmp dword [ebp + 0x20], edi
jne 0x43264f
push 0x103
lea eax, [esp + 0x35465]
push edi
push eax
mov byte [esp + 0x3546c], 0
call fcn.004b7880
add esp, 0xc
push str._ProgLog.txt
push dword [ebx + 0x206c]
push edi
push edi
call fcn.004425bd
pop ecx
pop ecx
push eax
push ecx
call fcn.004a65b8
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 edi
push edi
call fcn.004610ab
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.00480225
add esp, 0x2c
lea eax, [esp + 0x35460]
push 1
push eax
mov eax, dword [esp + 0x5c]
call fcn.004419fc
lea eax, [esp + 0x35468]
push 1
push eax
mov eax, esi
call fcn.004419fc
add esp, 0x10
call fcn.00410123
test eax, eax
je 0x43273b
mov dword [0x62d224], 1
cmp dword [esp + 0x35198], edi
jne 0x43264f
mov eax, dword [0x62d210]
cmp eax, 0xa
jne 0x432790
mov eax, dword [ebx + 0x214c]
cmp dword [0x62d1e0], eax
je 0x43264f
cmp eax, edi
jle 0x43264f
push eax
push dword [ebx + 0x2150]
push str.:5:PrintUnregisteredInvoicesNew___FAILED:_Printer__ld_is_invalid.__Trying_default_printer__ld...
call fcn.0041936e
mov eax, dword [ebx + 0x214c]
mov dword [0x62d1e0], eax
mov eax, dword [0x62d210]
add esp, 0xc
cmp eax, 0x64
jb 0x43279a
cmp eax, 0x6e
jbe 0x4327a3
cmp eax, 0xb
jne 0x43264f
push eax
push str.:8:PrintUnregisteredInvoicesNew___FAILED:_TelNetLogonPrintTAMS___FAILED:_Error__ld
call fcn.00418e96
push edi
push 0xffffffffffffffff
call fcn.0040fa94
add esp, 0x10
cmp dword [esp + 0x48], edi
jne 0x43123f
jmp 0x431366