Function at 0x4234a8
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4448
call fcn.00430730
push esi
push edi
mov ecx, 9
mov esi, str.UploadMSXJobStatus
lea edi, [ebp - 0x1c3c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ax, word [0x449710]
mov word [ebp - 0x4448], ax
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x4446]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cx, word [0x449718]
mov word [ebp - 0x1c14], cx
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x1c12]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dx, word [0x449720]
mov word [ebp - 0x2c48], dx
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x2c46]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ax, word [0x449728]
mov word [ebp - 0x3448], ax
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x3446]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cx, word [0x449730]
mov word [ebp - 0x54], cx
mov ecx, 0x11
xor eax, eax
lea edi, [ebp - 0x52]
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c48], 0
mov dword [ebp - 0x1c40], 0
mov dword [ebp - 0x1c44], 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push str.UploadMSXJobStatus__s___d__n
call fcn.0042fc9e
add esp, 0xc
cmp dword [0x448b1c], 0
je 0x4235ba
push 0x449c20
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x4235fb
push 0x449c20
call dword [0x4492b4]
test eax, eax
jne 0x4235fb
cmp dword [0x448b20], 0
je 0x4235f0
cmp dword [0x44b6e0], 0
je 0x4235f0
lea ecx, [ebp - 0x1c3c]
push ecx
push 0x441394
call dword [sym.imp.MSVCRT.dll_wprintf]
add esp, 8
push 0x449c20
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x448b20], 0
je 0x423622
cmp dword [0x44b6e0], 0
je 0x423622
lea edx, [ebp - 0x1c3c]
push edx
push 0x4413d0
call dword [sym.imp.MSVCRT.dll_wprintf]
add esp, 8
mov eax, dword [0x449da8]
mov dword [ebp - 0x1c40], eax
push 0x449c20
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x448b20], 0
je 0x42365f
cmp dword [0x44b6e0], 0
je 0x42365f
lea ecx, [ebp - 0x1c3c]
push ecx
push 0x441404
call dword [sym.imp.MSVCRT.dll_wprintf]
add esp, 8
cmp dword [ebp - 0x1c40], 0
jne 0x42366f
xor eax, eax
jmp 0x423a54
push 0
call fcn.00426ca2
add esp, 4
test eax, eax
jne 0x423684
xor eax, eax
jmp 0x423a54
push str.Target_SQLAgent___Uploader
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0xc14]
push eax
call fcn.00426dd1
add esp, 0xc
test eax, eax
je 0x42390b
cmp dword [0x448b1c], 0
je 0x4236ba
push 0x449c20
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x4236fb
push 0x449c20
call dword [0x4492b4]
test eax, eax
jne 0x4236fb
cmp dword [0x448b20], 0
je 0x4236f0
cmp dword [0x44b6e0], 0
je 0x4236f0
lea ecx, [ebp - 0x1c3c]
push ecx
push 0x441470
call dword [sym.imp.MSVCRT.dll_wprintf]
add esp, 8
push 0x449c20
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x448b20], 0
je 0x423722
cmp dword [0x44b6e0], 0
je 0x423722
lea edx, [ebp - 0x1c3c]
push edx
push 0x4414ac
call dword [sym.imp.MSVCRT.dll_wprintf]
add esp, 8
mov dword [ebp - 0x1c48], 0
jmp 0x42373d
mov eax, dword [ebp - 0x1c48]
add eax, 1
mov dword [ebp - 0x1c48], eax
mov ecx, dword [ebp - 0x1c48]
cmp ecx, dword [ebp - 0x1c40]
jge 0x4238c9
push 0
push 0x449da0
call dword [sym.imp.SQLSVC.dll_SHRecMemLock]
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4238c4
push 0x1000
lea edx, [ebp - 0x2c48]
push edx
push 0x4414e0
push 0x4414e8
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x24]
push ecx
call fcn.0042f530
add esp, 0x14
lea edx, [ebp - 0x54]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.00417386
add esp, 8
push 0x449194
lea ecx, [ebp - 0x54]
push ecx
push 0x4414ec
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 0xc]
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 - 0x1c14]
push ecx
mov edx, dword [0x449ba0]
call dword [edx + 0x4cc]
add esp, 0x24
push 0x1000
lea eax, [ebp - 0x4448]
push eax
lea ecx, [ebp - 0x2c48]
push ecx
push 0x44173c
lea edx, [ebp - 0x1c14]
push edx
call fcn.0042f530
add esp, 0x14
mov word [ebp - 0x3448], 0
mov eax, dword [ebp - 0x3448]
and eax, 0xffff
mov dword [ebp - 0x1c44], eax
lea ecx, [ebp - 0x1c3c]
push ecx
lea edx, [ebp - 0x3448]
push edx
lea eax, [ebp - 0x1c44]
push eax
push 1
push 1
lea ecx, [ebp - 0x4448]
push ecx
lea edx, [ebp - 0xc14]
push edx
call fcn.00407c09
add esp, 0x1c
xor eax, eax
cmp dword [ebp - 0x1c44], 0
setne al
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x423876
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
jmp 0x42389c
lea edx, [ebp - 0x4448]
push edx
push 0x126
push 0
push 1
call fcn.0041b8d1
add esp, 0x10
cmp dword [ebp - 0x1c44], 0x2714
jne 0x42389c
jmp 0x4238c9
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x24], 0
je 0x4238b4
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x24]
push edx
call fcn.004209ff
add esp, 4
push 0
push 0x449da0
call dword [sym.imp.SQLSVC.dll_SHRecMemDelete]
add esp, 8
jmp 0x42372e
push 0x449c20
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x448b20], 0
je 0x4238fb
cmp dword [0x44b6e0], 0
je 0x4238fb
lea eax, [ebp - 0x1c3c]
push eax
push 0x441770
call dword [sym.imp.MSVCRT.dll_wprintf]
add esp, 8
lea ecx, [ebp - 0xc14]
push ecx
call dword [sym.imp.SQLSVC.dll_QSQLLogoff]
add esp, 4
call fcn.00423a5a
cmp dword [ebp + 0xc], 0
je 0x423a36
cmp dword [0x448b1c], 0
je 0x423930
push 0x449c20
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x423971
push 0x449c20
call dword [0x4492b4]
test eax, eax
jne 0x423971
cmp dword [0x448b20], 0
je 0x423966
cmp dword [0x44b6e0], 0
je 0x423966
lea edx, [ebp - 0x1c3c]
push edx
push 0x4417a4
call dword [sym.imp.MSVCRT.dll_wprintf]
add esp, 8
push 0x449c20
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x448b20], 0
je 0x423998
cmp dword [0x44b6e0], 0
je 0x423998
lea eax, [ebp - 0x1c3c]
push eax
push 0x4417e0
call dword [sym.imp.MSVCRT.dll_wprintf]
add esp, 8
mov dword [ebp - 0x1c48], 0
jmp 0x4239b3
mov ecx, dword [ebp - 0x1c48]
add ecx, 1
mov dword [ebp - 0x1c48], ecx
mov edx, dword [ebp - 0x1c48]
cmp edx, dword [0x449da8]
jge 0x423a04
push 0
push 0x449da0
call dword [sym.imp.SQLSVC.dll_SHRecMemLock]
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x423a02
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x24], 0
je 0x4239f2
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x24]
push edx
call fcn.004209ff
add esp, 4
push 0
push 0x449da0
call dword [sym.imp.SQLSVC.dll_SHRecMemDelete]
add esp, 8
jmp 0x4239a4
push 0x449c20
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x448b20], 0
je 0x423a36
cmp dword [0x44b6e0], 0
je 0x423a36
lea eax, [ebp - 0x1c3c]
push eax
push 0x441814
call dword [sym.imp.MSVCRT.dll_wprintf]
add esp, 8
cmp dword [ebp - 4], 0
je 0x423a51
mov ecx, dword [ebp - 4]
push ecx
push 0x12b
push 0
push 3
call fcn.0041b8d1
add esp, 0x10
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret