Function at 0x100416050
Capabilities:
Reference sql statements

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov qword [rbp - 0x11], 0xfffffffffffffffe
mov qword [rsp + 0x118], rbx
mov rax, qword [0x100499010]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r14, r8
mov rbx, rcx
mov dword [rbp - 0x41], edx
movups xmm0, xmmword [str.ConnGetOperator]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [0x100474898]
movups xmmword [rbp + 7], xmm1
xor edi, edi
test r8, r8
jne 0x1004160b3
xor eax, eax
jmp 0x10041641f
xor edx, edx
mov r8d, 0x3a0
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp - 0x31]
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x21], rdi
mov qword [rbp - 0x19], 7
mov word [rbp - 0x31], di
mov r8d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea rdx, str.LoginTimeout
lea rcx, [rbp - 0x31]
call fcn.10040da90
nop
call fcn.10044da70
mov rcx, rax
lea rdx, [rbp - 0x31]
call fcn.100409ee0
mov r9d, eax
lea r8, [rbp - 9]
mov esi, 1
mov edx, esi
mov rcx, rbx
call fcn.10040fcc0
test eax, eax
je 0x10041640a
mov qword [rbp - 0x31], rbx
mov word [rbp - 0x29], di
mov ecx, 4
mov qword [rbp - 0x39], rcx
mov word [rbp - 0x29], si
lea r9d, [rsi - 0x11]
mov r8d, esi
mov edx, esi
lea rax, [rbp - 0x39]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rdi
lea rax, [rbp - 0x41]
mov qword [rsp + 0x38], rax
mov word [rsp + 0x30], di
mov qword [rsp + 0x28], rdi
mov word [rsp + 0x20], cx
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.ODBC32.dll_SQLBindParameter]
lea rdx, 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_____AND__enabled__1_
mov rcx, rbx
call qword [sym.imp.SQLSVC.dll_QSQLExecDirect]
cmp eax, esi
jne 0x1004163f4
lea r15, [r14 + 4]
lea r12, [r14 + 0x114]
lea r13, [r14 + 0x1e4]
lea rsi, [r14 + 0x10c]
lea rax, [rbp - 0x49]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov edx, 1
lea r9d, [rdx + 3]
lea r8d, [rdx - 0x11]
mov rcx, rbx
call qword [sym.imp.SQLSVC.dll_QSQLBind]
lea rax, [rbp - 0x49]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov edx, 2
mov r9d, 0x108
lea r8d, [rdx - 0xa]
mov rcx, rbx
call qword [sym.imp.SQLSVC.dll_QSQLBind]
lea rax, [rbp - 0x49]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
mov edx, 3
lea r9d, [rdx + 1]
lea r8d, [rdx - 0x13]
mov rcx, rbx
call qword [sym.imp.SQLSVC.dll_QSQLBind]
lea rax, [rbp - 0x49]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov edx, 4
mov r9d, 0xd0
lea r8d, [rdx - 0xc]
mov rcx, rbx
call qword [sym.imp.SQLSVC.dll_QSQLBind]
lea rax, [rbp - 0x49]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
mov edx, 5
mov r9d, 0xd0
lea r8d, [rdx - 0xd]
mov rcx, rbx
call qword [sym.imp.SQLSVC.dll_QSQLBind]
lea rax, [rbp - 0x49]
mov qword [rsp + 0x28], rax
lea rax, [r14 + 0x2b4]
mov qword [rsp + 0x20], rax
mov edx, 6
mov r9d, 0xd0
lea r8d, [rdx - 0xe]
mov rcx, rbx
call qword [sym.imp.SQLSVC.dll_QSQLBind]
lea rax, [rbp - 0x49]
mov qword [rsp + 0x28], rax
lea rax, [r14 + 0x384]
mov qword [rsp + 0x20], rax
mov edx, 7
lea r9d, [rdx - 3]
lea r8d, [rdx - 0x17]
mov rcx, rbx
call qword [sym.imp.SQLSVC.dll_QSQLBind]
lea rax, [rbp - 0x49]
mov qword [rsp + 0x28], rax
lea rax, [r14 + 0x388]
mov qword [rsp + 0x20], rax
mov edx, 8
lea r9d, [rdx - 4]
lea r8d, [rdx - 0x18]
mov rcx, rbx
call qword [sym.imp.SQLSVC.dll_QSQLBind]
lea rax, [rbp - 0x49]
mov qword [rsp + 0x28], rax
lea rax, [r14 + 0x38c]
mov qword [rsp + 0x20], rax
mov edx, 9
lea r9d, [rdx - 5]
lea r8d, [rdx - 0x19]
mov rcx, rbx
call qword [sym.imp.SQLSVC.dll_QSQLBind]
lea rax, [rbp - 0x49]
mov qword [rsp + 0x28], rax
lea rax, [r14 + 0x390]
mov qword [rsp + 0x20], rax
mov edx, 0xa
lea r9d, [rdx - 6]
lea r8d, [rdx - 0x1a]
mov rcx, rbx
call qword [sym.imp.SQLSVC.dll_QSQLBind]
lea rax, [rbp - 0x49]
mov qword [rsp + 0x28], rax
lea rax, [r14 + 0x394]
mov qword [rsp + 0x20], rax
mov edx, VariantTimeToDosDateTime
lea r9d, [rdx - 7]
lea r8d, [rdx - 0x1b]
mov rcx, rbx
call qword [sym.imp.SQLSVC.dll_QSQLBind]
lea rax, [rbp - 0x49]
mov qword [rsp + 0x28], rax
lea rax, [r14 + 0x398]
mov qword [rsp + 0x20], rax
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r9d, [rdx - 8]
lea r8d, [rdx - 0x1c]
mov rcx, rbx
call qword [sym.imp.SQLSVC.dll_QSQLBind]
lea rax, [rbp - 0x49]
mov qword [rsp + 0x28], rax
lea rax, [r14 + 0x39c]
mov qword [rsp + 0x20], rax
mov edx, SQLFreeStmt
lea r9d, [rdx - 0xc]
lea r8d, [rdx - 0x1d]
mov rcx, rbx
call qword [sym.imp.SQLSVC.dll_QSQLBind]
xor edx, edx
mov r8d, 0x3a0
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.SQLSVC.dll_QSQLNextRow]
cmp eax, 0xffffffff
jne 0x1004163e2
mov edi, dword [rsi]
mov rcx, rbx
call qword [sym.imp.SQLSVC.dll_QSQLNextRow]
cmp eax, 0xffffffff
je 0x1004163d2
mov rcx, rbx
call qword [sym.imp.SQLSVC.dll_QSQLResults]
cmp eax, 1
je 0x1004161a0
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x10041641d
mov edx, 3
call qword [sym.imp.ODBC32.dll_SQLFreeStmt]
jmp 0x10041641d
mov r9d, dword [rbp - 0x41]
xor edx, edx
mov r8d, 0xfc
mov ecx, esi
call fcn.100432180
mov eax, edi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.100469360
mov rbx, qword [rsp + 0x118]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret