Function at 0x140125cb0
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xb0
mov r12, r9
mov rbx, r8
mov r14, rcx
mov rax, qword [rcx]
mov rsi, qword [rax + 8]
xor edi, edi
mov dword [rbp + 0x47], edi
lea rdx, [rbp + 0x47]
mov rcx, qword [rsi + 8]
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x140125cfa
mov dword [rsi + 0x10], eax
mov r15d, dword [rbp + 0x47]
cmp dword [rbp + 0x87], 0x7fffffff
cmovne r15d, dword [rbp + 0x87]
mov rax, qword [r14]
mov rsi, qword [rax + 8]
mov dword [rbp + 0x87], edi
lea rdx, [rbp + 0x87]
mov rcx, qword [rsi + 8]
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x140125d34
mov dword [rsi + 0x10], eax
mov esi, dword [rbp + 0x87]
cmp dword [rbp + 0x8f], 0x7fffffff
cmovne esi, dword [rbp + 0x8f]
mov dword [rbp + 0x8f], esi
lea rcx, [rbp - 0x49]
call sub.mfc140u.dll_CDaoRecordView::CDaoRecordView
nop
mov qword [rbp - 0x51], rdi
lea rax, vtable.CBitmap.0
mov qword [rbp - 0x59], rax
mov rdx, r12
lea rcx, [rbp - 0x29]
call sub.mfc140u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu
nop
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdx, rax
lea rcx, [rbp - 0x49]
call sub.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::AppendChar
mov edx, 1
mov r8d, edx
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, rax
lea rcx, [rbp - 0x59]
call sub.mfc140u.dll_CRecordset::AppendFilterAndSortSQL
mov rdx, qword [rbp - 0x51]
mov rcx, qword [rbp - 0x41]
call sub.mfc140u.dll_CMFCTasksPane::RemoveTask
mov r13d, dword [rbp + 0x67]
lea eax, [r13 - 1]
mov dword [rsp + 0x40], 0xcc0020
mov r12d, dword [rbp + 0x6f]
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], eax
mov rax, qword [rbp - 0x21]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.GDI32.dll_BitBlt]
lea rcx, [rbp - 0x59]
call sub.mfc140u.dll_DDX_FieldText
cmp byte [rbp + 0x7f], 0
je 0x140125f04
cmp byte [rbx], 0
jne 0x140125ee5
cmp qword [rbx + 8], 0
je 0x140125eaf
lea rcx, [0x1402ae200]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x140125eaf
lea rdx, str.GetDpiForWindow
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
test rax, rax
je 0x140125e57
call rax
mov dword [rbx + 4], eax
jmp 0x140125ee2
mov edx, 2
call qword [sym.imp.USER32.dll_MonitorFromWindow]
mov rsi, rax
lea rcx, str.Shcore.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x140125eaf
lea rdx, str.GetDpiForMonitor
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140125eaf
mov dword [rbp + 0x7f], edi
mov dword [rbp + 0x87], edi
lea r9, [rbp + 0x87]
lea r8, [rbp + 0x7f]
xor edx, edx
mov rcx, rsi
call rax
mov eax, dword [rbp + 0x7f]
mov dword [rbx + 4], eax
jmp 0x140125ee2
cmp byte [rbx], 0
jne 0x140125ee5
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_GetDC]
mov rsi, rax
test rax, rax
je 0x140125ee5
mov edx, 0x58
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [rbx + 4], eax
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov byte [rbx], 1
mov r8d, 0x60
mov edx, dword [rbx + 4]
lea ecx, [r8 - 0x5f]
call qword [sym.imp.KERNEL32.dll_MulDiv]
add r13d, eax
add r12d, eax
mov esi, dword [rbp + 0x8f]
mov qword [rbp + 0x47], rdi
lea rdx, [rbp + 0x47]
mov rcx, qword [rbp + 0x4f]
mov rcx, qword [rcx + 8]
call sub.gdiplus.dll_GdipCreateFromHDC
mov rbx, qword [rbp + 0x47]
mov rax, qword [r14]
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140125f2d
mov rdi, qword [rcx + 8]
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r15d
mov r9d, r12d
mov r8d, r13d
mov rdx, rdi
mov rcx, rbx
call sub.gdiplus.dll_GdipDrawImageRectI
mov rcx, rbx
call sub.gdiplus.dll_GdipDeleteGraphics
nop
lea rcx, [rbp - 0x29]
call sub.mfc140u.dll_CAnimateCtrl::CAnimateCtrl
nop
lea rax, vtable.CBitmap.0
mov qword [rbp - 0x59], rax
lea rcx, [rbp - 0x59]
call fcn.140007540
nop
lea rcx, [rbp - 0x49]
call sub.mfc140u.dll_CD2DLinearGradientBrush::CD2DLinearGradientBrush
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret