Function at 0x42024b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x4cc8c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push edi
mov esi, 0x104
mov dword [ebp - 0x120], ebx
push esi
xor edi, edi
push edi
push eax
call fcn.00466ad0
push str._n_nLoading_unregistered_invoice_database...
mov dword [ebp - 0x118], edi
call fcn.00405d47
lea eax, [ebp - 0x108]
push str.u_inv.dat
push eax
call fcn.0042f61b
call fcn.00412035
push eax
call fcn.00451684
add esp, 0x1c
test eax, eax
jne 0x4202ef
push str.u_inv.dat
call fcn.00412035
push eax
push str._sMisc_Files_s
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.0045285b
add esp, 0x14
cmp dword [ebx + 0x6c8a0], edi
je 0x4202ef
push str.Z:INVALID_STORE_UP_PATH_
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.0045285b
add esp, 0xc
push 0x222d
push str.C:UsersOfficeDocumentsVisual_StudioPAULAMainPAULA.c
call fcn.00452f92
push 0x222e
mov esi, eax
push str.C:UsersOfficeDocumentsVisual_StudioPAULAMainPAULA.c
push 0x10
mov dword [ebp - 0x11c], esi
call fcn.0042cf9f
lea eax, [ebp - 0x108]
push eax
push esi
call fcn.00453799
push esi
call fcn.00453322
add esp, 0x20
mov dword [ebp - 0x10c], eax
test eax, eax
jg 0x42035b
push esi
call fcn.00453178
push 0x10
call fcn.00432bc5
pop ecx
pop ecx
cmp dword [ebp + 0x14], edi
jne 0x4203c5
push str._nNo_unreconciled_invoices_were_found._nThe_report_does_not_need_to_be_generated._n_nPress_any_key_to_exit...
push str.__All_Invoices_Accounted_For__
push edi
push edi
push edi
push edi
jmp 0x4203bd
push 0x10
call fcn.00432bc5
mov dword [esp], str.Done.
call fcn.00405d47
pop ecx
cmp dword [ebp + 0x10], edi
je 0x4203ea
push str._n_nLoading_employee_descriptions...
call fcn.00405d47
push edi
push 0xffffffffffffffff
push 0xffededee
push dword [ebx + 0xd90]
push str.PEC.dat
push ebx
call fcn.0041d83b
add esp, 0x1c
test eax, eax
jne 0x4203cc
push str.:8:GetCurrentlyUnregisteredInvoices___has_FAILED:_DefineEmployees___FAILED_
call fcn.0040d511
pop ecx
cmp dword [ebp + 0x14], edi
jne 0x4203c5
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 edi
push edi
push edi
push 1
call fcn.00419b3b
add esp, 0x18
xor eax, eax
jmp 0x42051c
push 4
push edi
call fcn.00407b76
push 1
push 0xc
call fcn.00408b96
push str._n_nLoading_employee_descriptions...DONE.
call fcn.00405d47
add esp, 0x14
push str._n_nSearching_invoices...
call fcn.00405d47
mov eax, dword [ebp - 0x10c]
inc eax
mov dword [ebp - 0x110], edi
push 0x90
push eax
call fcn.004701d4
mov ebx, eax
add esp, 0xc
mov dword [ebp - 0x124], ebx
test ebx, ebx
je 0x420513
push esi
call fcn.0045417e
mov esi, dword [ebp + 0xc]
lea eax, [ebx + 0x56]
mov edi, dword [ebp - 0x11c]
mov ebx, eax
pop ecx
mov dword [ebp - 0x114], eax
push edi
call fcn.004532a2
push 9
lea ecx, [ebx - 0x56]
mov dword [ebp - 0x114], eax
push ecx
push eax
call fcn.0043cb2b
add esp, 0x10
test eax, eax
jne 0x42046d
push dword [ebp - 0x114]
push str.:4:Unreconciled_Invoice_Error:_Invalid_database_entry:__s
call fcn.0040d511
pop ecx
pop ecx
jmp 0x4204d5
test si, si
je 0x4204a5
push dword [ebx]
push esi
call fcn.0045f479
pop ecx
pop ecx
test eax, eax
jne 0x4204d5
push dword [ebx]
push esi
call fcn.0045f39f
pop ecx
pop ecx
test eax, eax
jne 0x4204d5
push 0xfffffffffffffff4
push esi
call fcn.0045e03a
push eax
push dword [ebx]
call fcn.0045f479
add esp, 0x10
test eax, eax
jne 0x4204d5
lea eax, [ebp - 0x118]
push eax
push dword [ebx - 0x52]
push dword [ebp - 0x120]
call fcn.0045a0cd
add esp, 0xc
test eax, eax
jne 0x4204d5
cmp dword [ebp - 0x118], eax
je 0x4204d5
inc dword [ebp - 0x110]
add ebx, 0x90
sub dword [ebp - 0x10c], 1
jne 0x42043a
push str.Done.
call fcn.00405d47
mov ebx, dword [ebp - 0x124]
mov eax, dword [ebp - 0x110]
pop ecx
push 0
mov dword [ebx], eax
pop edi
test eax, eax
jg 0x42050b
push ebx
call fcn.004701df
pop ecx
mov ebx, edi
mov esi, dword [ebp - 0x11c]
mov edi, ebx
push esi
call fcn.00453178
pop ecx
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004654a8
leave
ret