Function at 0x1800250b0
Capabilities:
Capture screenshot

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x48]
sub rsp, 0x148
mov qword [rbp + 0x10], 0xfffffffffffffffe
movaps xmmword [rsp + 0x130], xmm6
mov rax, qword [0x1800f1020]
xor rax, rsp
mov qword [rbp + 0x28], rax
mov qword [rsp + 0x58], r9
mov rbx, rcx
mov r15, qword [rbp + 0xb0]
mov rax, qword [rbp + 0xb8]
mov qword [rbp - 8], rax
mov r9, r15
call sym.Hg3DUiHU.dll_private:_void___cdecl_CHgImageBoxCtrl::CreateViews_class_CHg3DData____ptr64__class_CWnd____ptr64__class_CRect_const____ptr64____ptr64
mov rcx, qword [rbx + 0x140]
mov r14, qword [rbx + 0x148]
test rcx, rcx
je 0x1800255bc
test r14, r14
je 0x1800255bc
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
call qword [sym.imp.mfc100u.dll_CMFCToolBar::FindDropIndex]
mov rdi, rax
mov qword [rsp + 0x60], rax
mov rcx, r14
call qword [sym.imp.Hg3DHU.dll_public:_class_CHg3DData____ptr64___cdecl_CHg3DCtrl::GetHg3DData_void____ptr64]
mov r12, rax
test rax, rax
je 0x1800255bc
xor esi, esi
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], rsi
mov dword [rbp - 0x50], esi
mov r13d, esi
mov rcx, qword [rbp + 0xc0]
cmp dword [rcx], r13d
je 0x1800252d1
mov dword [rsp + 0x50], esi
movsd xmm0, qword [0x1800aa918]
movsd qword [rsp + 0x78], xmm0
movsd qword [rbp], xmm0
movsd qword [rbp + 8], xmm0
movsd qword [rbp - 0x80], xmm0
movsd qword [rsp + 0x68], xmm0
movsd qword [rsp + 0x70], xmm0
lea r9, [rsp + 0x78]
lea r8, [rbp]
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x48]
call fcn.1800393d0
mov rdi, rax
lea r9, [rbp - 0x80]
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x28]
call fcn.1800393d0
mov rbx, rax
mov rcx, r14
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
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, rdi
mov rdx, rbx
call qword [sym.imp.Hg3DHU.dll_public:_void___cdecl_CViewSetting::SetColorViewBackground_class_CHgColor_const____ptr64__class_CHgColor_const____ptr64__int__enum_CViewSetting::nDView_const____ptr64____ptr64]
nop
lea rcx, [rbp - 0x28]
call fcn.180039510
nop
lea rcx, [rbp - 0x48]
call fcn.180039510
mov dword [rsp + 0x50], esi
mov rax, qword [r12]
lea r9, [rsp + 0x50]
lea r8, [rbp - 0x68]
mov rdx, qword [rsp + 0x58]
mov rcx, r12
call qword [rax + 0xe8]
mov r12d, esi
mov ebx, esi
mov ecx, dword [rbp - 0x60]
test ecx, ecx
jle 0x180025323
xorpd xmm6, xmm6
cmp rbx, qword [rbp - 0x60]
jae 0x1800252c6
mov rax, qword [rbp - 0x68]
mov rdi, qword [rax + rbx*8]
test rdi, rdi
je 0x1800252b9
mov dword [rsp + 0x50], esi
movsd qword [rsp + 0x70], xmm6
movsd qword [rsp + 0x68], xmm6
movsd qword [rbp - 0x80], xmm6
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x48]
call fcn.1800393d0
nop
lea r8, [rsp + 0x50]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.Hg3DEntityHU.dll_public:_static_void___cdecl_IEttBase::SetColor_class_CEttBase____ptr64__class_CHgColor_const____ptr64__int_const____ptr64_]
nop
lea rcx, [rbp - 0x48]
call fcn.180039510
mov rcx, rdi
call qword [sym.imp.Hg3DEntityHU.dll_public:_static_int___cdecl_IEttBase::Create_class_CEttBase____ptr64_]
mov ecx, dword [rbp - 0x60]
inc r12d
inc rbx
cmp r12d, ecx
jl 0x180025252
jmp 0x180025323
mov ecx, 0x80070057
call fcn.180003950
int3
mov rbx, qword [rax]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.Hg3DEntityHU.dll_public:_static_int___cdecl_IEttBase::GetEttType_class_CEttBase_const____ptr64_]
mov edx, eax
mov r8d, 1
mov rcx, r12
call qword [rbx + ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > >::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > >]
mov r13, rax
test rax, rax
jne 0x1800252fd
jmp 0x1800255ad
mov rax, qword [r12]
mov r9d, 1
mov r8, qword [rsp + 0x58]
mov rdx, r13
mov rcx, r12
call qword [rax + 0x148]
mov rcx, r13
call qword [sym.imp.Hg3DEntityHU.dll_public:_static_int___cdecl_IEttBase::Create_class_CEttBase____ptr64_]
jmp 0x180025328
mov rdi, qword [rsp + 0x60]
mov rcx, r14
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:_void___cdecl_CHg3DView::Redraw_void____ptr64]
mov rcx, r14
call qword [sym.imp.Hg3DHU.dll_public:_class_CHg3DView____ptr64___cdecl_CHg3DCtrl::GetHg3DView_void____ptr64]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x480]
mov rcx, r14
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_CSystemSetting____ptr64___cdecl_CHg3DView::GetSystemSetting_void____ptr64]
test rax, rax
je 0x180025377
movsd xmm1, qword [str.ffffff]
mov rcx, rax
call qword [sym.imp.Hg3DEntityHU.dll_public:_void___cdecl_CSystemSettingBase::SetRatioZoomInOut_double____ptr64]
mov rcx, r14
call qword [sym.imp.Hg3DHU.dll_public:_class_CHg3DView____ptr64___cdecl_CHg3DCtrl::GetHg3DView_void____ptr64]
mov rcx, rax
xor edx, edx
call qword [sym.imp.Hg3DHU.dll_public:_void___cdecl_CHg3DView::ZoomInOut_int____ptr64]
mov qword [rbp + 0x18], rsi
mov qword [rbp + 0x20], rsi
mov rcx, r14
call qword [sym.imp.Hg3DHU.dll_public:_class_CHg3DView____ptr64___cdecl_CHg3DCtrl::GetHg3DView_void____ptr64]
lea rdx, [rbp + 0x18]
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [r15 + 0xc]
sub eax, dword [r15 + 4]
mov dword [rsp + 0x50], eax
mov eax, dword [r15 + 8]
sub eax, dword [r15]
mov dword [rsp + 0x78], eax
mov rcx, r14
call qword [sym.imp.Hg3DHU.dll_public:_class_CHg3DView____ptr64___cdecl_CHg3DCtrl::GetHg3DView_void____ptr64]
mov rcx, rax
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x78]
call qword [sym.imp.Hg3DHU.dll_unsigned_char____ptr64___cdecl_Hg3D_CaptureView_class_CHg3DView____ptr64__int_const____ptr64__int_const____ptr64_]
mov rbx, rax
mov qword [rbp - 0x70], rsi
lea r12, vtable.CBitmap.0
mov qword [rbp - 0x78], r12
mov ecx, dword [r15 + 0xc]
sub ecx, dword [r15 + 4]
mov dword [rsp + 0x60], ecx
mov ecx, dword [r15 + 8]
sub ecx, dword [r15]
mov dword [rsp + 0x58], ecx
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x58]
mov rcx, rdi
call qword [sym.imp.Hg3DHU.dll_int___cdecl_Hg3D_CreateBitmapByImageData_class_CDC____ptr64__int_const____ptr64__int_const____ptr64__unsigned_char_const____ptr64__class_CBitmap____ptr64_]
test rbx, rbx
je 0x180025433
mov rcx, rbx
call qword [sym.imp.mfc100u.dll_delete__]
test r13, r13
je 0x180025447
mov rax, qword [r13]
mov edx, 1
mov rcx, r13
call qword [rax + reloc.WS2_32.dll_htonl]
lea rcx, [rbp - 0x68]
call qword [sym.imp.Hg3DEntityHU.dll_public:_static_void___cdecl_IEttBase::DeleteArray_class_ATL::CAtlArray_class_CEttBase____ptr64__class_ATL::CElementTraits_class_CEttBase____ptr64______ptr64_]
lea rcx, [rbp - 0x28]
call qword [sym.imp.mfc100u.dll_CDaoRecordView::CDaoRecordView]
nop
test rdi, rdi
mov rcx, rsi
je 0x180025468
mov rcx, qword [rdi + 8]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdx, rax
lea rcx, [rbp - 0x28]
call qword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::Append]
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.mfc100u.dll_CDataBoundProperty::RemoveSource]
mov rbx, rax
lea rcx, [rbp - 0x48]
call qword [sym.imp.mfc100u.dll_CDaoRecordView::CDaoRecordView]
nop
test rdi, rdi
mov rcx, rsi
je 0x1800254a3
mov rcx, qword [rdi + 8]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdx, rax
lea rcx, [rbp - 0x48]
call qword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::Append]
mov r8d, dword [r15 + 0xc]
sub r8d, dword [r15 + 4]
mov edx, dword [r15 + 8]
sub edx, dword [r15]
add r8d, 3
add edx, 3
mov rcx, qword [rdi + 8]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rcx, qword [rbp - 8]
mov qword [rcx], rax
mov rcx, rax
call qword [sym.imp.mfc100u.dll_CMFCRibbonStatusBar::FindElement]
test rax, rax
mov rdx, rsi
je 0x1800254f2
mov rdx, qword [rax + 8]
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.mfc100u.dll_CDataBoundProperty::RemoveSource]
mov rdi, rax
mov r8d, dword [r15 + 0xc]
sub r8d, dword [r15 + 4]
mov r9d, dword [r15 + 8]
sub r9d, dword [r15]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], esi
mov rcx, qword [rbp - 0x20]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r8d
mov edx, 1
mov r8d, edx
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.GDI32.dll_BitBlt]
test rdi, rdi
mov rdx, rsi
je 0x18002554a
mov rdx, qword [rdi + 8]
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.mfc100u.dll_CDataBoundProperty::RemoveSource]
lea rcx, [rbp - 0x48]
call qword [sym.imp.mfc100u.dll_DDX_FieldLBIndex]
nop
lea rcx, [rbp - 0x48]
call qword [sym.imp.mfc100u.dll_CCommandLineInfo::CCommandLineInfo]
lea rcx, [rbp - 0x78]
call qword [sym.imp.mfc100u.dll_DDX_FieldText_1]
test rbx, rbx
je 0x18002557c
mov rsi, qword [rbx + 8]
mov rdx, rsi
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.mfc100u.dll_CDataBoundProperty::RemoveSource]
lea rcx, [rbp - 0x28]
call qword [sym.imp.mfc100u.dll_DDX_FieldLBIndex]
nop
lea rcx, [rbp - 0x28]
call qword [sym.imp.mfc100u.dll_CCommandLineInfo::CCommandLineInfo]
nop
mov qword [rbp - 0x78], r12
lea rcx, [rbp - 0x78]
call fcn.180013b70
nop
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x1800255bc
call qword [sym.imp.MSVCR100.dll_free]
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.180030d20
movaps xmm6, xmmword [rsp + 0x130]
add rsp, 0x148
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret