Function at 0x14002a790
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
movaps xmmword [rsp + 0x240], xmm6
mov r15, rcx
lea rcx, [rbp + 0x190]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rbp + 0x198]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rdx, str.SELECT__Block_Mode_Data_.___Mode_Task_Data_._FROM__Block_Mode_Data__INNER_JOIN__Mode_Task_Data__ON
lea rcx, [rbp + 0x190]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea rdx, str._Block_Mode_Data_.FailModeID___Mode_Task_Data_.FailModeID_WHERE_____Block_Mode_Data_.IsFM_Used_Yes__AND
lea rcx, [rbp + 0x190]
call qword [sym.imp.mfc140u.dll_COleCurrency::operator_]
mov rax, qword [r15 + 0x1c8]
mov r8d, dword [rax + 8]
mov rax, qword [0x14019d568]
mov r9d, dword [rax + 0x234]
lea rdx, str.___Block_Mode_Data_.BlockID__ld__AND____Block_Mode_Data_.CondID__ld__
lea rcx, [rbp + 0x190]
call qword [sym.imp.mfc140u.dll_CPane::AllocElements]
mov r9d, 4
lea r8, [rbp + 0x190]
mov rdx, qword [0x14019d568]
mov rdx, qword [rdx + 0x298]
lea rcx, [rbp - 0x20]
call qword [sym.imp.DBInterface.dll_public:_void___cdecl_RecordsetWrapCOM::constructor_class_DatabaseWrapCOM____ptr64__class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const____ptr64__int____ptr64]
nop
lea r12, vtable.CList_long_int__long_int_.0
mov qword [rsp + 0x70], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x80], 0
mov qword [rsp + 0x78], 0
movdqa xmm0, xmmword [0x1401352a0]
movdqu xmmword [rbp - 0x68], xmm0
mov qword [rsp + 0x38], r12
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
movdqa xmm0, xmmword [0x1401352a0]
movdqu xmmword [rsp + 0x60], xmm0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x58], xmm0
xor r13d, r13d
mov qword [rbp - 0x48], r13
lea rcx, [rbp - 0x20]
call qword [sym.imp.DBInterface.dll_public_virtual:_long_int___cdecl_RecordsetWrapCOM::GetRecordCount_void_const___ptr64]
test eax, eax
je 0x14002ad74
lea rcx, [rbp - 0x20]
call qword [sym.imp.DBInterface.dll_public_virtual:_void___cdecl_RecordsetWrapCOM::MoveFirst_void____ptr64]
lea rcx, [rbp - 0x20]
call qword [sym.imp.DBInterface.dll_public_virtual:_int___cdecl_RecordsetWrapCOM::IsEOF_void____ptr64]
test eax, eax
jne 0x14002ad74
mov rsi, qword [rbp - 0x50]
lea r8, str.Mode_Task_Data.FailModeID
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x20]
call qword [sym.imp.DBInterface.dll_public_virtual:_class_COleVariant___cdecl_RecordsetWrapCOM::GetFieldValue_wchar_t_const____ptr64____ptr64]
mov edi, dword [rax + 8]
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea r8, str.TaskID
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x20]
call qword [sym.imp.DBInterface.dll_public_virtual:_class_COleVariant___cdecl_RecordsetWrapCOM::GetFieldValue_wchar_t_const____ptr64____ptr64]
mov r14d, dword [rax + 8]
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea r8, str.TaskType
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x20]
call qword [sym.imp.DBInterface.dll_public_virtual:_class_COleVariant___cdecl_RecordsetWrapCOM::GetFieldValue_wchar_t_const____ptr64____ptr64]
nop
mov rdx, qword [rax + 8]
lea rcx, [rbp + 0x198]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea r8, str.TaskTime
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x20]
call qword [sym.imp.DBInterface.dll_public_virtual:_class_COleVariant___cdecl_RecordsetWrapCOM::GetFieldValue_wchar_t_const____ptr64____ptr64]
movsd xmm6, qword [rax + 8]
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea r8, str.OnParentSite
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x20]
call qword [sym.imp.DBInterface.dll_public_virtual:_class_COleVariant___cdecl_RecordsetWrapCOM::GetFieldValue_wchar_t_const____ptr64____ptr64]
mov r12d, dword [rax + 8]
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea r8, str.StopType
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x20]
call qword [sym.imp.DBInterface.dll_public_virtual:_class_COleVariant___cdecl_RecordsetWrapCOM::GetFieldValue_wchar_t_const____ptr64____ptr64]
mov ebx, dword [rax + 8]
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [rbp - 0x40], edi
mov dword [rbp - 0x3c], r14d
mov dword [rbp - 0x38], ebx
movsd qword [rbp - 0x30], xmm6
cmp rsi, r13
je 0x14002aa1b
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rsi], xmm0
movsd xmm1, qword [rbp - 0x30]
movsd qword [rsi + 0x10], xmm1
add rsi, 0x18
mov qword [rbp - 0x50], rsi
jmp 0x14002aa33
lea r8, [rbp - 0x40]
mov rdx, rsi
lea rcx, [rbp - 0x58]
call fcn.14001b550
mov r13, qword [rbp - 0x48]
mov rsi, qword [rbp - 0x50]
lea rdx, [0x140134654]
lea rcx, [rbp + 0x198]
call qword [sym.imp.mfc140u.dll_Ordinal_2903]
test eax, eax
je 0x14002aa7f
lea rdx, [0x1401351e0]
lea rcx, [rbp + 0x198]
call qword [sym.imp.mfc140u.dll_Ordinal_2903]
test eax, eax
je 0x14002aa7f
lea rdx, [0x1401351e4]
lea rcx, [rbp + 0x198]
call qword [sym.imp.mfc140u.dll_Ordinal_2903]
test eax, eax
jne 0x14002ac43
test r12d, r12d
je 0x14002ab5b
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x14002aab7
lea rcx, [rax + 0x10]
test rcx, rcx
je 0x14002af5d
cmp dword [rcx], r14d
je 0x14002aaae
mov rax, qword [rax]
test rax, rax
jne 0x14002aa92
jmp 0x14002aab7
test rax, rax
jne 0x14002ac43
addsd xmm6, qword [r15 + 0x13ba0]
movsd qword [r15 + 0x13ba0], xmm6
mov rbx, qword [rbp - 0x80]
mov rcx, qword [rbp - 0x70]
test rcx, rcx
jne 0x14002ab1e
lea r8d, [rcx + 0x18]
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x68]
call sub.mfc140u.dll_CAnimationVariable::Create
mov rdx, qword [rbp - 0x60]
lea r8, [rdx - 1]
lea r8, [rdx + r8*2]
lea r8, [rax + r8*8]
sub rdx, 1
mov rcx, qword [rbp - 0x70]
js 0x14002ab15
mov qword [r8], rcx
mov rcx, r8
mov qword [rbp - 0x70], rcx
sub r8, 0x18
sub rdx, 1
jns 0x14002ab01
test rcx, rcx
je 0x14002af5d
mov rax, qword [rcx]
mov qword [rbp - 0x70], rax
mov qword [rcx + 8], rbx
mov qword [rcx], 0
inc qword [rbp - 0x78]
mov dword [rcx + 0x10], r14d
mov rax, qword [rbp - 0x80]
test rax, rax
je 0x14002ab4d
mov qword [rax], rcx
mov qword [rbp - 0x80], rcx
jmp 0x14002ac43
mov qword [rsp + 0x78], rcx
mov qword [rbp - 0x80], rcx
jmp 0x14002ac43
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x14002ab95
nop word [rax + rax]
lea rcx, [rax + 0x10]
test rcx, rcx
je 0x14002af5d
cmp dword [rcx], r14d
je 0x14002ab8c
mov rax, qword [rax]
test rax, rax
jne 0x14002ab70
jmp 0x14002ab95
test rax, rax
jne 0x14002ac43
addsd xmm6, qword [r15 + 0x13ba8]
movsd qword [r15 + 0x13ba8], xmm6
mov rbx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
jne 0x14002ac0e
lea r8d, [rcx + 0x18]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x60]
call sub.mfc140u.dll_CAnimationVariable::Create
mov rdx, qword [rsp + 0x68]
lea r8, [rdx - 1]
lea r8, [rdx + r8*2]
lea r8, [rax + r8*8]
sub rdx, 1
mov rcx, qword [rsp + 0x58]
js 0x14002ac05
nop word [rax + rax]
mov qword [r8], rcx
mov rcx, r8
mov qword [rsp + 0x58], rcx
sub r8, 0x18
sub rdx, 1
jns 0x14002abf0
test rcx, rcx
je 0x14002af5d
mov rax, qword [rcx]
mov qword [rsp + 0x58], rax
mov qword [rcx + 8], rbx
mov qword [rcx], 0
inc qword [rsp + 0x50]
mov dword [rcx + 0x10], r14d
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14002ac39
mov qword [rax], rcx
jmp 0x14002ac3e
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x20]
call qword [sym.imp.DBInterface.dll_public_virtual:_void___cdecl_RecordsetWrapCOM::MoveNext_void____ptr64]
lea rcx, [rbp - 0x20]
call qword [sym.imp.DBInterface.dll_public_virtual:_int___cdecl_RecordsetWrapCOM::IsEOF_void____ptr64]
test eax, eax
je 0x14002a900
lea r12, vtable.CList_long_int__long_int_.0
lea rcx, [rbp - 0x20]
call qword [sym.imp.DBInterface.dll_public_virtual:_void___cdecl_RecordsetWrapCOM::Close_void____ptr64]
mov qword [r15 + 0x13d00], 0
mov rax, qword [r15 + 0x1c8]
mov r8d, dword [rax + 8]
lea rdx, str.SELECT__FROM__Task_Illustrations__WHERE_BlockID_ld_AND_InspectionTaskTypeI
lea rcx, [rbp + 0x190]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
mov r9d, 4
lea r8, [rbp + 0x190]
mov rdx, qword [0x14019d568]
mov rdx, qword [rdx + 0x298]
lea rcx, [rbp + 0x90]
call qword [sym.imp.DBInterface.dll_public:_void___cdecl_RecordsetWrapCOM::constructor_class_DatabaseWrapCOM____ptr64__class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const____ptr64__int____ptr64]
nop
lea rcx, [rbp + 0x90]
call qword [sym.imp.DBInterface.dll_public_virtual:_long_int___cdecl_RecordsetWrapCOM::GetRecordCount_void_const___ptr64]
mov r14, qword [rbp - 0x58]
test eax, eax
je 0x14002adb6
lea rcx, [rbp + 0x90]
call qword [sym.imp.DBInterface.dll_public_virtual:_void___cdecl_RecordsetWrapCOM::MoveFirst_void____ptr64]
lea rcx, [rbp + 0x90]
call qword [sym.imp.DBInterface.dll_public_virtual:_int___cdecl_RecordsetWrapCOM::IsEOF_void____ptr64]
test eax, eax
jne 0x14002adb6
nop
lea r8, str.FailModeID
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x90]
call qword [sym.imp.DBInterface.dll_public_virtual:_class_COleVariant___cdecl_RecordsetWrapCOM::GetFieldValue_wchar_t_const____ptr64____ptr64]
mov ebx, dword [rax + 8]
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea r8, str.TaskID
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x90]
call qword [sym.imp.DBInterface.dll_public_virtual:_class_COleVariant___cdecl_RecordsetWrapCOM::GetFieldValue_wchar_t_const____ptr64____ptr64]
mov edi, dword [rax + 8]
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp r14, rsi
je 0x14002ad94
mov rax, r14
cmp dword [rax], ebx
jne 0x14002ad69
cmp dword [rax + 4], edi
jne 0x14002ad69
mov ecx, dword [rax + 8]
dec ecx
cmp ecx, 1
jbe 0x14002ad7d
add rax, 0x18
cmp rax, rsi
je 0x14002ad94
jmp 0x14002ad56
mov rsi, qword [rbp - 0x50]
jmp 0x14002ac66
movsd xmm0, qword [rax + 0x10]
addsd xmm0, qword [r15 + 0x13d00]
movsd qword [r15 + 0x13d00], xmm0
lea rcx, [rbp + 0x90]
call qword [sym.imp.DBInterface.dll_public_virtual:_void___cdecl_RecordsetWrapCOM::MoveNext_void____ptr64]
lea rcx, [rbp + 0x90]
call qword [sym.imp.DBInterface.dll_public_virtual:_int___cdecl_RecordsetWrapCOM::IsEOF_void____ptr64]
test eax, eax
je 0x14002ad00
lea rcx, [rbp + 0x90]
call qword [sym.imp.DBInterface.dll_public_virtual:_void___cdecl_RecordsetWrapCOM::Close_void____ptr64]
mov rcx, qword [r15 + 0x1c8]
mov eax, dword [rcx + 0x100]
dec eax
test eax, 0xfffffffd
jne 0x14002ae3a
movsd xmm0, qword [rcx + 0x230]
movsd xmm2, qword [rcx + 0x1b0]
movsd xmm3, qword [rcx + reloc.mfc140u.dll_CInternetFile::CInternetFile]
addsd xmm3, qword [rcx + 0xe0]
addsd xmm3, qword [r15 + 0x13ba8]
addsd xmm0, xmm0
addsd xmm3, xmm0
movsd xmm0, qword [0x140135210]
subsd xmm0, xmm2
mulsd xmm3, xmm0
movsd xmm1, qword [rcx + 0x238]
addsd xmm1, qword [rcx + 0x1a8]
mulsd xmm1, xmm2
addsd xmm3, xmm1
movsd qword [rcx + 0x298], xmm3
lea rcx, [rbp + 0x90]
call qword [sym.imp.DBInterface.dll_public_virtual:_void___cdecl_RecordsetWrapCOM::destructor_void____ptr64]
nop
test r14, r14
je 0x14002aea4
sub r13, r14
movabs rax, 0x2aaaaaaaaaaaaaab
imul r13
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 3
mov rax, r14
cmp rdx, 0x1000
jb 0x14002ae9b
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002ae9b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.14003c5cc
nop
mov qword [rsp + 0x38], r12
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x60]
call sub.mfc140u.dll_CMFCRibbonButtonsGroup::FindByID
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x70], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x80], 0
mov qword [rsp + 0x78], 0
mov rcx, qword [rbp - 0x68]
call sub.mfc140u.dll_CMFCRibbonButtonsGroup::FindByID
mov qword [rbp - 0x68], 0
lea rcx, [rbp - 0x20]
call qword [sym.imp.DBInterface.dll_public_virtual:_void___cdecl_RecordsetWrapCOM::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x198]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp + 0x190]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rbx, qword [rsp + 0x2a8]
movaps xmm6, xmmword [rsp + 0x240]
add rsp, 0x250
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call sub.mfc140u.dll_AfxRegDeleteKey
nop
int3