Function at 0x40b329
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
push esi
push edi
mov ecx, 8
mov esi, str.ConnGetOperator
lea edi, [ebp - 0x28]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], 0
mov ax, word [0x44abac]
mov word [ebp - 0x428], ax
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x426]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp dword [ebp + 0xc], 0
je 0x40b374
cmp dword [ebp + 0x10], 0
jne 0x40b37b
xor eax, eax
jmp 0x40b5f6
push 0x3a0
push 0
mov ecx, dword [ebp + 0x10]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea edx, [ebp - 0x28]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.004078f6
add esp, 0xc
test eax, eax
je 0x40b5de
mov ecx, dword [ebp + 0xc]
push ecx
push str.SELECT_id__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__id___ld__AND__enabled__1_
lea edx, [ebp - 0x428]
push edx
mov eax, dword [0x44df4c]
call dword [eax + 0x4cc]
add esp, 0xc
lea ecx, [ebp - 0x428]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SQLSVC.dll_QSQLExecDirect]
add esp, 8
cmp eax, 1
jne 0x40b5dc
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 4
push 0xfffffffffffffff0
push 1
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SQLSVC.dll_QSQLBind]
add esp, 0x18
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 4
push ecx
push 0x108
push 0xfffffffffffffff8
push 2
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SQLSVC.dll_QSQLBind]
add esp, 0x18
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 0x10c
push ecx
push 4
push 0xfffffffffffffff0
push 3
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SQLSVC.dll_QSQLBind]
add esp, 0x18
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 0x114
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 - 8]
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 0x1e4
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 - 8]
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 0x2b4
push ecx
push 0xd0
push 0xfffffffffffffff8
push 6
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SQLSVC.dll_QSQLBind]
add esp, 0x18
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 0x384
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 - 8]
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 0x388
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 - 8]
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 0x38c
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 - 8]
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 0x390
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 - 8]
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 0x394
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 - 8]
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 0x398
push ecx
push 4
push 0xfffffffffffffff0
push 0xc
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SQLSVC.dll_QSQLBind]
add esp, 0x18
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 0x39c
push ecx
push 1
push 0xfffffffffffffff0
push 0xd
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 + 0x10]
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 0x40b5c6
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x10c]
mov dword [ebp - 4], eax
jmp 0x40b5a6
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SQLSVC.dll_QSQLResults]
add esp, 4
cmp eax, 1
je 0x40b3e3
jmp 0x40b5f3
mov edx, dword [ebp + 0xc]
push edx
push 0xfc
push 0
push 1
call fcn.0041bfab
add esp, 0x10
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret