Function at 0x4249c0
Capabilities:
Reference sql statements

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x4458
call fcn.00434e00
mov eax, dword [0x44d558]
mov dword [ebp - 4], eax
push esi
push edi
mov ecx, 9
mov esi, str.UploadMSXJobStatus
lea edi, [ebp - 0x3898]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ax, word [0x44ea1c]
mov word [ebp - 0x1008], ax
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x1006]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cx, word [0x44ea24]
mov word [ebp - 0x3870], cx
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x386e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dx, word [0x44ea2c]
mov word [ebp - 0x2868], dx
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x2866]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ax, word [0x44ea34]
mov word [ebp - 0x1810], ax
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x180e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cx, word [0x44ea3c]
mov word [ebp - 0x1860], cx
mov ecx, 0x11
xor eax, eax
lea edi, [ebp - 0x185e]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x1010], 0
mov dword [ebp - 0x100c], 0
mov dword [ebp - 0x1864], 0
mov dword [ebp - 0x1814], 0
mov dword [ebp - 0x286c], 0
mov dword [ebp - 0x2870], 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push str.UploadMSXJobStatus__s___d__n
call fcn.004329b0
add esp, 0xc
cmp dword [0x44de90], 0
je 0x424aeb
push 0x44efc0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x424b2c
push 0x44efc0
call dword [0x44e628]
test eax, eax
jne 0x424b2c
cmp dword [0x44de94], 0
je 0x424b21
cmp dword [0x450a88], 0
je 0x424b21
lea ecx, [ebp - 0x3898]
push ecx
push 0x445e8c
call dword [sym.imp.MSVCR71.dll_wprintf]
add esp, 8
push 0x44efc0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x44de94], 0
je 0x424b53
cmp dword [0x450a88], 0
je 0x424b53
lea edx, [ebp - 0x3898]
push edx
push 0x445ec8
call dword [sym.imp.MSVCR71.dll_wprintf]
add esp, 8
mov eax, dword [0x44f148]
mov dword [ebp - 0x286c], eax
push 0x44efc0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x44de94], 0
je 0x424b90
cmp dword [0x450a88], 0
je 0x424b90
lea ecx, [ebp - 0x3898]
push ecx
push 0x445efc
call dword [sym.imp.MSVCR71.dll_wprintf]
add esp, 8
cmp dword [ebp - 0x286c], 0
jne 0x424ba0
xor eax, eax
jmp 0x424fc6
push 0
call fcn.00429070
add esp, 4
test eax, eax
jne 0x424bb5
xor eax, eax
jmp 0x424fc6
push str.Target_SQLAgent___Uploader
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x4458]
push eax
call fcn.004291a0
add esp, 0xc
test eax, eax
je 0x424e68
cmp dword [0x44de90], 0
je 0x424beb
push 0x44efc0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x424c2c
push 0x44efc0
call dword [0x44e628]
test eax, eax
jne 0x424c2c
cmp dword [0x44de94], 0
je 0x424c21
cmp dword [0x450a88], 0
je 0x424c21
lea ecx, [ebp - 0x3898]
push ecx
push 0x445f68
call dword [sym.imp.MSVCR71.dll_wprintf]
add esp, 8
push 0x44efc0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x44de94], 0
je 0x424c53
cmp dword [0x450a88], 0
je 0x424c53
lea edx, [ebp - 0x3898]
push edx
push 0x445fa4
call dword [sym.imp.MSVCR71.dll_wprintf]
add esp, 8
mov dword [ebp - 0x1814], 0
jmp 0x424c6e
mov eax, dword [ebp - 0x1814]
add eax, 1
mov dword [ebp - 0x1814], eax
mov ecx, dword [ebp - 0x1814]
cmp ecx, dword [ebp - 0x286c]
jge 0x424e26
push 0
push 0x44f140
call dword [sym.imp.SQLSVC.dll_SHRecMemLock]
add esp, 8
mov dword [ebp - 0x1010], eax
cmp dword [ebp - 0x1010], 0
je 0x424e21
push 0x1000
lea edx, [ebp - 0x2868]
push edx
push 0x445fd8
push 0x445fe0
mov eax, dword [ebp - 0x1010]
mov ecx, dword [eax + 0x24]
push ecx
call fcn.004321e0
add esp, 0x14
lea edx, [ebp - 0x1860]
push edx
mov eax, dword [ebp - 0x1010]
push eax
call fcn.00418cd0
add esp, 8
push 0x44e508
lea ecx, [ebp - 0x1860]
push ecx
push 0x445fe4
mov edx, dword [ebp - 0x1010]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [ebp - 0x1010]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x1010]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 0x1010]
mov eax, dword [edx + 0x10]
push eax
push str.UPDATE_msdb.dbo.sysjobservers_SET_last_run_date___ld__last_run_time___ld__last_run_duration___ld__last_run_outcome___ld__last_outcome_message__N_s_WHERE__job_id___s__AND__server_id___SELECT_server_id_FROM_msdb.dbo.systargetservers_WHERE__server_name__N_s___
lea ecx, [ebp - 0x3870]
push ecx
mov edx, dword [0x450d4c]
call dword [edx + 0x4cc]
add esp, 0x24
push 0x1000
lea eax, [ebp - 0x1008]
push eax
lea ecx, [ebp - 0x2868]
push ecx
push 0x446234
lea edx, [ebp - 0x3870]
push edx
call fcn.004321e0
add esp, 0x14
mov word [ebp - 0x1810], 0
movzx eax, word [ebp - 0x1810]
mov dword [ebp - 0x2870], eax
lea ecx, [ebp - 0x3898]
push ecx
lea edx, [ebp - 0x1810]
push edx
lea eax, [ebp - 0x2870]
push eax
push 1
push 1
lea ecx, [ebp - 0x1008]
push ecx
lea edx, [ebp - 0x4458]
push edx
call fcn.004084e0
add esp, 0x1c
xor eax, eax
cmp dword [ebp - 0x2870], 0
setne al
mov dword [ebp - 0x100c], eax
cmp dword [ebp - 0x100c], 0
jne 0x424dcd
mov ecx, dword [ebp - 0x1864]
add ecx, 1
mov dword [ebp - 0x1864], ecx
jmp 0x424df3
lea edx, [ebp - 0x1008]
push edx
push 0x126
push 0
push 1
call fcn.0041d760
add esp, 0x10
cmp dword [ebp - 0x2870], 0x2714
jne 0x424df3
jmp 0x424e26
mov eax, dword [ebp - 0x1010]
cmp dword [eax + 0x24], 0
je 0x424e11
mov ecx, dword [ebp - 0x1010]
mov edx, dword [ecx + 0x24]
push edx
call fcn.00422e50
add esp, 4
push 0
push 0x44f140
call dword [sym.imp.SQLSVC.dll_SHRecMemDelete]
add esp, 8
jmp 0x424c5f
push 0x44efc0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x44de94], 0
je 0x424e58
cmp dword [0x450a88], 0
je 0x424e58
lea eax, [ebp - 0x3898]
push eax
push 0x446268
call dword [sym.imp.MSVCR71.dll_wprintf]
add esp, 8
lea ecx, [ebp - 0x4458]
push ecx
call dword [sym.imp.SQLSVC.dll_QSQLLogoff]
add esp, 4
call fcn.00424fe0
cmp dword [ebp + 0xc], 0
je 0x424f9f
cmp dword [0x44de90], 0
je 0x424e8d
push 0x44efc0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x424ece
push 0x44efc0
call dword [0x44e628]
test eax, eax
jne 0x424ece
cmp dword [0x44de94], 0
je 0x424ec3
cmp dword [0x450a88], 0
je 0x424ec3
lea edx, [ebp - 0x3898]
push edx
push 0x44629c
call dword [sym.imp.MSVCR71.dll_wprintf]
add esp, 8
push 0x44efc0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x44de94], 0
je 0x424ef5
cmp dword [0x450a88], 0
je 0x424ef5
lea eax, [ebp - 0x3898]
push eax
push 0x4462d8
call dword [sym.imp.MSVCR71.dll_wprintf]
add esp, 8
mov dword [ebp - 0x1814], 0
jmp 0x424f10
mov ecx, dword [ebp - 0x1814]
add ecx, 1
mov dword [ebp - 0x1814], ecx
mov edx, dword [ebp - 0x1814]
cmp edx, dword [0x44f148]
jge 0x424f6d
push 0
push 0x44f140
call dword [sym.imp.SQLSVC.dll_SHRecMemLock]
add esp, 8
mov dword [ebp - 0x1010], eax
cmp dword [ebp - 0x1010], 0
je 0x424f6b
mov eax, dword [ebp - 0x1010]
cmp dword [eax + 0x24], 0
je 0x424f5b
mov ecx, dword [ebp - 0x1010]
mov edx, dword [ecx + 0x24]
push edx
call fcn.00422e50
add esp, 4
push 0
push 0x44f140
call dword [sym.imp.SQLSVC.dll_SHRecMemDelete]
add esp, 8
jmp 0x424f01
push 0x44efc0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x44de94], 0
je 0x424f9f
cmp dword [0x450a88], 0
je 0x424f9f
lea eax, [ebp - 0x3898]
push eax
push 0x44630c
call dword [sym.imp.MSVCR71.dll_wprintf]
add esp, 8
cmp dword [ebp - 0x1864], 0
je 0x424fc0
mov ecx, dword [ebp - 0x1864]
push ecx
push 0x12b
push 0
push 3
call fcn.0041d760
add esp, 0x10
mov eax, dword [ebp - 0x1864]
mov ecx, dword [ebp - 4]
call fcn.00434de1
pop edi
pop esi
mov esp, ebp
pop ebp
ret