Function at 0x140259880
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x320
mov qword [rsp + 0x2f0], 0xfffffffffffffffe
mov rax, qword [0x1404f5550]
xor rax, rsp
mov qword [rsp + reloc.mfc90u.dll_CUIntArray::CUIntArray], rax
mov rax, qword [rsp + 0x330]
cmp dword [rax + 0x198], 0
jle 0x140259a00
mov dword [rsp + 0x58], 0
jmp 0x1402598d5
mov eax, dword [rsp + 0x58]
add eax, 1
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x330]
mov eax, dword [rax + 0x198]
cmp dword [rsp + 0x58], eax
jge 0x140259a00
mov rax, qword [rsp + 0x330]
mov rax, qword [rax + 0x1e0]
mov qword [rsp + 0x2d0], rax
mov eax, dword [rsp + 0x2d0]
sub eax, 1
mov dword [rsp + 0x5c], eax
movsxd rax, dword [rsp + 0x5c]
mov qword [rsp + reloc.mfc90u.dll_CPaintDC::CPaintDC], rax
mov rax, qword [rsp + 0x330]
add rax, 0x1d0
mov qword [rsp + 0x2e0], rax
cmp qword [rsp + reloc.mfc90u.dll_CPaintDC::CPaintDC], 0
jl 0x140259978
mov rax, qword [rsp + 0x2e0]
mov rax, qword [rax + 0x10]
cmp qword [rsp + reloc.mfc90u.dll_CPaintDC::CPaintDC], rax
jge 0x140259978
mov rcx, qword [rsp + 0x2e0]
mov rcx, qword [rcx + 8]
mov rax, qword [rsp + reloc.mfc90u.dll_CPaintDC::CPaintDC]
lea rax, [rcx + rax*8]
mov qword [rsp + reloc.mfc90u.dll_COleDocument::COleDocument], rax
jmp 0x14025997d
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rax, qword [rsp + reloc.mfc90u.dll_COleDocument::COleDocument]
mov rax, qword [rax]
mov qword [rsp + reloc.mfc90u.dll_CFileDialog::CFileDialog], rax
mov rax, qword [rsp + reloc.mfc90u.dll_CFileDialog::CFileDialog]
mov qword [rsp + 0x290], rax
cmp qword [rsp + 0x290], 0
je 0x1402599d0
mov rax, qword [rsp + 0x290]
mov rax, qword [rax]
mov edx, 1
mov rcx, qword [rsp + 0x290]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rsp + reloc.mfc90u.dll_CRecentFileList::CRecentFileList], rax
jmp 0x1402599dc
mov qword [rsp + reloc.mfc90u.dll_CRecentFileList::CRecentFileList], 0
movsxd rdx, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x330]
add rcx, 0x1d0
mov r8d, 1
call fcn.1402517f0
jmp 0x1402598ca
mov rax, qword [rsp + 0x330]
mov dword [rax + 0x198], 0
mov rcx, qword [rsp + 0x330]
call fcn.14025be20
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140259a31
jmp 0x140259e5c
mov rcx, qword [rsp + 0x38]
call sub.mfc90u.dll_CDialog::GetThisClass
mov rbx, rax
call fcn.140202d20
mov rdx, rbx
mov rcx, rax
call sub.mfc90u.dll_AfxCheckError
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x140259a60
jmp 0x140259e5c
mov dword [rsp + 0x40], 9
mov edx, 5
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x190]
call qword [sym.imp.USER32.dll_GetWindow]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x30], 0
jmp 0x140259aa1
mov eax, dword [rsp + 0x30]
add eax, 1
mov dword [rsp + 0x30], eax
cmp qword [rsp + 0x48], 0
je 0x140259d36
cmp dword [rsp + 0x30], 9
jge 0x140259d36
mov rcx, qword [rsp + 0x48]
call sub.mfc90u.dll_CDaoDatabase::Execute
mov rbx, rax
call fcn.140277b10
mov rdx, rbx
mov rcx, rax
call sub.mfc90u.dll_AfxCheckError
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x140259af9
mov edx, 2
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_GetWindow]
mov qword [rsp + 0x48], rax
jmp 0x140259a96
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
call qword [rax + 0x378]
test eax, eax
jne 0x140259b2a
mov edx, 2
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_GetWindow]
mov qword [rsp + 0x48], rax
jmp 0x140259a96
cmp dword [rsp + 0x30], 0
jne 0x140259bda
mov ecx, new[]
call fcn.1403c089a
mov qword [rsp + reloc.mfc90u.dll_CHtmlEditCtrl::CHtmlEditCtrl], rax
cmp qword [rsp + reloc.mfc90u.dll_CHtmlEditCtrl::CHtmlEditCtrl], 0
je 0x140259b6e
mov edx, 1
mov rcx, qword [rsp + reloc.mfc90u.dll_CHtmlEditCtrl::CHtmlEditCtrl]
call fcn.14025afd0
mov qword [rsp + reloc.mfc90u.dll_CScrollView::CScrollView], rax
jmp 0x140259b7a
mov qword [rsp + reloc.mfc90u.dll_CScrollView::CScrollView], 0
mov rax, qword [rsp + reloc.mfc90u.dll_CScrollView::CScrollView]
mov qword [rsp + 0x2a0], rax
mov rax, qword [rsp + 0x2a0]
mov qword [rsp + 0x280], rax
mov rax, qword [rsp + 0x280]
mov dword [rax + 0xcc], 1
mov r8d, 0xffffffff
mov rdx, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x330]
call fcn.140257bd0
mov r11, qword [rsp + 0x330]
mov dword [r11 + 0x198], 1
mov r8d, SerializeElements<class ATL::CStringT<wchar_t,class StrTraitMFC_DLL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > > >
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rcx, [rsp + 0x68]
call qword [0x140409500]
nop
mov r8d, dword [rsp + 0x30]
add r8d, 1
lea r9, [rsp + 0x80]
lea rdx, str._d__s
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc90u.dll_COleServerDoc::XOleObject::EnumAdvise]
mov ecx, COleSafeArray::COleSafeArray
call fcn.1403c089a
mov qword [rsp + 0x2b8], rax
cmp qword [rsp + 0x2b8], 0
je 0x140259c7f
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0xffffffff
mov r9d, 0xffffffff
mov r8, rax
mov edx, 0xff00
mov rcx, qword [rsp + 0x2b8]
call fcn.140251a80
mov qword [rsp + 0x308], rax
jmp 0x140259c8b
mov qword [rsp + 0x308], 0
mov rax, qword [rsp + 0x308]
mov qword [rsp + reloc.mfc90u.dll_CInternetException::CInternetException], rax
mov rax, qword [rsp + reloc.mfc90u.dll_CInternetException::CInternetException]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x48]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x70]
mov dword [rax + 0xcc], 1
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x330]
mov rax, qword [rax + 0x60]
mov qword [rcx + 0x60], rax
mov r8d, 0xffffffff
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x330]
call fcn.140257bd0
mov edx, 2
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_GetWindow]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x330]
mov ecx, dword [rax + 0x198]
add ecx, 1
mov rax, qword [rsp + 0x330]
mov dword [rax + 0x198], ecx
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc90u.dll_CView::CView]
jmp 0x140259a96
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x4568], 0
je 0x140259e5c
cmp dword [rsp + 0x30], 9
je 0x140259d61
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x4578], 0
je 0x140259e5c
mov ecx, COleSafeArray::COleSafeArray
call fcn.1403c089a
mov qword [rsp + 0x2c8], rax
cmp qword [rsp + 0x2c8], 0
je 0x140259dcb
mov rcx, qword [rsp + 0x50]
add rcx, 0x4570
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0xffffffff
mov r9d, 0xffffffff
mov r8, rax
mov rax, qword [rsp + 0x50]
mov edx, dword [rax + 0x4568]
mov rcx, qword [rsp + 0x2c8]
call fcn.140251a80
mov qword [rsp + 0x310], rax
jmp 0x140259dd7
mov qword [rsp + 0x310], 0
mov rax, qword [rsp + 0x310]
mov qword [rsp + reloc.mfc90u.dll_CMiniFrameWnd::CMiniFrameWnd], rax
mov rax, qword [rsp + reloc.mfc90u.dll_CMiniFrameWnd::CMiniFrameWnd]
mov qword [rsp + reloc.mfc90u.dll_CDocObjectServerItem::CDocObjectServerItem], rax
mov rax, qword [rsp + reloc.mfc90u.dll_CDocObjectServerItem::CDocObjectServerItem]
mov dword [rax + 0xcc], 1
mov rcx, qword [rsp + reloc.mfc90u.dll_CDocObjectServerItem::CDocObjectServerItem]
mov rax, qword [rsp + 0x330]
mov rax, qword [rax + 0x60]
mov qword [rcx + 0x60], rax
mov r8d, 0xffffffff
mov rdx, qword [rsp + reloc.mfc90u.dll_CDocObjectServerItem::CDocObjectServerItem]
mov rcx, qword [rsp + 0x330]
call fcn.140257bd0
mov r11, qword [rsp + 0x330]
mov ecx, dword [r11 + 0x198]
add ecx, 1
mov rax, qword [rsp + 0x330]
mov dword [rax + 0x198], ecx
mov rcx, qword [rsp + reloc.mfc90u.dll_CUIntArray::CUIntArray]
xor rcx, rsp
call fcn.1403c2380
add rsp, 0x320
pop rbx
ret