Function at 0x403ab0
Capabilities:
Reference sql statements

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 0xa0c]
test eax, eax
jne 0x403bcb
mov eax, dword [esi + 0xa20]
mov ecx, dword [eax]
push 0
lea edx, [ebp - 8]
push edx
lea edx, [esi + 0xa24]
push edx
push eax
call dword [ecx + 0xdc]
test eax, eax
jl 0x403b02
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 0
push 1
push str.exec_sp_configure_allow_updates_1_reconfigure_with_override
push eax
call dword [ecx + 0x170]
test eax, eax
jge 0x403b1f
push eax
mov ecx, esi
call fcn.00403310
mov dword [esi + 0xa0c], 0xc
mov eax, dword [esi + 0xa0c]
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
push str.__n_tAssume_we_are_at_the_6.5_distribution_database__n_t_n_twill_make_upgrade_specific_copies_of_needed_data__n_tscripting_options_will_only_transfer_user_objects__n_tand_we_need_to_leave_the_base_msshipped_objects_alone__n_tto_make_repeatable__drop_these_first__n__n_t___drop_backup_tables__n_tif_exists__select__from_sysobjects_where_name__REPL_UPD_MSjobs____n_t_tdrop_table_REPL_UPD_MSjobs__n_tif_exists__select__from_sysobjects_where_name__REPL_UPD_MSjob_subscriptions____n_t_tdrop_table_REPL_UPD_MSjob_subscriptions__n_tif_exists__select__from_sysobjects_where_name__REPL_UPD_MSsubscriber_info____n_t_tdrop_table_REPL_UPD_MSsubscriber_info__n_n_t___must_allow_select_into_temporarily_for_bk6dist_to_run_n_tdeclare__sDBName_varchar_30___n_tselect__sDBName__db_name____n_texec_sp_dboption__sDBName__select__true__n_n
call fcn.00401010
add esp, 4
push 0
mov edi, eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
push 1
push edi
push eax
call dword [edx + 0x170]
mov ebx, eax
test ebx, ebx
setl byte [ebp - 1]
test edi, edi
je 0x403b56
push edi
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, byte [ebp - 1]
test al, al
je 0x403b60
push ebx
jmp 0x403bb8
push str._n_t___n_t___tAssume_we_are_at_the_6.5_distribution_database__n_t___n_n_n_t___make_upgrade_specific_copies_of_needed_data__n_t___scripting_options_will_only_transfer_user_objects__n_t___and_we_need_to_leave_the_base_msshipped_objects_alone__n_t____n_n_t___must_allow_select_into_temporarily__n_tdeclare__sDBName_varchar_30___n_tselect__sDBName__db_name____n_texec_sp_dboption__sDBName__select__true__n_n_t___set_up_job_reference_data_for_upgrade__ignore_snapshot_jobs__n_tselect__into_REPL_UPD_MSjobs_from_MSjobs_where_xactid_page____0_or_xactid_row____0__n_t___otherwise_cleanup_to_last_job_n_tif_exists_select__from_sysobjects_where_name__REPL_UPD_MSjobs__n_tbegin_n_t_t___local_publisher_will_be_readded_as_synced_during_upgrade_n_t_tdelete_from_REPL_UPD_MSjobs_where_publisher_id__0_n_n_t_t___remote_pubs_must_be_caught_up_so_only_keep_last_transaction_n_t_tdelete_from_REPL_UPD_MSjobs_where_n_t_t_______tjob_id_____SELECT_MAX_mj.job_id__FROM_REPL_UPD_MSjobs_mj_n____t_t_tWHERE__n_t_t_t_tmj.publisher_id__publisher_id_AND_n_t_t_t_tmj.publisher_db__publisher_db__n_n_tend_n_n_t___copy_job_subscription_data_for_upgrade_n_tselect__into_REPL_UPD_MSjob_subscriptions_from_MSjob_subscriptions_where_publisher_id____0_n_n_t___copy_subscriber_info_for_upgrade__needed_for_last_xact_id_and_seqno__n_tselect__into_REPL_UPD_MSsubscriber_info_from_MSsubscriber_info_n_n
lea ecx, [ebp - 0xc]
call fcn.004034d0
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push 0
push 1
push eax
push ecx
call dword [edx + 0x170]
mov edi, eax
mov eax, dword [ebp - 0xc]
test edi, edi
setl bl
test eax, eax
je 0x403b97
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
add esp, 4
test bl, bl
je 0x403b9e
push edi
jmp 0x403bb8
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 0
push 1
push str.exec_sp_configure_allow_updates_0_reconfigure_with_override
push eax
call dword [ecx + 0x170]
test eax, eax
jge 0x403bc9
push eax
mov ecx, esi
call fcn.00403310
mov dword [esi + 0xa0c], 0xc
pop edi
pop ebx
mov eax, dword [esi + 0xa0c]
pop esi
mov esp, ebp
pop ebp
ret