Function at 0x42718b
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc28
push esi
push edi
mov ecx, 7
mov esi, str.GetMSXOperator
lea edi, [ebp - 0x428]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ax, word [0x449874]
mov word [ebp - 0xc28], ax
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0xc26]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cx, word [0x44987c]
mov word [ebp - 0x404], cx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x402]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 4], 0
mov dword [ebp - 0x408], 0
push str.GetMSXOperator___n
call fcn.0042fc9e
add esp, 4
push str.MSXOperator
push str.SELECT_name__enabled__email_address__pager_address__netsend_address__weekday_pager_start_time__weekday_pager_end_time__saturday_pager_start_time__saturday_pager_end_time__sunday_pager_start_time__sunday_pager_end_time__pager_days_FROM_msdb.dbo.sysoperators_WHERE__name__N_s_
lea edx, [ebp - 0xc28]
push edx
mov eax, dword [0x449ba0]
call dword [eax + 0x4cc]
add esp, 0xc
lea ecx, [ebp - 0x428]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.004078f6
add esp, 0xc
test eax, eax
je 0x427552
lea eax, [ebp - 0x428]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
push 1
lea eax, [ebp - 0xc28]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00407c09
add esp, 0x1c
test eax, eax
je 0x427545
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0
jne 0x427545
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [ebp + 0x14]
add ecx, 4
push ecx
push 0x108
push 0xfffffffffffffff8
push 1
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SQLSVC.dll_QSQLBind]
add esp, 0x18
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [ebp + 0x14]
add ecx, 0x10c
push ecx
push 4
push 0xfffffffffffffff0
push 2
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SQLSVC.dll_QSQLBind]
add esp, 0x18
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [ebp + 0x14]
add ecx, 0x114
push ecx
push 0xd0
push 0xfffffffffffffff8
push 3
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SQLSVC.dll_QSQLBind]
add esp, 0x18
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [ebp + 0x14]
add ecx, 0x1e4
push ecx
push 0xd0
push 0xfffffffffffffff8
push 4
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SQLSVC.dll_QSQLBind]
add esp, 0x18
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [ebp + 0x14]
add ecx, 0x2b4
push ecx
push 0xd0
push 0xfffffffffffffff8
push 5
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SQLSVC.dll_QSQLBind]
add esp, 0x18
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [ebp + 0x14]
add ecx, 0x384
push ecx
push 4
push 0xfffffffffffffff0
push 6
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SQLSVC.dll_QSQLBind]
add esp, 0x18
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [ebp + 0x14]
add ecx, 0x388
push ecx
push 4
push 0xfffffffffffffff0
push 7
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SQLSVC.dll_QSQLBind]
add esp, 0x18
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [ebp + 0x14]
add ecx, 0x38c
push ecx
push 4
push 0xfffffffffffffff0
push 8
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SQLSVC.dll_QSQLBind]
add esp, 0x18
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [ebp + 0x14]
add ecx, 0x390
push ecx
push 4
push 0xfffffffffffffff0
push 9
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SQLSVC.dll_QSQLBind]
add esp, 0x18
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [ebp + 0x14]
add ecx, 0x394
push ecx
push 4
push 0xfffffffffffffff0
push 0xa
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SQLSVC.dll_QSQLBind]
add esp, 0x18
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [ebp + 0x14]
add ecx, 0x398
push ecx
push 4
push 0xfffffffffffffff0
push 0xb
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SQLSVC.dll_QSQLBind]
add esp, 0x18
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [ebp + 0x14]
add ecx, 0x39c
push ecx
push 1
push 0xfffffffffffffff0
push 0xc
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SQLSVC.dll_QSQLBind]
add esp, 0x18
push 0x3a0
push 0
mov eax, dword [ebp + 0x14]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SQLSVC.dll_QSQLNextRow]
add esp, 4
cmp eax, 0xffffffff
jne 0x42752d
push 0x400
lea edx, [ebp - 0x404]
push edx
push 0x444b84
push 0x444b8c
mov eax, dword [ebp + 0x14]
add eax, 0x114
push eax
call fcn.0042f530
add esp, 0x14
lea ecx, [ebp - 0x404]
push ecx
mov edx, dword [ebp + 0x14]
add edx, 0x114
push edx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
push 0x400
lea eax, [ebp - 0x404]
push eax
push 0x444b90
push 0x444b98
mov ecx, dword [ebp + 0x14]
add ecx, 0x1e4
push ecx
call fcn.0042f530
add esp, 0x14
lea edx, [ebp - 0x404]
push edx
mov eax, dword [ebp + 0x14]
add eax, 0x1e4
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
push 0x400
lea ecx, [ebp - 0x404]
push ecx
push 0x444b9c
push 0x444ba4
mov edx, dword [ebp + 0x14]
add edx, 0x2b4
push edx
call fcn.0042f530
add esp, 0x14
lea eax, [ebp - 0x404]
push eax
mov ecx, dword [ebp + 0x14]
add ecx, 0x2b4
push ecx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
mov dword [ebp - 4], 1
jmp 0x427447
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SQLSVC.dll_QSQLResults]
add esp, 4
cmp eax, 1
je 0x42727b
jmp 0x427552
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SQLSVC.dll_QSQLPurgeResults]
add esp, 4
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret