Function at 0x140013460
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rsi, rcx
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov r8d, dword [rsi + 0x234]
lea rdx, str.SELECT__FROM__InspectionBlockResults__WHERE_CondID_ld
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
mov r9, qword [rbp + 0x38]
mov r8d, 4
lea rdx, str.InspectionBlockResults
mov rcx, rsi
call fcn.1400174e0
mov rbx, rax
test rax, rax
je 0x14001370a
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x50]
test eax, eax
je 0x1400136e6
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x58]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x78]
test eax, eax
jne 0x1400136e6
add rsi, 0x418
xor r15d, r15d
movabs r12, 0x333333333333333
nop word [rax + rax]
mov rax, qword [rbx]
lea r8, str.BlockID
lea rdx, [rbp - 0x50]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov edi, dword [rax + 8]
lea rcx, [rbp - 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rbx]
lea r8, str.InspectDownTime
lea rdx, [rbp - 0x50]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
movsd xmm0, qword [rax + 8]
movsd qword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rbx]
lea r8, [0x1401377a0]
lea rdx, [rbp - 0x50]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
movsd xmm0, qword [rax + 8]
movsd qword [rbp - 0x28], xmm0
lea rcx, [rbp - 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rbx]
lea r8, str.PMIm
lea rdx, [rbp - 0x50]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
movsd xmm0, qword [rax + 8]
movsd qword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rbx]
lea r8, str.Availability
lea rdx, [rbp - 0x50]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
movsd xmm0, qword [rax + 8]
movsd qword [rbp - 0x18], xmm0
lea rcx, [rbp - 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rbx]
lea r8, str.FailQty
lea rdx, [rbp - 0x50]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
movsd xmm0, qword [rax + 8]
movsd qword [rbp - 0x10], xmm0
lea rcx, [rbp - 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov r14, qword [rsi]
mov rax, qword [r14 + 8]
mov qword [rbp - 0x50], rax
mov dword [rbp - 0x48], r15d
mov rcx, r14
cmp byte [rax + 0x19], 0
jne 0x140013649
mov qword [rbp - 0x50], rax
cmp dword [rax + 0x20], edi
jge 0x140013636
mov dword [rbp - 0x48], r15d
mov rax, qword [rax + 0x10]
jmp 0x140013643
mov dword [rbp - 0x48], 1
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140013623
cmp byte [rcx + 0x19], 0
jne 0x140013654
cmp edi, dword [rcx + 0x20]
jge 0x1400136b2
cmp qword [rsi + 8], r12
je 0x140013730
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], r15
mov ecx, VarR8FromDisp
call sub.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl
nop
mov dword [rax + 0x20], edi
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax + 0x28], xmm0
movups xmmword [rax + 0x38], xmm0
mov qword [rax + 0x48], rcx
mov qword [rax], r14
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
mov word [rax + 0x18], cx
mov qword [rbp - 0x58], r15
movups xmm0, xmmword [rbp - 0x50]
movaps xmmword [rbp - 0x50], xmm0
mov r8, rax
lea rdx, [rbp - 0x50]
mov rcx, rsi
call fcn.140019610
mov rcx, rax
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rcx + 0x28], xmm0
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [rcx + 0x38], xmm1
movsd xmm0, qword [rbp - 0x10]
movsd qword [rcx + 0x48], xmm0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x60]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x78]
test eax, eax
je 0x140013510
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x40]
test eax, eax
je 0x1400136fc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x48]
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140009750
nop
int3