Function at 0x44afde
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x59a240]
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.004e4da0
push str._n_nLoading_unregistered_invoice_database...
mov dword [ebp - 0x118], edi
call fcn.0040d628
lea eax, [ebp - 0x108]
push str.u_inv.dat
push eax
call fcn.0046379e
call fcn.0042b681
push eax
call fcn.0049f486
add esp, 0x1c
test eax, eax
jne 0x44b082
push str.u_inv.dat
call fcn.0042b681
push eax
push str._sMisc_Files_s
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.004a0ddb
add esp, 0x14
cmp dword [ebx + 0x6c8a0], edi
je 0x44b082
push str.Z:INVALID_STORE_UP_PATH_
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.004a0ddb
add esp, 0xc
push 0x21f9
push str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_MainPAULA.c
call fcn.004a169c
push 0x21fa
mov esi, eax
push str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_MainPAULA.c
push 0x10
mov dword [ebp - 0x11c], esi
call fcn.00460f18
lea eax, [ebp - 0x108]
push eax
push esi
call fcn.004a1f9e
push esi
call fcn.004a1abb
add esp, 0x20
mov dword [ebp - 0x10c], eax
test eax, eax
jg 0x44b0ee
push esi
call fcn.004a1882
push 0x10
call fcn.0046733c
pop ecx
pop ecx
cmp dword [ebp + 0x14], edi
jne 0x44b158
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 0x44b150
push 0x10
call fcn.0046733c
mov dword [esp], str.Done.
call fcn.0040d628
pop ecx
cmp dword [ebp + 0x10], edi
je 0x44b17d
push str._n_nLoading_employee_descriptions...
call fcn.0040d628
push edi
push 0xffffffffffffffff
push 0xffededee
push dword [ebx + 0xd90]
push str.PaulaEmpConfig.cfg
push ebx
call fcn.00446609
add esp, 0x1c
test eax, eax
jne 0x44b15f
push str.:8:GetCurrentlyUnregisteredInvoices___has_FAILED:_DefineEmployees___FAILED_
call fcn.004255b9
pop ecx
cmp dword [ebp + 0x14], edi
jne 0x44b158
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.004346cb
add esp, 0x18
xor eax, eax
jmp 0x44b2af
push 4
push edi
call fcn.00410118
push 1
push 0xc
call fcn.00411758
push str._n_nLoading_employee_descriptions...DONE.
call fcn.0040d628
add esp, 0x14
push str._n_nSearching_invoices...
call fcn.0040d628
mov eax, dword [ebp - 0x10c]
inc eax
mov dword [ebp - 0x110], edi
push 0x90
push eax
call fcn.004ee464
mov ebx, eax
add esp, 0xc
mov dword [ebp - 0x124], ebx
test ebx, ebx
je 0x44b2a6
push esi
call fcn.004a29b5
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.004a1a3b
push 9
lea ecx, [ebx - 0x56]
mov dword [ebp - 0x114], eax
push ecx
push eax
call fcn.0047b2e4
add esp, 0x10
test eax, eax
jne 0x44b200
push dword [ebp - 0x114]
push str.:4:Unreconciled_Invoice_Error:_Invalid_database_entry:__s
call fcn.004255b9
pop ecx
pop ecx
jmp 0x44b268
test si, si
je 0x44b238
push dword [ebx]
push esi
call fcn.004c93c7
pop ecx
pop ecx
test eax, eax
jne 0x44b268
push dword [ebx]
push esi
call fcn.004c92ed
pop ecx
pop ecx
test eax, eax
jne 0x44b268
push 0xfffffffffffffff4
push esi
call fcn.004c7ea1
push eax
push dword [ebx]
call fcn.004c93c7
add esp, 0x10
test eax, eax
jne 0x44b268
lea eax, [ebp - 0x118]
push eax
push dword [ebx - 0x52]
push dword [ebp - 0x120]
call fcn.004aa5cf
add esp, 0xc
test eax, eax
jne 0x44b268
cmp dword [ebp - 0x118], eax
je 0x44b268
inc dword [ebp - 0x110]
add ebx, 0x90
sub dword [ebp - 0x10c], 1
jne 0x44b1cd
push str.Done.
call fcn.0040d628
mov ebx, dword [ebp - 0x124]
mov eax, dword [ebp - 0x110]
pop ecx
push 0
mov dword [ebx], eax
pop edi
test eax, eax
jg 0x44b29e
push ebx
call fcn.004ee46f
pop ecx
mov ebx, edi
mov esi, dword [ebp - 0x11c]
mov edi, ebx
push esi
call fcn.004a1882
pop ecx
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e3632
leave
ret