Function at 0x44c4a7
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x4cc8c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, 0x104
lea eax, [ebp - 0x108]
push ebx
xor esi, esi
push esi
push eax
call fcn.00466ad0
push ebx
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00466ad0
lea eax, [ebp - 0x108]
push str.s_inv.dat
push eax
call fcn.0042f61b
mov edi, str.s_inv_rem.dat
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0042f61b
push str.InvBuffer.dat
push esi
call fcn.0043e284
push eax
call fcn.00410961
add esp, 0x34
test eax, eax
jne 0x44c5ed
push 1
push esi
call fcn.00447d4e
pop ecx
pop ecx
test eax, eax
jne 0x44c5cf
call fcn.004609ba
sub eax, dword [0x5c38a8]
cmp eax, 0x1b7740
jbe 0x44c5cf
call fcn.004609ba
push esi
mov dword [0x5c38a8], eax
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00411717
push 0
mov esi, eax
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00411717
add esp, 0x18
cmp eax, esi
jne 0x44c589
lea eax, [ebp - 0x20c]
push eax
call fcn.00410961
pop ecx
test eax, eax
jne 0x44c5cd
call fcn.0043e424
test eax, eax
jne 0x44c5a6
push 0x505
push str.C:UsersOfficeDocumentsVisual_StudioPAULAServerPAULA.c
push 0x10
call fcn.0042cf9f
add esp, 0xc
call fcn.0044c8c0
mov esi, eax
call fcn.0043e424
test eax, eax
jne 0x44c5be
push 0x10
call fcn.00432bc5
pop ecx
push esi
push edi
push str.:1:FYI:_UpdateInvoiceRegister___had_to_re_create__s:_bResult___d
call fcn.0040d9e1
add esp, 0xc
xor esi, esi
push 1
push esi
call fcn.00447d4e
pop ecx
pop ecx
test eax, eax
jne 0x44c8b1
push esi
call fcn.0043d0ae
pop ecx
jmp 0x44c8b1
push 0xea60
call fcn.0043ded0
pop ecx
test eax, eax
jne 0x44c607
push str.:4:UpdateInvoiceRegister___EAP:_WaitForLogInvoiceDataToFinish___FAILED_
call fcn.0040d511
pop ecx
push 0x517
mov edi, str.C:UsersOfficeDocumentsVisual_StudioPAULAServerPAULA.c
push edi
push 0x10
call fcn.0042cf9f
add esp, 0xc
test eax, eax
jne 0x44c62c
push str.:3:UpdateInvoiceRegister___FAILED:_The_global_invoice_register_could_not_be_locked.
call fcn.0040d511
jmp 0x44c5e7
push 0x51d
push edi
call fcn.00452f92
push 0x51e
push edi
mov ebx, eax
call fcn.00452f92
mov edi, eax
lea eax, [ebp - 0x108]
push eax
push edi
call fcn.00453ce5
add esp, 0x18
test eax, eax
jg 0x44c70b
push 0x104
lea eax, [ebp - 0x310]
push esi
push eax
call fcn.00466ad0
add esp, 0xc
push str.s_inv.dat
push str.ServerSync_
push esi
push esi
call fcn.0043e0cb
pop ecx
pop ecx
push eax
push 0x4950b8
lea eax, [ebp - 0x310]
push 0x104
push eax
call fcn.0045285b
push esi
lea eax, [ebp - 0x310]
push esi
push eax
call fcn.00411717
add esp, 0x24
cmp eax, 0x16
jbe 0x44c70b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x108]
push eax
push edi
call fcn.00453ce5
pop ecx
pop ecx
cmp eax, 2
jg 0x44c70b
lea eax, [ebp - 0x108]
push eax
call fcn.00410961
push eax
lea eax, [ebp - 0x108]
push eax
push str.:8:UpdateInvoiceRegister___FAILED:_LoadStringListFromArchiveInvDesc___FAILED_to_access_the_TAMS_server.__DoesFileExist__s____d
call fcn.0040d511
push ebx
call fcn.00453178
push edi
call fcn.00453178
push 0x10
call fcn.00432bc5
add esp, 0x1c
jmp 0x44c8b1
push str.InvBuffer.dat
push esi
call fcn.0043e284
push eax
push ebx
call fcn.00453d21
add esp, 0x10
test eax, eax
jle 0x44c738
push str.InvBuffer.dat
push esi
call fcn.0043e284
push eax
call fcn.0041165b
add esp, 0xc
push ebx
call fcn.0045417e
push ebx
call fcn.00453322
push str.InvBuffer.dat
push 0
mov esi, eax
call fcn.0043e284
push eax
call fcn.00454b6f
add esp, 0x14
test esi, esi
jle 0x44c776
push ebx
call fcn.004532a2
push 0x12
push eax
push edi
call fcn.00452c2b
add esp, 0x10
sub esi, 1
jne 0x44c75f
push 0x48b207
call fcn.00454b6f
call fcn.0043e424
push edi
lea esi, [eax - 1]
neg esi
sbb esi, esi
and esi, 0x4268
add esi, 0x3a98
call fcn.00453322
pop ecx
pop ecx
cmp eax, esi
jle 0x44c7bd
call fcn.0043e424
dec eax
neg eax
push 2
sbb eax, eax
and eax, 0x4268
add eax, 0x3a98
pop ecx
jmp 0x44c7c1
xor eax, eax
xor ecx, ecx
push ecx
push eax
push edi
call fcn.00454ae7
push 0
push 1
lea eax, [ebp - 0x108]
push eax
push edi
call fcn.004542d9
add esp, 0x1c
test eax, eax
jg 0x44c874
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
call esi
push 0
push 1
lea eax, [ebp - 0x108]
push eax
push edi
call fcn.004542d9
add esp, 0x10
test eax, eax
jg 0x44c874
push 0x3e8
call esi
xor esi, esi
lea eax, [ebp - 0x108]
push esi
push 1
push eax
push edi
call fcn.004542d9
add esp, 0x10
test eax, eax
jg 0x44c874
push str.:8:UpdateInvoiceRegister___FAILED:_SaveStringListToArchive___FAILED_
call fcn.0040d511
mov dword [esp], str.InvBuffer.dat
push esi
call fcn.0043e284
push eax
call fcn.00410961
add esp, 0xc
test eax, eax
jne 0x44c869
push esi
push esi
push str.InvBuffer.dat
push esi
call fcn.0043e284
pop ecx
pop ecx
push eax
push ebx
call fcn.004546fe
add esp, 0x10
jmp 0x44c874
push str.:8:UpdateInvoiceRegister__:_Data_loss_has_occurred_
call fcn.0040d511
pop ecx
call fcn.0043e424
test eax, eax
je 0x44c885
push 0x10
call fcn.00432bc5
pop ecx
call fcn.0044c8c0
call fcn.0043e424
test eax, eax
jne 0x44c89b
push 0x10
call fcn.00432bc5
pop ecx
push ebx
call fcn.00453178
push edi
call fcn.00453178
push 1
call fcn.0043d0ae
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004654a8
leave
ret