Function at 0x48b22a
Capabilities:
Reference sql statements

Disassembly:
mov ebx, dword [0x9ac5e0]
cmp ebx, 2
jne 0x48b240
mov dword [0x9ab800], 0
ret
mov ebx, dword [0x9ab800]
and ebx, ebx
jne 0x48b24b
ret
call fcn.00418ee4
mov dword [0x9ab830], 0
mov dword [0x9abaa8], 0
mov dword [0x9accb8], 0
mov dword [0x9ad700], 0
mov dword [0x9ae130], 0
push 0x6fb198
push 1
push 0
call fcn.004f09d9
mov ebx, dword [0x9ac5e0]
cmp ebx, 1
jne 0x48b5b0
push 0
push 0
mov eax, str.Scanning_database...
push eax
call fcn.004ee8a9
push 1
mov eax, str.Counting_number_of_items
push eax
call fcn.004e2511
call fcn.004fd8e6
mov dword [0x9ab830], eax
push 1
mov eax, str.Counting_number_of_borrowers
push eax
call fcn.004e2511
mov eax, str.Borrowers
push eax
call fcn.0051220b
mov dword [0x9abaa8], eax
push 1
mov eax, str.Counting_status
push eax
call fcn.004e2511
mov edx, 0x6fb198
lea ecx, [0x9ac69c]
call fcn.0051f008
mov dword [0x9ac534], 1
jmp 0x48b320
mov eax, dword [0x9acc0c]
cmp eax, dword [0x9ac534]
jl 0x48b41c
push dword [0x9b3e20]
push dword [0x9b3e20]
mov ebx, dword [0x9ac534]
mov ebp, dword [0x9aef30]
shl ebx, 2
push dword [ebp + ebx]
call fcn.005563f0
lea eax, [0x9ac12c]
push eax
call fcn.00559740
push 1
mov eax, str.LOST
push eax
push dword [0x9ac12c]
call fcn.00556310
and eax, eax
jne 0x48b397
push 1
mov eax, str.MISSING
push eax
push dword [0x9ac12c]
call fcn.00556310
and eax, eax
jne 0x48b397
jmp 0x48b39e
mov eax, 1
jmp 0x48b3a0
xor eax, eax
and eax, eax
jne 0x48b3c0
push 1
mov eax, str.STOCKTAK
push eax
push dword [0x9ac12c]
call fcn.00556310
and eax, eax
jne 0x48b3c0
jmp 0x48b3c7
mov eax, 1
jmp 0x48b3c9
xor eax, eax
and eax, eax
je 0x48b410
mov edx, dword [0x9ac69c]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str._OR_STATUS
push edx
call fcn.005597c0
push dword [0x9b3e20]
push dword [0x9b3e20]
mov eax, dword [0x9ac534]
cdq
push edx
push eax
call fcn.005565d0
pop eax
lea eax, [0x9ac69c]
push eax
call fcn.00559740
inc dword [0x9ac534]
jno 0x48b320
mov edx, dword [0x9ac69c]
xor ecx, ecx
call fcn.0051f5d0
jne 0x48b4d5
push dword [0x9b3e20]
push dword [0x9b3e20]
push dword [0x9b3e20]
push dword [0x9b3e20]
push 5
push dword [0x9ac69c]
call fcn.00556d60
mov edx, dword [0x9a36fc]
add dword [esp], edx
call fcn.00556580
lea eax, [0x9ac69c]
push eax
call fcn.00559740
push dword [0x9b3e20]
mov edx, str.SELECT_ITEMKEY_FROM_Items_WHERE
push edx
call fcn.005597c0
mov edx, dword [0x9ac69c]
push edx
call fcn.005597c0
lea eax, [0x9ac12c]
push eax
call fcn.00559740
push 1
push dword [0x9ac12c]
call fcn.004f685a
and eax, eax
je 0x48b4d5
push 1
call fcn.004f4ac4
and eax, eax
je 0x48b4cb
mov ebx, dword [0x9accb8]
inc ebx
mov dword [0x9accb8], ebx
jmp 0x48b4ae
push 1
call fcn.004be154
push dword [0x9b3e20]
call fcn.0051735c
lea eax, [0x9ac12c]
push eax
call fcn.00559740
push dword [0x9b3e20]
push 0x6fb198
push dword [0x9ac12c]
call fcn.0051b5b2
lea eax, [0x9ac808]
push eax
call fcn.00559740
push 1
mov eax, str.Counting_loans
push eax
call fcn.004e2511
mov edx, str.SELECT_DUEDATE_FROM_Items_WHERE_STATUS2
lea ecx, [0x9ac12c]
call fcn.0051f008
push 1
push dword [0x9ac12c]
call fcn.004f685a
and eax, eax
je 0x48b5ab
push 1
call fcn.004f4ac4
and eax, eax
je 0x48b5a1
push dword [0x9b3e20]
push 1
push 0
call fcn.004e0dff
lea eax, [0x9ac12c]
push eax
call fcn.00559740
mov ebx, dword [0x9ae130]
inc ebx
mov dword [0x9ae130], ebx
push dword [0x9ac12c]
mov edx, dword [0x9ac808]
pop ecx
call fcn.0051f610
je 0x48b59f
mov ebx, dword [0x9ad700]
inc ebx
mov dword [0x9ad700], ebx
jmp 0x48b542
push 1
call fcn.004be154
call fcn.00505b4e
mov dword [0x9ae204], 0
push 1
mov eax, str.SELECT__FROM_Reservations_WHERE_RESVTYPEon_hold
push eax
call fcn.004f685a
and eax, eax
je 0x48b65a
push 1
call fcn.004f4ac4
and eax, eax
je 0x48b650
call fcn.004ec46d
push dword [0x9b3e20]
push dword [0x9b3e20]
mov eax, dword [0x9adc60]
cdq
push edx
push eax
call fcn.005565d0
mov edx, dword [0x9ac234]
push edx
call fcn.005597c0
lea eax, [0x9ac12c]
push eax
call fcn.00559740
mov ebx, dword [0x9ae204]
inc ebx
mov dword [0x9ae204], ebx
mov edx, dword [0x9ac12c]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov ebx, dword [0x9ae204]
mov ebp, dword [0x9aeef8]
shl ebx, 2
lea eax, [ebp + ebx]
push eax
call fcn.00559740
jmp 0x48b5d2
push 1
call fcn.004be154
mov dword [0x9ac534], 1
jmp 0x48b666
mov eax, dword [0x9ae204]
cmp eax, dword [0x9ac534]
jl 0x48b7e2
mov ebx, dword [0x9ac534]
mov ebp, dword [0x9aeef8]
shl ebx, 2
mov edx, dword [ebp + ebx]
push dword [0x9b3e20]
push edx
call fcn.005597c0
lea eax, [0x9ad928]
push eax
call fcn.00559740
push dword [0x9ac234]
push 1
push dword [0x9ad928]
call fcn.0051b4d3
mov dword [0x9ac598], eax
push dword [0x9b3e20]
push 1
push dword [0x9b3e20]
mov edx, str.SELECT_TITLE_CALLNUMBER_FROM_Items_WHERE_ITEMKEY
push edx
call fcn.005597c0
push dword [0x9b3e20]
push dword [0x9b3e20]
mov eax, dword [0x9ac598]
cdq
push edx
push eax
call fcn.005565d0
pop eax
mov edx, dword [0x9a36fc]
add dword [esp], edx
call fcn.004f685a
pop dword [0x9b3e20]
and eax, eax
je 0x48b7d6
push 1
call fcn.004f4ac4
and eax, eax
je 0x48b75f
push dword [0x9b3e20]
push 1
push 0
call fcn.004e0dff
lea eax, [0x9ac97c]
push eax
call fcn.00559740
push dword [0x9b3e20]
push 1
push 1
call fcn.004e0dff
lea eax, [0x9adf24]
push eax
call fcn.00559740
push 1
call fcn.004be154
mov edx, dword [0x9ad928]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, dword [0x9ac97c]
push edx
call fcn.005597c0
mov edx, dword [0x9ac234]
push edx
call fcn.005597c0
mov edx, dword [0x9adf24]
push edx
call fcn.005597c0
lea eax, [0x9ad928]
push eax
call fcn.00559740
mov edx, dword [0x9ad928]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov ebx, dword [0x9ac534]
mov ebp, dword [0x9aeef8]
shl ebx, 2
lea eax, [ebp + ebx]
push eax
call fcn.00559740
inc dword [0x9ac534]
jno 0x48b666
mov dword [0x9ae540], 0
push 1
mov eax, str.SELECT__FROM_Reviews_ORDER_BY_REVIEWKEY
push eax
call fcn.004f685a
and eax, eax
je 0x48b836
push 1
call fcn.004f4ac4
and eax, eax
je 0x48b82c
call fcn.0041ff41
mov ebx, dword [0x9ae338]
and ebx, ebx
jne 0x48b82a
mov ebx, dword [0x9ae540]
inc ebx
mov dword [0x9ae540], ebx
jmp 0x48b800
push 1
call fcn.004be154
push dword [0x9b3e20]
push dword [0x9b3e20]
mov edx, str.DELETE_FROM_Clients_WHERE_DATE_
push edx
call fcn.005597c0
push dword [0x9b3e20]
push 0x6fb198
push 0x6fb198
call fcn.0051b5b2
pop eax
mov edx, 0x6fe366
push edx
call fcn.005597c0
add dword [0x9b3e20], 2
push 1
mov edx, dword [0x9a36fc]
add dword [esp + 4], edx
call fcn.00546cd1
pop dword [0x9b3e20]
push dword [0x9b3e20]
push dword [0x9b3e20]
mov edx, str.DELETE_FROM_Bookings_WHERE_BOOKINGDATE_
push edx
call fcn.005597c0
push dword [0x9b3e20]
push 0x6fb198
push 0x6fb198
call fcn.004fa3e2
pop eax
mov edx, 0x6fe366
push edx
call fcn.005597c0
add dword [0x9b3e20], 2
push 1
mov edx, dword [0x9a36fc]
add dword [esp + 4], edx
call fcn.00546cd1
pop dword [0x9b3e20]
mov eax, str.Searchlog
push eax
call fcn.004cba7a
mov dword [0x9ae214], eax
mov eax, str.SearchStats
push eax
call fcn.004cba7a
mov dword [0x9ad9b4], eax
mov dword [0x9acb94], 0
mov edx, str.SELECT_BOOKINGID_BOOKINGITEM_BOOKINGBORROWER
lea ecx, [0x9ac1a4]
call fcn.0051f008
mov edx, dword [0x9ac1a4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str._C.TITLE_B.SURNAME_B.GIVENNAME_B.PREFERREDNAME
push edx
call fcn.005597c0
lea eax, [0x9ac1a4]
push eax
call fcn.00559740
mov edx, dword [0x9ac1a4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str.FROM_Bookings_A
push edx
call fcn.005597c0
lea eax, [0x9ac1a4]
push eax
call fcn.00559740
mov edx, dword [0x9ac1a4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str.LEFT_JOIN_Borrowers_B_ON_B.BORROWERNUMBERA.BOOKINGBORROWER
push edx
call fcn.005597c0
lea eax, [0x9ac1a4]
push eax
call fcn.00559740
mov edx, dword [0x9ac1a4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str.LEFT_JOIN_Items_C_ON_C.ITEMNUMBERA.BOOKINGITEM
push edx
call fcn.005597c0
lea eax, [0x9ac1a4]
push eax
call fcn.00559740
mov edx, dword [0x9ac1a4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str.WHERE_BOOKINGDATE
push edx
call fcn.005597c0
push dword [0x9b3e20]
push 0x6fb198
push 0x6fb198
call fcn.0051b5b2
pop eax
mov edx, 0x71abce
push edx
call fcn.005597c0
lea eax, [0x9ac1a4]
push eax
call fcn.00559740
push 1
push dword [0x9ac1a4]
call fcn.004f685a
and eax, eax
je 0x48bbfd
push 1
call fcn.004f4ac4
and eax, eax
je 0x48bbf3
push dword [0x9b3e20]
push 1
push 0
call fcn.004e0dff
lea eax, [0x9ace48]
push eax
call fcn.00559740
push dword [0x9b3e20]
push 1
push 1
call fcn.004e0dff
lea eax, [0x9ac058]
push eax
call fcn.00559740
push dword [0x9b3e20]
push 1
push 2
call fcn.004e0dff
lea eax, [0x9ae4b0]
push eax
call fcn.00559740
push dword [0x9b3e20]
push 1
push 3
call fcn.004e0dff
lea eax, [0x9acc5c]
push eax
call fcn.00559740
push dword [0x9b3e20]
push 1
push 4
call fcn.004e0dff
lea eax, [0x9ac17c]
push eax
call fcn.00559740
push dword [0x9b3e20]
push 1
push 5
call fcn.004e0dff
lea eax, [0x9ad270]
push eax
call fcn.00559740
push dword [0x9b3e20]
push 1
push 6
call fcn.004e0dff
lea eax, [0x9aba24]
push eax
call fcn.00559740
push dword [0x9b3e20]
call fcn.00512323
lea eax, [0x9ad7e0]
push eax
call fcn.00559740
mov edx, dword [0x9ace48]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, dword [0x9ab790]
push edx
call fcn.005597c0
mov edx, dword [0x9ac058]
push edx
call fcn.005597c0
mov edx, dword [0x9ab790]
push edx
call fcn.005597c0
mov edx, dword [0x9acc5c]
push edx
call fcn.005597c0
mov edx, dword [0x9ab790]
push edx
call fcn.005597c0
mov edx, dword [0x9ae4b0]
push edx
call fcn.005597c0
mov edx, dword [0x9ab790]
push edx
call fcn.005597c0
mov edx, dword [0x9ad7e0]
push edx
call fcn.005597c0
lea eax, [0x9ad928]
push eax
call fcn.00559740
mov ebx, dword [0x9acb94]
inc ebx
mov dword [0x9acb94], ebx
mov edx, dword [0x9ad928]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov ebx, dword [0x9acb94]
mov ebp, dword [0x9aef18]
shl ebx, 2
lea eax, [ebp + ebx]
push eax
call fcn.00559740
jmp 0x48ba28
push 1
call fcn.004be154
mov dword [0x9ad878], 0
mov ebx, dword [0x9ae214]
and ebx, ebx
jne 0x48bc2a
call fcn.004704bc
push 0x3e8
call fcn.005405b8
mov dword [0x9ae214], 1
mov ebx, dword [0x9ad9b4]
and ebx, ebx
jne 0x48bc4d
call fcn.004705b1
push 0x3e8
call fcn.005405b8
mov dword [0x9ad9b4], 1
cmp dword [0x9ae214], 0
je 0x48bca4
cmp dword [0x9acda4], 0
je 0x48bca4
push 1
mov eax, str.SELECT_SEARCHLOGKEY_FROM_Searchlog
push eax
call fcn.004f685a
and eax, eax
je 0x48bc9a
push 1
call fcn.004f4ac4
and eax, eax
je 0x48bc90
mov ebx, dword [0x9ad878]
inc ebx
mov dword [0x9ad878], ebx
jmp 0x48bc73
push 1
call fcn.004be154
push 1
call fcn.004be154
push 1
call fcn.004d3586
push dword [0x9b3e20]
push 0x6fb198
push 0x6fb198
call fcn.0051b5b2
lea eax, [0x9ac808]
push eax
call fcn.00559740
mov dword [0x9ab9b8], 0
mov dword [0x9ae280], 0
mov edx, 0x6fb198
lea ecx, [0x9ac69c]
call fcn.0051f008
mov dword [0x9ac534], 1
jmp 0x48bcff
mov eax, dword [0x9ac894]
cmp eax, dword [0x9ac534]
jl 0x48bdb5
mov eax, dword [0x9af4a4]
add eax, eax
mov ebp, eax
push ebp
mov eax, dword [0x9ac534]
pop ebp
add ebp, eax
shl ebp, 2
add ebp, dword [0x9af4a0]
mov edx, dword [ebp]
push dword [0x9b3e20]
push edx
call fcn.005597c0
lea eax, [0x9ac12c]
push eax
call fcn.00559740
mov edx, dword [0x9ac12c]
xor ecx, ecx
call fcn.0051f5d0
jne 0x48bda9
push dword [0x9b3e20]
push 0x6fb198
push dword [0x9ac12c]
call fcn.0051b5b2
lea eax, [0x9ac3e4]
push eax
call fcn.00559740
push dword [0x9ac3e4]
mov edx, dword [0x9ac69c]
pop ecx
call fcn.0051f660
je 0x48bda9
mov edx, dword [0x9ac3e4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
lea eax, [0x9ac69c]
push eax
call fcn.00559740
inc dword [0x9ac534]
jno 0x48bcff
mov edx, dword [0x9ac69c]
xor ecx, ecx
call fcn.0051f5d0
jne 0x48bde2
push dword [0x9ac69c]
mov edx, dword [0x9ac808]
pop ecx
call fcn.0051f610
je 0x48bde2
mov dword [0x9ab9b8], 1
push 0x6fe984
push dword [0x9ad6b0]
call fcn.004dfb06
mov dword [0x9ac4ac], eax
cmp dword [0x9ac4ac], 0
je 0x48bef5
mov edx, 0x6fb198
lea ecx, [0x9ac69c]
call fcn.0051f008
mov dword [0x9ac534], 1
jmp 0x48be20
mov eax, dword [0x9ac4ac]
cmp eax, dword [0x9ac534]
jl 0x48bec8
push dword [0x9b3e20]
push 0x6fe984
push dword [0x9ac534]
push dword [0x9ad6b0]
call fcn.004d569e
lea eax, [0x9ac12c]
push eax
call fcn.00559740
mov edx, dword [0x9ac12c]
xor ecx, ecx
call fcn.0051f5d0
jne 0x48bebc
push dword [0x9b3e20]
push 0x6fb198
push dword [0x9ac12c]
call fcn.0051b5b2
lea eax, [0x9ac3e4]
push eax
call fcn.00559740
push dword [0x9ac3e4]
mov edx, dword [0x9ac69c]
pop ecx
call fcn.0051f660
je 0x48bebc
mov edx, dword [0x9ac3e4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
lea eax, [0x9ac69c]
push eax
call fcn.00559740
inc dword [0x9ac534]
jno 0x48be20
mov edx, dword [0x9ac69c]
xor ecx, ecx
call fcn.0051f5d0
jne 0x48bef5
push dword [0x9ac69c]
mov edx, dword [0x9ac808]
pop ecx
call fcn.0051f610
je 0x48bef5
mov dword [0x9ae280], 1
push 1
push 0
push 0
push 0x212
push 0x1f4
mov eax, str.Start_of_Day
push eax
push 0x69
call fcn.004fb9ac
push 0x69
call fcn.00540e97
mov dword [0x9ad61c], eax
push 0x69
call fcn.00540f14
mov dword [0x9ad528], eax
push dword [0x9acb28]
pop dword [0x9ac994]
push 0x18f
push 0x18e
push 0x69
call fcn.005086d1
push 0x18f
push 0x69
call fcn.004ece07
mov eax, str.Continue
push eax
push 0x18f
call fcn.004cf230
push dword [0x9b3e20]
push dword [0x9b3e20]
push 0x6fb198
call fcn.004d80a4
cdq
push edx
push eax
call fcn.005565d0
lea eax, [0x9aca40]
push eax
call fcn.00559740
push dword [0x9b3e20]
push 0x6fb198
call fcn.004d8f60
lea eax, [0x9ae404]
push eax
call fcn.00559740
push dword [0x9b3e20]
push dword [0x9b3e20]
push 0x6fb198
call fcn.004cfac0
cdq
push edx
push eax
call fcn.005565d0
lea eax, [0x9ad850]
push eax
call fcn.00559740
push dword [0x9b3e20]
push 0x6fb198
call fcn.004f00dc
lea eax, [0x9abf78]
push eax
call fcn.00559740
push dword [0x9b3e20]
push 0x6fb198
push 0x6fb198
call fcn.0051b5b2
lea eax, [0x9ac808]
push eax
call fcn.00559740
mov edx, dword [0x9abf78]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, 0x70cfaa
push edx
call fcn.005597c0
mov edx, dword [0x9aca40]
push edx
call fcn.005597c0
mov edx, 0x6fdc02
push edx
call fcn.005597c0
mov edx, dword [0x9ae404]
push edx
call fcn.005597c0
mov edx, 0x73161c
push edx
call fcn.005597c0
mov edx, dword [0x9ad850]
push edx
call fcn.005597c0
lea eax, [0x9ac12c]
push eax
call fcn.00559740
mov dword [0x9ac624], 0xa
push 0
push 0
push 0
push 0x14
push dword [0x9ad61c]
push dword [0x9ac624]
push 0
push dword [0x9ac12c]
push 0x12d
call fcn.0051b790
mov ebx, dword [0x9ac624]
add ebx, 0x1e
mov dword [0x9ac624], ebx
mov dword [0x9ac618], 8
call fcn.0048d9d9
mov ebx, dword [0x9ad61c]
mov edi, dword [0x9ac618]
add edi, edi
sub ebx, edi
mov dword [0x9ac60c], ebx
push 1
push 0
push 0
push 0x4008
push 0x154
mov eax, 0x6fb198
push eax
push 0xfa
push dword [0x9ac60c]
push dword [0x9ac624]
push dword [0x9ac618]
push 0xffffffff
call fcn.004e9be2
mov dword [0x9acc6c], eax
push 0x64
mov eax, 0x6fb198
push eax
push 1
push dword [0x9acc6c]
call fcn.00519d27
push dword [0x9acb28]
push dword [0x9acc6c]
call fcn.00503408
push 0
push 0
push 0x17
push 0x55
mov ebx, dword [0x9ad528]
add ebx, 0xffffffe3
push ebx
push dword [0x9ac618]
mov eax, str.Set_due_dates
push eax
push 0x16e
call fcn.004f57c7
push dword [0x9af5e8]
call fcn.00551aa3
push dword [0x9af5e8]
call fcn.00551ab8
or eax, eax
je 0x48c1fb
mov ebp, dword [0x9af5ec]
mov edx, dword [ebp + 8]
push dword [0x9b3e20]
push edx
call fcn.005597c0
lea eax, [0x9ac12c]
push eax
call fcn.00559740
push 0
push 0xffffffff
push dword [0x9ac12c]
push dword [0x9acc6c]
call fcn.004f21c4
jmp 0x48c1ae
push dword [0x9acc6c]
call fcn.0051da17
mov dword [0x9ae51c], eax
cmp dword [0x9ae51c], 0
je 0x48c29d
mov ebx, dword [0x9ae51c]
dec ebx
mov dword [0x9ae51c], ebx
mov dword [0x9ac5a0], 0
jmp 0x48c231
mov eax, dword [0x9ae51c]
cmp eax, dword [0x9ac5a0]
jl 0x48c29d
push dword [0x9b3e20]
push 1
push dword [0x9ac5a0]
push dword [0x9acc6c]
call fcn.005071cf
lea eax, [0x9ac12c]
push eax
call fcn.00559740
mov edx, dword [0x9ac12c]
xor ecx, ecx
call fcn.0051f5d0
jne 0x48c295
push 0xffff
push 0
push 1
push dword [0x9ac5a0]
push dword [0x9acc6c]
call fcn.004e3fcf
inc dword [0x9ac5a0]
jno 0x48c231
push dword [0x9acc6c]
call fcn.0051da17
mov dword [0x9ae51c], eax
cmp dword [0x9ab9b8], 0
je 0x48c2d1
push 0
push 0xffffffff
mov eax, str.Expired_holiday_date_needs_correcting
push eax
push dword [0x9acc6c]
call fcn.004f21c4
cmp dword [0x9ae280], 0
je 0x48c2f5
push 0
push 0xffffffff
mov eax, str.Expired_final_due_needs_correcting
push eax
push dword [0x9acc6c]
call fcn.004f21c4
mov ebx, dword [0x9ac624]
add ebx, 0x104
mov dword [0x9ac624], ebx
push dword [0x9af5e8]
call fcn.0055199d
mov dword [0x9ac60c], 0xc8
mov dword [0x9ad244], 0x32
mov ebx, dword [0x9ac618]
add ebx, dword [0x9ad244]
mov dword [0x9ad594], ebx
mov dword [0x9ac520], 0x18
push dword [0x9ac520]
pop dword [0x9ac9e8]
push dword [0x9b3e20]
call fcn.004ec3fc
lea eax, [0x9ac120]
push eax
call fcn.00559740
push dword [0x9b3e20]
push dword [0x9b3e20]
mov edx, str.BACKUP
push edx
call fcn.005597c0
mov edx, dword [0x9ac120]
push edx
call fcn.005597c0
mov edx, dword [0x9a36fc]
add dword [esp], edx
call fcn.004f730a
lea eax, [0x9ad854]
push eax
call fcn.00559740
mov edx, dword [0x9ad854]
xor ecx, ecx
call fcn.0051f5d0
jne 0x48c43e
push dword [0x9b3e20]
push 0x63
push 0
push 0
push 0
push 0x14
push dword [0x9ac60c]
push dword [0x9ac624]
push dword [0x9ac618]
push dword [0x9b3e20]
mov edx, str.Latest_backup:
push edx
call fcn.005597c0
mov edx, dword [0x9ad854]
push edx
call fcn.005597c0
add dword [0x9b3e20], 2
push 0xffffffff
mov edx, dword [0x9a36fc]
add dword [esp + 4], edx
call fcn.004f7463
pop dword [0x9b3e20]
mov dword [0x9abe30], eax
mov ebx, dword [0x9ac624]
add ebx, dword [0x9ac9e8]
add ebx, 6
mov dword [0x9ac624], ebx
mov ebx, dword [0x9ac5e0]
cmp ebx, 1
jne 0x48c8c3
push dword [0x9b3e20]
push 0x63
push 0
push 0
push dword [0x9ac520]
push dword [0x9ad244]
push dword [0x9ac624]
push dword [0x9ac618]
push dword [0x9b3e20]
mov eax, dword [0x9ab830]
cdq
push edx
push eax
call fcn.00510266
add dword [0x9b3e20], 2
push 0xffffffff
mov edx, dword [0x9a36fc]
add dword [esp + 4], edx
call fcn.004d50bc
pop dword [0x9b3e20]
push 0x63
push 0
push 0
push 0
push dword [0x9ac520]
push dword [0x9ac60c]
push dword [0x9ac624]
push dword [0x9ad594]
mov eax, str._items
push eax
push 0xffffffff
call fcn.004f7463
mov ebx, dword [0x9ac624]
add ebx, dword [0x9ac9e8]
mov dword [0x9ac624], ebx
push dword [0x9b3e20]
push 0x63
push 0
push 0
push dword [0x9ac520]
push dword [0x9ad244]
push dword [0x9ac624]
push dword [0x9ac618]
push dword [0x9b3e20]
mov eax, dword [0x9abaa8]
cdq
push edx
push eax
call fcn.00510266
add dword [0x9b3e20], 2
push 0xffffffff
mov edx, dword [0x9a36fc]
add dword [esp + 4], edx
call fcn.004d50bc
pop dword [0x9b3e20]
push 0x63
push 0
push 0
push 0
push dword [0x9ac520]
push dword [0x9ac60c]
push dword [0x9ac624]
push dword [0x9ad594]
mov eax, str._borrowers
push eax
push 0xffffffff
call fcn.004f7463
cmp dword [0x9accb8], 0
je 0x48c655
mov ebx, dword [0x9ac624]
add ebx, dword [0x9ac9e8]
mov dword [0x9ac624], ebx
push dword [0x9b3e20]
push 0x63
push 0
push 0
push dword [0x9ac520]
push dword [0x9ad244]
push dword [0x9ac624]
push dword [0x9ac618]
push dword [0x9b3e20]
mov eax, dword [0x9accb8]
cdq
push edx
push eax
call fcn.00510266
add dword [0x9b3e20], 2
push 0xffffffff
mov edx, dword [0x9a36fc]
add dword [esp + 4], edx
call fcn.004d50bc
pop dword [0x9b3e20]
push 0x63
push 0
push 0
push 0
push dword [0x9ac520]
push dword [0x9ac60c]
push dword [0x9ac624]
push dword [0x9ad594]
mov eax, str._missing_items
push eax
push 0xffffffff
call fcn.004f7463
mov ebx, dword [0x9ac624]
add ebx, dword [0x9ac9e8]
mov dword [0x9ac624], ebx
push dword [0x9b3e20]
push 0x63
push 0
push 0
push dword [0x9ac520]
push dword [0x9ad244]
push dword [0x9ac624]
push dword [0x9ac618]
push dword [0x9b3e20]
mov eax, dword [0x9ae130]
cdq
push edx
push eax
call fcn.00510266
add dword [0x9b3e20], 2
push 0xffffffff
mov edx, dword [0x9a36fc]
add dword [esp + 4], edx
call fcn.004d50bc
pop dword [0x9b3e20]
push 0x63
push 0
push 0
push 0
push dword [0x9ac520]
push dword [0x9ac60c]
push dword [0x9ac624]
push dword [0x9ad594]
mov eax, str._items_on_loan
push eax
push 0xffffffff
call fcn.004f7463
mov ebx, dword [0x9ac624]
add ebx, dword [0x9ac9e8]
mov dword [0x9ac624], ebx
push dword [0x9b3e20]
push 0x63
push 0
push 0
push dword [0x9ac520]
push dword [0x9ad244]
push dword [0x9ac624]
push dword [0x9ac618]
push dword [0x9b3e20]
mov eax, dword [0x9ad700]
cdq
push edx
push eax
call fcn.00510266
add dword [0x9b3e20], 2
push 0xffffffff
mov edx, dword [0x9a36fc]
add dword [esp + 4], edx
call fcn.004d50bc
pop dword [0x9b3e20]
push 0x63
push 0
push 0
push 0
push dword [0x9ac520]
push dword [0x9ac60c]
push dword [0x9ac624]
push dword [0x9ad594]
mov eax, str._overdue_items
push eax
push 0xffffffff
call fcn.004f7463
cmp dword [0x9ae204], 0
je 0x48c8c3
mov ebx, dword [0x9ac624]
add ebx, dword [0x9ac9e8]
mov dword [0x9ac624], ebx
push dword [0x9b3e20]
push 0x63
push 0
push 0
push dword [0x9ac520]
push dword [0x9ad244]
push dword [0x9ac624]
push dword [0x9ac618]
push dword [0x9b3e20]
mov eax, dword [0x9ae204]
cdq
push edx
push eax
call fcn.00510266
add dword [0x9b3e20], 2
push 0xffffffff
mov edx, dword [0x9a36fc]
add dword [esp + 4], edx
call fcn.004d50bc
pop dword [0x9b3e20]
push 0x63
push 0
push 0
push 0
push dword [0x9ac520]
mov ebx, dword [0x9ac60c]
add ebx, 0xffffffec
push ebx
push dword [0x9ac624]
push dword [0x9ad594]
mov eax, str._reserved_items_on_hold
push eax
push 0xffffffff
call fcn.004f7463
push 0
push 0
push 0x17
push 0x3c
mov ebx, dword [0x9ac624]
add ebx, 0xfffffffd
push ebx
mov ebx, dword [0x9ad594]
add ebx, dword [0x9ac60c]
add ebx, 0xfffffff1
push ebx
mov eax, 0x7124a8
push eax
push 0x186
call fcn.004f57c7
mov ebx, dword [0x9ac624]
add ebx, dword [0x9ac9e8]
mov dword [0x9ac624], ebx
cmp dword [0x9ae540], 0
je 0x48c983
push dword [0x9b3e20]
push 0x63
push 0
push 0
push dword [0x9ac520]
push dword [0x9ad244]
push dword [0x9ac624]
push dword [0x9ac618]
push dword [0x9b3e20]
mov eax, dword [0x9ae540]
cdq
push edx
push eax
call fcn.00510266
add dword [0x9b3e20], 2
push 0xffffffff
mov edx, dword [0x9a36fc]
add dword [esp + 4], edx
call fcn.004d50bc
pop dword [0x9b3e20]
push 0x63
push 0
push 0
push 0
push dword [0x9ac520]
mov ebx, dword [0x9ac60c]
add ebx, 0xffffffec
push ebx
push dword [0x9ac624]
push dword [0x9ad594]
mov eax, str._reviews_not_yet_approved
push eax
push 0xffffffff
call fcn.004f7463
mov ebx, dword [0x9ac624]
add ebx, dword [0x9ac9e8]
mov dword [0x9ac624], ebx
cmp dword [0x9ad878], 0
je 0x48ca89
push dword [0x9b3e20]
push 0x63
push 0
push 0
push dword [0x9ac520]
push dword [0x9ad244]
push dword [0x9ac624]
push dword [0x9ac618]
push dword [0x9b3e20]
mov eax, dword [0x9ad878]
cdq
push edx
push eax
call fcn.00510266
add dword [0x9b3e20], 2
push 0xffffffff
mov edx, dword [0x9a36fc]
add dword [esp + 4], edx
call fcn.004d50bc
pop dword [0x9b3e20]
mov edx, str._search_log_entries
lea ecx, [0x9ac12c]
call fcn.0051f008
mov ebx, dword [0x9ad878]
cmp ebx, 0x186a0
jle 0x48ca38
mov edx, dword [0x9ac12c]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str.__suggest_aging_or_clearing
push edx
call fcn.005597c0
lea eax, [0x9ac12c]
push eax
call fcn.00559740
push 0x63
push 0
push 0
push 0
push 0x14
mov ebx, dword [0x9ac60c]
add ebx, 0x64
push ebx
push dword [0x9ac624]
push dword [0x9ad594]
push dword [0x9ac12c]
push 0xffffffff
call fcn.004f7463
mov ebx, dword [0x9ac624]
add ebx, dword [0x9ac9e8]
mov dword [0x9ac624], ebx
cmp dword [0x9acb94], 0
je 0x48cb75
push dword [0x9b3e20]
push 0x63
push 0
push 0
push dword [0x9ac520]
push dword [0x9ad244]
push dword [0x9ac624]
push dword [0x9ac618]
push dword [0x9b3e20]
mov eax, dword [0x9acb94]
cdq
push edx
push eax
call fcn.00510266
add dword [0x9b3e20], 2
push 0xffffffff
mov edx, dword [0x9a36fc]
add dword [esp + 4], edx
call fcn.004d50bc
pop dword [0x9b3e20]
push 0x63
push 0
push 0
push 0
push dword [0x9ac520]
mov ebx, dword [0x9ac60c]
add ebx, 0xffffffec
push ebx
push dword [0x9ac624]
push dword [0x9ad594]
mov eax, str._bookings_for_today
push eax
push 0xffffffff
call fcn.004f7463
push 0
push 0
push 0x17
push 0x3c
mov ebx, dword [0x9ac624]
add ebx, 0xfffffffd
push ebx
mov ebx, dword [0x9ad594]
add ebx, dword [0x9ac60c]
add ebx, 0xfffffff1
push ebx
mov eax, 0x7124a8
push eax
push 0x187
call fcn.004f57c7
push 0
push 0
push 0
push 0x69
call fcn.004f1be1
mov dword [0x9ae1e0], eax
mov ebx, dword [0x9ae1e0]
cmp ebx, 0xffffffff
je 0x48cbae
mov ebx, dword [0x9ae1e0]
cmp ebx, 0x18e
je 0x48cbae
jmp 0x48cbb5
mov eax, 1
jmp 0x48cbb7
xor eax, eax
and eax, eax
jne 0x48cbcb
mov ebx, dword [0x9ae1e0]
cmp ebx, 0x18f
je 0x48cbcb
jmp 0x48cbd2
mov eax, 1
jmp 0x48cbd4
xor eax, eax
and eax, eax
je 0x48cbdd
jmp 0x48ce98
mov ebx, dword [0x9ae1e0]
cmp ebx, 0x16e
jne 0x48cd1d
mov dword [0x9abcb0], 3
call fcn.0044fdba
call fcn.00418ee4
call fcn.0048d9d9
push dword [0x9acc6c]
call fcn.00509fe3
push dword [0x9af5e8]
call fcn.00551aa3
push dword [0x9af5e8]
call fcn.00551ab8
or eax, eax
je 0x48cc6b
mov ebp, dword [0x9af5ec]
mov edx, dword [ebp + 8]
push dword [0x9b3e20]
push edx
call fcn.005597c0
lea eax, [0x9ac12c]
push eax
call fcn.00559740
push 0
push 0xffffffff
push dword [0x9ac12c]
push dword [0x9acc6c]
call fcn.004f21c4
jmp 0x48cc1e
push dword [0x9acc6c]
call fcn.0051da17
mov dword [0x9ae51c], eax
cmp dword [0x9ae51c], 0
je 0x48cd0d
mov ebx, dword [0x9ae51c]
dec ebx
mov dword [0x9ae51c], ebx
mov dword [0x9ac5a0], 0
jmp 0x48cca1
mov eax, dword [0x9ae51c]
cmp eax, dword [0x9ac5a0]
jl 0x48cd0d
push dword [0x9b3e20]
push 1
push dword [0x9ac5a0]
push dword [0x9acc6c]
call fcn.005071cf
lea eax, [0x9ac12c]
push eax
call fcn.00559740
mov edx, dword [0x9ac12c]
xor ecx, ecx
call fcn.0051f5d0
jne 0x48cd05
push 0xffff
push 0
push 1
push dword [0x9ac5a0]
push dword [0x9acc6c]
call fcn.004e3fcf
inc dword [0x9ac5a0]
jno 0x48cca1
push dword [0x9af5e8]
call fcn.0055199d
jmp 0x48ce93
mov ebx, dword [0x9ae1e0]
cmp ebx, 0x187
jne 0x48ce2e
mov edx, dword [0x9ace48]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, dword [0x9ab790]
push edx
call fcn.005597c0
mov edx, dword [0x9ac058]
push edx
call fcn.005597c0
mov edx, dword [0x9ab790]
push edx
call fcn.005597c0
mov edx, dword [0x9acc5c]
push edx
call fcn.005597c0
mov edx, dword [0x9ab790]
push edx
call fcn.005597c0
mov edx, dword [0x9ae4b0]
push edx
call fcn.005597c0
mov edx, dword [0x9ab790]
push edx
call fcn.005597c0
mov edx, dword [0x9ad7e0]
push edx
call fcn.005597c0
lea eax, [0x9ad928]
push eax
call fcn.00559740
push dword [0x9b3e20]
push 0x6fb198
push 0
push 1
push 0
push 0xffffffff
push 0
push 0x1e0
push dword [0x9b3e20]
mov edx, str.Bookings_for
push edx
call fcn.005597c0
push dword [0x9b3e20]
call fcn.0051735c
pop eax
add dword [0x9b3e20], 2
mov eax, str.60_70_300_70_150
push eax
mov eax, str.ID_Item_Title_Borr_Name
push eax
mov eax, str.Bookings
push eax
push dword [0x9acb94]
push 0x9aef18
mov edx, dword [0x9a36fc]
add dword [esp + 0x14], edx
call fcn.004d9b99
pop dword [0x9b3e20]
jmp 0x48ce93
mov ebx, dword [0x9ae1e0]
cmp ebx, 0x186
jne 0x48ce93
push dword [0x9b3e20]
push 0x6fb198
push 0
push 1
push 0
push 0xffffffff
push 0
push 0x1e0
mov eax, 0x6fb198
push eax
mov eax, str.60_300_150
push eax
mov eax, str.Item_Title_Call_number
push eax
mov eax, str.Reserves
push eax
push dword [0x9ae204]
push 0x9aeef8
call fcn.004d9b99
pop dword [0x9b3e20]
jmp 0x48cb75
push 0
push 0x69
call fcn.004f1489
cmp dword [0x9ae540], 0
je 0x48cf44
push dword [0x9b3e20]
mov eax, str.review
push eax
push dword [0x9ae540]
call fcn.0050b4a4
mov edx, str._not_yet_approved_r_n_r_n
push edx
call fcn.005597c0
lea eax, [0x9ac12c]
push eax
call fcn.00559740
mov edx, dword [0x9ac12c]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str.Go_to_Controls___Reviews_to_view
push edx
call fcn.005597c0
lea eax, [0x9ac12c]
push eax
call fcn.00559740
push 0xffffff
push 0
push 0xfa
push 0x1cc
push 0
push 0
push 0x703490
push 0x73fd4c
push dword [0x9ac12c]
mov eax, str.Notice
push eax
call fcn.004f6619
mov edx, dword [0x9ac254]
xor ecx, ecx
call fcn.0051f5d0
jne 0x48d349
mov edx, dword [0x9ad108]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, 0x6fee2e
push edx
call fcn.005597c0
mov edx, dword [0x9ac254]
push edx
call fcn.005597c0
mov edx, str.requests.txt
push edx
call fcn.005597c0
lea eax, [0x9acfac]
push eax
call fcn.00559740
push dword [0x9b3e20]
push 0
call fcn.004c89e4
mov edx, str.requests.txt
push edx
call fcn.005597c0
lea eax, [0x9ac97c]
push eax
call fcn.00559740
push dword [0x9ac97c]
push dword [0x9acfac]
call fcn.004bbc0c
mov dword [0x9ac4a0], eax
cmp dword [0x9ac4a0], 0
je 0x48d089
push 0x80000
push dword [0x9ac97c]
push 0xffffffff
call fcn.00542920
mov dword [0x9ac484], eax
mov ebx, dword [0x9ac484]
and ebx, ebx
jne 0x48d006
ret
push dword [0x9af5e8]
call fcn.0055199d
mov ebx, dword [0x9ac484]
and ebx, ebx
jne 0x48d01c
ret
push dword [0x9ac484]
call fcn.00542cb0
mov ebx, eax
and ebx, ebx
jne 0x48d07e
push dword [0x9b3e20]
push dword [0x9b3e20]
push dword [0x9ac484]
call fcn.00542be0
lea eax, [0x9ad928]
push eax
call fcn.00559740
push dword [0x9af5e8]
call fcn.005519fb
mov edx, dword [0x9ad928]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov ebp, dword [0x9af5ec]
lea eax, [ebp + 8]
push eax
call fcn.00559740
jmp 0x48d01c
push dword [0x9ac484]
call fcn.00542530
push dword [0x9af5e8]
call fcn.00551a99
mov dword [0x9ac574], eax
mov ebx, dword [0x9ac574]
and ebx, ebx
jle 0x48d349
cmp dword [0x9abe0c], 0
je 0x48d0d3
mov edx, dword [0x9aba00]
xor ecx, ecx
call fcn.0051f5d0
jne 0x48d0d3
mov edx, dword [0x9ae25c]
xor ecx, ecx
call fcn.0051f5d0
jne 0x48d0d3
call fcn.004b8981
cmp dword [0x9ad860], 0
je 0x48d349
mov edx, dword [0x9aba00]
xor ecx, ecx
call fcn.0051f5d0
jne 0x48d2e7
mov edx, dword [0x9ae25c]
xor ecx, ecx
call fcn.0051f5d0
jne 0x48d2e7
push dword [0x9b3e20]
mov edx, str.There_are
push edx
call fcn.005597c0
push dword [0x9b3e20]
mov eax, str._CPAC_request
push eax
push dword [0x9ac574]
call fcn.0050b4a4
pop eax
lea eax, [0x9ac12c]
push eax
call fcn.00559740
push dword [0x9b3e20]
push 0xffffff
push 0
push 0xc8
push 0x190
push 0
push 0x700314
push 0
mov edx, dword [0x9ac12c]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str._r_n_r_nEmail_requests_to
push edx
call fcn.005597c0
mov edx, dword [0x9aba00]
push edx
call fcn.005597c0
add dword [0x9b3e20], 2
mov eax, str.Notice
push eax
mov edx, dword [0x9a36fc]
add dword [esp + 4], edx
call fcn.004f7050
pop dword [0x9b3e20]
mov ebx, eax
cmp ebx, 6
jne 0x48d2e7
push 0xffffff
push 0
push 0xc8
push 0x190
push 0
push 0x700314
push 0
mov eax, str.Clear_requests_online_after_emailing_
push eax
mov eax, str.Requests
push eax
call fcn.004f7050
mov dword [0x9ac80c], eax
mov ebx, dword [0x9abe0c]
and ebx, ebx
jne 0x48d202
call fcn.004b8981
push dword [0x9af5e8]
call fcn.0055199d
mov ebx, dword [0x9ac80c]
cmp ebx, 6
jne 0x48d2e7
mov edx, dword [0x9ad108]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str._createdb.exe_dbname
push edx
call fcn.005597c0
mov edx, dword [0x9ac254]
push edx
call fcn.005597c0
mov edx, str.clearrequests
push edx
call fcn.005597c0
mov edx, dword [0x9ac254]
push edx
call fcn.005597c0
lea eax, [0x9ac12c]
push eax
call fcn.00559740
call fcn.004fde61
push dword [0x9ac12c]
push 0
call fcn.0052cd13
mov dword [0x9ac520], eax
cmp dword [0x9ac520], 0
je 0x48d2db
push dword [0x9b3e20]
push dword [0x9b3e20]
push 0
push dword [0x9ac520]
call fcn.0052cdde
lea eax, [0x9ac024]
push eax
call fcn.00559740
push dword [0x9b3e20]
push dword [0x9b3e20]
push 1
push dword [0x9ac520]
call fcn.0052cdde
lea eax, [0x9ad530]
push eax
call fcn.00559740
push dword [0x9ac520]
call fcn.0052cdf4
ret
mov edx, dword [0x9ac12c]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str._r_n_r_nGo_to_Cataloguing___CPAC_to_view
push edx
call fcn.005597c0
lea eax, [0x9ac12c]
push eax
call fcn.00559740
push 0xffffff
push 0
push 0xfa
push 0x1cc
push 0
push 0
push 0x703490
push 0x73fd4c
push dword [0x9ac12c]
mov eax, str.Notice
push eax
call fcn.004f6619
ret