Function at 0x43891e
Capabilities:
Terminate process

Disassembly:
push 0x254
push 0x4bcab0
call fcn.004654f0
mov ebx, dword [ebp + 0x10]
mov edi, 0x104
push edi
xor esi, esi
push esi
lea eax, [ebp - 0x224]
push eax
call fcn.00466ad0
push edi
push esi
lea eax, [ebp - 0x120]
push eax
call fcn.00466ad0
add esp, 0x18
mov edi, esi
mov dword [ebp - 0x248], edi
mov dword [ebp - 4], esi
call fcn.004609ba
test ebx, ebx
je 0x43897c
mov dword [ebp - 0x260], ebx
mov dword [ebp - 0x258], 1
jmp 0x438997
call fcn.00436d36
mov ebx, eax
mov dword [ebp - 0x260], ebx
test ebx, ebx
je 0x438ef8
mov dword [ebp - 0x258], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov dword [ebx + 0x10], eax
test eax, eax
jne 0x4389b9
push str._GetLastError_
push str.:8:LoadGlobalInvArchive___encountered_an_impossible_exception:_GetCurrentThread___returned_NULL:__s
call fcn.0040d511
pop ecx
pop ecx
or dword [ebx + 0x10], 0xffffffff
mov eax, dword [ebp + 8]
mov dword [ebx + 0x14], eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x24c], esi
mov dword [ebx + 0x18], esi
push str.s_inv.dat
lea eax, [ebp - 0x224]
push eax
call fcn.0042f61b
pop ecx
pop ecx
push str.s_inv.dat
push str.ServerSync_
push 0
push 0
call fcn.0043e0cb
pop ecx
pop ecx
push eax
push 0x4950b8
push 0x104
lea eax, [ebp - 0x120]
push eax
call fcn.0045285b
add esp, 0x18
call fcn.0043e424
test eax, eax
je 0x438a2c
call fcn.00406b44
test eax, eax
push 1
pop eax
cmove esi, eax
mov dword [ebp - 0x24c], esi
mov dword [ebp + 0xc], esi
test esi, esi
je 0x438b68
xor eax, eax
lea edi, [ebp - 0x234]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x244]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x232c
push str.C:UsersOfficeDocumentsVisual_StudioPAULAParseSA12.c
lea eax, [ebp - 0x234]
push eax
call fcn.0045f310
xor edi, edi
push edi
push edi
lea eax, [ebp - 0x244]
push eax
push edi
push edi
lea eax, [ebp - 0x120]
push eax
call fcn.0041193a
add esp, 0x24
test eax, eax
jne 0x438ac5
mov esi, edi
mov dword [ebp - 0x24c], esi
mov dword [ebp + 0xc], esi
call fcn.00406b44
test eax, eax
jne 0x438b62
lea eax, [ebp - 0x224]
push eax
call fcn.00410961
pop ecx
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.00410961
pop ecx
push eax
push str.:4:LoadGlobalInvArchive___cannot_use_bQuick_because_the_local_archive_does_not_exist:_DoesFileExist___d__d
call fcn.0040d9e1
jmp 0x438b5f
mov ax, word [ebp - 0x23e]
cmp ax, word [ebp - 0x22e]
je 0x438b62
push edi
push 0x1388
lea eax, [ebp - 0x234]
push eax
push edi
push edi
lea eax, [ebp - 0x224]
push eax
call fcn.0041193a
add esp, 0x18
mov ax, word [ebp - 0x23e]
cmp ax, word [ebp - 0x22e]
je 0x438b62
mov esi, edi
mov dword [ebp - 0x24c], esi
mov dword [ebp + 0xc], esi
call fcn.00406b44
test eax, eax
jne 0x438b62
push 1
sub esp, 0x10
lea esi, [ebp - 0x234]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0045fabc
add esp, 0x14
push eax
push 1
sub esp, 0x10
lea esi, [ebp - 0x244]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0045fabc
add esp, 0x14
push eax
push str.:4:LoadGlobalInvArchive___cannot_use_bQuick_because_the_local_archive_is_not_recent__s:_Global___s_
call fcn.0040d9e1
mov esi, dword [ebp - 0x24c]
add esp, 0xc
mov edi, dword [ebp - 0x248]
push ebx
push dword [0x5b841c]
call fcn.00443997
pop ecx
pop ecx
test eax, eax
jne 0x438b95
push 0x2340
push esi
push dword [ebp + 8]
push str.:5:LoadGlobalInvArchive__d__d__FAILED:_Someone_deleted_the_handle_while_loading:_Line_d
call fcn.0040d511
add esp, 0x10
jmp 0x438ef8
cmp dword [ebx + 0xc], 0
je 0x438baf
and dword [ebx + 0x10], 0
push 0x2340
push esi
push dword [ebp + 8]
push str.:5:LoadGlobalInvArchive__d__d__FAILED:_Someone_is_waiting_to_delete_the_handle:_Line_d
jmp 0x438b88
xor esi, esi
mov dword [ebp - 0x248], esi
cmp dword [ebp - 0x24c], esi
jne 0x438c12
push 0x2345
push str.C:UsersOfficeDocumentsVisual_StudioPAULAParseSA12.c
call fcn.00452f92
mov esi, eax
mov dword [ebp - 0x248], esi
push 0x2346
push str.C:UsersOfficeDocumentsVisual_StudioPAULAParseSA12.c
push 0x10
call fcn.0042cf9f
lea eax, [ebp - 0x224]
push eax
push esi
call fcn.00453799
add esp, 0x1c
test eax, eax
jg 0x438c0a
push esi
call fcn.00453178
pop ecx
xor esi, esi
mov dword [ebp - 0x248], esi
push 0x10
call fcn.00432bc5
pop ecx
test esi, esi
jne 0x438ca1
push 0x2351
push str.C:UsersOfficeDocumentsVisual_StudioPAULAParseSA12.c
call fcn.00452f92
mov esi, eax
mov dword [ebp - 0x248], esi
lea eax, [ebp - 0x120]
push eax
push esi
call fcn.00453799
add esp, 0x10
test eax, eax
jg 0x438ca1
xor edi, edi
push edi
push edi
lea eax, [ebp - 0x120]
push eax
call fcn.00411717
add esp, 0xc
cmp eax, 0x400
jae 0x438c6a
push str.:5:LoadGlobalInvArchive___EAP:_The_invoice_archive_could_not_be_accessed.
call fcn.0040d9e1
pop ecx
push esi
call fcn.00453178
push ebx
push dword [0x5b841c]
call fcn.00443997
add esp, 0xc
test eax, eax
je 0x438ef8
mov dword [ebx + 0x10], edi
cmp dword [ebp - 0x258], edi
jne 0x438ef8
push ebx
call fcn.00436de1
jmp 0x438ef7
push esi
call fcn.0045417e
push esi
call fcn.00453322
pop ecx
pop ecx
mov dword [ebp - 0x25c], eax
cmp dword [ebp + 8], 0
jle 0x438d48
call fcn.0045f0e8
mov dword [ebp - 0x254], eax
mov eax, dword [ebp - 0x25c]
dec eax
mov dword [ebp - 0x250], eax
test eax, eax
js 0x438d52
push eax
push esi
call fcn.00453354
push eax
call fcn.00453f6f
mov esi, eax
push edi
push esi
call fcn.0046074a
add esp, 0x14
test eax, eax
jle 0x438d27
push esi
push dword [ebp - 0x254]
call fcn.0045f479
pop ecx
pop ecx
test eax, eax
jne 0x438d12
mov edi, esi
mov dword [ebp - 0x264], edi
mov eax, dword [ebp - 0x250]
dec eax
mov dword [ebp - 0x250], eax
mov esi, dword [ebp - 0x248]
jmp 0x438cd7
push eax
call fcn.004701fa
pop ecx
cmp eax, dword [ebp + 8]
jl 0x438d12
mov edi, dword [ebp - 0x250]
inc edi
mov dword [ebp - 0x250], edi
mov esi, dword [ebp - 0x248]
jmp 0x438d58
xor edi, edi
mov dword [ebp - 0x250], edi
jmp 0x438d58
mov edi, dword [ebp - 0x250]
push ebx
push dword [0x5b841c]
call fcn.00443997
pop ecx
pop ecx
test eax, eax
jne 0x438d85
test esi, esi
je 0x438d75
push esi
call fcn.00453178
pop ecx
push 0x238d
push dword [ebp - 0x24c]
jmp 0x438b80
cmp dword [ebx + 0xc], 0
je 0x438daa
and dword [ebx + 0x10], 0
test esi, esi
je 0x438d9a
push esi
call fcn.00453178
pop ecx
push 0x238d
push dword [ebp - 0x24c]
jmp 0x438ba5
mov eax, dword [ebp - 0x25c]
sub eax, edi
add eax, 0xa
mov dword [ebp - 0x254], eax
push 0x90
push eax
call fcn.004701d4
pop ecx
pop ecx
mov dword [ebx + 4], eax
test eax, eax
jne 0x438dfd
push 0x90
push dword [ebp - 0x254]
push str.:7:LoadGlobalInvArchive___FAILED:_calloc__d___d__FAILED:_out_of_memory_
call fcn.0040d511
push esi
call fcn.00453178
add esp, 0x10
and dword [ebx + 0x10], 0
cmp dword [ebp - 0x258], 0
jmp 0x438c90
and dword [ebx], 0
xor eax, eax
cmp edi, dword [ebp - 0x25c]
jge 0x438eb8
push edi
push esi
call fcn.00453354
pop ecx
pop ecx
mov dword [ebp - 0x254], eax
mov eax, edi
cdq
push 0x64
pop ecx
idiv ecx
test edx, edx
jne 0x438e6f
push ebx
push dword [0x5b841c]
call fcn.00443997
pop ecx
pop ecx
test eax, eax
jne 0x438e50
test esi, esi
je 0x438e46
push esi
call fcn.00453178
pop ecx
push 0x23a1
jmp 0x438d7a
cmp dword [ebx + 0xc], 0
je 0x438e6f
and dword [ebx + 0x10], 0
test esi, esi
je 0x438e65
push esi
call fcn.00453178
pop ecx
push 0x23a1
jmp 0x438d9f
push 9
imul eax, dword [ebx], 0x90
add eax, dword [ebx + 4]
push eax
push dword [ebp - 0x254]
call fcn.0043cb2b
add esp, 0xc
test eax, eax
jne 0x438ea7
push 0x90
push eax
imul eax, dword [ebx], 0x90
add eax, dword [ebx + 4]
push eax
call fcn.00466ad0
add esp, 0xc
dec dword [ebx]
mov eax, dword [ebx]
inc eax
mov dword [ebx], eax
inc edi
mov dword [ebp - 0x250], edi
jmp 0x438e02
push 0x90
push 0
imul eax, eax, 0x90
add eax, dword [ebx + 4]
push eax
call fcn.00466ad0
and dword [ebx + 0x10], 0
push esi
call fcn.00453178
add esp, 0x10
mov dword [ebp - 4], 0xfffffffe
mov eax, ebx
jmp 0x438f01
pop ecx
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret