Function at 0x4b83b1
Capabilities:
Reference sql statements

Disassembly:
push dword [0x9af5d8]
call fcn.0055199d
push dword [0x9af5d8]
push dword [0x9af5e8]
call fcn.00551c6e
push dword [0x9af5e8]
call fcn.0055199d
mov dword [0x9ac574], 0
push 0x6fb198
push 1
push 0
call fcn.004f09d9
push dword [0x9af5d8]
call fcn.00551aa3
push dword [0x9af5d8]
call fcn.00551ab8
or eax, eax
je 0x4b86da
mov ebp, dword [0x9af5dc]
mov edx, dword [ebp + 8]
push dword [0x9b3e20]
push edx
call fcn.005597c0
lea eax, [0x9ad928]
push eax
call fcn.00559740
push dword [0x9b3e20]
push 1
push dword [0x9ad928]
call fcn.004da677
lea eax, [0x9aca40]
push eax
call fcn.00559740
push dword [0x9b3e20]
push 2
push dword [0x9ad928]
call fcn.004da677
lea eax, [0x9ac058]
push eax
call fcn.00559740
push dword [0x9b3e20]
push 3
push dword [0x9ad928]
call fcn.004da677
lea eax, [0x9ac97c]
push eax
call fcn.00559740
push dword [0x9b3e20]
push 4
push dword [0x9ad928]
call fcn.004da677
lea eax, [0x9ac3e4]
push eax
call fcn.00559740
push dword [0x9b3e20]
push 5
push dword [0x9ad928]
call fcn.004da677
lea eax, [0x9adf24]
push eax
call fcn.00559740
push dword [0x9b3e20]
push 6
push dword [0x9ad928]
call fcn.004da677
lea eax, [0x9acd94]
push eax
call fcn.00559740
mov dword [0x9ac5b4], 1
push dword [0x9b3e20]
push 1
push dword [0x9b3e20]
mov edx, str.SELECT_STATUS_ITEMTYPE_FROM_Items_WHERE_ITEMNUMBER
push edx
call fcn.005597c0
mov edx, dword [0x9ac058]
push edx
call fcn.005597c0
mov edx, dword [0x9a36fc]
add dword [esp], edx
call fcn.004f685a
pop dword [0x9b3e20]
and eax, eax
je 0x4b8598
push 1
call fcn.004f4ac4
and eax, eax
je 0x4b858e
push 1
push 0
call fcn.004dc9ec
mov dword [0x9ac5b4], eax
push dword [0x9b3e20]
push 1
push 1
call fcn.004e0dff
lea eax, [0x9acd94]
push eax
call fcn.00559740
push 1
call fcn.004be154
mov edx, 0x702db8
lea ecx, [0x9adad4]
call fcn.0051f008
mov ebx, dword [0x9ac5b4]
cmp ebx, 2
jne 0x4b85c3
mov edx, 0x7045c4
lea ecx, [0x9adad4]
call fcn.0051f008
mov edx, dword [0x9ac058]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, 0x6fbc04
push edx
call fcn.005597c0
mov edx, dword [0x9ac97c]
push edx
call fcn.005597c0
mov edx, 0x6fbc04
push edx
call fcn.005597c0
mov edx, dword [0x9aca40]
push edx
call fcn.005597c0
mov edx, 0x6fbc04
push edx
call fcn.005597c0
mov edx, dword [0x9ac3e4]
push edx
call fcn.005597c0
mov edx, 0x6fbc04
push edx
call fcn.005597c0
mov edx, dword [0x9adf24]
push edx
call fcn.005597c0
mov edx, 0x6fbc04
push edx
call fcn.005597c0
mov edx, dword [0x9acd94]
push edx
call fcn.005597c0
mov edx, 0x6fbc04
push edx
call fcn.005597c0
push dword [0x9b3e20]
push dword [0x9b3e20]
mov eax, dword [0x9ac5b4]
cdq
push edx
push eax
call fcn.005565d0
pop eax
mov edx, 0x738458
push edx
call fcn.005597c0
mov ebx, dword [0x9ac5b4]
mov ebp, dword [0x9aef30]
shl ebx, 2
mov edx, dword [ebp + ebx]
push edx
call fcn.005597c0
lea eax, [0x9ac12c]
push eax
call fcn.00559740
mov ebx, dword [0x9ac574]
inc ebx
mov dword [0x9ac574], ebx
mov edx, dword [0x9ac12c]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov ebx, dword [0x9ac574]
mov ebp, dword [0x9aeef8]
shl ebx, 2
lea eax, [ebp + ebx]
push eax
call fcn.00559740
jmp 0x4b8401
push 1
call fcn.004d3586
mov dword [0x9ac534], 1
jmp 0x4b86f0
mov eax, dword [0x9ac574]
cmp eax, dword [0x9ac534]
jl 0x4b875c
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, [0x9ac3e4]
push eax
call fcn.00559740
push dword [0x9af5e8]
call fcn.005519fb
mov edx, dword [0x9ac3e4]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov ebp, dword [0x9af5ec]
lea eax, [ebp + 8]
push eax
call fcn.00559740
inc dword [0x9ac534]
jno 0x4b86f0
push dword [0x9af5e8]
call fcn.00551a99
mov dword [0x9ab8fc], eax
mov dword [0x9ac574], 0
mov edx, str.Requests_list
lea ecx, [0x9ad204]
call fcn.0051f008
mov edx, str.Requests
lea ecx, [0x9abe80]
call fcn.0051f008
mov edx, dword [0x9abe80]
push dword [0x9b3e20]
push edx
call fcn.005597c0
lea eax, [0x9ad494]
push eax
call fcn.00559740
mov edx, str.Item_Title_Date_Requested_by_Call_number_Item_type_Status
lea ecx, [0x9acd40]
call fcn.0051f008
mov edx, str.150_500_200_260_270_300_190
lea ecx, [0x9ad9b8]
call fcn.0051f008
mov edx, str.2_11_4_0_0_0_4
lea ecx, [0x9acc64]
call fcn.0051f008
mov dword [0x9ad844], 1
call fcn.0043bea7
mov dword [0x9ad844], 0
push dword [0x9af5d8]
call fcn.0055199d
push dword [0x9af5e8]
call fcn.0055199d
mov edx, dword [0x9ad108]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, 0x6fee2e
push edx
call fcn.005597c0
mov edx, dword [0x9adbfc]
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
and eax, eax
je 0x4b8923
push 0x80000
push dword [0x9ac97c]
push 0xffffffff
call fcn.00542920
mov dword [0x9ac484], eax
cmp dword [0x9ac484], 0
je 0x4b8923
push dword [0x9ac484]
call fcn.00542cb0
mov ebx, eax
and ebx, ebx
jne 0x4b8918
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 0x4b88b6
push dword [0x9ac484]
call fcn.00542530
push dword [0x9af5e8]
call fcn.00551a99
mov dword [0x9ac574], eax
push dword [0x9b3e20]
mov edx, str.There_are
push edx
call fcn.005597c0
push dword [0x9b3e20]
mov eax, dword [0x9ac574]
cdq
push edx
push eax
call fcn.00510266
pop eax
mov edx, str._requests
push edx
call fcn.005597c0
lea eax, [0x9ac12c]
push eax
call fcn.00559740
push dword [0x9ac12c]
push dword [0x9acf10]
call fcn.004cf230
ret