Function at 0x1400149a0
Capabilities:
Reference sql statements

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x528]
sub rsp, 0x5e8
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
movaps xmmword [rax - 0x78], xmm8
movaps xmmword [rax - 0x88], xmm9
movaps xmmword [rax - 0x98], xmm10
movaps xmmword [rax - 0xa8], xmm11
movaps xmmword [rax - 0xb8], xmm12
mov rsi, rcx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
xor r8d, r8d
xor edx, edx
mov ecx, 0xe00
call fcn.14004d154
xor ecx, ecx
call sub.mfc140u.dll_AfxClassInit
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rdx, [rsp + 0x60]
mov rcx, qword [rsi + 0x290]
call qword [sym.imp.BQRCommon.dll_public:_int___cdecl_CRbdLicense::GetConnection_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_______ptr64____ptr64]
test eax, eax
jne 0x140014a51
xor r8d, r8d
lea edx, [rax + 0x10]
mov rcx, qword [rsp + 0x60]
call sub.mfc140u.dll_AfxInitNetworkAddressControl
mov edi, 0xfffffff6
mov dword [rsi + 0x1e8], edi
jmp 0x140015b26
mov rdx, qword [rsi + 0x90]
lea rcx, [rbp + 0x540]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__12]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsi + 0x290]
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
jne 0x140014a83
xor edi, edi
jmp 0x140015b26
mov rcx, rsi
call fcn.140017250
test al, al
jne 0x140014aa3
mov dword [rsi + 0x1e8], 0xffffffe2
mov edi, 0xffffffe2
jmp 0x140015b26
mov rcx, qword [rsi + 0xa0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsi + 0x3d8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsdup]
mov qword [rsi + 0xa0], rax
cmp dword [rsi + 0x230], 0
jne 0x140014b06
lea rdx, [0x140136e20]
mov rcx, qword [rsi + 0x290]
call qword [sym.imp.BQRCommon.dll_public:_int___cdecl_CRbdLicense::IsLicenseTrue_wchar_t____ptr64____ptr64]
test eax, eax
jne 0x140014b06
mov rcx, qword [rsi + 0x290]
call qword [sym.imp.BQRCommon.dll_public:_bool___cdecl_CRbdLicense::OnLicense_void____ptr64]
mov dword [rsi + 0x1e8], 0xffffffec
mov edi, 0xffffffec
jmp 0x140015b26
mov rcx, rsi
call fcn.140012570
test al, al
jne 0x140014b26
mov dword [rsi + 0x1e8], 0xffffffd8
mov edi, 0xffffffd8
jmp 0x140015b26
mov rcx, rsi
call fcn.140017190
test al, al
jne 0x140014b46
mov dword [rsi + 0x1e8], 0xffffffce
mov edi, 0xffffffce
jmp 0x140015b26
mov ecx, 0x28
call sub.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl
mov qword [rbp + 0x540], rax
lea rbx, vtable.CArray_double__double_.0
xor edi, edi
test rax, rax
je 0x140014b7a
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov qword [rax + 0x20], rdi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rdi
jmp 0x140014b7d
mov rax, rdi
mov qword [rsi + 0x2d0], rax
mov ecx, 0x28
call sub.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl
mov qword [rbp + 0x540], rax
test rax, rax
je 0x140014baf
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov qword [rax + 0x20], rdi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rdi
jmp 0x140014bb2
mov rax, rdi
mov qword [rsi + 0x2d8], rax
cmp qword [rsi + 0x2d0], 0
je 0x140015b17
test rax, rax
je 0x140015b17
movsd xmm3, qword [rsi + 0x2e0]
movsd xmm2, qword [0x140135238]
xorps xmm1, xmm1
mov rcx, rsi
call fcn.140017800
test al, al
je 0x140015b17
xor edx, edx
lea rcx, [rbp + 0x130]
call fcn.1400364f0
nop
lea rax, [rbp + 0x130]
mov qword [rsi + 0x40], rax
lea rcx, [rsi + 0x1f8]
mov rax, qword [rcx]
mov r8d, dword [rax - 0x10]
add r8d, 0xfffffffc
lea rdx, [rbp + 0x540]
call qword [sym.imp.mfc140u.dll_CStringList::InsertBefore]
nop
mov rdx, rax
lea rcx, [rbp + 0x438]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rbp + 0x540]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rdx, [rsi + 0x200]
lea rcx, [rbp + 0x440]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
xor r8d, r8d
lea edx, [r8 + 0x66]
lea rcx, [rbp + 0x130]
call sub.mfc140u.dll_Ordinal_3071
test eax, eax
jne 0x140014c8a
mov qword [rsi + 0x40], rdi
mov ebx, 0xffffff9c
mov dword [rsi + 0x1e8], ebx
jmp 0x140015aca
mov edx, 5
mov rcx, qword [rsi + 0x40]
call sub.mfc140u.dll_COleControlSite::SetPropertyV
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rdx, str.SELECT__FROM__MTBF_Time_Units_
lea rcx, [rbp + 0x540]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__12]
nop
mov r9d, 4
lea r8, [rbp + 0x540]
mov rdx, qword [rsi + 0x298]
lea rcx, [rbp + 0x40]
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 + 0x540]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rcx, [rbp + 0x40]
call qword [sym.imp.DBInterface.dll_public_virtual:_long_int___cdecl_RecordsetWrapCOM::GetRecordCount_void_const___ptr64]
mov ebx, eax
test eax, eax
je 0x140015146
lea rcx, [rbp + 0x40]
call qword [sym.imp.DBInterface.dll_public_virtual:_void___cdecl_RecordsetWrapCOM::MoveFirst_void____ptr64]
lea rcx, [rbp + 0x40]
call qword [sym.imp.DBInterface.dll_public_virtual:_int___cdecl_RecordsetWrapCOM::IsEOF_void____ptr64]
test eax, eax
jne 0x140015146
nop word [rax + rax]
lea r8, str.TimeUnitID
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x40]
call qword [sym.imp.DBInterface.dll_public_virtual:_class_COleVariant___cdecl_RecordsetWrapCOM::GetFieldValue_wchar_t_const____ptr64____ptr64]
movsxd rbx, dword [rax + 8]
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea r8, str.HoursPerUnit
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x40]
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]
test rbx, rbx
js 0x140015b70
cmp rbx, qword [rsi + 0x218]
jl 0x140014d94
lea rdx, [rbx + 1]
mov r8, 0xffffffffffffffff
lea rcx, [rsi + 0x208]
call fcn.140018ae0
mov rax, qword [rsi + 0x210]
movsd qword [rax + rbx*8], xmm6
lea rcx, [rbp + 0x40]
call qword [sym.imp.DBInterface.dll_public_virtual:_void___cdecl_RecordsetWrapCOM::MoveNext_void____ptr64]
lea rcx, [rbp + 0x40]
call qword [sym.imp.DBInterface.dll_public_virtual:_int___cdecl_RecordsetWrapCOM::IsEOF_void____ptr64]
test eax, eax
je 0x140014d20
lea rcx, [rbp + 0x40]
call qword [sym.imp.DBInterface.dll_public_virtual:_void___cdecl_RecordsetWrapCOM::Close_void____ptr64]
lea rdx, str.SELECT__FROM__Site_List_
lea rcx, [rbp + 0x548]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__12]
xor r9d, r9d
mov r8, rax
lea edx, [r9 + 4]
lea rcx, [rbp + 0x40]
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]
lea rcx, [rbp + 0x40]
call qword [sym.imp.DBInterface.dll_public_virtual:_long_int___cdecl_RecordsetWrapCOM::GetRecordCount_void_const___ptr64]
test eax, eax
je 0x14001513f
lea rcx, [rbp + 0x40]
call qword [sym.imp.DBInterface.dll_public_virtual:_void___cdecl_RecordsetWrapCOM::MoveFirst_void____ptr64]
lea rcx, [rbp + 0x40]
call qword [sym.imp.DBInterface.dll_public_virtual:_int___cdecl_RecordsetWrapCOM::IsEOF_void____ptr64]
lea r14, [rsi + 0x3b8]
test eax, eax
jne 0x140014f10
nop dword [rax]
nop word [rax + rax]
lea r8, str.SiteID
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x40]
call qword [sym.imp.DBInterface.dll_public_virtual:_class_COleVariant___cdecl_RecordsetWrapCOM::GetFieldValue_wchar_t_const____ptr64____ptr64]
mov ecx, dword [rax + 8]
mov dword [rbp + 0x538], ecx
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [rsp + 0x48], edi
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea r8, str.SiteQty
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x40]
call qword [sym.imp.DBInterface.dll_public_virtual:_class_COleVariant___cdecl_RecordsetWrapCOM::GetFieldValue_wchar_t_const____ptr64____ptr64]
mov ecx, dword [rax + 8]
mov dword [rsp + 0x48], ecx
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea r8, str.Name
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x40]
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, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rdx, [rbp + 0x538]
mov rcx, r14
call fcn.140011d10
mov ecx, dword [rsp + 0x48]
mov dword [rax], ecx
lea rcx, [rax + 8]
lea rdx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rcx, [rbp + 0x40]
call qword [sym.imp.DBInterface.dll_public_virtual:_void___cdecl_RecordsetWrapCOM::MoveNext_void____ptr64]
lea rcx, [rbp + 0x40]
call qword [sym.imp.DBInterface.dll_public_virtual:_int___cdecl_RecordsetWrapCOM::IsEOF_void____ptr64]
test eax, eax
je 0x140014e30
lea rcx, [rbp + 0x40]
call qword [sym.imp.DBInterface.dll_public_virtual:_void___cdecl_RecordsetWrapCOM::Close_void____ptr64]
mov r8d, dword [rsi + 0x234]
lea rdx, str.SELECT__FROM__Block_Sites__WHERE__CondID_ld_AND_IsAvailable0_AND_ObjType8_
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x548]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__11]
xor r9d, r9d
mov r8, rax
lea edx, [r9 + 4]
lea rcx, [rbp + 0x40]
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]
lea rcx, [rbp + 0x40]
call qword [sym.imp.DBInterface.dll_public_virtual:_long_int___cdecl_RecordsetWrapCOM::GetRecordCount_void_const___ptr64]
test eax, eax
je 0x14001513f
lea rcx, [rbp + 0x40]
call qword [sym.imp.DBInterface.dll_public_virtual:_void___cdecl_RecordsetWrapCOM::MoveFirst_void____ptr64]
lea rcx, [rbp + 0x40]
call qword [sym.imp.DBInterface.dll_public_virtual:_int___cdecl_RecordsetWrapCOM::IsEOF_void____ptr64]
test eax, eax
jne 0x140015022
nop word [rax + rax]
lea r8, str.BlockPartID
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x40]
call qword [sym.imp.DBInterface.dll_public_virtual:_class_COleVariant___cdecl_RecordsetWrapCOM::GetFieldValue_wchar_t_const____ptr64____ptr64]
mov ecx, dword [rax + 8]
mov dword [rsp + 0x58], ecx
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea r8, str.SiteID
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x40]
call qword [sym.imp.DBInterface.dll_public_virtual:_class_COleVariant___cdecl_RecordsetWrapCOM::GetFieldValue_wchar_t_const____ptr64____ptr64]
mov ecx, dword [rax + 8]
mov dword [rbp + 0x538], ecx
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rdx, [rbp + 0x538]
mov rcx, r14
call fcn.140011d10
mov ebx, dword [rax]
lea rdx, [rsp + 0x58]
lea rcx, [rsi + 0x3c8]
call fcn.140011c10
mov dword [rax], ebx
lea rcx, [rbp + 0x40]
call qword [sym.imp.DBInterface.dll_public_virtual:_void___cdecl_RecordsetWrapCOM::MoveNext_void____ptr64]
lea rcx, [rbp + 0x40]
call qword [sym.imp.DBInterface.dll_public_virtual:_int___cdecl_RecordsetWrapCOM::IsEOF_void____ptr64]
test eax, eax
je 0x140014f90
lea rcx, [rbp + 0x40]
call qword [sym.imp.DBInterface.dll_public_virtual:_void___cdecl_RecordsetWrapCOM::Close_void____ptr64]
mov r8d, dword [rsi + 0x234]
lea rdx, str.SELECT__FROM__Condition_List__WHERE_CondID_ld
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
mov r9, qword [rsp + 0x40]
mov r8d, 4
lea rdx, str.Condition_List
mov rcx, rsi
call fcn.1400174e0
mov rbx, rax
test rax, rax
je 0x14001513f
mov rax, qword [rax]
lea r8, str.InspDone
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov ecx, dword [rax + 8]
mov dword [rsi + 0x2f0], ecx
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rbx]
lea r8, str.PmoDone
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov ecx, dword [rax + 8]
mov dword [rsi + 0x2fc], ecx
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rbx]
lea r8, str.RestTimeChanged
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov ecx, dword [rax + 8]
mov dword [rsi + 0x30c], ecx
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x40]
test eax, eax
je 0x140015105
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x48]
mov rax, qword [rbx]
mov r12d, 1
mov edx, r12d
mov rcx, rbx
call qword [rax]
cmp qword [rsi + 0x2b0], 0
jle 0x140015b70
mov rax, qword [rsi + 0x2a8]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rcx, rax
call fcn.14000a5d0
test al, al
jne 0x140015179
mov ebx, edi
jmp 0x140015ab3
lea rcx, [rbp + 0x40]
call qword [sym.imp.DBInterface.dll_public_virtual:_void___cdecl_RecordsetWrapCOM::Close_void____ptr64]
test ebx, ebx
jne 0x140014dc6
xor r8d, r8d
xor edx, edx
lea rcx, str.You_should_input_MTBF_Time_Units_before_any_calculation.
call sub.mfc140u.dll_AfxInitNetworkAddressControl
mov ebx, 0xffffff9c
mov dword [rsi + 0x1e8], ebx
jmp 0x140015ab3
mov rcx, rsi
call fcn.140018930
cmp dword [rsi + 0x230], 0
jne 0x140015253
cmp qword [rsi + 0x2b0], 6
jle 0x140015b70
mov rax, qword [rsi + 0x2a8]
mov r14, qword [rax + 0x30]
lea rdx, [0x140134658]
lea rcx, [rbp + 0x548]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__12]
mov r10, qword [r14]
xor r9d, r9d
mov r8, rax
lea edx, [r9 - 1]
mov rcx, r14
call qword [r10 + VariantCopy]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x50]
test eax, eax
je 0x14001524a
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x58]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x78]
test eax, eax
jne 0x14001524a
nop dword [rax]
nop word [rax + rax]
mov rax, qword [r14]
lea r8, str.Selected
lea rdx, [rsp + 0x20]
mov rcx, r14
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov ebx, dword [rax + 8]
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp ebx, r12d
jle 0x140015234
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x20]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x60]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x78]
test eax, eax
je 0x140015200
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x48]
lea rdx, str.Loading_Project_Data
lea rcx, [rbp + 0x548]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__12]
mov rdx, rax
lea rcx, [rbp + 0x130]
call fcn.1400387e0
lea rax, vtable.CArray_class_CPmoBlock____ptr64__class_CPmoBlock____ptr64_.0
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x50], rdi
lea rdx, [rsi + 0x178]
mov rcx, rsi
call fcn.140015ba0
lea rdx, [rsi + 0x188]
mov rcx, rsi
call fcn.140016960
lea rdx, [rsi + 0x198]
mov rcx, rsi
call fcn.1400165d0
lea rdx, [rsi + 0x1a8]
mov rcx, rsi
call fcn.1400162e0
lea rdx, [rsi + 0x1b8]
mov rcx, rsi
call fcn.140014090
lea r15, [rsi + 0x1c8]
mov r13d, edi
cmp dword [0x1401974d0], 0
jle 0x1400153f7
mov r12, rdi
lea r14, [0x1401974d0]
movabs rdx, 0x666666666666666
nop word [rax + rax]
mov rbx, qword [r15]
mov rax, qword [rbx + 8]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], edi
mov rcx, rbx
cmp byte [rax + 0x19], 0
jne 0x140015362
mov edx, dword [r14]
nop dword [rax]
mov qword [rsp + 0x20], rax
cmp dword [rax + 0x1c], edx
jge 0x140015344
mov dword [rsp + 0x28], edi
mov rax, qword [rax + 0x10]
jmp 0x140015352
mov dword [rsp + 0x28], 1
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140015330
movabs rdx, 0x666666666666666
cmp byte [rcx + 0x19], 0
jne 0x140015370
mov eax, dword [rcx + 0x1c]
cmp dword [r14], eax
jge 0x1400153c8
cmp qword [r15 + 8], rdx
je 0x140015b76
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], rdi
mov ecx, 0x28
call sub.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl
nop
mov ecx, dword [r14]
mov dword [rax + 0x1c], ecx
mov dword [rax + 0x20], edi
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
mov word [rax + 0x18], 0
mov qword [rbp - 0x30], rdi
movups xmm0, xmmword [rsp + 0x20]
movaps xmmword [rsp + 0x20], xmm0
mov r8, rax
lea rdx, [rsp + 0x20]
mov rcx, r15
call fcn.1400094d0
mov rcx, rax
mov dword [rcx + 0x20], r13d
inc r13d
inc r12
lea rax, [0x1401974d0]
lea r14, [rax + r12*4]
cmp dword [r14], 0
movabs rdx, 0x666666666666666
jg 0x140015310
mov r12d, 1
lea rdx, [rsi + reloc.mfc140u.dll_CDockContext::CDockContext]
mov rcx, rsi
call fcn.140014760
mov rcx, rsi
call fcn.140012930
lea rdx, [rbp - 0x60]
mov rcx, rsi
call fcn.140013c80
test al, al
jne 0x14001542e
mov ebx, 0xffffffc4
mov dword [rsi + 0x1e8], ebx
jmp 0x140015a99
mov r15, qword [rsi + 0x2c8]
mov qword [rbp - 0x68], r15
mov r14d, edi
mov rcx, qword [rbp - 0x50]
test rcx, rcx
jle 0x140015481
mov rbx, rdi
nop dword [rax + rax]
test rbx, rbx
js 0x140015b7c
cmp rbx, rcx
jge 0x140015b7c
mov rax, qword [rbp - 0x58]
mov rcx, qword [rax + rbx*8]
call fcn.1400260a0
inc r14d
inc rbx
movsxd rax, r14d
mov rcx, qword [rbp - 0x50]
cmp rax, rcx
jl 0x140015450
lea rax, vtable.CMap_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____wchar_t_const____ptr64__long_int__long_int_.0
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rdi
mov dword [rbp + 0x100], reloc.COMCTL32.dll_InitCommonControls
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x108], xmm0
movdqa xmm1, xmmword [0x1401352a0]
movdqu xmmword [rbp + 0x118], xmm1
lea rax, vtable.CMap_long_int__long_int__class_CObList____ptr64__class_CObList____ptr64_.0
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rdi
mov dword [rbp - 0x18], reloc.COMCTL32.dll_InitCommonControls
movdqu xmmword [rbp - 0x10], xmm0
movdqu xmmword [rbp], xmm1
lea r8, [rbp - 0x28]
lea rdx, [rbp + 0xf0]
mov rcx, r15
call fcn.140025dc0
mov rcx, qword [rbp - 0x10]
mov rax, rcx
neg rax
sbb r15, r15
mov r13, rdi
mov qword [rbp - 0x70], rdi
test rcx, rcx
je 0x140015886
movsd xmm10, qword [0x1401352b0]
movsd xmm11, qword [0x140136458]
movsd xmm12, qword [0x1401351e8]
nop word [rax + rax]
mov r11d, edi
xorps xmm8, xmm8
mov r10, qword [rbp - 0x20]
test r10, r10
je 0x140015b88
mov r8, r15
test r15, r15
je 0x140015b88
mov r9d, dword [rbp - 0x18]
cmp r15, 0xffffffffffffffff
jne 0x14001557c
mov ecx, edi
test r9d, r9d
je 0x14001557c
mov eax, ecx
mov r8, qword [r10 + rax*8]
test r8, r8
jne 0x14001557c
inc ecx
cmp ecx, r9d
jb 0x140015561
test r8, r8
je 0x140015b88
mov r15, qword [r8 + 0x10]
mov qword [rsp + 0x70], r15
test r15, r15
jne 0x1400155b5
xor edx, edx
mov eax, dword [r8 + 0x18]
div r9d
inc edx
cmp edx, r9d
jae 0x1400155b5
nop word [rax + rax]
mov r15, qword [r10 + rdx*8]
mov qword [rsp + 0x70], r15
test r15, r15
jne 0x1400155b5
inc edx
cmp edx, r9d
jb 0x1400155a0
movsxd r12, dword [r8]
mov rdx, qword [r8 + 8]
mov qword [rbp - 0x38], rdx
test r12d, r12d
js 0x140015b88
cmp r12, qword [rsi + 0x390]
jge 0x140015b88
mov rax, qword [rsi + 0x388]
mov eax, dword [rax + r12*4]
mov dword [rbp + 0x548], eax
mov r14, qword [rdx + 8]
mov ebx, 1
xorps xmm7, xmm7
xorps xmm6, xmm6
mov dword [rsp + 0x5c], edi
test r14, r14
je 0x1400156f8
mov esi, edi
mov r15, qword [rbp - 0x70]
nop dword [rax]
mov r13, qword [r14 + 0x10]
mov r14, qword [r14]
mov edx, r12d
mov rcx, r13
call fcn.140022070
mov rcx, qword [r13 + 0x1c8]
mov eax, dword [rcx + 0x118]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm0
addsd xmm8, xmm1
add esi, eax
test r15, r15
je 0x14001566e
test ebx, ebx
je 0x14001566e
mov rax, qword [r15 + 0x1c8]
movsd xmm0, qword [rax + 0x290]
subsd xmm0, qword [rcx + 0x290]
andps xmm0, xmm10
comisd xmm0, xmm11
cmova ebx, edi
mov r15, r13
mov rcx, r13
call fcn.140028340
mov rcx, qword [r13 + 0x1c8]
mov edx, dword [rcx + 0x118]
movd xmm0, edx
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [rcx + 0x290]
divsd xmm0, qword [rax + 0x13cb8]
mulsd xmm0, qword [rax + 0x13cc0]
addsd xmm7, xmm0
imul edx, dword [r13 + 0x13d10]
movd xmm0, edx
cvtdq2pd xmm0, xmm0
addsd xmm6, xmm0
test r14, r14
jne 0x140015610
mov qword [rbp - 0x70], r13
mov dword [rbp + 0x540], esi
mov rsi, qword [rbp + 0x530]
mov r15, qword [rsp + 0x70]
mov r11d, dword [rbp + 0x540]
test r11d, r11d
je 0x1400156f8
movd xmm0, r11d
cvtdq2pd xmm0, xmm0
divsd xmm6, xmm0
jmp 0x1400156fb
xorps xmm0, xmm0
divsd xmm8, xmm0
mov eax, r11d
cdq
idiv dword [rbp + 0x548]
mov r14d, eax
movd xmm9, eax
cvtdq2pd xmm9, xmm9
comisd xmm8, xmm12
jbe 0x14001574e
movaps xmm2, xmm8
movaps xmm1, xmm9
mov rcx, r13
call fcn.14002afd0
cvttsd2si ecx, xmm0
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
movaps xmm8, xmm9
divsd xmm8, xmm1
mov eax, dword [rsp + 0x5c]
mov edx, 1
jmp 0x140015757
mov ecx, edi
mov edx, 1
mov eax, edx
movd xmm0, dword [rbp + 0x548]
cvtdq2pd xmm0, xmm0
divsd xmm7, xmm0
divsd xmm7, xmm9
mov dword [rbp + 0x1c], ecx
mov dword [rbp + 0x18], r14d
movsd qword [rbp + 0x20], xmm8
mov dword [rbp + 0x3c], ebx
movsd qword [rbp + 0x28], xmm7
movsd qword [rbp + 0x30], xmm6
mov dword [rbp + 0x38], eax
lea rbx, [rsi + 0x3a8]
mov r14, qword [rbx]
mov rax, qword [r14 + 8]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], edi
mov rcx, r14
cmp byte [rax + 0x19], 0
jne 0x1400157d5
nop dword [rax]
mov qword [rsp + 0x70], rax
cmp dword [rax + 0x20], r12d
jge 0x1400157c5
mov dword [rsp + 0x78], edi
mov rax, qword [rax + 0x10]
jmp 0x1400157cf
mov dword [rsp + 0x78], edx
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1400157b0
cmp byte [rcx + 0x19], 0
jne 0x1400157e1
cmp r12d, dword [rcx + 0x20]
jge 0x140015850
movabs rax, 0x333333333333333
cmp qword [rbx + 8], rax
je 0x140015b82
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rdi
mov ecx, VarR8FromDisp
call sub.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl
nop
mov dword [rax + 0x20], r12d
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 [rsp + 0x28], rdi
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x70], xmm0
mov r8, rax
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.1400193b0
mov rcx, rax
movups xmm0, xmmword [rbp + 0x18]
movups xmmword [rcx + 0x28], xmm0
movups xmm1, xmmword [rbp + 0x28]
movups xmmword [rcx + 0x38], xmm1
movsd xmm0, qword [rbp + 0x38]
movsd qword [rcx + 0x48], xmm0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
mov r12d, 1
mov edx, r12d
call qword [rax + VariantCopy]
test r15, r15
jne 0x140015530
mov r14d, edi
mov rcx, qword [rbp - 0x50]
test rcx, rcx
jle 0x1400159e7
mov rbx, rdi
mov r13, qword [rsp + 0x48]
nop
test rbx, rbx
js 0x140015b8e
cmp rbx, rcx
jge 0x140015b8e
mov rax, qword [rbp - 0x58]
mov rcx, qword [rax + rbx*8]
mov qword [rsi + 0x2c8], rcx
mov qword [0x14019d530], rcx
mov rax, qword [rsi + 0x2c8]
mov qword [rax + 8], rdi
mov rax, qword [rsi + 0x2c8]
movsd xmm3, qword [rax + 0x13c98]
movsd xmm2, qword [rax + 0x13ca8]
movsd xmm1, qword [rax + 0x13ca0]
mov rcx, r13
call fcn.14000a1f0
mov dword [rsi + 0x288], edi
mov rcx, qword [rsi + 0x3e8]
test rcx, rcx
je 0x140015918
call sub.mfc140u.dll_operator
mov qword [rsi + 0x3e8], rdi
mov qword [rsi + 0x3f8], rdi
mov qword [rsi + 0x3f0], rdi
lea rdx, [rsi + 0x288]
mov rcx, qword [rsi + 0x2c8]
call fcn.140026fe0
mov rax, qword [rsi + 0x40]
mov qword [0x14019d520], rax
movsxd rcx, dword [rsi + 0x288]
lea eax, [rcx + 1]
mov dword [rbp + 0x448], eax
mov rax, qword [rsi + 0x2c8]
mov qword [rbp + 0x450], rax
mov r9, rcx
xor r8d, r8d
mov edx, CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup
mov rcx, qword [rbp + 0x388]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
mov r12d, 1
mov r8d, r12d
mov edx, 0x404
mov rcx, qword [rbp + 0x388]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [rbp + 0x130]
call fcn.140036dd0
cmp eax, r12d
je 0x1400159d1
mov qword [0x14019d520], rdi
mov dword [rsi + 0x1e8], 0x64
mov eax, dword [rsi + 0x1e8]
cmp byte [rbp + 0x44c], 0
cmovne eax, r12d
mov dword [rsi + 0x1e8], eax
inc r14d
inc rbx
movsxd rax, r14d
mov rcx, qword [rbp - 0x50]
cmp rax, rcx
jl 0x1400158a0
mov rbx, qword [rbp - 0x68]
cmp dword [rsi + 0x1e8], 0
jne 0x140015a0f
mov rax, qword [rbx + 0x1c8]
cmp dword [rax + 8], 1
jne 0x140015a0f
cmp dword [rax + 0x38], 0xffffffff
jne 0x140015a0f
mov rcx, rbx
call fcn.14002dd50
lea rdx, str.Saving_Data_and_releasing_memory_...
lea rcx, [rbp + 0x530]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__12]
mov rdx, rax
lea rcx, [rbp + 0x130]
call fcn.1400387e0
mov edx, 5
lea rcx, [rbp + 0x130]
call sub.mfc140u.dll_COleControlSite::SetPropertyV
test rbx, rbx
je 0x140015a54
mov rax, qword [rbx]
mov edx, r12d
mov rcx, rbx
call qword [rax + VariantCopy]
mov ebx, dword [rsi + 0x1e8]
lea rax, vtable.CMap_long_int__long_int__class_CObList____ptr64__class_CObList____ptr64_.0
mov qword [rbp - 0x28], rax
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140015a77
call sub.mfc140u.dll_operator
mov qword [rbp - 0x20], rdi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
mov rcx, qword [rbp]
call sub.mfc140u.dll_CMFCRibbonButtonsGroup::FindByID
mov qword [rbp], rdi
lea rcx, [rbp + 0xf0]
call fcn.140010a70
nop
lea rax, vtable.CArray_class_CPmoBlock____ptr64__class_CPmoBlock____ptr64_.0
mov qword [rbp - 0x60], rax
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x140015ab3
call sub.mfc140u.dll_operator
nop
lea rcx, [rbp + 0x40]
call qword [sym.imp.DBInterface.dll_public_virtual:_void___cdecl_RecordsetWrapCOM::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp + 0x440]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rcx, [rbp + 0x438]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rcx, [rbp + 0x430]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rcx, [rbp + 0x348]
call sub.mfc140u.dll_COlePasteSpecialDialog::COlePasteSpecialDialog
lea rcx, [rbp + 0x260]
call sub.mfc140u.dll_COlePasteSpecialDialog::COlePasteSpecialDialog
lea rcx, [rbp + 0x130]
call sub.mfc140u.dll_CD2DResource::CD2DResource
jmp 0x140015b28
mov dword [rsi + 0x1e8], 0xffffffba
mov edi, 0xffffffba
mov ebx, edi
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, ebx
lea r11, [rsp + 0x5e8]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
movaps xmm10, xmmword [r11 - 0x58]
movaps xmm11, xmmword [r11 - 0x68]
movaps xmm12, xmmword [r11 - 0x78]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call sub.mfc140u.dll_AfxRegDeleteKey
nop
call fcn.140009750
int3
call sub.mfc140u.dll_AfxRegDeleteKey
nop
call fcn.140009750
int3
call sub.mfc140u.dll_AfxRegDeleteKey
int3
call sub.mfc140u.dll_AfxRegDeleteKey
int3