Function at 0x4901b9
Capabilities:
Reference sql statements

Disassembly:
mov ebx, dword [0x9ad838]
cmp ebx, 0x48
jge 0x4901f2
push 0x6fb198
push 1
push 1
call fcn.004f09d9
push 1
mov eax, str.UPDATE_Items_SET_EXTRAQuick_entry_LOCATION0_WHERE_LOCATION100
push eax
call fcn.004bc2f7
push 1
call fcn.004d3586
mov ebx, dword [0x9ad838]
cmp ebx, 0x4b
jge 0x49060d
push 0x6fb198
push 1
push 1
call fcn.004f09d9
push 0
push 0
mov eax, str.Updating_data_format...
push eax
call fcn.004ee8a9
mov eax, str.CREATE_TABLE_Media___GMD_TEXT_COLLATE_NOCASE_PRIMARY_KEY_ASC__
push eax
push 1
call fcn.00546cd1
mov eax, str.CREATE_TABLE_Content_type___CONTENTTYPE_TEXT_COLLATE_NOCASE_PRIMARY_KEY_ASC__
push eax
push 1
call fcn.00546cd1
mov eax, str.CREATE_TABLE_Media_type___MEDIATYPE_TEXT_COLLATE_NOCASE_PRIMARY_KEY_ASC__
push eax
push 1
call fcn.00546cd1
mov eax, str.CREATE_TABLE_Carrier_type___CARRIERTYPE_TEXT_COLLATE_NOCASE_PRIMARY_KEY_ASC__
push eax
push 1
call fcn.00546cd1
mov edx, str.computer_dataset_computer_program_performed_music_spoken_word_still_image_three_dimensional_moving_image_two_dimensinal_moving_image_
lea ecx, [0x9ac12c]
call fcn.0051f008
mov edx, dword [0x9ac12c]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str.cartographic_dataset_cartographic_image_cartographic_moving_image_cartographic_tactile_image_cartographic_three_dimensional_form_
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.notated_movement_sounds_tactile_image_tactile_three_dimensional_form_text_three_dimensional_form_other
push edx
call fcn.005597c0
lea eax, [0x9ac12c]
push eax
call fcn.00559740
push 0x6fe984
push dword [0x9ac12c]
call fcn.004dfb06
mov dword [0x9ac574], eax
mov dword [0x9ac534], 1
jmp 0x4902ed
mov eax, dword [0x9ac574]
cmp eax, dword [0x9ac534]
jl 0x490340
push dword [0x9b3e20]
push 0x6fe984
push dword [0x9ac534]
push dword [0x9ac12c]
call fcn.004d569e
lea eax, [0x9ac3e4]
push eax
call fcn.00559740
push 0x6fb198
push dword [0x9ac3e4]
mov eax, str.Content_type
push eax
call fcn.004eb86e
inc dword [0x9ac534]
jno 0x4902ed
mov edx, str.audio_computer_microform_microscopic_projected_stereographic_unmediated_video_other
lea ecx, [0x9ac12c]
call fcn.0051f008
push 0x6fe984
push dword [0x9ac12c]
call fcn.004dfb06
mov dword [0x9ac574], eax
mov dword [0x9ac534], 1
jmp 0x490371
mov eax, dword [0x9ac574]
cmp eax, dword [0x9ac534]
jl 0x4903c4
push dword [0x9b3e20]
push 0x6fe984
push dword [0x9ac534]
push dword [0x9ac12c]
call fcn.004d569e
lea eax, [0x9ac3e4]
push eax
call fcn.00559740
push 0x6fb198
push dword [0x9ac3e4]
mov eax, str.Media_type
push eax
call fcn.004eb86e
inc dword [0x9ac534]
jno 0x490371
mov edx, str.audio_cartridge_audio_cylinder_audio_disc_audio_roll_audiocassette_audiotape_reel_sound_track_reel_
lea ecx, [0x9ac12c]
call fcn.0051f008
mov edx, dword [0x9ac12c]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str.computer_card_computer_chip_cartridge_computer_disc_computer_disc_cartridge_computer_tape_cartridge_computer_tape_cassette_computer_tape_reel_online_resource_
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.aperture_card_microfiche_microfiche_cassette_microfilm_cartridge_microfilm_cassette_microfilm_reel_microfilm_roll_microfilm_slip_microopaque_
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.microscope_slide_film_cartridge_film_cassette_film_reel_film_roll_filmslip_filmstrip_filmstrip_cartrige_overhead_transparency_slide_
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.stereograph_card_stereograph_disc_card_flipchart_object_roll_sheet_volume_
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.video_cartridge_videocassette_videodisc_videotape_reel_other_unspecified
push edx
call fcn.005597c0
lea eax, [0x9ac12c]
push eax
call fcn.00559740
push 0x6fe984
push dword [0x9ac12c]
call fcn.004dfb06
mov dword [0x9ac574], eax
mov dword [0x9ac534], 1
jmp 0x4904c2
mov eax, dword [0x9ac574]
cmp eax, dword [0x9ac534]
jl 0x490515
push dword [0x9b3e20]
push 0x6fe984
push dword [0x9ac534]
push dword [0x9ac12c]
call fcn.004d569e
lea eax, [0x9ac3e4]
push eax
call fcn.00559740
push 0x6fb198
push dword [0x9ac3e4]
mov eax, 0x702b54
push eax
call fcn.004eb86e
inc dword [0x9ac534]
jno 0x4904c2
push 1
mov eax, str.Creating_media_list...
push eax
call fcn.004e2511
push 1
mov eax, str.SELECT_GMD_FROM_Items_GROUP_BY_GMD_COLLATE_NOCASE
push eax
call fcn.004f685a
and eax, eax
je 0x4905af
push 1
call fcn.004f4ac4
and eax, eax
je 0x4905a5
push dword [0x9b3e20]
push 1
push 0
call fcn.004e0dff
lea eax, [0x9ac12c]
push eax
call fcn.00559740
mov edx, dword [0x9ac12c]
xor ecx, ecx
call fcn.0051f5d0
jne 0x4905a3
push dword [0x9af638]
call fcn.005519fb
mov edx, dword [0x9ac12c]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov ebp, dword [0x9af63c]
lea eax, [ebp + 8]
push eax
call fcn.00559740
jmp 0x490539
push 1
call fcn.004be154
push dword [0x9af638]
call fcn.00551a99
and eax, eax
je 0x4905f3
push dword [0x9af638]
call fcn.00551aa3
push dword [0x9af638]
call fcn.00551ab8
or eax, eax
je 0x4905f3
push 0x6fb198
mov ebp, dword [0x9af63c]
push dword [ebp + 8]
mov eax, str.Media
push eax
call fcn.004eb86e
jmp 0x4905c9
push dword [0x9af638]
call fcn.0055199d
call fcn.00505b4e
push 1
call fcn.004d3586
mov ebx, dword [0x9ad838]
cmp ebx, 0x4f
jge 0x49061d
call fcn.004a4842
mov ebx, dword [0x9ad838]
cmp ebx, 0x5b
jge 0x490a27
push 0
push 0
mov eax, str.Updating_media_types_List...
push eax
call fcn.004ee8a9
push 0x6fb198
push 1
push 0
call fcn.004f09d9
push 1
mov eax, str.SELECT_GMD_FROM_Items_WHERE_GMD___GROUP_BY_GMD_COLLATE_NOCASE
push eax
call fcn.004f685a
and eax, eax
je 0x4906df
push 1
call fcn.004f4ac4
and eax, eax
je 0x4906d5
push dword [0x9b3e20]
push 1
push 0
call fcn.004e0dff
lea eax, [0x9ac12c]
push eax
call fcn.00559740
mov edx, dword [0x9ac12c]
xor ecx, ecx
call fcn.0051f5d0
jne 0x4906d3
push dword [0x9af638]
call fcn.005519fb
mov edx, dword [0x9ac12c]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov ebp, dword [0x9af63c]
lea eax, [ebp + 8]
push eax
call fcn.00559740
jmp 0x490669
push 1
call fcn.004be154
push 1
call fcn.004d3586
push 0x6fb198
push 1
push 1
call fcn.004f09d9
push 1
mov eax, str.DROP_TABLE_Media_type
push eax
call fcn.004bc2f7
push 1
mov eax, str.CREATE_TABLE_Media_type___GMD_TEXT_COLLATE_NOCASE_PRIMARY_KEY_ASC__
push eax
call fcn.004bc2f7
mov edx, str.computer_dataset_computer_program_performed_music_spoken_word_still_image_three_dimensional_moving_image_two_dimensinal_moving_image_
lea ecx, [0x9ac12c]
call fcn.0051f008
mov edx, dword [0x9ac12c]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str.cartographic_dataset_cartographic_image_cartographic_moving_image_cartographic_tactile_image_cartographic_three_dimensional_form_
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.notated_movement_sounds_tactile_image_tactile_three_dimensional_form_text_three_dimensional_form_other
push edx
call fcn.005597c0
lea eax, [0x9ac12c]
push eax
call fcn.00559740
push 0x6fe984
push dword [0x9ac12c]
call fcn.004dfb06
mov dword [0x9ac574], eax
mov dword [0x9ac534], 1
jmp 0x4907a0
mov eax, dword [0x9ac574]
cmp eax, dword [0x9ac534]
jl 0x4907f3
push dword [0x9b3e20]
push 0x6fe984
push dword [0x9ac534]
push dword [0x9ac12c]
call fcn.004d569e
lea eax, [0x9ac3e4]
push eax
call fcn.00559740
push 0x6fb198
push dword [0x9ac3e4]
mov eax, str.Content_type
push eax
call fcn.004eb86e
inc dword [0x9ac534]
jno 0x4907a0
mov edx, str.audio_computer_microform_microscopic_projected_stereographic_unmediated_video_other
lea ecx, [0x9ac12c]
call fcn.0051f008
push 0x6fe984
push dword [0x9ac12c]
call fcn.004dfb06
mov dword [0x9ac574], eax
mov dword [0x9ac534], 1
jmp 0x490824
mov eax, dword [0x9ac574]
cmp eax, dword [0x9ac534]
jl 0x490877
push dword [0x9b3e20]
push 0x6fe984
push dword [0x9ac534]
push dword [0x9ac12c]
call fcn.004d569e
lea eax, [0x9ac3e4]
push eax
call fcn.00559740
push 0x6fb198
push dword [0x9ac3e4]
mov eax, str.Media_type
push eax
call fcn.004eb86e
inc dword [0x9ac534]
jno 0x490824
mov edx, str.audio_cartridge_audio_cylinder_audio_disc_audio_roll_audiocassette_audiotape_reel_sound_track_reel_
lea ecx, [0x9ac12c]
call fcn.0051f008
mov edx, dword [0x9ac12c]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str.computer_card_computer_chip_cartridge_computer_disc_computer_disc_cartridge_computer_tape_cartridge_computer_tape_cassette_computer_tape_reel_online_resource_
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.aperture_card_microfiche_microfiche_cassette_microfilm_cartridge_microfilm_cassette_microfilm_reel_microfilm_roll_microfilm_slip_microopaque_
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.microscope_slide_film_cartridge_film_cassette_film_reel_film_roll_filmslip_filmstrip_filmstrip_cartrige_overhead_transparency_slide_
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.stereograph_card_stereograph_disc_card_flipchart_object_roll_sheet_volume_
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.video_cartridge_videocassette_videodisc_videotape_reel_online_resource_other_unspecified
push edx
call fcn.005597c0
lea eax, [0x9ac12c]
push eax
call fcn.00559740
push 0x6fe984
push dword [0x9ac12c]
call fcn.004dfb06
mov dword [0x9ac574], eax
mov dword [0x9ac534], 1
jmp 0x490975
mov eax, dword [0x9ac574]
cmp eax, dword [0x9ac534]
jl 0x4909c8
push dword [0x9b3e20]
push 0x6fe984
push dword [0x9ac534]
push dword [0x9ac12c]
call fcn.004d569e
lea eax, [0x9ac3e4]
push eax
call fcn.00559740
push 0x6fb198
push dword [0x9ac3e4]
mov eax, 0x702b54
push eax
call fcn.004eb86e
inc dword [0x9ac534]
jno 0x490975
push dword [0x9af638]
call fcn.00551aa3
push dword [0x9af638]
call fcn.00551ab8
or eax, eax
je 0x4909fd
push 0x6fb198
mov ebp, dword [0x9af63c]
push dword [ebp + 8]
mov eax, str.Media_type
push eax
call fcn.004eb86e
jmp 0x4909d3
push dword [0x9af638]
call fcn.0055199d
push 1
mov eax, str.DROP_TABLE_Media
push eax
call fcn.004bc2f7
call fcn.00505b4e
push 1
call fcn.004d3586
mov ebx, dword [0x9ad838]
cmp ebx, 0x5c
jge 0x490a7a
push 0
push 0
mov eax, str.Updating_catalogue_types...
push eax
call fcn.004ee8a9
push 0x6fb198
push 1
push 1
call fcn.004f09d9
push 1
mov eax, str.UPDATE_Items_SET_CATTYPE1_WHERE_CATTYPE_0
push eax
call fcn.004bc2f7
call fcn.00505b4e
push 1
call fcn.004d3586
mov ebx, dword [0x9ad838]
cmp ebx, 0x5d
jge 0x490ad2
call fcn.004a49f0
mov edx, str.ALTER_TABLE_Borrowers_ADD_COLUMN_MAILINGTITLE_TEXT_COLLATE_NOCASE
lea ecx, [0x9ac12c]
call fcn.0051f008
push 0x6fb198
push 1
push 1
call fcn.004f09d9
push 1
push dword [0x9ac12c]
call fcn.004bc2f7
push 1
call fcn.004d3586
call fcn.0040ffef
call fcn.00496550
mov ebx, dword [0x9ad838]
cmp ebx, 0x5e
jge 0x490d33
push 0
push 0
mov eax, 0x70488c
push eax
call fcn.004ee8a9
push 0x6fb198
push 1
push 1
call fcn.004f09d9
mov eax, str.DROP_TABLE_Media_type
push eax
push 1
call fcn.00546cd1
mov eax, str.DROP_TABLE_Content_type
push eax
push 1
call fcn.00546cd1
mov eax, str.DROP_TABLE_Carrier_type
push eax
push 1
call fcn.00546cd1
mov eax, str.CREATE_TABLE_Media___GMD_TEXT_COLLATE_NOCASE_PRIMARY_KEY_ASC__
push eax
push 1
call fcn.00546cd1
mov eax, str.MEDIATYPE
push eax
mov eax, str.Items
push eax
call fcn.004d5757
mov ebx, eax
and ebx, ebx
jne 0x490b71
mov eax, str.ALTER_TABLE_Items_ADD_COLUMN_MEDIATYPE_TEXT_COLLATE_NOCASE
push eax
push 1
call fcn.00546cd1
mov eax, str.MEDIATYPE
push eax
mov eax, str.Deletions
push eax
call fcn.004d5757
mov ebx, eax
and ebx, ebx
jne 0x490b98
mov eax, str.ALTER_TABLE_Deletions_ADD_COLUMN_MEDIATYPE_TEXT_COLLATE_NOCASE
push eax
push 1
call fcn.00546cd1
push 0x6fe984
push dword [0x9ad5e4]
call fcn.004dfb06
mov dword [0x9ac574], eax
mov dword [0x9ac534], 1
jmp 0x490bb9
mov eax, dword [0x9ac574]
cmp eax, dword [0x9ac534]
jl 0x490c6b
push dword [0x9b3e20]
push 0x6fe984
push dword [0x9ac534]
push dword [0x9ad5e4]
call fcn.004d569e
lea eax, [0x9ac12c]
push eax
call fcn.00559740
push dword [0x9b3e20]
push dword [0x9ac12c]
call fcn.004e98e0
lea eax, [0x9ac3e4]
push eax
call fcn.00559740
push dword [0x9b3e20]
mov edx, str.UPDATE_ITEMS_SET_MEDIATYPE
push edx
call fcn.005597c0
mov edx, dword [0x9ac3e4]
push edx
call fcn.005597c0
mov edx, str._GMD_WHERE_GMD
push edx
call fcn.005597c0
mov edx, dword [0x9ac3e4]
push edx
call fcn.005597c0
lea eax, [0x9ac75c]
push eax
call fcn.00559740
push dword [0x9ac75c]
push 1
call fcn.00546cd1
inc dword [0x9ac534]
jno 0x490bb9
push dword [0x9b3e20]
mov edx, 0x6fe984
push edx
call fcn.005597c0
mov edx, dword [0x9ad5e4]
push edx
call fcn.005597c0
mov edx, 0x6fe984
push edx
call fcn.005597c0
lea eax, [0x9ad69c]
push eax
call fcn.00559740
push 1
mov eax, str.SELECT_GMD_FROM_Items_WHERE_GMD___GROUP_BY_GMD_ORDER_BY_GMD
push eax
call fcn.004f685a
and eax, eax
je 0x490d1a
push 1
call fcn.004f4ac4
and eax, eax
je 0x490d10
push dword [0x9b3e20]
push 1
push 0
call fcn.004e0dff
lea eax, [0x9ae4bc]
push eax
call fcn.00559740
push dword [0x9af638]
call fcn.005519fb
mov edx, dword [0x9ae4bc]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov ebp, dword [0x9af63c]
lea eax, [ebp + 8]
push eax
call fcn.00559740
jmp 0x490cb3
push 1
call fcn.004be154
call fcn.004709e5
call fcn.004708a6
push 1
call fcn.004d3586
call fcn.00505b4e
mov ebx, dword [0x9ad838]
cmp ebx, 0x5f
jge 0x490d83
push 0x6fb198
push 1
push 1
call fcn.004f09d9
mov eax, str.MEDIATYPE
push eax
mov eax, str.Deletions
push eax
call fcn.004d5757
mov ebx, eax
and ebx, ebx
jne 0x490d79
push 1
mov eax, str.ALTER_TABLE_Deletions_ADD_COLUMN_MEDIATYPE_TEXT_COLLATE_NOCASE
push eax
call fcn.004bc2f7
push 1
call fcn.004d3586
mov ebx, dword [0x9ad838]
cmp ebx, 0x63
jge 0x490e2a
push 0
push 0
mov eax, str.Adusting_database...
push eax
call fcn.004ee8a9
push 0x6fb198
push 1
push 1
call fcn.004f09d9
push 1
mov eax, str.ALTER_TABLE_Items_ADD_COLUMN_REPLACEMENTCOST_TEXT_COLLATE_NOCASE
push eax
call fcn.004bc2f7
push 1
mov eax, str.ALTER_TABLE_Deletions_ADD_COLUMN_REPLACEMENTCOST_TEXT_COLLATE_NOCASE
push eax
call fcn.004bc2f7
push 1
mov eax, str.ALTER_TABLE_Items_ADD_COLUMN_SERIALNUMBER_TEXT_COLLATE_NOCASE
push eax
call fcn.004bc2f7
push 1
mov eax, str.ALTER_TABLE_Deletions_ADD_COLUMN_SERIALNUMBER_TEXT_COLLATE_NOCASE
push eax
call fcn.004bc2f7
push 1
mov eax, str.UPDATE_Items_SET_LOANRESTRICTIONS100_WHERE_STATUS99
push eax
call fcn.004bc2f7
push 1
mov eax, str.UPDATE_Deletions_SET_LOANRESTRICTIONS100_WHERE_STATUS99
push eax
call fcn.004bc2f7
push 1
call fcn.004d3586
call fcn.00505b4e
mov ebx, dword [0x9ad838]
cmp ebx, 0x65
jge 0x490e3a
call fcn.004a638f
mov ebx, dword [0x9ad838]
cmp ebx, 0x66
jge 0x490e4a
call fcn.004a6dc0
mov ebx, dword [0x9ad838]
cmp ebx, 0x64
jl 0x490e65
mov ebx, dword [0x9ad838]
cmp ebx, 0x6b
jg 0x490e65
call fcn.004a7139
mov ebx, dword [0x9ad838]
cmp ebx, 0x6e
jge 0x490eec
push 0x6fb198
push 1
push 1
call fcn.004f09d9
mov eax, str.UPDATE_Reservations_SET_RESVTYPEon_hold_WHERE_RESVTYPEshelf
push eax
push 1
call fcn.00546cd1
mov eax, str.ALTER_TABLE_Borrowers_ADD_COLUMN_OVERDUES_INTEGER
push eax
push 1
call fcn.00546cd1
mov eax, str.ALTER_TABLE_Borrowers_ADD_COLUMN_OVERDUEDATE_TEXT_COLLATE_NOCASE
push eax
push 1
call fcn.00546cd1
push 1
call fcn.004d3586
push 0x6fb198
push 1
push 1
call fcn.004f09d9
mov eax, str.UPDATE_Borrowers_SET_OVERDUES0
push eax
push 1
call fcn.00546cd1
push 1
call fcn.004d3586
push dword [0x9ac418]
pop dword [0x9ab848]
mov dword [0x9ac418], 0
push dword [0x9ab848]
pop dword [0x9ac418]
mov dword [0x9ab848], 0
mov ebx, dword [0x9ad838]
cmp ebx, 0x71
jge 0x490f5b
push 0x6fb198
push 1
push 1
call fcn.004f09d9
mov eax, str.ALTER_TABLE_Borrowers_ADD_COLUMN_BORROWERNOTES_TEXT_COLLATE_NOCASE
push eax
push 1
call fcn.00546cd1
push 1
call fcn.004d3586
call fcn.0049475a
call fcn.00496550
mov ebx, dword [0x9ad838]
cmp ebx, 0x72
jge 0x4910f8
push 0x6fb198
push 1
push 1
call fcn.004f09d9
mov edx, 0x6fb198
lea ecx, [0x9ad928]
call fcn.0051f008
push 1
mov eax, str.SELECT_RESVITEM_FROM_Reservations_WHERE_RESVTYPE__n_a
push eax
call fcn.004f685a
and eax, eax
je 0x491035
push 1
call fcn.004f4ac4
and eax, eax
je 0x491003
mov edx, dword [0x9ad928]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, 0x6fe984
push edx
call fcn.005597c0
push 1
push 0
call fcn.004dc9ec
push dword [0x9b3e20]
push dword [0x9b3e20]
cdq
push edx
push eax
call fcn.005565d0
pop eax
lea eax, [0x9ad928]
push eax
call fcn.00559740
jmp 0x490fa6
push 1
call fcn.004be154
push dword [0x9b3e20]
push dword [0x9b3e20]
push 2
push dword [0x9ad928]
call fcn.00556d60
lea eax, [0x9ad928]
push eax
call fcn.00559740
mov edx, dword [0x9ad928]
xor ecx, ecx
call fcn.0051f5d0
jne 0x4910ee
push 0x6fe984
push dword [0x9ad928]
call fcn.004dfb06
mov dword [0x9ac4e8], eax
mov dword [0x9ac534], 1
jmp 0x491069
mov eax, dword [0x9ac4e8]
cmp eax, dword [0x9ac534]
jl 0x4910ee
push dword [0x9b3e20]
push 0x6fe984
push dword [0x9ac534]
push dword [0x9ad928]
call fcn.004d569e
lea eax, [0x9ac058]
push eax
call fcn.00559740
push dword [0x9b3e20]
push dword [0x9b3e20]
mov edx, str.UPDATE_Items_SET_STATUS100_WHERE_ITEMNUMBER
push edx
call fcn.005597c0
mov edx, dword [0x9ac058]
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]
inc dword [0x9ac534]
jno 0x491069
push 1
call fcn.004d3586
mov ebx, dword [0x9ad838]
cmp ebx, 0x73
jge 0x491205
push 0x6fb198
push 1
push 0
call fcn.004f09d9
push dword [0x9b3e20]
mov eax, str.Deletions
push eax
call fcn.004cf94d
lea eax, [0x9ac75c]
push eax
call fcn.00559740
push 1
call fcn.004d3586
push 0x6fb198
mov eax, str.MEDIATYPE
push eax
push dword [0x9ac75c]
call fcn.004e0b10
mov ebx, eax
and ebx, ebx
je 0x49117c
push 0x6fb198
mov eax, str.REPLACEMENTCOST
push eax
push dword [0x9ac75c]
call fcn.004e0b10
mov ebx, eax
and ebx, ebx
je 0x49117c
jmp 0x491183
mov eax, 1
jmp 0x491185
xor eax, eax
and eax, eax
jne 0x4911a7
push 0x6fb198
mov eax, str.SERIALNUMBER
push eax
push dword [0x9ac75c]
call fcn.004e0b10
mov ebx, eax
and ebx, ebx
je 0x4911a7
jmp 0x4911ae
mov eax, 1
jmp 0x4911b0
xor eax, eax
and eax, eax
je 0x491205
push 0x6fb198
push 1
push 1
call fcn.004f09d9
push 1
mov eax, str.DROP_TABLE_Deletions
push eax
call fcn.004bc2f7
push 1
call fcn.004d3586
push 0x6fb198
push 1
push 1
call fcn.004f09d9
call fcn.0046fce6
push 1
call fcn.004d3586
mov ebx, dword [0x9ad838]
cmp ebx, 0x76
jge 0x49124e
push 0x6fb198
push 1
push 1
call fcn.004f09d9
push 1
mov eax, str.ALTER_TABLE_Items_ADD_COLUMN_ORDERNUMBER_TEXT_COLLATE_NOCASE
push eax
call fcn.004bc2f7
push 1
mov eax, str.ALTER_TABLE_Deletions_ADD_COLUMN_ORDERNUMBER_TEXT_COLLATE_NOCASE
push eax
call fcn.004bc2f7
push 1
call fcn.004d3586
mov ebx, dword [0x9ad838]
cmp ebx, 0x77
jge 0x491285
call fcn.0040c764
mov ebx, dword [0x9abd30]
mov edi, dword [0x9abd30]
cmp edi, 1
jle 0x491276
mov eax, 1
jmp 0x491278
xor eax, eax
add ebx, eax
mov dword [0x9abd30], ebx
call fcn.0040ffef
mov ebx, dword [0x9ad838]
cmp ebx, 0x78
jge 0x4912d8
push 0
push 0
mov eax, 0x702b30
push eax
call fcn.004ee8a9
push 0x6fb198
push 1
push 1
call fcn.004f09d9
push 1
mov eax, str.UPDATE_Items_SET_LOANDATEDUEDATE_WHERE_DUEDATE_1980_AND_LOANDATE_2013
push eax
call fcn.004bc2f7
push 1
call fcn.004d3586
call fcn.00505b4e
mov ebx, dword [0x9ad838]
cmp ebx, 0x7a
jge 0x4912e8
call fcn.004a8bb7
mov ebx, dword [0x9ad838]
cmp ebx, 0x7e
jge 0x4912f8
call fcn.004a9106
mov ebx, dword [0x9ad838]
cmp ebx, 0x7f
jge 0x491308
call fcn.004a948f
mov ebx, dword [0x9ad838]
cmp ebx, 0x80
jge 0x49131b
call fcn.004a95f8
mov ebx, dword [0x9ad838]
cmp ebx, 0x85
jge 0x49132e
call fcn.004a972b
mov ebx, dword [0x9ad838]
cmp ebx, 0x86
jge 0x491350
call fcn.0040c764
mov dword [0x9ac418], 0
call fcn.0040ffef
mov ebx, dword [0x9ad838]
cmp ebx, 0x89
jge 0x491381
push 0x6fb198
push 1
push 1
call fcn.004f09d9
call fcn.00470908
push 1
call fcn.004d3586
mov ebx, dword [0x9ad838]
cmp ebx, 0x8c
jge 0x49138f
mov ebx, dword [0x9ad838]
cmp ebx, 0x92
jge 0x4913a2
call fcn.004a9c25
mov ebx, dword [0x9ad838]
cmp ebx, 0x93
jge 0x4913b5
call fcn.004a9e57
mov ebx, dword [0x9ad838]
cmp ebx, 0x95
jge 0x4913c8
call fcn.004aa3a3
mov ebx, dword [0x9ad838]
cmp ebx, 0x99
jge 0x491427
push 0x6fb198
push 1
push 1
call fcn.004f09d9
push 1
mov eax, str.DROP_TABLE_Settings
push eax
call fcn.004bc2f7
push 1
call fcn.004d3586
push 0x6fb198
push 1
push 1
call fcn.004f09d9
call fcn.004706e1
push 1
call fcn.004d3586
mov ebx, dword [0x9ad838]
cmp ebx, 0x9a
jge 0x49143a
call fcn.004aa7f9
mov ebx, dword [0x9ad838]
cmp ebx, 0x9b
jge 0x49146b
push 0x6fb198
push 1
push 1
call fcn.004f09d9
call fcn.0046ec43
push 1
call fcn.004d3586
mov ebx, dword [0x9ad838]
cmp ebx, 0x9c
jge 0x49147e
call fcn.004ad4a2
mov ebx, dword [0x9ad838]
cmp ebx, 0x9d
jge 0x4914cb
push 0x6fb198
push 1
push 1
call fcn.004f09d9
mov eax, str.News
push eax
call fcn.004cba7a
mov ebx, eax
and ebx, ebx
jne 0x4914b6
call fcn.00470665
push 1
call fcn.004d3586
push dword [0x9ac2b0]
call fcn.00545edc
mov ebx, dword [0x9ad838]
cmp ebx, 0x9f
jge 0x491553
push 0
push 0
mov eax, str.Updating...
push eax
call fcn.004ee8a9
call fcn.004ada17
call fcn.0054102b
call fcn.004adb2b
call fcn.0054102b
call fcn.004ad804
call fcn.0054102b
push 0x6fb198
push 1
push 1
call fcn.004f09d9
mov eax, str.Import_Admin_List
push eax
call fcn.004cba7a
and eax, eax
je 0x49153f
push 1
mov eax, str.DROP_TABLE_Import_Admin_List
push eax
call fcn.004bc2f7
push 1
call fcn.004d3586
call fcn.00505b4e
call fcn.004addde
mov ebx, dword [0x9ad838]
cmp ebx, 0xa2
jge 0x49156b
mov dword [0x9adf14], 1
mov ebx, dword [0x9ad838]
cmp ebx, 0xa2
jge 0x491579
mov ebx, dword [0x9ad838]
cmp ebx, 0xa3
je 0x4915c6
push dword [0x9b3e20]
mov edx, dword [0x9ad0a8]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str.0.BMD
push edx
call fcn.005597c0
mov edx, dword [0x9a36fc]
add dword [esp], edx
call fcn.004ce126
pop dword [0x9b3e20]
mov ebx, eax
and ebx, ebx
je 0x4915c6
jmp 0x4915cd
mov eax, 1
jmp 0x4915cf
xor eax, eax
and eax, eax
je 0x4915d8
call fcn.004ade42
mov ebx, dword [0x9ad838]
cmp ebx, 0x9c
jle 0x4915f9
mov ebx, dword [0x9ad838]
cmp ebx, 0xa6
jge 0x4915f9
call fcn.004ae24d
mov ebx, dword [0x9ad838]
cmp ebx, 0xa7
jge 0x49164c
push 0x6fb198
push 1
push 1
call fcn.004f09d9
mov eax, str.Genres
push eax
call fcn.004cba7a
mov ebx, eax
cmp ebx, 1
jne 0x49163d
push 1
mov eax, str.DROP_TABLE_Genres
push eax
call fcn.004bc2f7
push 1
call fcn.004d3586
call fcn.004ae84d
mov ebx, dword [0x9ad838]
cmp ebx, 0xaa
jge 0x491683
call fcn.004aece2
call fcn.004aef21
call fcn.004af0f7
call fcn.0040c764
mov edx, str.http:__bookmark.central.sa.edu.au
lea ecx, [0x9ac05c]
call fcn.0051f008
call fcn.0040ffef
mov ebx, dword [0x9ad838]
cmp ebx, 0xac
jge 0x49169b
call fcn.004af251
call fcn.004b0719
mov ebx, dword [0x9ad838]
cmp ebx, 0xad
jge 0x4916ae
call fcn.004b0999
mov ebx, dword [0x9ad838]
cmp ebx, 0xae
jge 0x4916c1
call fcn.004b0a35
mov ebx, dword [0x9ad838]
cmp ebx, 0xaf
jge 0x4916d9
call fcn.004b0bc5
call fcn.004b0dce
mov ebx, dword [0x9ad838]
cmp ebx, 0xb1
jge 0x4916ec
call fcn.004b10e9
mov ebx, dword [0x9ad838]
cmp ebx, 0xb2
jge 0x4916ff
call fcn.004b115b
mov ebx, dword [0x9ad838]
cmp ebx, 0xb3
jge 0x491712
call fcn.004b124d
mov ebx, dword [0x9ad838]
cmp ebx, 0xb7
jge 0x49172a
call fcn.004b1324
call fcn.004b1353
mov ebx, dword [0x9ad838]
cmp ebx, 0xca
jge 0x49173d
call fcn.004b1400
mov ebx, dword [0x9ad838]
cmp ebx, 0xd1
jge 0x491750
call fcn.004b145e
mov ebx, dword [0x9ad838]
cmp ebx, 0xd5
jge 0x491763
call fcn.004b157b
mov ebx, dword [0x9ad838]
cmp ebx, 0xda
jge 0x491780
call fcn.004b1590
call fcn.004b1e5b
call fcn.004b1353
mov ebx, dword [0x9ad838]
cmp ebx, 0xdc
jg 0x491793
call fcn.004b1ead
mov ebx, dword [0x9ad838]
cmp ebx, 0xe5
jge 0x4917a6
call fcn.004b2052
mov ebx, dword [0x9ad838]
cmp ebx, 0xea
jge 0x4917b9
call fcn.004b20d4
mov ebx, dword [0x9ad838]
cmp ebx, 0xef
jge 0x4917d6
call fcn.004b2395
call fcn.004b2641
call fcn.004b2890
mov ebx, dword [0x9ad838]
cmp ebx, 0xee
jle 0x4917f7
mov ebx, dword [0x9ad838]
cmp ebx, 0xf8
jge 0x4917f7
call fcn.004b2c58
mov ebx, dword [0x9ad838]
cmp ebx, 0xf9
jge 0x491838
call fcn.004ada17
push 0x6fb198
push 1
push 0
call fcn.004f09d9
mov eax, str.DELETE_FROM_Settings
push eax
push 1
call fcn.00546cd1
push 1
call fcn.004d3586
mov ebx, dword [0x9ad838]
cmp ebx, 0x105
jle 0x491859
mov ebx, dword [0x9ad838]
cmp ebx, 0x108
jge 0x491859
call fcn.004b339c
mov ebx, dword [0x9ad838]
cmp ebx, 0x117
jge 0x49186c
call fcn.004b3575
mov ebx, dword [0x9ad838]
cmp ebx, 0x119
jge 0x4919b6
call fcn.0040c764
push dword [0x9b3e20]
push dword [0x9acbf0]
call fcn.005134a1
lea eax, [0x9ac12c]
push eax
call fcn.00559740
push dword [0x9ac12c]
mov edx, str.0.0.0
pop ecx
call fcn.0051f5d0
jne 0x4918c8
push dword [0x9ac12c]
mov edx, str.192_192_192
pop ecx
call fcn.0051f5d0
jne 0x4918c8
jmp 0x4918cf
mov eax, 1
jmp 0x4918d1
xor eax, eax
and eax, eax
jne 0x4918ea
push dword [0x9ac12c]
mov edx, str.232_232_232
pop ecx
call fcn.0051f5d0
jne 0x4918ea
jmp 0x4918f1
mov eax, 1
jmp 0x4918f3
xor eax, eax
and eax, eax
jne 0x49190c
push dword [0x9ac12c]
mov edx, str.240_240_240
pop ecx
call fcn.0051f5d0
jne 0x49190c
jmp 0x491913
mov eax, 1
jmp 0x491915
xor eax, eax
and eax, eax
jne 0x49192e
push dword [0x9ac12c]
mov edx, str.244_244_244
pop ecx
call fcn.0051f5d0
jne 0x49192e
jmp 0x491935
mov eax, 1
jmp 0x491937
xor eax, eax
and eax, eax
jne 0x491950
push dword [0x9ac12c]
mov edx, str.248_248_248
pop ecx
call fcn.0051f5d0
jne 0x491950
jmp 0x491957
mov eax, 1
jmp 0x491959
xor eax, eax
and eax, eax
jne 0x491972
push dword [0x9ac12c]
mov edx, str.255_255_255
pop ecx
call fcn.0051f5d0
jne 0x491972
jmp 0x491979
mov eax, 1
jmp 0x49197b
xor eax, eax
and eax, eax
je 0x4919b6
push 0xff
push 0
push 0
call fcn.00547fab
mov dword [0x9ad784], eax
push 0xe0
push 0xe0
push 0xe0
call fcn.00547fab
mov dword [0x9acbf0], eax
call fcn.0040ffef
mov ebx, dword [0x9ad838]
cmp ebx, 0x13f
jge 0x491a9c
push 0
push 0
mov eax, str.Updating...
push eax
call fcn.004ee8a9
push 1
mov eax, str.Adding_purchase_date_field
push eax
call fcn.004e2511
push 0x6fb198
push 1
push 1
call fcn.004f09d9
mov eax, str.ALTER_TABLE_Items_ADD_COLUMN_PURCHASEDATE_TEXT
push eax
push 1
call fcn.00546cd1
mov eax, str.ALTER_TABLE_Deletions_ADD_COLUMN_PURCHASEDATE_TEXT
push eax
push 1
call fcn.00546cd1
push 1
call fcn.004d3586
push 0x6fb198
push 1
push 1
call fcn.004f09d9
mov eax, str.CREATE_INDEX_PURCHASEDATE_index_ON_Items___PURCHASEDATE__
push eax
push 1
call fcn.00546cd1
push 1
call fcn.004d3586
push 0x6fb198
push 1
push 1
call fcn.004f09d9
mov eax, str.UPDATE_Items_SET_PURCHASEDATEACCESSIONDATE
push eax
push 1
call fcn.00546cd1
mov eax, str.UPDATE_Deletions_SET_PURCHASEDATEACCESSIONDATE
push eax
push 1
call fcn.00546cd1
push 1
call fcn.004d3586
call fcn.00505b4e
mov ebx, dword [0x9ad838]
cmp ebx, 0x14a
jge 0x491aaf
call fcn.004b3784
mov ebx, dword [0x9ad838]
cmp ebx, 0x159
jge 0x491ae6
push 0
mov eax, str.Expires
push eax
call fcn.004f4eda
mov dword [0x9abaa4], eax
call fcn.0041e959
mov ebx, dword [0x9ae37c]
and ebx, ebx
jne 0x491ae6
call fcn.004b40cc
mov ebx, dword [0x9ad838]
cmp ebx, 0x162
jge 0x491b6d
call fcn.00418ee4
mov dword [0x9ac534], 1
jmp 0x491b05
mov eax, 0x63
cmp eax, dword [0x9ac534]
jl 0x491b68
mov ebx, dword [0x9ac534]
mov ebp, dword [0x9aef58]
shl ebx, 2
mov edx, dword [ebp + ebx]
xor ecx, ecx
call fcn.0051f5d0
jne 0x491b60
push dword [0x9ac430]
mov ebx, dword [0x9ac534]
mov ebp, dword [0x9aefb0]
shl ebx, 2
pop dword [ebp + ebx]
push dword [0x9ab894]
mov ebx, dword [0x9ac534]
mov ebp, dword [0x9aefb8]
shl ebx, 2
pop dword [ebp + ebx]
inc dword [0x9ac534]
jno 0x491b05
call fcn.0041c2f8
mov ebx, dword [0x9ad838]
cmp ebx, 0x165
jge 0x491b80
call fcn.004b4269
mov ebx, dword [0x9ad838]
cmp ebx, 0x167
jge 0x491ba2
call fcn.0040c764
mov dword [0x9adbec], 0
call fcn.0040ffef
mov ebx, dword [0x9ad838]
cmp ebx, 0x1c2
jge 0x491bff
call fcn.0040c764
mov ebx, dword [0x9acbf0]
push 0xf4
push 0xe0
push 0xe0
call fcn.00547fab
cmp ebx, eax
jne 0x491bfa
mov ebx, dword [0x9ad784]
cmp ebx, 0xff0000
jne 0x491bfa
push 0xea
push 0xea
push 0xea
call fcn.00547fab
mov dword [0x9acbf0], eax
call fcn.0040ffef
push 0x6fb198
push 1
push 0
call fcn.004f09d9
mov eax, str.Temp
push eax
call fcn.004cba7a
mov ebx, eax
and ebx, ebx
jne 0x491c29
call fcn.00470b03
push 1
call fcn.004d3586
ret