Function at 0x180013390
Capabilities:
Capture screenshot

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x28]
sub rsp, reloc.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov rax, qword [0x1800f1020]
xor rax, rsp
mov qword [rbp + 0x18], rax
mov ebx, r9d
mov dword [rsp + 0x54], ebx
mov r14, r8
mov rsi, rdx
mov r13, rcx
mov qword [rbp - 0x40], rcx
mov eax, dword [rbp + 0x90]
mov dword [rsp + 0x50], eax
mov r12, qword [rbp + 0x98]
mov qword [rsp + 0x70], r12
mov qword [rbp - 0x38], r12
lea rax, [rcx + 0x218]
test rax, rax
je 0x180013409
cmp qword [rax + 8], 0
je 0x180013409
mov rcx, rax
call qword [sym.imp.mfc100u.dll_DDX_FieldLBString]
xor edi, edi
mov qword [rbp + 8], rdi
mov qword [rbp + 0x10], rdi
lea rdx, [rbp + 8]
mov rcx, qword [r13 + 0x40]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, 0xd8
call qword [sym.imp.mfc100u.dll_CTagManager::CTagManager]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x180013444
mov rcx, rax
call qword [sym.imp.mfc100u.dll_CUserToolsManager::CUserToolsManager]
mov r15, rax
jmp 0x180013447
mov r15, rdi
mov qword [rbp - 0x18], rdi
mov dword [rbp - 0x10], ebx
mov eax, dword [rsp + 0x50]
mov dword [rbp - 0xc], eax
mov rax, qword [r15]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], 0x36e5
mov qword [rsp + 0x28], r13
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x20], rcx
mov r9d, 0x40010000
lea r8, [0x1800a3280]
xor edx, edx
mov rcx, r15
call qword [rax + 0xb8]
test eax, eax
je 0x1800139e7
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x20]
mov rcx, r15
call qword [sym.imp.mfc100u.dll_CDocTemplate::LoadTemplate]
mov ecx, 0x48
call qword [sym.imp.mfc100u.dll_CTagManager::CTagManager]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1800134cc
mov rdx, r15
mov rcx, rax
call qword [sym.imp.Hg3DHU.dll_public:_void___cdecl_CHg3DCtrl::constructor_class_CWnd____ptr64____ptr64]
mov rbx, rax
jmp 0x1800134cf
mov rbx, rdi
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x58], 1
lea rdx, [rsp + 0x58]
mov rcx, rbx
call qword [sym.imp.Hg3DHU.dll_public:_void___cdecl_CHg3DCtrl::SetDefaultAction_unsigned_int_const____ptr64____ptr64]
mov qword [rbp - 0x18], rdi
mov eax, dword [rsp + 0x54]
add eax, 4
mov dword [rbp - 0x10], eax
mov eax, dword [rsp + 0x50]
add eax, 4
mov dword [rbp - 0xc], eax
mov rax, qword [rbx]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rdi
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x20], rcx
mov r9d, 0x50000000
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [rax]
mov rcx, rbx
call qword [sym.imp.Hg3DHU.dll_public:_class_CHg3DView____ptr64___cdecl_CHg3DCtrl::GetHg3DView_void____ptr64]
mov rcx, rax
call qword [sym.imp.Hg3DHU.dll_public:_class_CViewSetting____ptr64___cdecl_CHg3DView::GetViewSetting_void_const___ptr64]
mov rcx, rax
xor r8d, r8d
xor edx, edx
call qword [sym.imp.Hg3DHU.dll_public:_void___cdecl_CViewSetting::SetDrawAxis_int__int____ptr64]
mov rcx, rbx
call qword [sym.imp.Hg3DHU.dll_public:_class_CHg3DView____ptr64___cdecl_CHg3DCtrl::GetHg3DView_void____ptr64]
mov rcx, rax
call qword [sym.imp.Hg3DHU.dll_public:_class_CViewSetting____ptr64___cdecl_CHg3DView::GetViewSetting_void_const___ptr64]
mov rcx, rax
xor edx, edx
call qword [sym.imp.Hg3DHU.dll_public:_void___cdecl_CViewSetting::SetSmoothTransition_int____ptr64]
mov dword [rsp + 0x58], 1
mov rcx, rbx
call qword [sym.imp.Hg3DHU.dll_public:_class_CHg3DView____ptr64___cdecl_CHg3DCtrl::GetHg3DView_void____ptr64]
lea rcx, [rax + 0x138]
mov rax, qword [rcx]
lea r8, [rsp + 0x58]
mov edx, 1
call qword [rax + 0x78]
mov r8d, 0xfffffdff
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.Hg3DHU.dll_public:_int___cdecl_CHg3DCtrl::SetConfig_class_CHg3DData____ptr64__unsigned_int____ptr64]
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x20], rdi
mov rcx, rbx
call qword [sym.imp.Hg3DHU.dll_public:_class_CHg3DView____ptr64___cdecl_CHg3DCtrl::GetHg3DView_void____ptr64]
lea rdx, [rbp - 0x28]
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [r15 + 0x40]
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
call qword [sym.imp.mfc100u.dll_CMFCToolBar::FindDropIndex]
mov rsi, rax
mov qword [rsp + 0x58], rax
mov rbx, qword [r14 + 8]
lea rdx, [0x1800a3280]
mov rcx, r12
call qword [sym.imp.mfc100u.dll_CDatabase::Close]
test eax, eax
je 0x1800135f7
inc ebx
lea rcx, [rbp - 0x68]
call qword [sym.imp.mfc100u.dll_CDaoRecordView::CDaoRecordView]
nop
test rsi, rsi
mov rcx, rdi
je 0x18001360e
mov rcx, qword [rsi + 8]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdx, rax
lea rcx, [rbp - 0x68]
call qword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::Append]
mov r8d, dword [rbp - 0x1c]
sub r8d, dword [rbp - 0x24]
mov edx, dword [rbp - 0x20]
sub edx, dword [rbp - 0x28]
imul edx, ebx
mov rcx, qword [rsi + 8]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rsp + 0x60], rax
mov rcx, rax
call qword [sym.imp.mfc100u.dll_CMFCRibbonStatusBar::FindElement]
test rax, rax
mov rdx, rdi
je 0x180013656
mov rdx, qword [rax + 8]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.mfc100u.dll_CDataBoundProperty::RemoveSource]
mov qword [rbp - 0x48], rax
mov r12d, edi
lea rdx, [0x1800a3280]
mov rbx, qword [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.mfc100u.dll_CDatabase::Close]
test eax, eax
je 0x1800137a5
mov rbx, qword [rbx]
call qword [sym.imp.mfc100u.dll_AfxFailMaxChars]
mov dword [rsp + 0x28], CBaseTabbedPane::OnChangeActiveTab
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rax + 0x10]
call qword [sym.imp.USER32.dll_LoadImageW]
mov r12, rax
lea rcx, [rbp - 0x18]
call qword [sym.imp.mfc100u.dll_CDaoRecordView::CDaoRecordView]
nop
mov rcx, qword [rsi + 8]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdx, rax
lea rcx, [rbp - 0x18]
call qword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::Append]
mov rcx, r12
call qword [sym.imp.mfc100u.dll_CMFCRibbonStatusBar::FindElement]
test rax, rax
mov rdx, rdi
je 0x1800136e6
mov rdx, qword [rax + 8]
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.mfc100u.dll_CDataBoundProperty::RemoveSource]
mov rbx, rax
mov rcx, r12
call qword [sym.imp.mfc100u.dll_CMFCRibbonStatusBar::FindElement]
lea r8, [rsp + 0x78]
mov edx, 0x20
mov rcx, qword [rax + 8]
call qword [sym.imp.GDI32.dll_GetObjectW]
mov r9d, dword [rbp - 0x20]
sub r9d, dword [rbp - 0x28]
mov ecx, r9d
sub ecx, dword [rsp + 0x7c]
test ecx, ecx
jle 0x18001372c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
mov r10d, dword [rbp - 0x1c]
sub r10d, dword [rbp - 0x24]
mov r8d, r10d
sub r8d, dword [rbp - 0x80]
test r8d, r8d
jle 0x18001374b
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r10d
mov edx, ecx
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.GDI32.dll_BitBlt]
test rbx, rbx
mov rdx, rdi
je 0x180013781
mov rdx, qword [rbx + 8]
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.mfc100u.dll_CDataBoundProperty::RemoveSource]
lea rcx, [rbp - 0x18]
call qword [sym.imp.mfc100u.dll_DDX_FieldLBIndex]
mov r12d, 1
lea rcx, [rbp - 0x18]
call qword [sym.imp.mfc100u.dll_CCommandLineInfo::CCommandLineInfo]
mov esi, edi
mov rax, qword [r14 + 8]
mov rbx, rdi
test eax, eax
jle 0x1800138f2
lea rcx, vtable.CBitmap.0
nop dword [rax]
cmp rbx, rax
jae 0x1800138e7
mov rax, qword [r14]
mov r9, qword [rax + rbx*8]
test r9, r9
je 0x1800138d1
mov qword [rbp - 0x10], rdi
mov qword [rbp - 0x18], rcx
lea rax, [rbp - 0x18]
mov qword [rsp + 0x20], rax
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x58]
mov rcx, r13
call sym.Hg3DUiHU.dll_private:_int___cdecl_CHg3DEntityDragListCtrl::MakeBitmapFromEtt_class_CDC____ptr64__class_CHg3DCtrl____ptr64__class_CEttBase____ptr64__class_CBitmap____ptr64____ptr64
test eax, eax
je 0x1800138b6
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc100u.dll_CDaoRecordView::CDaoRecordView]
nop
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdx, rax
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::Append]
mov rdx, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.mfc100u.dll_CDataBoundProperty::RemoveSource]
mov r13, rax
mov r8d, dword [rbp - 0x1c]
sub r8d, dword [rbp - 0x24]
mov r9d, dword [rbp - 0x20]
sub r9d, dword [rbp - 0x28]
mov edx, r9d
imul edx, r12d
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov rcx, qword [rbp - 0x80]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r8d
xor r8d, r8d
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.GDI32.dll_BitBlt]
test r13, r13
mov rdx, rdi
je 0x180013887
mov rdx, qword [r13 + 8]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.mfc100u.dll_CDataBoundProperty::RemoveSource]
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc100u.dll_DDX_FieldLBIndex]
lea rcx, [rbp - 0x18]
call qword [sym.imp.mfc100u.dll_DDX_FieldText_1]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc100u.dll_CCommandLineInfo::CCommandLineInfo]
mov r13, qword [rbp - 0x40]
lea rax, vtable.CBitmap.0
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x18]
call fcn.180013b70
lea rcx, vtable.CBitmap.0
inc esi
inc rbx
inc r12d
mov rax, qword [r14 + 8]
cmp esi, eax
jl 0x1800137c0
jmp 0x1800138f2
mov ecx, 0x80070057
call fcn.180003950
int3
mov rax, qword [rbp - 0x48]
test rax, rax
mov rdx, rdi
je 0x180013902
mov rdx, qword [rax + 8]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.mfc100u.dll_CDataBoundProperty::RemoveSource]
lea rcx, [rbp - 0x68]
call qword [sym.imp.mfc100u.dll_DDX_FieldLBIndex]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 2
mov r9d, 0x21
mov r8d, dword [rsp + 0x50]
mov edx, dword [rsp + 0x54]
lea rcx, [r13 + 0x218]
call qword [sym.imp.mfc100u.dll_COleSafeArray::Copy]
mov r12, qword [rsp + 0x60]
mov rcx, r12
call qword [sym.imp.mfc100u.dll_CMFCRibbonStatusBar::FindElement]
test rax, rax
je 0x180013959
mov rdi, qword [rax + 8]
mov rbx, qword [r13 + reloc.mfc100u.dll_CMFCMenuBar::CMFCMenuBar]
call qword [sym.imp.mfc100u.dll_AfxFailMaxChars]
mov rcx, qword [rax + 0x100]
mov r8, rdi
mov rdx, rbx
mov rcx, qword [rcx]
call fcn.180013a10
mov r11, qword [r15]
mov rcx, r15
call qword [r11 + 0xd0]
mov r11, qword [r15]
mov edx, 1
mov rcx, r15
call qword [r11 + reloc.WS2_32.dll_htonl]
mov rax, qword [rsp + 0x68]
mov r11, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r11 + reloc.WS2_32.dll_htonl]
mov r9d, dword [rbp - 0x1c]
sub r9d, dword [rbp - 0x24]
mov r8d, dword [rbp - 0x20]
sub r8d, dword [rbp - 0x28]
lea rdx, [r13 + 0x218]
mov rcx, r13
call qword [sym.imp.HgUiU.dll_public:_int___cdecl_CHgDragListCtrl::SetImageList_class_CImageList____ptr64__int__int____ptr64]
mov rcx, r12
call qword [sym.imp.GDI32.dll_DeleteObject]
nop
lea rcx, [rbp - 0x68]
call qword [sym.imp.mfc100u.dll_CCommandLineInfo::CCommandLineInfo]
nop
mov rcx, qword [rsp + 0x70]
jmp 0x1800139ea
mov rcx, r12
call qword [sym.imp.mfc100u.dll_CWinApp::CWinApp]
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.180030d20
add rsp, reloc.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret