Function at 0x1400168e0
Capabilities:
Capture screenshot

Disassembly:
mov dword [rsp + 0x18], r8d
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x120
mov rax, qword [0x14005b010]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov rdi, r9
mov r13d, r8d
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x98], rcx
xor r14d, r14d
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x80], r14
mov r12d, r14d
mov qword [rsp + 0x70], r14
xorps xmm0, xmm0
movups xmmword [rsp + 0xd0], xmm0
mov qword [rsp + 0x88], r14
mov qword [rsp + 0x90], r14
lea rcx, [rsp + 0xa0]
call qword [sym.imp.mfc140u.dll_CPropertyPage::CPropertyPage]
nop
test r13b, 1
je 0x1400169a4
lea rdx, [rsp + 0xd0]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rsp + 0xd0]
mov rcx, rbx
call qword [sym.imp.USER32.dll_ClientToScreen]
lea rdx, [rsp + 0xd8]
mov rcx, rbx
call qword [sym.imp.USER32.dll_ClientToScreen]
dec dword [rsp + 0xdc]
jmp 0x140016ac4
test r13b, 2
je 0x140016a04
mov rax, qword [rsi]
movups xmm0, xmmword [rax + 0x270]
movq rdx, xmm0
mov rax, rdx
shr rax, 0x20
psrldq xmm0, 8
movq r8, xmm0
mov rcx, r8
shr rcx, 0x20
cmp eax, ecx
je 0x140016acb
cmp edx, r8d
je 0x140016acb
mov dword [rsp + 0xdc], ecx
mov dword [rsp + 0xd4], eax
mov dword [rsp + 0xd0], edx
mov dword [rsp + 0xd8], r8d
jmp 0x140016acb
cmp dword [0x14005dc2c], 7
jne 0x140016a42
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xd0]
lea r8, [rsp + 0x170]
mov rdx, rbx
mov rcx, rsi
call fcn.140016f30
mov r13d, dword [rsp + 0x170]
jmp 0x140016acb
test rbx, rbx
je 0x140016a59
lea rdx, [rsp + 0xd0]
mov rcx, rbx
call fcn.140019660
jmp 0x140016aaf
mov eax, dword [rsp + 0x180]
test eax, eax
je 0x140016a96
mov dword [rsp + 0xf0], eax
mov dword [rsp + 0xf4], r14d
lea r9, [rsp + 0xe0]
lea r8, [0x1400167b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayMonitors]
movups xmm0, xmmword [rsp + 0xe0]
jmp 0x140016aa7
lea rcx, [rsp + 0x100]
call qword [sym.imp.WindowPainter.dll_class_CRect___cdecl_GetVirtualScreenRect_void_]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0xd0], xmm0
mov rax, qword [rsp + 0xd8]
shr rax, 0x20
dec eax
mov dword [rsp + 0xdc], eax
dec dword [rsp + 0xd8]
movaps xmm0, xmmword [rsp + 0xd0]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0xe0]
call qword [sym.imp.WindowPainter.dll_class_CRect___cdecl_GetVirtualScreenRect_void_]
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x100], xmm0
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x54], eax
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x54], eax
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x6c], eax
lea r8, [rsp + 0x100]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_IntersectRect]
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x54], eax
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x54], eax
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x6c], eax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0xd0], xmm0
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r14, rax
mov qword [rsp + 0x78], rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rsi, rax
mov qword [rsp + 0x80], rax
test rax, rax
jne 0x140016bfa
jmp 0x140016ece
test rdi, rdi
je 0x140016c04
mov r12, rdi
jmp 0x140016c33
mov r8d, dword [rsp + 0xdc]
sub r8d, dword [rsp + 0xd4]
inc r8d
mov edx, dword [rsp + 0xd8]
sub edx, dword [rsp + 0xd0]
inc edx
mov rcx, r14
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov r12, rax
mov qword [rsp + 0x70], r12
test r12, r12
jne 0x140016c42
jmp 0x140016ec0
mov rdx, rbx
call fcn.140017c10
mov r15, rax
mov qword [rsp + 0x88], rax
test rax, rax
je 0x140016c7d
mov r8d, 1
mov rdx, rax
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectPalette]
mov qword [rsp + 0x90], rax
mov rcx, r14
call qword [sym.imp.GDI32.dll_RealizePalette]
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rbx, rax
mov qword [rsp + 0x50], rax
xor edi, edi
mov qword [rsp + 0x68], rdi
lea rax, vtable.CBrush.0
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x100], rdi
mov ecx, dword [rsp + 0xdc]
sub ecx, dword [rsp + 0xd4]
inc ecx
mov dword [rsp + 0x10c], ecx
mov ecx, dword [rsp + 0xd8]
sub ecx, dword [rsp + 0xd0]
inc ecx
mov dword [rsp + 0x108], ecx
mov ecx, dword [0x14005f0dc]
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov rdx, rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CRecordset::AppendFilterAndSortSQL]
mov r8, qword [rsp + 0x68]
lea rdx, [rsp + 0x100]
mov rcx, rsi
call qword [sym.imp.USER32.dll_FillRect]
nop
lea rax, vtable.CBrush.0
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x60]
call fcn.140001a70
mov rax, qword [rsp + 0xb0]
test rax, rax
jne 0x140016dc5
mov qword [rsp + 0xe0], rsi
movaps xmm0, xmmword [rsp + 0xd0]
movups xmmword [rsp + 0xe8], xmm0
mov eax, dword [rsp + 0x180]
mov dword [rsp + 0xf8], eax
mov dword [rsp + 0xfc], edi
lea r9, [rsp + 0xe0]
lea r8, [0x140016820]
xor edx, edx
mov rcx, r14
call qword [sym.imp.USER32.dll_EnumDisplayMonitors]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test r13b, 4
je 0x140016db3
mov eax, r13d
and eax, 2
and r13d, 1
lea rcx, [rsp + 0xd0]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], eax
mov r9d, r13d
mov r8, rsi
mov rcx, qword [rsp + 0x98]
call fcn.1400162b0
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
nop
jmp 0x140016e8c
lea rdi, [rax - 1]
test rdi, rdi
js 0x140016d7f
nop
test rdi, rdi
js 0x140016e6b
cmp rdi, rax
jge 0x140016e6b
mov rax, qword [rsp + 0xa8]
mov rbx, qword [rax + rdi*8]
mov eax, dword [rbx + 4]
mov r10d, dword [rbx]
mov r11d, dword [rbx + 0xc]
sub r11d, eax
inc r11d
mov r9d, dword [rbx + 8]
sub r9d, r10d
inc r9d
mov r8d, eax
sub r8d, dword [rsp + 0xd4]
mov edx, r10d
sub edx, dword [rsp + 0xd0]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], r10d
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r11d
mov rcx, rsi
call qword [sym.imp.GDI32.dll_BitBlt]
mov edx, 0x10
mov rcx, rbx
call fcn.14003225c
sub rdi, 1
js 0x140016e61
mov rax, qword [rsp + 0xb0]
jmp 0x140016dd0
mov rbx, qword [rsp + 0x50]
jmp 0x140016d7f
call qword [sym.imp.mfc140u.dll_AfxRegDeleteKey]
nop
mov r15, qword [rsp + 0x88]
mov r12, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x80]
mov r14, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x90]
test rdx, rdx
je 0x140016eb2
test r14, r14
je 0x140016eb2
test r15, r15
je 0x140016ec0
mov r8d, 1
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectPalette]
test r15, r15
je 0x140016ec0
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteObject]
test rsi, rsi
je 0x140016ece
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
xor edx, edx
lea r8, [rdx - 1]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.mfc140u.dll_CMFCRibbonConstructor::SetIcon]
nop
lea rcx, [rsp + 0xa0]
call qword [sym.imp.mfc140u.dll_COleUpdateDialog::COleUpdateDialog]
mov rax, r12
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.140032200
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret