Function at 0x140185b90
Capabilities:
Open clipboard

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0xb0
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xc0]
call qword [rax + 0x500]
test eax, eax
jne 0x140185bd1
xor eax, eax
jmp 0x140186066
cmp dword [rsp + 0xc8], 0xffffffff
jne 0x140185be6
mov dword [rsp + 0xc8], send
lea rcx, [rsp + 0x28]
call qword [0x140409500]
nop
mov eax, dword [rsp + 0xc8]
and eax, 0x10
test eax, eax
je 0x140185d03
mov rax, qword [rsp + 0xc0]
cmp qword [rax + 0x818], 0
jne 0x140185c23
mov dword [rsp + 0x98], 1
jmp 0x140185c2e
mov dword [rsp + 0x98], 0
cmp dword [rsp + 0x98], 0
jne 0x140185cd5
mov rax, qword [rsp + 0xc0]
add rax, 0x800
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp qword [rax + 0x10], 0
je 0x140185c68
mov dword [rsp + 0x9c], 1
jmp 0x140185c73
mov dword [rsp + 0x9c], 0
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
jne 0x140185c8a
call sub.mfc90u.dll_AfxOleUnregisterServerClass
xor eax, eax
test eax, eax
jne 0x140185c4f
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
add rax, 0x10
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
xor r9d, r9d
mov r8, qword [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0xc0]
call qword [rax + AfxOleInit]
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc90u.dll_CStatusBar::GetThisMessageMap]
movzx eax, al
test eax, eax
je 0x140185d03
mov dword [rsp + 0x40], 0
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, dword [rsp + 0x40]
jmp 0x140186066
lea rcx, [rsp + 0x20]
call qword [0x140409500]
nop
mov eax, dword [rsp + 0xc8]
and eax, 3
test eax, eax
je 0x140185e44
mov rax, qword [rsp + 0xc0]
cmp qword [rax + 0x818], 0
jne 0x140185d40
mov dword [rsp + 0xa0], 1
jmp 0x140185d4b
mov dword [rsp + 0xa0], 0
cmp dword [rsp + 0xa0], 0
jne 0x140185e0a
mov rax, qword [rsp + 0xc0]
add rax, 0x800
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x10], 0
je 0x140185d8b
mov dword [rsp + 0xa4], 1
jmp 0x140185d96
mov dword [rsp + 0xa4], 0
mov eax, dword [rsp + 0xa4]
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
jne 0x140185dad
call sub.mfc90u.dll_AfxOleUnregisterServerClass
xor eax, eax
test eax, eax
jne 0x140185d6f
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x10]
add rax, 0x10
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov r9d, dword [rsp + 0xc8]
and r9d, 3
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov r8, qword [rsp + 0x38]
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0xc0]
call qword [rax + reloc.mfc90u.dll_AfxPropPageCallback]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CStatusBar::GetThisMessageMap]
movzx eax, al
test eax, eax
je 0x140185e44
mov dword [rsp + 0x44], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, dword [rsp + 0x44]
jmp 0x140186066
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x140185e82
mov dword [rsp + 0x48], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, dword [rsp + 0x48]
jmp 0x140186066
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x140185eba
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rsp + 0x4c], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, dword [rsp + 0x4c]
jmp 0x140186066
mov eax, dword [rsp + 0xc8]
and eax, 0x10
test eax, eax
je 0x140185f26
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc90u.dll_CDocObjectServer::XOleObject::GetExtent]
mov ebx, eax
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov r8d, ebx
mov rdx, rax
mov rcx, qword [rsp + 0xc0]
call fcn.1401868a0
test rax, rax
jne 0x140185f26
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rsp + 0x50], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, dword [rsp + 0x50]
jmp 0x140186066
mov eax, dword [rsp + 0xc8]
and eax, 3
test eax, eax
je 0x140185f94
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CDocObjectServer::XOleObject::GetExtent]
mov ebx, eax
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov r8d, ebx
mov rdx, rax
mov rcx, qword [rsp + 0xc0]
call fcn.1401870e0
test rax, rax
jne 0x140185f92
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rsp + 0x54], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, dword [rsp + 0x54]
jmp 0x140186066
jmp 0x140185ffd
mov eax, dword [rsp + 0xc8]
and eax, 0x10
test eax, eax
je 0x140185ffd
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CDocObjectServer::XOleObject::GetExtent]
mov ebx, eax
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov r8d, ebx
mov rdx, rax
mov rcx, qword [rsp + 0xc0]
call fcn.1401870e0
test rax, rax
jne 0x140185ffd
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rsp + 0x58], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, dword [rsp + 0x58]
jmp 0x140186066
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call fcn.1401871b0
test rax, rax
jne 0x14018603c
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rsp + 0x5c], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, dword [rsp + 0x5c]
jmp 0x140186066
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
mov dword [rsp + 0x60], 1
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, dword [rsp + 0x60]
add rsp, 0xb0
pop rbx
ret