Function at 0x140137d70
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x6a8
mov qword [rsp + 0x5f0], 0xfffffffffffffffe
mov rax, qword [0x1404e41f8]
xor rax, rsp
mov qword [rsp + CHtmlView::Create], rax
mov rax, qword [rsp + 0x6b0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x6b0]
call qword [rax + COleVariant::operator=]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x6b0]
cmp qword [rax + 0x15a8], 0
je 0x140137edf
mov rax, qword [rsp + 0x6b0]
cmp qword [rax + 0x1b8], 0
jne 0x140137e08
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x6b0]
mov rdx, qword [rdx + 0x15a8]
lea rcx, [0x1404e8a80]
call fcn.140212810
test eax, eax
jne 0x140137edf
cmp dword [0x1404e6654], 0
jne 0x140137e37
cmp dword [0x1404de458], 0
je 0x140137e37
lea rcx, [0x1404e7560]
call fcn.1402b44e0
test eax, eax
je 0x140137e37
mov dword [rsp + 0x5f8], 0
jmp 0x140137e42
mov dword [rsp + 0x5f8], 1
cmp dword [rsp + 0x5f8], 0
je 0x140137e81
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov r8d, 1
mov rdx, qword [rsp + 0x6b0]
mov rdx, qword [rdx + 0x15a8]
mov rcx, qword [rsp + 0x38]
call qword [rax + 0x838]
test eax, eax
jne 0x140137e7f
xor eax, eax
jmp 0x1401389d7
jmp 0x140137edf
mov rcx, qword [rsp + 0x6b0]
call fcn.1401389f0
test eax, eax
jne 0x140137e9f
mov dword [rsp + 0x5fc], 1
jmp 0x140137eaa
mov dword [rsp + 0x5fc], 0
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov r8d, dword [rsp + 0x5fc]
mov rdx, qword [rsp + 0x6b0]
mov rdx, qword [rdx + 0x15a8]
mov rcx, qword [rsp + 0x38]
call qword [rax + 0x838]
test eax, eax
jne 0x140137edf
xor eax, eax
jmp 0x1401389d7
call sub.mfc90u.dll_AfxFailMaxChars
mov rax, qword [rax + 8]
mov qword [rsp + CRecordset::BuildSQL], rax
mov rax, qword [rsp + 0x580]
mov rax, qword [rax + 0x110]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14013838f
cmp dword [0x1404e6674], 0
jne 0x14013838f
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x50], 0
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x10d0]
mov qword [rsp + CMiniFrameWnd::CalcBorders], rax
mov rax, qword [rsp + 0x588]
mov qword [rsp + 0x48], rax
jmp 0x140137f5b
mov eax, dword [rsp + 0x54]
add eax, 1
mov dword [rsp + 0x54], eax
cmp qword [rsp + 0x48], 0
je 0x14013838f
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + reloc.mfc90u.dll_CReBar::CalcDynamicLayout], rax
cmp qword [rsp + reloc.mfc90u.dll_CReBar::CalcDynamicLayout], 0
jne 0x140137f8e
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rax, qword [rsp + reloc.mfc90u.dll_CReBar::CalcDynamicLayout]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + reloc.mfc90u.dll_CReBar::CalcDynamicLayout]
add rax, 0x10
mov qword [rsp + CStatusBar::CalcInsideRect], rax
mov rax, qword [rsp + 0x598]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
cmp dword [rax + 0xc], 0xe110
jne 0x14013837b
mov rcx, qword [rsp + 0x58]
add rcx, 0x18
lea rdx, [0x1404297b0]
call qword [sym.imp.mfc90u.dll_CDaoTableDef::classCDaoTableDef]
test eax, eax
jne 0x140137ffb
mov dword [rsp + 0x600], 1
jmp 0x140138006
mov dword [rsp + 0x600], 0
movzx eax, byte [rsp + 0x600]
test eax, eax
je 0x14013837b
mov rcx, qword [rsp + 0x38]
add rcx, 0x10c8
mov rdx, qword [rsp + 0x60]
call sub.mfc90u.dll_CCommandLineInfo::ParseParam
mov rax, qword [rsp + 0x58]
mov qword [rsp + reloc.mfc90u.dll_CPaintDC::CPaintDC], rax
mov rax, qword [rsp + reloc.mfc90u.dll_CPaintDC::CPaintDC]
mov qword [rsp + 0x2e0], rax
cmp qword [rsp + 0x2e0], 0
je 0x140138079
mov rax, qword [rsp + 0x2e0]
mov rax, qword [rax]
mov edx, 1
mov rcx, qword [rsp + 0x2e0]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rsp + 0x608], rax
jmp 0x140138085
mov qword [rsp + CFile::Close], 0
lea rdx, [rsp + 0x70]
mov ecx, SerializeElements<class ATL::CStringT<wchar_t,class StrTraitMFC_DLL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > > >
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [rsp + 0x284], eax
movsxd rcx, dword [rsp + 0x284]
mov eax, 0x5c
mov word [rsp + rcx*2 + 0x70], ax
mov eax, dword [rsp + 0x284]
add eax, 1
mov dword [rsp + 0x284], eax
movsxd rcx, dword [rsp + 0x284]
xor eax, eax
mov word [rsp + rcx*2 + 0x70], ax
mov dword [rsp + 0x280], 0
mov dword [rsp + reloc.mfc90u.dll_CDocObjectServerItem::CDocObjectServerItem], 0
jmp 0x140138102
mov eax, dword [rsp + reloc.mfc90u.dll_CDocObjectServerItem::CDocObjectServerItem]
add eax, 1
mov dword [rsp + reloc.mfc90u.dll_CDocObjectServerItem::CDocObjectServerItem], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
mov dword [rsp + 0x5a0], eax
mov eax, dword [rsp + 0x5a0]
cmp dword [rsp + reloc.mfc90u.dll_CDocObjectServerItem::CDocObjectServerItem], eax
jge 0x14013827b
lea rcx, [rsp + 0x290]
call qword [0x1403f4428]
nop
mov r10, qword [rsp + 0x30]
mov r10, qword [r10]
mov dword [rsp + 0x28], 1
mov eax, dword [rsp + 0x284]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x70]
mov r8d, dword [rsp + reloc.mfc90u.dll_CDocObjectServerItem::CDocObjectServerItem]
lea rdx, [rsp + 0x290]
mov rcx, qword [rsp + 0x30]
call qword [r10 + reloc.WS2_32.dll_recv]
test eax, eax
je 0x140138268
lea rcx, [rsp + reloc.mfc90u.dll_CFileDialog::CFileDialog]
call qword [0x1403f4428]
nop
mov eax, dword [rsp + 0x280]
add eax, 1
mov dword [rsp + 0x280], eax
mov r9, qword [rsp + 0x290]
mov r8d, dword [rsp + 0x280]
lea rdx, str._d__s
lea rcx, [rsp + reloc.mfc90u.dll_CFileDialog::CFileDialog]
call qword [sym.imp.mfc90u.dll_COleServerDoc::XOleObject::EnumAdvise]
movsxd rax, dword [rsp + 0x54]
mov qword [rsp + reloc.mfc90u.dll_CFile::Close], rax
lea rcx, [rsp + reloc.mfc90u.dll_CFileDialog::CFileDialog]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov edx, dword [rsp + reloc.mfc90u.dll_CDocObjectServerItem::CDocObjectServerItem]
add edx, 0xe110
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
xor r8d, r8d
lea rcx, [rsp + 0x2f0]
call fcn.1401da1d0
mov qword [rsp + CSocket::Close], rax
mov rax, qword [rsp + 0x618]
mov qword [rsp + 0x620], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov r8, qword [rsp + reloc.mfc90u.dll_CFile::Close]
mov rdx, qword [rsp + 0x620]
mov rcx, qword [rsp + 0x38]
call qword [rax + reloc.mfc90u.dll_COleTemplateServer::ConnectTemplate]
mov eax, dword [rsp + 0x54]
add eax, 1
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0x2f0]
call fcn.1401da430
nop
lea rcx, [rsp + reloc.mfc90u.dll_CFileDialog::CFileDialog]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x290]
call qword [sym.imp.mfc90u.dll_CView::CView]
jmp 0x1401380f1
cmp dword [rsp + 0x280], 0
jne 0x140138379
cmp dword [rsp + 0x50], 0
je 0x140138379
cmp qword [rsp + 0x48], 0
je 0x140138379
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + CDragListBox::CancelDrag], rax
cmp qword [rsp + 0x5a8], 0
jne 0x1401382c7
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rax, qword [rsp + 0x5a8]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x5a8]
add rax, 0x10
mov qword [rsp + COleServerDoc::CanCloseFrame], rax
mov rax, qword [rsp + 0x5b0]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x10]
and eax, 1
test eax, eax
je 0x140138379
mov rcx, qword [rsp + 0x38]
add rcx, 0x10c8
mov rdx, qword [rsp + 0x60]
call sub.mfc90u.dll_CCommandLineInfo::ParseParam
mov rax, qword [rsp + 0x58]
mov qword [rsp + AfxCheckError], rax
mov rax, qword [rsp + 0x428]
mov qword [rsp + AfxA2WHelper], rax
cmp qword [rsp + 0x420], 0
je 0x14013836d
mov rax, qword [rsp + 0x420]
mov rax, qword [rax]
mov edx, 1
mov rcx, qword [rsp + 0x420]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rsp + reloc.mfc90u.dll_CThemeHelper::CloseThemeData], rax
jmp 0x140138379
mov qword [rsp + reloc.mfc90u.dll_CThemeHelper::CloseThemeData], 0
jmp 0x14013838f
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x10]
and eax, 1
mov dword [rsp + 0x50], eax
jmp 0x140137f50
cmp qword [0x1404e7de8], 0
je 0x1401388fb
cmp dword [0x1404e6674], 0
jne 0x1401388fb
mov dword [rsp + 0x2a4], 0
mov dword [rsp + 0x2a0], 0
mov dword [rsp + reloc.mfc90u.dll_CHtmlEditCtrl::CHtmlEditCtrl], 0
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x10d0]
mov qword [rsp + CFrameWnd::CanEnterHelpMode], rax
mov rax, qword [rsp + 0x5b8]
mov qword [rsp + 0x48], rax
jmp 0x1401383ff
mov eax, dword [rsp + 0x2a0]
add eax, 1
mov dword [rsp + 0x2a0], eax
cmp qword [rsp + 0x48], 0
je 0x1401388fb
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x2b8], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + CRichEditView::CanPaste], rax
cmp qword [rsp + 0x5c0], 0
jne 0x140138435
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rax, qword [rsp + 0x5c0]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x5c0]
add rax, 0x10
mov qword [rsp + 0x5c8], rax
mov rax, qword [rsp + 0x5c8]
mov rax, qword [rax]
mov qword [rsp + reloc.mfc90u.dll_CInternetException::CInternetException], rax
mov rax, qword [0x1404e7de8]
mov eax, dword [rax + 0x40]
mov dword [rsp + 0x5d0], eax
mov rax, qword [rsp + reloc.mfc90u.dll_CInternetException::CInternetException]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x5d0], eax
jne 0x140138849
mov rax, qword [0x1404e7de8]
add rax, 8
mov qword [rsp + reloc.mfc90u.dll_CMiniFrameWnd::CMiniFrameWnd], rax
cmp dword [0x1404e7678], 0
je 0x1401384e2
mov rax, qword [rsp + reloc.mfc90u.dll_CMiniFrameWnd::CMiniFrameWnd]
cmp qword [rax + 0x18], 0
jne 0x1401384cd
mov dword [rsp + CDaoWorkspace::CommitTrans], 1
jmp 0x1401384d8
mov dword [rsp + CDaoWorkspace::CommitTrans], 0
cmp dword [rsp + 0x630], 0
jne 0x140138557
mov rcx, qword [rsp + 0x38]
add rcx, 0x10c8
mov rdx, qword [rsp + 0x2b8]
call sub.mfc90u.dll_CCommandLineInfo::ParseParam
mov rax, qword [rsp + reloc.mfc90u.dll_CInternetException::CInternetException]
mov qword [rsp + reloc.mfc90u.dll_AfxCriticalNewHandler], rax
mov rax, qword [rsp + reloc.mfc90u.dll_AfxCriticalNewHandler]
mov qword [rsp + reloc.mfc90u.dll_AfxCompareValueByRef], rax
cmp qword [rsp + reloc.mfc90u.dll_AfxCompareValueByRef], 0
je 0x14013854b
mov rax, qword [rsp + reloc.mfc90u.dll_AfxCompareValueByRef]
mov rax, qword [rax]
mov edx, 1
mov rcx, qword [rsp + reloc.mfc90u.dll_AfxCompareValueByRef]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rsp + CWinThread::CommonConstruct], rax
jmp 0x140138557
mov qword [rsp + CWinThread::CommonConstruct], 0
cmp dword [rsp + 0x2a4], 0
jne 0x140138844
cmp dword [rsp + reloc.mfc90u.dll_CHtmlEditCtrl::CHtmlEditCtrl], 0
jne 0x140138611
mov rax, qword [rsp + reloc.mfc90u.dll_CMiniFrameWnd::CMiniFrameWnd]
cmp qword [rax + 0x18], 0
jne 0x14013858f
mov dword [rsp + ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > >::CompareNoCase], 1
jmp 0x14013859a
mov dword [rsp + ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > >::CompareNoCase], 0
cmp dword [rsp + 0x640], 0
jne 0x140138611
mov rax, qword [rsp + 0x38]
cmp qword [rax + 0x10e0], 0
jne 0x1401385c0
mov dword [rsp + reloc.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CompareNoCase], 1
jmp 0x1401385cb
mov dword [rsp + reloc.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CompareNoCase], 0
cmp dword [rsp + reloc.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CompareNoCase], 0
jne 0x140138611
movsxd rax, dword [rsp + 0x2a0]
mov qword [rsp + CSocket::ConnectHelper], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x648]
mov rcx, qword [rsp + 0x38]
call qword [rax + CPropertyPage::Construct]
mov eax, dword [rsp + 0x2a0]
add eax, 1
mov dword [rsp + 0x2a0], eax
mov rax, qword [rsp + reloc.mfc90u.dll_CMiniFrameWnd::CMiniFrameWnd]
mov rax, qword [rax + 8]
mov qword [rsp + CCheckListBox::CheckFromPoint], rax
mov rax, qword [rsp + 0x5d8]
mov qword [rsp + 0x2c8], rax
cmp qword [rsp + 0x2c8], 0
je 0x1401387c9
mov rax, qword [rsp + 0x2c8]
mov qword [rsp + 0x5e0], rax
cmp qword [rsp + 0x5e0], 0
jne 0x140138664
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rax, qword [rsp + 0x5e0]
mov rax, qword [rax]
mov qword [rsp + 0x2c8], rax
mov rax, qword [rsp + 0x5e0]
mov rax, qword [rax + 0x10]
mov qword [rsp + reloc.mfc90u.dll_COleDocument::COleDocument], rax
mov rax, qword [rsp + reloc.mfc90u.dll_COleDocument::COleDocument]
mov eax, dword [rax + 0x20]
mov dword [rsp + reloc.mfc90u.dll_CDaoTableDef::classCDaoTableDef], eax
call fcn.140209b90
mov r8d, 1
mov edx, dword [rsp + reloc.mfc90u.dll_CDaoTableDef::classCDaoTableDef]
mov rcx, rax
call fcn.140209dd0
mov dword [rsp + 0x2d0], eax
cmp dword [rsp + 0x2d0], 0xffffffff
je 0x1401386d5
mov dword [rsp + reloc.mfc90u.dll_COleTemplateServer::ConnectTemplate], 1
jmp 0x1401386e0
mov dword [rsp + reloc.mfc90u.dll_COleTemplateServer::ConnectTemplate], 0
cmp dword [rsp + 0x2d0], 0xffffffff
jne 0x1401386f7
mov dword [rsp + reloc.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Construct], 0
jmp 0x140138705
mov eax, dword [rsp + 0x2d0]
mov dword [rsp + reloc.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Construct], eax
movsxd rax, dword [rsp + 0x2a0]
mov qword [rsp + CPropertyPage::Construct], rax
mov rax, qword [rsp + reloc.mfc90u.dll_COleDocument::COleDocument]
mov eax, dword [rax + 0x20]
mov dword [rsp + reloc.mfc90u.dll_CLongBinary::classCLongBinary], eax
mov rcx, qword [rsp + reloc.mfc90u.dll_COleDocument::COleDocument]
add rcx, 8
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov r11, rax
mov eax, dword [rsp + reloc.mfc90u.dll_COleTemplateServer::ConnectTemplate]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r11
mov r9d, dword [rsp + reloc.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Construct]
xor r8d, r8d
mov edx, dword [rsp + reloc.mfc90u.dll_CLongBinary::classCLongBinary]
lea rcx, [rsp + 0x440]
call fcn.1401da1d0
mov qword [rsp + reloc.mfc90u.dll_COleServerDoc::XOleInPlaceActiveObject::ContextSensitiveHelp], rax
mov rax, qword [rsp + reloc.mfc90u.dll_COleServerDoc::XOleInPlaceActiveObject::ContextSensitiveHelp]
mov qword [rsp + reloc.mfc90u.dll_CPropertySheet::ContinueModal], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov r8, qword [rsp + 0x658]
mov rdx, qword [rsp + reloc.mfc90u.dll_CPropertySheet::ContinueModal]
mov rcx, qword [rsp + 0x38]
call qword [rax + reloc.mfc90u.dll_COleTemplateServer::ConnectTemplate]
mov eax, dword [rsp + 0x2a0]
add eax, 1
mov dword [rsp + 0x2a0], eax
lea rcx, [rsp + 0x440]
call fcn.1401da430
jmp 0x140138635
cmp qword [rsp + 0x48], 0
je 0x140138839
movsxd rax, dword [rsp + 0x2a0]
mov qword [rsp + 0x670], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x670]
mov rcx, qword [rsp + 0x38]
call qword [rax + CPropertyPage::Construct]
mov ecx, eax
mov eax, dword [rsp + 0x2a0]
add eax, 1
mov dword [rsp + 0x2a0], eax
test ecx, ecx
jl 0x140138820
mov dword [rsp + COleServerItem::CopyToClipboard], 1
jmp 0x14013882b
mov dword [rsp + COleServerItem::CopyToClipboard], 0
mov eax, dword [rsp + 0x678]
mov dword [rsp + reloc.mfc90u.dll_CHtmlEditCtrl::CHtmlEditCtrl], eax
mov dword [rsp + 0x2a4], 1
jmp 0x1401388f6
mov rax, qword [rsp + reloc.mfc90u.dll_CInternetException::CInternetException]
mov eax, dword [rax + 0x10]
and eax, 1
test eax, eax
je 0x1401388eb
cmp dword [rsp + reloc.mfc90u.dll_CHtmlEditCtrl::CHtmlEditCtrl], 0
je 0x1401388de
mov rcx, qword [rsp + 0x38]
add rcx, 0x10c8
mov rdx, qword [rsp + 0x2b8]
call sub.mfc90u.dll_CCommandLineInfo::ParseParam
mov rax, qword [rsp + reloc.mfc90u.dll_CInternetException::CInternetException]
mov qword [rsp + CDaoRecordset::BuildSelectList], rax
mov rax, qword [rsp + 0x578]
mov qword [rsp + CRecordset::BindParams], rax
cmp qword [rsp + 0x570], 0
je 0x1401388d2
mov rax, qword [rsp + 0x570]
mov rax, qword [rax]
mov edx, 1
mov rcx, qword [rsp + 0x570]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rsp + CComboBox::Create], rax
jmp 0x1401388de
mov qword [rsp + CComboBox::Create], 0
mov dword [rsp + reloc.mfc90u.dll_CHtmlEditCtrl::CHtmlEditCtrl], 1
jmp 0x1401388f6
mov dword [rsp + reloc.mfc90u.dll_CHtmlEditCtrl::CHtmlEditCtrl], 0
jmp 0x1401383ee
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x38]
call qword [rax + 0x758]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140138932
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
call qword [rax + 0x260]
test eax, eax
jne 0x140138944
mov rcx, qword [rsp + 0x6b0]
call fcn.1400deb20
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140138967
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
call qword [rax + 0x460]
cmp qword [0x1404e8078], 0
jne 0x140138988
mov rcx, qword [rsp + 0x6b0]
call sub.mfc90u.dll_CDialog::GetThisClass
mov qword [rsp + CDockBar::Create], rax
jmp 0x140138997
mov rax, qword [0x1404e8078]
mov qword [rsp + CDockBar::Create], rax
mov rdx, qword [rsp + 0x6b0]
mov rcx, qword [rsp + 0x688]
call fcn.140136cc0
test eax, eax
jne 0x1401389b4
xor eax, eax
jmp 0x1401389d7
mov rax, qword [rsp + 0x6b0]
mov rax, qword [rax]
mov edx, 1
mov rcx, qword [rsp + 0x6b0]
call qword [rax + reloc.mfc90u.dll_CInternetException::CInternetException]
mov eax, 1
mov rcx, qword [rsp + 0x690]
xor rcx, rsp
call fcn.1403addc0
add rsp, 0x6a8
ret