Function at 0x1401826f0
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 - 0x60]
sub rsp, 0x160
mov r15, rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1032
mov rcx, qword [rcx + 0x3b8]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x140182989
call sub.mfc140u.dll_AfxFieldText
mov rcx, qword [rax + 8]
call sub.mfc140u.dll_Ordinal_2514
nop
lea rcx, [rbp + 0xa8]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rsp + 0x20]
call fcn.140006750
lea rax, vtable.CClipIDs.0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rcx, [r15 + 0x378]
call fcn.140233fb0
lea rcx, [rsp + 0x48]
call fcn.140006750
lea rax, vtable.CArrayEx_int_.0
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x48]
lea rcx, [r15 + 0x378]
call fcn.140233f10
mov rcx, qword [rsp + 0x30]
test rcx, rcx
jle 0x1401828f7
xor edi, edi
mov ebx, edi
movabs r13, 0xe38e38e38e38e39
nop word [rax + rax]
cmp qword [rsp + 0x58], rcx
cmovl rcx, qword [rsp + 0x58]
movsxd rax, edi
cmp rax, rcx
jge 0x1401828f7
mov rax, qword [rsp + 0x50]
movsxd rsi, dword [rbx + rax]
mov rax, qword [rsp + 0x28]
mov r14d, dword [rbx + rax]
lea rcx, [rbp - 0x60]
call fcn.1400fa810
nop
mov edx, r14d
lea rcx, [rbp - 0x60]
call fcn.1400ff490
test eax, eax
je 0x1401828de
xor r9d, r9d
xor r8d, r8d
mov edx, r14d
lea rcx, [rbp - 0x60]
call fcn.1400fdae0
test al, al
je 0x1401828de
lea rcx, [rbp + 0xb0]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rdx, [rbp + 0xb0]
lea rcx, [rbp - 0x60]
call fcn.1400fae30
test al, al
je 0x1401828bb
test esi, esi
js 0x1401828bb
mov rcx, qword [r15 + 0x14b8]
sub rcx, qword [r15 + 0x14b0]
mov rax, r13
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp esi, edx
jge 0x1401828bb
mov r9d, r14d
lea r8, str.SELECT__FROM_Main_WHERE_lID___d
lea rdx, [rsp + 0x70]
lea rcx, [0x1403c44c8]
call fcn.140143da0
nop
lea rcx, [rsp + 0x70]
call fcn.1401437b0
test al, al
jne 0x1401828b1
lea rcx, [rsi + rsi*8]
mov rax, qword [r15 + 0x14b0]
lea rcx, [rax + rcx*8]
lea rdx, [rsp + 0x70]
call fcn.1401860a0
nop
lea rcx, [rsp + 0x70]
call fcn.140143000
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0xa8]
call qword [sym.imp.mfc140u.dll_Ordinal_1667]
nop
lea rcx, [rbp + 0xb0]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x60]
call fcn.1400fa910
inc edi
add rbx, 4
mov rcx, qword [rsp + 0x30]
jmp 0x1401827c0
lea rcx, [rbp + 0xa8]
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
test eax, eax
jle 0x14018294a
lea rdx, [rbp + 0xa8]
lea rcx, [rbp + 0xb0]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
xor r8d, r8d
mov r9b, 1
mov rdx, rax
lea rcx, [r15 + 0x15d0]
call fcn.14012f660
call fcn.14016a9d0
xor r9d, r9d
mov r8d, eax
lea edx, [r9 + 4]
mov rcx, qword [r15 + 0x40]
call qword [sym.imp.USER32.dll_SetTimer]
lea rcx, [r15 + 0x378]
call fcn.1402361c0
nop
lea rcx, [rsp + 0x48]
call fcn.140006800
nop
lea rcx, [rsp + 0x20]
call fcn.140006800
nop
lea rcx, [rbp + 0xa8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp + 0xa0]
call fcn.1400075a0
mov al, 1
mov rbx, qword [rsp + 0x1b8]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret