Function at 0x1400676f0
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov rax, qword [0x140125310]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov rdi, rcx
mov dword [rcx + 0xa48], 0xffffffff
mov rdx, qword [rcx + 0x90]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rdi + 0x10a8]
call qword [sym.imp.BQRCommon.dll_public:_bool___cdecl_CRbdLicense::CheckCmdLine_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____int____ptr64]
test al, al
je 0x14006810f
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov rax, qword [rdi + 0x90]
cmp word [rax], 0
jne 0x14006778a
xor edx, edx
lea rcx, str.Project_not_defined
call fcn.14006b910
jmp 0x14006810f
lea rdx, [0x1400e97a8]
mov ecx, 4
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_localeconv]
xor r15d, r15d
movzx ebx, r15w
mov rsi, qword [rdi + 0x90]
movzx eax, word [rsi]
test ax, ax
je 0x1400677f4
cmp ax, 0x22
jne 0x1400677c3
inc bx
jmp 0x1400677e8
cmp bx, 1
jne 0x1400677d2
lea rcx, [rdi + 0xa58]
jmp 0x1400677df
cmp bx, 3
jne 0x1400677e8
lea rcx, [rdi + 0xa60]
movzx edx, ax
call qword [sym.imp.mfc140u.dll_Ordinal_1665]
add rsi, 2
movzx eax, word [rsi]
test ax, ax
jne 0x1400677b8
lea r14, [rdi + 0xa60]
mov edx, 0x2e
mov rcx, r14
call qword [sym.imp.mfc140u.dll_COleControl::ReleaseCaches]
cmp eax, 0xffffffff
jne 0x140067821
xor edx, edx
lea rcx, str.Project_name_error__no_file_name_extension_.mtbf
call fcn.14006b910
jmp 0x14006810f
lea r8d, [rax + 1]
mov edx, 0x2c
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CPaneFrameWnd::EnterDragMode]
mov ebx, eax
lea r8d, [rax + 1]
lea rdx, [rsp + 0x48]
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CMFCToolBar::LoadState]
nop
mov r8d, ebx
lea rdx, [rsp + 0x38]
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CStringList::InsertBefore]
nop
mov rdx, rax
mov rcx, r14
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, qword [rsp + 0x48]
lea r12, [rdi + 0x1080]
mov edx, dword [rax - 0x10]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
mov rcx, rax
mov qword [rsp + 0x20], r12
lea r9, [rdi + 0x107c]
lea r8, [rdi + 0xfe8]
lea rdx, str._d__d__d
call fcn.140011dd0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x40], rax
lea rdx, str.CareTabs
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
mov rbx, rax
lea rdx, str.Setting
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
lea rsi, [rdi + 0x828]
mov qword [rsp + 0x20], rsi
mov r9, rbx
mov r8, rax
mov edx, 1
xor ecx, ecx
call qword [sym.imp.BQRCommon.dll_int___cdecl_BqrRegistry_int__unsigned_int__class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_______ptr64_]
test eax, eax
je 0x140067915
lea rcx, str.Master_Tables_Path_not_defined
xor edx, edx
call fcn.14006b910
jmp 0x140068104
mov rax, qword [rsi]
mov edx, dword [rax - 0x10]
test edx, edx
je 0x14006793b
dec edx
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCBaseAccessibleObject::XAccessible::get_accChild]
cmp ax, 0x5c
je 0x14006793b
mov dl, 0x5c
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_COleCurrency::operator]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x40], rax
lea rdx, str.CarePtabs
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
mov rbx, rax
lea rdx, str.Setting
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
lea rsi, [rdi + 0x830]
mov qword [rsp + 0x20], rsi
mov r9, rbx
mov r8, rax
mov edx, 1
xor ecx, ecx
call qword [sym.imp.BQRCommon.dll_int___cdecl_BqrRegistry_int__unsigned_int__class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_______ptr64_]
test eax, eax
je 0x1400679a2
lea rcx, str.Personal_Tables_Path_not_defined
xor edx, edx
call fcn.14006b910
jmp 0x140068104
mov rax, qword [rsi]
mov edx, dword [rax - 0x10]
test edx, edx
je 0x1400679c8
dec edx
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCBaseAccessibleObject::XAccessible::get_accChild]
cmp ax, 0x5c
je 0x1400679c8
mov dl, 0x5c
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_COleCurrency::operator]
mov dword [rdi + 0x188], r15d
mov ecx, 0x4e0
call sub.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400679ef
xor edx, edx
mov rcx, rax
call fcn.140079f60
jmp 0x1400679f2
mov rax, r15
mov qword [rdi + CGlobalUtils::CalcExpectedDockedRect], rax
test rax, rax
jne 0x140067a11
lea rcx, str.Couldnt_create_the_Dialog_nMemory_allocation_error.
xor edx, edx
call fcn.14006b910
jmp 0x140068104
mov dword [rdi + 0xa48], 0xfffffffc
mov edx, 0x5c
lea rcx, [rdi + 0xa58]
call qword [sym.imp.mfc140u.dll_COleControl::ReleaseCaches]
mov r15d, eax
lea rbx, [rdi + 0xa38]
lea rdx, str.Project:
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
cmp r15d, 0xffffffff
je 0x140067a8b
mov rcx, qword [rdi + 0xa58]
mov r8d, dword [rcx - 0x10]
sub r8d, r15d
dec r8d
lea rdx, [rsp + 0x30]
lea rcx, [rdi + 0xa58]
call qword [sym.imp.mfc140u.dll_Ordinal_12600]
nop
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_Ordinal_1667]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
jmp 0x140067a9b
lea rdx, [rdi + 0xa58]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_Ordinal_1667]
mov rcx, qword [rdi + 0xa40]
add rcx, 0x138
mov rdx, qword [rbx]
call sub.mfc140u.dll_CMFCToolBar::SetOrigButtons
mov rcx, qword [rdi + 0xa40]
add rcx, 0x220
lea rdx, [0x1400d8630]
call sub.mfc140u.dll_CMFCToolBar::SetOrigButtons
mov eax, dword [r12]
neg eax
sbb edx, edx
and edx, 5
mov rcx, qword [rdi + 0xa40]
call fcn.14007a3f0
xor esi, esi
mov dword [rdi + CPaneContainerManager::CanBeAttached], esi
mov qword [rdi + 0xcb8], rsi
mov dword [rdi + 0xa90], 1
mov dword [rdi + 0x670], esi
mov dword [rdi + 0xf00], esi
mov rcx, qword [rdi + 0xa40]
add rcx, 0x308
lea rdx, str.Open_Input_Database_...
call sub.mfc140u.dll_CMFCToolBar::SetOrigButtons
mov rdx, qword [r14]
mov rcx, rdi
call fcn.14006e270
test eax, eax
je 0x140067ec0
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140067b87
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov rax, qword [rdi + 0xa40]
cmp dword [rax + 0x130], esi
je 0x140067b87
mov dword [rdi + 0xa48], 0xfffffffa
jmp 0x140067ec0
mov rcx, qword [rdi + 0xa40]
add rcx, 0x308
lea rdx, str.Read_Global_Data_...
call sub.mfc140u.dll_CMFCToolBar::SetOrigButtons
mov rcx, rdi
call fcn.14006ef70
test eax, eax
je 0x140067ec0
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140067c04
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov rax, qword [rdi + 0xa40]
cmp dword [rax + 0x130], esi
je 0x140067c04
mov dword [rdi + 0xa48], 0xfffffffa
jmp 0x140067ec0
cmp dword [rdi + 0xa84], esi
je 0x140067cc1
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], rsi
xor r8d, r8d
lea rdx, [rbp + 0x40]
mov rcx, qword [rdi + 0xa88]
call sub.mfc140u.dll_Ordinal_6707
test eax, eax
je 0x140067cbb
mov rcx, qword [rdi + 0xa40]
add rcx, 0x308
lea rdx, str.Open_Linked_Database_...
call sub.mfc140u.dll_CMFCToolBar::SetOrigButtons
mov rdx, qword [rdi + 0xa88]
mov rcx, rdi
call fcn.14006e270
test eax, eax
je 0x140067ec0
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140067cc1
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov rax, qword [rdi + 0xa40]
cmp dword [rax + 0x130], esi
je 0x140067cc1
mov dword [rdi + 0xa48], 0xfffffffa
jmp 0x140067ec0
mov dword [rdi + CPaneContainerManager::CanBeAttached], esi
mov rcx, qword [rdi + 0xa40]
add rcx, 0x308
lea rdx, str.Defaults_Tables_Check_...
call sub.mfc140u.dll_CMFCToolBar::SetOrigButtons
mov rcx, rdi
call fcn.14006da40
test eax, eax
je 0x140067ec0
mov rcx, rdi
call fcn.140066a00
test eax, eax
je 0x140067ec0
mov rcx, rdi
call fcn.14006e080
test eax, eax
je 0x140067ec0
mov rcx, rdi
call fcn.14006e3e0
test eax, eax
je 0x140067ec0
mov rcx, rdi
call fcn.140073b20
test eax, eax
je 0x140067ec0
mov rcx, rdi
call fcn.14006dc20
test eax, eax
je 0x140067ec0
mov rcx, rdi
call fcn.140065c30
test eax, eax
je 0x140067ec0
mov rcx, rdi
call fcn.140068150
test eax, eax
je 0x140067ec0
mov rcx, rdi
call fcn.140066d90
test eax, eax
je 0x140067ec0
mov rcx, rdi
call fcn.140066f20
test eax, eax
je 0x140067ec0
mov rcx, rdi
call fcn.140069450
mov rcx, rdi
call fcn.140069ec0
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140067dde
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov rax, qword [rdi + 0xa40]
cmp dword [rax + 0x130], esi
je 0x140067dde
mov dword [rdi + 0xa48], 0xfffffffa
jmp 0x140067ec0
mov rcx, rdi
call fcn.140064f60
test eax, eax
je 0x140067ec0
mov rcx, rdi
call fcn.14005a370
test eax, eax
je 0x140067ec0
mov rcx, rdi
call fcn.14006f330
test eax, eax
je 0x140067ec0
mov rcx, rdi
call fcn.1400687c0
mov rcx, qword [rdi + 0xa40]
add rcx, 0x308
lea rdx, str.Read_Default_Thermal_Parameters_..
call sub.mfc140u.dll_CMFCToolBar::SetOrigButtons
lea rcx, [rdi + 0xc38]
mov rdx, qword [rdi + 0xcb0]
call qword [sym.imp.BQRCommon.dll_public:_int___cdecl_CDefaultThermalParam::ReadDefaultThermalParameters_class_DatabaseWrapCOM____ptr64____ptr64]
test eax, eax
je 0x140067ec0
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140067e98
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov rax, qword [rdi + 0xa40]
cmp dword [rax + 0x130], esi
je 0x140067e98
mov dword [rdi + 0xa48], 0xffffff9b
jmp 0x140067ec0
mov rcx, qword [rdi + 0xa40]
add rcx, 0x308
lea rdx, str.Calculation_...
call sub.mfc140u.dll_CMFCToolBar::SetOrigButtons
mov rcx, rdi
call fcn.14005f010
mov dword [rdi + 0xa48], eax
cmp dword [rdi + 0xa48], 0xfffffffa
jne 0x140067ee4
xor edx, edx
lea rcx, str.Analysis_Canceled_by_User
call fcn.14006b910
mov rcx, rdi
call fcn.1400210b0
jmp 0x140067f78
mov r8d, dword [rdi + 0xa50]
test r8d, r8d
je 0x140067f78
lea r9, [0x1400e9b08]
cmp r8d, 1
cmovle r9, qword [0x1401274f8]
lea rcx, str.were
lea rax, [0x1400e9b00]
cmovg rax, rcx
mov qword [rsp + 0x20], rax
lea rdx, str.Calculation_completed._n_n____ld___terror_s__s_detected_n
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
cmp qword [rdi + 0x3d0], rsi
je 0x140067f5d
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400628b0
nop
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_Ordinal_1667]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
xor edx, edx
mov rcx, qword [rbx]
call fcn.14006b910
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCToolBar::DrawButton]
mov rcx, rdi
call fcn.14005b020
mov rdx, qword [rdi + 0xcb0]
lea rcx, [rbp - 0x70]
call qword [sym.imp.DBInterface.dll_public:_void___cdecl_RecordsetWrapCOM::constructor_class_DatabaseWrapCOM____ptr64____ptr64]
nop
lea rdx, str.SELECT__FROM_ConditionList_WHERE__MarkF__1_
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
xor r9d, r9d
mov r8, rax
lea edx, [r9 + 2]
lea rcx, [rbp - 0x70]
call qword [sym.imp.DBInterface.dll_public_virtual:_void___cdecl_RecordsetWrapCOM::Open_int__class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____int____ptr64]
cmp dword [rdi + 0xfe8], 0
jne 0x140068082
mov rcx, qword [rdi + 0x1090]
mov rbx, qword [rdi + 0x1088]
mov rax, rcx
sub rax, rbx
cmp rax, 8
jb 0x140068082
cmp rbx, rcx
je 0x140068082
nop dword [rax]
nop dword [rax + rax]
mov rdx, rbx
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__5]
nop
mov rdx, qword [rdi + 0xff0]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_Ordinal_2903]
test eax, eax
je 0x140068066
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__5]
lea r8, [rbp - 0x70]
mov rdx, rax
mov rcx, rdi
call fcn.14006d620
movsd xmm0, qword [rdi + 0xff8]
comisd xmm0, xmmword [0x14011b4d0]
jbe 0x140068066
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__5]
lea r8, [rbp - 0x70]
mov rdx, rax
mov rcx, rdi
call fcn.14006c6e0
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
add rbx, 8
cmp rbx, qword [rdi + 0x1090]
jne 0x140067ff0
mov eax, dword [rdi + 0x674]
cmp eax, 9
je 0x140068092
cmp eax, 0x17
jne 0x1400680ee
lea rdx, [rdi + 0xff0]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__5]
lea r8, [rbp - 0x70]
mov rdx, rax
mov rcx, rdi
call fcn.14006d620
movsd xmm0, qword [rdi + 0xff8]
comisd xmm0, xmmword [0x14011b4d0]
jbe 0x1400680e6
lea rdx, [rdi + 0xff0]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__5]
lea r8, [rbp - 0x70]
mov rdx, rax
mov rcx, rdi
call fcn.14006c6e0
mov rcx, rdi
call fcn.14005d550
lea rcx, [rbp - 0x70]
call qword [sym.imp.DBInterface.dll_public_virtual:_void___cdecl_RecordsetWrapCOM::Close_void____ptr64]
nop
lea rcx, [rbp - 0x70]
call qword [sym.imp.DBInterface.dll_public_virtual:_void___cdecl_RecordsetWrapCOM::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
xor eax, eax
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.1400c5ea0
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret