Function at 0x425b24
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x9b20
call fcn.00430730
push esi
push edi
mov ecx, 0xa
mov esi, str.GenerateAddMSXJobSQL
lea edi, [ebp - 0x64d4]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ax, word [0x4497e0]
mov word [ebp - 0x9af0], ax
mov ecx, 0xc83
xor eax, eax
lea edi, [ebp - 0x9aee]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cx, word [0x4497e8]
mov word [ebp - 0x1460], cx
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x145e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dx, word [0x4497f0]
mov word [ebp - 0x4674], dx
mov ecx, 0xc83
xor eax, eax
lea edi, [ebp - 0x4672]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ax, word [0x4497f8]
mov word [ebp - 0x68d8], ax
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x68d6]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cx, word [0x449800]
mov word [ebp - 0x64a8], cx
mov ecx, 0x100
xor eax, eax
lea edi, [ebp - 0x64a6]
rep stosd dword es:[edi], eax
mov dx, word [0x449808]
mov word [ebp - 0x4778], dx
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x4776]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ax, word [0x449810]
mov word [ebp - 0xc60], ax
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0xc5e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 4], 0
mov dword [ebp - 0x1464], 0
mov byte [ebp - 0x60a4], 0
mov ecx, 0x641
xor eax, eax
lea edi, [ebp - 0x60a3]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x9af8], 0
mov dword [ebp - 0x477c], 0
mov dword [ebp - 0x68e0], 0
mov dword [ebp - 0x9af4], 0
mov dword [ebp - 0x68dc], 0
mov dword [ebp - 0x64d8], 0
mov dword [ebp - 0x4678], 0
push str.GenerateAddMSXJobSQL___n
call fcn.0042fc9e
add esp, 4
cmp dword [ebp + 8], 0
je 0x425caa
cmp dword [ebp + 0xc], 0
je 0x425caa
cmp dword [ebp + 0x10], 0
jne 0x425cb1
xor eax, eax
jmp 0x426bb5
push 0x661
lea ecx, [ebp - 0x64d4]
push ecx
push 2
call fcn.00420465
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
je 0x425cea
push 0x449814
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
jmp 0x425cf1
xor eax, eax
jmp 0x426bb5
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str.DECLARE__ret_INT_IF__EXISTS__SELECT_1_FROM_msdb.dbo.sysjobs_WHERE__job_id___s____EXECUTE_msdb.dbo.sp_delete_job__job_id___s___delete_history__0
lea edx, [ebp - 0x9af0]
push edx
mov eax, dword [0x449ba0]
call dword [eax + 0x4cc]
add esp, 0x10
mov ecx, dword [ebp + 0x10]
cmp dword [ecx], 0
je 0x425d36
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x9afc], ecx
jmp 0x425d40
mov dword [ebp - 0x9afc], 0
push 0x668
lea edx, [ebp - 0x64d4]
push edx
lea eax, [ebp - 0x9af0]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov ecx, dword [ebp - 0x9afc]
lea edx, [ecx + eax*2 + 2]
push edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
call fcn.004206f4
add esp, 0x10
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
je 0x425d9a
lea ecx, [ebp - 0x9af0]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
jmp 0x425da1
xor eax, eax
jmp 0x426bb5
mov ecx, dword [ebp + 0xc]
push ecx
push str.SELECT_name__enabled__description__start_step_id__notify_level_eventlog__notify_level_email__notify_level_netsend__notify_level_page__notify_email_operator_id__notify_netsend_operator_id__notify_page_operator_id__delete_level__CONVERT_NVARCHAR__date_created__112______CONVERT_NVARCHAR__date_created__114___CONVERT_NVARCHAR__date_modified__112______CONVERT_NVARCHAR__date_modified__114___version_number_FROM_msdb.dbo.sysjobs_WHERE__job_id___s_
lea edx, [ebp - 0x1460]
push edx
mov eax, dword [0x449ba0]
call dword [eax + 0x4cc]
add esp, 0xc
lea ecx, [ebp - 0x1460]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SQLSVC.dll_QSQLExecDirect]
add esp, 8
cmp eax, 1
jne 0x426273
push 0xb5c
push 0
lea eax, [ebp - 0xb60]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x4678]
push ecx
lea edx, [ebp - 0xb50]
push edx
push 0x108
push 0xfffffffffffffff8
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SQLSVC.dll_QSQLBind]
add esp, 0x18
lea ecx, [ebp - 0x4678]
push ecx
lea edx, [ebp - 0xa08]
push edx
push 4
push 0xfffffffffffffff0
push 2
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SQLSVC.dll_QSQLBind]
add esp, 0x18
lea ecx, [ebp - 0x4678]
push ecx
lea edx, [ebp - 0x64a8]
push edx
push 0x200
push 0xfffffffffffffff8
push 3
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SQLSVC.dll_QSQLBind]
add esp, 0x18
lea ecx, [ebp - 0x4678]
push ecx
lea edx, [ebp - 0xa04]
push edx
push 4
push 0xfffffffffffffff0
push 4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SQLSVC.dll_QSQLBind]
add esp, 0x18
lea ecx, [ebp - 0x4678]
push ecx
lea edx, [ebp - 0x8f8]
push edx
push 4
push 0xfffffffffffffff0
push 5
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SQLSVC.dll_QSQLBind]
add esp, 0x18
lea ecx, [ebp - 0x4678]
push ecx
lea edx, [ebp - 0x8f4]
push edx
push 4
push 0xfffffffffffffff0
push 6
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SQLSVC.dll_QSQLBind]
add esp, 0x18
lea ecx, [ebp - 0x4678]
push ecx
lea edx, [ebp - 0x8f0]
push edx
push 4
push 0xfffffffffffffff0
push 7
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SQLSVC.dll_QSQLBind]
add esp, 0x18
lea ecx, [ebp - 0x4678]
push ecx
lea edx, [ebp - 0x8ec]
push edx
push 4
push 0xfffffffffffffff0
push 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SQLSVC.dll_QSQLBind]
add esp, 0x18
lea ecx, [ebp - 0x4678]
push ecx
lea edx, [ebp - 0x8e8]
push edx
push 4
push 0xfffffffffffffff0
push 9
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SQLSVC.dll_QSQLBind]
add esp, 0x18
lea ecx, [ebp - 0x4678]
push ecx
lea edx, [ebp - 0x8e4]
push edx
push 4
push 0xfffffffffffffff0
push 0xa
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SQLSVC.dll_QSQLBind]
add esp, 0x18
lea ecx, [ebp - 0x4678]
push ecx
lea edx, [ebp - 0x8e0]
push edx
push 4
push 0xfffffffffffffff0
push 0xb
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SQLSVC.dll_QSQLBind]
add esp, 0x18
lea ecx, [ebp - 0x4678]
push ecx
lea edx, [ebp - 0x8dc]
push edx
push 4
push 0xfffffffffffffff0
push 0xc
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SQLSVC.dll_QSQLBind]
add esp, 0x18
lea ecx, [ebp - 0x4678]
push ecx
lea edx, [ebp - 0x4778]
push edx
push 0x100
push 0xfffffffffffffff8
push 0xd
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SQLSVC.dll_QSQLBind]
add esp, 0x18
lea ecx, [ebp - 0x4678]
push ecx
lea edx, [ebp - 0xc60]
push edx
push 0x100
push 0xfffffffffffffff8
push 0xe
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SQLSVC.dll_QSQLBind]
add esp, 0x18
lea ecx, [ebp - 0x4678]
push ecx
lea edx, [ebp - 0x8d4]
push edx
push 4
push 0xfffffffffffffff0
push 0xf
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SQLSVC.dll_QSQLBind]
add esp, 0x18
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SQLSVC.dll_QSQLNextRow]
add esp, 4
cmp eax, 0xffffffff
jne 0x42625b
push 0x3210
lea edx, [ebp - 0x4674]
push edx
push 0x443894
push 0x44389c
lea eax, [ebp - 0xb50]
push eax
call fcn.0042f530
add esp, 0x14
lea ecx, [ebp - 0x4674]
push ecx
lea edx, [ebp - 0xb50]
push edx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
push 0x3210
lea eax, [ebp - 0x4674]
push eax
push 0x4438a0
push 0x4438a8
lea ecx, [ebp - 0x64a8]
push ecx
call fcn.0042f530
add esp, 0x14
lea edx, [ebp - 0x4674]
push edx
lea eax, [ebp - 0x64a8]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
mov ecx, dword [ebp + 8]
add ecx, 0x14
push ecx
lea edx, [ebp - 0xa48]
push edx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
push 0x4438ac
lea eax, [ebp - 0xa00]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x4c]
push edx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
push 3
push 0x148
lea eax, [ebp - 0x8c0]
push eax
call dword [sym.imp.SQLSVC.dll_SHRecMemInit]
add esp, 0xc
cmp dword [ebp - 0x8e0], 0
je 0x4260ed
cmp dword [ebp - 0x8ec], 0
je 0x4260ed
mov dword [ebp - 0x9b00], 0x4438b4
jmp 0x4260f7
mov dword [ebp - 0x9b00], 0x449818
cmp dword [ebp - 0x8e4], 0
je 0x426115
cmp dword [ebp - 0x8f0], 0
je 0x426115
mov dword [ebp - 0x9b04], 0x4438cc
jmp 0x42611f
mov dword [ebp - 0x9b04], 0x44981c
cmp dword [ebp - 0x8e8], 0
je 0x42613d
cmp dword [ebp - 0x8f4], 0
je 0x42613d
mov dword [ebp - 0x9b08], 0x4438e4
jmp 0x426147
mov dword [ebp - 0x9b08], 0x449820
mov ecx, dword [ebp - 0x8dc]
push ecx
mov edx, dword [ebp - 0x9b00]
push edx
mov eax, dword [ebp - 0x9b04]
push eax
mov ecx, dword [ebp - 0x9b08]
push ecx
mov edx, dword [ebp - 0x8ec]
push edx
mov eax, dword [ebp - 0x8f0]
push eax
mov ecx, dword [ebp - 0x8f4]
push ecx
mov edx, dword [ebp - 0x8f8]
push edx
lea eax, [ebp - 0xa00]
push eax
mov ecx, dword [ebp - 0xa04]
push ecx
lea edx, [ebp - 0x64a8]
push edx
mov eax, dword [ebp - 0xa08]
push eax
lea ecx, [ebp - 0xb50]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xa48]
push eax
push str.EXECUTE__ret__msdb.dbo.sp_add_job__originating_server__N_s___job_id___s___job_name__N_s___enabled___ld___description__N_s___start_step_id___ld___category_id__1___owner_login_name__N_s___notify_level_eventlog___ld___notify_level_email___ld___notify_level_netsend___ld___notify_level_page___ld___notify_email_operator_name__N_s___notify_netsend_operator_name__N_s___notify_page_operator_name__N_s___delete_level___ld_IF___ret____0__GOTO_Failure
lea ecx, [ebp - 0x9af0]
push ecx
mov edx, dword [0x449ba0]
call dword [edx + 0x4cc]
add esp, 0x44
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
je 0x4261eb
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea eax, [eax + eax + 2]
mov dword [ebp - 0x9b0c], eax
jmp 0x4261f5
mov dword [ebp - 0x9b0c], 0
push 0x6a4
lea ecx, [ebp - 0x64d4]
push ecx
lea edx, [ebp - 0x9af0]
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov ecx, dword [ebp - 0x9b0c]
lea edx, [ecx + eax*2 + 2]
push edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
call fcn.004206f4
add esp, 0x10
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
je 0x42624f
lea ecx, [ebp - 0x9af0]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
jmp 0x426256
xor eax, eax
jmp 0x426bb5
jmp 0x425fed
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SQLSVC.dll_QSQLResults]
add esp, 4
cmp eax, 1
je 0x425df2
jmp 0x4262b5
push 0x200
lea edx, [ebp - 0x68d8]
push edx
push 0x13e
mov eax, dword [0x4492ac]
push eax
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
push 0x443cb4
lea ecx, [ebp - 0x68d8]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [0x449ba0]
call dword [eax + 0x4cc]
add esp, 0xc
xor eax, eax
jmp 0x426bb5
push 5
push 0x70c
lea ecx, [ebp - 0x479c]
push ecx
call dword [sym.imp.SQLSVC.dll_SHRecMemInit]
add esp, 0xc
push 1
push 0
lea edx, [ebp - 0x479c]
push edx
lea eax, [ebp - 0xb60]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040b626
add esp, 0x14
test eax, eax
je 0x4267c3
cmp dword [ebp - 0x4794], 0
je 0x4267c3
mov dword [ebp - 0x9af4], 0
jmp 0x42631a
mov edx, dword [ebp - 0x9af4]
add edx, 1
mov dword [ebp - 0x9af4], edx
mov eax, dword [ebp - 0x9af4]
cmp eax, dword [ebp - 0x4794]
jge 0x4267c1
mov ecx, dword [ebp - 0x9af4]
push ecx
lea edx, [ebp - 0x479c]
push edx
call dword [sym.imp.SQLSVC.dll_SHRecMemLock]
add esp, 8
mov dword [ebp - 0x9af8], eax
cmp dword [ebp - 0x9af8], 0
je 0x4267a6
push 0x3210
lea eax, [ebp - 0x4674]
push eax
push 0x443cd4
push 0x443cdc
mov ecx, dword [ebp - 0x9af8]
add ecx, 4
push ecx
call fcn.0042f530
add esp, 0x14
lea edx, [ebp - 0x4674]
push edx
mov eax, dword [ebp - 0x9af8]
add eax, 4
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
mov ecx, dword [ebp - 0x9af8]
cmp dword [ecx + 0x18c], 0
je 0x426461
push 0x449824
lea edx, [ebp - 0x4674]
push edx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
push 0x3210
lea eax, [ebp - 0x4674]
push eax
push 0x443ce0
push 0x443ce8
mov ecx, dword [ebp - 0x9af8]
mov edx, dword [ecx + 0x18c]
push edx
call fcn.0042f530
add esp, 0x14
mov eax, dword [ebp - 0x9af8]
mov ecx, dword [eax + 0x18c]
push ecx
call fcn.004209ff
add esp, 4
push 0x6c1
lea edx, [ebp - 0x64d4]
push edx
lea eax, [ebp - 0x4674]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
call fcn.00420465
add esp, 0xc
mov edx, dword [ebp - 0x9af8]
mov dword [edx + 0x18c], eax
mov eax, dword [ebp - 0x9af8]
cmp dword [eax + 0x18c], 0
je 0x426461
lea ecx, [ebp - 0x4674]
push ecx
mov edx, dword [ebp - 0x9af8]
mov eax, dword [edx + 0x18c]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
push 0x3210
lea ecx, [ebp - 0x4674]
push ecx
push 0x443cec
push 0x443cf4
mov edx, dword [ebp - 0x9af8]
add edx, 0x1ec
push edx
call fcn.0042f530
add esp, 0x14
lea eax, [ebp - 0x4674]
push eax
mov ecx, dword [ebp - 0x9af8]
add ecx, 0x1ec
push ecx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
push 0x3210
lea edx, [ebp - 0x4674]
push edx
push 0x443cf8
push 0x443d00
mov eax, dword [ebp - 0x9af8]
add eax, 0x2f4
push eax
call fcn.0042f530
add esp, 0x14
lea ecx, [ebp - 0x4674]
push ecx
mov edx, dword [ebp - 0x9af8]
add edx, 0x2f4
push edx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
mov eax, dword [ebp - 0x9af8]
cmp dword [eax + 0x408], 0
je 0x4265b9
push 0x449828
lea ecx, [ebp - 0x4674]
push ecx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
push 0x3210
lea edx, [ebp - 0x4674]
push edx
push 0x443d04
push 0x443d0c
mov eax, dword [ebp - 0x9af8]
mov ecx, dword [eax + 0x408]
push ecx
call fcn.0042f530
add esp, 0x14
mov edx, dword [ebp - 0x9af8]
mov eax, dword [edx + 0x408]
push eax
call fcn.004209ff
add esp, 4
push 0x6d0
lea ecx, [ebp - 0x64d4]
push ecx
lea edx, [ebp - 0x4674]
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea eax, [eax + eax + 2]
push eax
call fcn.00420465
add esp, 0xc
mov ecx, dword [ebp - 0x9af8]
mov dword [ecx + 0x408], eax
mov edx, dword [ebp - 0x9af8]
cmp dword [edx + 0x408], 0
je 0x4265b9
lea eax, [ebp - 0x4674]
push eax
mov ecx, dword [ebp - 0x9af8]
mov edx, dword [ecx + 0x408]
push edx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
mov eax, dword [ebp - 0x9af8]
cmp dword [eax + 0x408], 0
je 0x4265dc
mov ecx, dword [ebp - 0x9af8]
mov edx, dword [ecx + 0x408]
mov dword [ebp - 0x9b10], edx
jmp 0x4265e6
mov dword [ebp - 0x9b10], 0x44982c
mov eax, dword [ebp - 0x9af8]
mov ecx, dword [eax + 0x194]
push ecx
mov edx, dword [ebp - 0x9b10]
push edx
mov eax, dword [ebp - 0x9af8]
mov ecx, dword [eax + 0x404]
push ecx
mov edx, dword [ebp - 0x9af8]
mov eax, dword [edx + 0x400]
push eax
mov ecx, dword [ebp - 0x9af8]
mov edx, dword [ecx + 0x3fc]
push edx
push 0x449830
mov eax, dword [ebp - 0x9af8]
add eax, 0x1ec
push eax
mov ecx, dword [ebp - 0x9af8]
add ecx, 0x1ac
push ecx
mov edx, dword [ebp - 0x9af8]
mov eax, dword [edx + 0x1a8]
push eax
mov ecx, dword [ebp - 0x9af8]
mov edx, dword [ecx + 0x1a4]
push edx
mov eax, dword [ebp - 0x9af8]
mov ecx, dword [eax + 0x1a0]
push ecx
mov edx, dword [ebp - 0x9af8]
mov eax, dword [edx + 0x19c]
push eax
mov ecx, dword [ebp - 0x9af8]
mov edx, dword [ecx + 0x198]
push edx
push 0x443d10
mov eax, dword [ebp - 0x9af8]
add eax, 0x10c
push eax
mov ecx, dword [ebp - 0x9af8]
add ecx, 4
push ecx
mov edx, dword [ebp - 0x9af8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str.EXECUTE__ret__msdb.dbo.sp_add_jobstep__job_id___s___step_id___ld___step_name__N_s___subsystem__N_s___command__N_s___additional_parameters__NULL___cmdexec_success_code___ld___on_success_action___ld___on_success_step_id___ld___on_fail_action___ld___on_fail_step_id___ld___server__N_s___database_name__N_s___database_user_name__N_s___retry_attempts___ld___retry_interval___ld___os_run_priority___ld___output_file_name__N_s___flags___ld_IF___ret____0__GOTO_Failure
lea edx, [ebp - 0x4674]
push edx
mov eax, dword [0x449ba0]
call dword [eax + 0x4cc]
add esp, 0x50
mov ecx, dword [ebp - 0x9af8]
cmp dword [ecx + 0x18c], 0
je 0x4266e5
mov edx, dword [ebp - 0x9af8]
mov eax, dword [edx + 0x18c]
mov dword [ebp - 0x9b14], eax
jmp 0x4266ef
mov dword [ebp - 0x9b14], 0x449834
push 0x3210
lea ecx, [ebp - 0x9af0]
push ecx
mov edx, dword [ebp - 0x9b14]
push edx
push str.LONG_STRING_PLACEHOLDER
lea eax, [ebp - 0x4674]
push eax
call fcn.0042f530
add esp, 0x14
mov ecx, dword [ebp + 0x10]
cmp dword [ecx], 0
je 0x426739
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x9b18], ecx
jmp 0x426743
mov dword [ebp - 0x9b18], 0
push 0x6ff
lea edx, [ebp - 0x64d4]
push edx
lea eax, [ebp - 0x9af0]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov ecx, dword [ebp - 0x9b18]
lea edx, [ecx + eax*2 + 2]
push edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
call fcn.004206f4
add esp, 0x10
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
je 0x42679d
lea ecx, [ebp - 0x9af0]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
jmp 0x4267a4
xor eax, eax
jmp 0x426bb5
jmp 0x4267bc
lea ecx, [ebp - 0x479c]
push ecx
call fcn.0040bc8b
add esp, 4
xor eax, eax
jmp 0x426bb5
jmp 0x42630b
jmp 0x426814
push 0x200
lea edx, [ebp - 0x68d8]
push edx
push 0x140
mov eax, dword [0x4492ac]
push eax
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
push 0x444158
lea ecx, [ebp - 0x68d8]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [0x449ba0]
call dword [eax + 0x4cc]
add esp, 0xc
lea ecx, [ebp - 0x479c]
push ecx
call fcn.0040bc8b
add esp, 4
xor eax, eax
jmp 0x426bb5
lea edx, [ebp - 0x479c]
push edx
call fcn.0040bc8b
add esp, 4
push 0
lea eax, [ebp - 0x1464]
push eax
lea ecx, [ebp - 0xb60]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0040a46d
add esp, 0x10
test eax, eax
je 0x426a45
mov dword [ebp - 0x9af4], 0
jmp 0x426862
mov eax, dword [ebp - 0x9af4]
add eax, 1
mov dword [ebp - 0x9af4], eax
mov ecx, dword [ebp - 0x9af4]
cmp ecx, dword [ebp - 0x8b8]
jge 0x426a43
mov edx, dword [ebp - 0x9af4]
push edx
lea eax, [ebp - 0x8c0]
push eax
call dword [sym.imp.SQLSVC.dll_SHRecMemLock]
add esp, 8
mov dword [ebp - 0x477c], eax
cmp dword [ebp - 0x477c], 0
je 0x426a27
push 0x3210
lea ecx, [ebp - 0x4674]
push ecx
push 0x444178
push 0x444180
mov edx, dword [ebp - 0x477c]
add edx, 4
push edx
call fcn.0042f530
add esp, 0x14
lea eax, [ebp - 0x4674]
push eax
mov ecx, dword [ebp - 0x477c]
add ecx, 4
push ecx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
mov edx, dword [ebp - 0x477c]
mov eax, dword [edx + 0x134]
push eax
mov ecx, dword [ebp - 0x477c]
mov edx, dword [ecx + 0x130]
push edx
mov eax, dword [ebp - 0x477c]
mov ecx, dword [eax + 0x12c]
push ecx
mov edx, dword [ebp - 0x477c]
mov eax, dword [edx + 0x128]
push eax
mov ecx, dword [ebp - 0x477c]
mov edx, dword [ecx + 0x124]
push edx
mov eax, dword [ebp - 0x477c]
mov ecx, dword [eax + 0x120]
push ecx
mov edx, dword [ebp - 0x477c]
mov eax, dword [edx + 0x11c]
push eax
mov ecx, dword [ebp - 0x477c]
mov edx, dword [ecx + 0x118]
push edx
mov eax, dword [ebp - 0x477c]
mov ecx, dword [eax + 0x114]
push ecx
mov edx, dword [ebp - 0x477c]
mov eax, dword [edx + 0x110]
push eax
mov ecx, dword [ebp - 0x477c]
mov edx, dword [ecx + 0x10c]
push edx
mov eax, dword [ebp - 0x477c]
add eax, 4
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x444184
lea edx, [ebp - 0x9af0]
push edx
mov eax, dword [0x449ba0]
call dword [eax + 0x4cc]
add esp, 0x3c
mov ecx, dword [ebp + 0x10]
cmp dword [ecx], 0
je 0x4269ba
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x9b1c], ecx
jmp 0x4269c4
mov dword [ebp - 0x9b1c], 0
push 0x72b
lea edx, [ebp - 0x64d4]
push edx
lea eax, [ebp - 0x9af0]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov ecx, dword [ebp - 0x9b1c]
lea edx, [ecx + eax*2 + 2]
push edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
call fcn.004206f4
add esp, 0x10
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
je 0x426a1e
lea ecx, [ebp - 0x9af0]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
jmp 0x426a25
xor eax, eax
jmp 0x426bb5
jmp 0x426a3e
lea ecx, [ebp - 0x8c0]
push ecx
call dword [sym.imp.SQLSVC.dll_SHRecMemFree]
add esp, 4
xor eax, eax
jmp 0x426bb5
jmp 0x426853
jmp 0x426a97
push 0x200
lea edx, [ebp - 0x68d8]
push edx
push 0x141
mov eax, dword [0x4492ac]
push eax
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
push 0x44446c
lea ecx, [ebp - 0x68d8]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [0x449ba0]
call dword [eax + 0x4cc]
add esp, 0xc
lea ecx, [ebp - 0x8c0]
push ecx
call dword [sym.imp.SQLSVC.dll_SHRecMemFree]
add esp, 4
xor eax, eax
jmp 0x426bb5
lea edx, [ebp - 0x8c0]
push edx
call dword [sym.imp.SQLSVC.dll_SHRecMemFree]
add esp, 4
push 0x200
lea eax, [ebp - 0x68d8]
push eax
push 0x132
mov ecx, dword [0x4492ac]
push ecx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x68d8]
push eax
lea ecx, [ebp - 0x4674]
push ecx
mov edx, dword [0x449ba0]
call dword [edx + 0x4cc]
add esp, 0xc
lea eax, [ebp - 0x4674]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x68e0]
push edx
lea eax, [ebp - 0xc60]
push eax
lea ecx, [ebp - 0x4778]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push str.EXECUTE__ret__msdb.dbo.sp_add_jobserver__job_id___s___server_name__N_local__IF___ret____0__GOTO_Failure_UPDATE_msdb.dbo.sysjobs_SET_date_created__N_s__date_modified__N_s__version_number___ld_WHERE__job_id___s__GOTO_Done_Failure:_RAISERROR__s__16__1__Done:
lea eax, [ebp - 0x9af0]
push eax
mov ecx, dword [0x449ba0]
call dword [ecx + 0x4cc]
add esp, 0x20
mov edx, dword [ebp + 0x10]
cmp dword [edx], 0
je 0x426b48
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea edx, [eax + eax + 2]
mov dword [ebp - 0x9b20], edx
jmp 0x426b52
mov dword [ebp - 0x9b20], 0
push 0x748
lea eax, [ebp - 0x64d4]
push eax
lea ecx, [ebp - 0x9af0]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov edx, dword [ebp - 0x9b20]
lea eax, [edx + eax*2 + 2]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call fcn.004206f4
add esp, 0x10
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp + 0x10]
cmp dword [edx], 0
je 0x426bac
lea eax, [ebp - 0x9af0]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
jmp 0x426bb0
xor eax, eax
jmp 0x426bb5
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret