Function at 0x1401519e0
Capabilities:
Reference sql statements

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov esi, r8d
mov edi, edx
mov r14, rcx
xor r12d, r12d
mov dword [rax + 0x18], r12d
lea rcx, [rax + 0x20]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov ebx, r12d
cmp ebx, esi
jge 0x140151a2d
lea rdx, [0x1402d5b90]
lea rcx, [rsp + 0xb8]
call qword [sym.imp.mfc140u.dll_COleCurrency::operator]
inc ebx
jmp 0x140151a10
test esi, esi
jle 0x140151a46
lea rdx, [0x1402b0b58]
lea rcx, [rsp + 0xb8]
call qword [sym.imp.mfc140u.dll_COleCurrency::operator]
mov r9d, edi
lea r8, str.SELECT_lID__mText_FROM_Main_WHERE_bIsGroup__1_AND_lParentID___d
lea rdx, [rsp + 0x48]
lea rcx, [0x1403c44c8]
call fcn.140143da0
nop
lea rcx, [rsp + 0x48]
call fcn.1401437b0
test al, al
jne 0x140151bb7
lea rcx, [rsp + 0x48]
call fcn.1401437b0
test al, al
jne 0x140151bb7
xor r8d, r8d
lea rdx, [0x1402bee18]
lea rcx, [rsp + 0x48]
call fcn.140144630
cmp eax, dword [r14 + 0xe8]
je 0x140151ba8
lea r8, [0x1402ac320]
lea rdx, str.mText
lea rcx, [rsp + 0x48]
call fcn.1401446b0
mov r15, rax
lea rcx, [rsp + 0xb8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
or r12d, 1
mov dword [rsp + 0xb0], r12d
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CCheckListBox::SetSelectionCheck]
mov edi, eax
lea rcx, [rsp + 0xb8]
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
mov ebx, eax
lea rcx, [rsp + 0xb8]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov dword [rsp + 0x20], edi
mov r9, r15
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups_1]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov r9, rax
xor r8d, r8d
mov edx, 0x143
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
and r12d, 0xfffffffe
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
xor r8d, r8d
lea rdx, [0x1402bee18]
lea rcx, [rsp + 0x48]
call fcn.140144630
movsxd r9, eax
movsxd r8, ebx
mov edx, 0x151
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r8d, r8d
lea rdx, [0x1402bee18]
lea rcx, [rsp + 0x48]
call fcn.140144630
lea r8d, [rsi + 1]
mov edx, eax
mov rcx, r14
call 0x1401519e0
lea rcx, [rsp + 0x48]
call fcn.1401446f0
jmp 0x140151a74
lea rcx, [rsp + 0x48]
call fcn.140143000
nop
lea rcx, [rsp + 0xb8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
push rbx
sub rsp, 0x20
mov rbx, rcx
xor r9d, r9d
mov rcx, qword [rcx + 0x40]
xor r8d, r8d
mov edx, 0x14b
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x40]
lea r9, str._No_Group_
xor r8d, r8d
mov edx, 0x143
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x40]
mov edx, 0x151
movsxd r8, eax
mov r9, 0xffffffffffffffff
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 0xffffffff
mov rcx, rbx
lea r8d, [rdx + 2]
add rsp, 0x20
pop rbx
jmp 0x1401519e0