Function at 0x1400b9390
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0xa0
mov rbp, rcx
xor ebx, ebx
call qword [sym.imp.USER32.dll_GetDesktopWindow]
lea ecx, [rbx + 0x4d]
mov r14, rax
mov qword [rsp + 0xf8], rax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea ecx, [rbx + 0x4f]
mov dword [rsp + 0x74], eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea ecx, [rbx + 0x4c]
add eax, dword [rsp + 0x74]
mov dword [rsp + 0x7c], eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea ecx, [rbx + 0x4e]
mov dword [rsp + 0x70], eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movzx edi, word [rbp + 0x18]
add eax, dword [rsp + 0x70]
mov rcx, qword [rbp + 0xe8]
lea edx, [rbx - 0x10]
mov dword [rsp + 0x78], eax
mov eax, dword [rbp + 0x24]
shr eax, 1
sub di, ax
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x12
jae 0x1400b9424
lea ecx, [rbx + 0x21]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea ecx, [rax - 1]
jmp 0x1400b9426
mov ecx, ebx
movsx eax, di
movzx edi, word [rbp + 0x1c]
mov edx, 0xfffffff0
add eax, ecx
mov rcx, qword [rbp + 0xe8]
mov dword [rsp + 0x64], eax
mov eax, dword [rbp + 0x20]
shr eax, 1
sub di, ax
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x12
jae 0x1400b9462
mov ecx, SafeArrayAllocDescriptor
call qword [sym.imp.USER32.dll_GetSystemMetrics]
dec eax
jmp 0x1400b9464
mov eax, ebx
mov ecx, dword [rbp + 0x24]
movsx edx, di
lea r8, [rsp + 0x70]
add ecx, dword [rsp + 0x64]
add edx, eax
mov dword [rsp + 0x6c], ecx
mov ecx, dword [rbp + 0x20]
mov dword [rsp + 0x60], edx
add ecx, edx
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x68], ecx
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_IntersectRect]
mov edi, dword [rsp + 0x88]
mov esi, dword [rsp + 0x8c]
sub edi, dword [rsp + 0x80]
sub esi, dword [rsp + 0x84]
mov rcx, r14
mov dword [rsp + 0xe8], edi
mov dword [rsp + 0xe0], esi
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov r14, rax
mov qword [rsp + 0xf0], rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, esi
mov edx, edi
mov rcx, r14
mov r12, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov r13, rax
test rax, rax
je 0x1400b95fb
mov eax, dword [rsp + 0x64]
mov qword [rsp + 0x98], r15
mov edi, ebx
mov esi, ebx
test eax, eax
jns 0x1400b9518
cdq
mov esi, eax
xor esi, edx
sub esi, edx
mov eax, dword [rsp + 0x60]
test eax, eax
jns 0x1400b9527
cdq
mov edi, eax
xor edi, edx
sub edi, edx
mov rdx, r13
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
xor ecx, ecx
mov r15d, 0xcc0020
call fcn.1400dd550
mov r14d, eax
cmp eax, 2
je 0x1400b957e
cmp eax, 5
je 0x1400b957e
lea rcx, str.WinDVDClass
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
jne 0x1400b957e
lea ecx, [rax + 0x50]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, 1
jle 0x1400b9578
lea eax, [r14 - 3]
cmp eax, 1
jbe 0x1400b957e
mov r15d, 0x40cc0020
mov ecx, dword [rsp + 0xe0]
mov r9d, dword [rsp + 0xe8]
mov rax, qword [rbp + 0x78]
mov dword [rsp + 0x50], r15d
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x40], r9d
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.GDI32.dll_StretchBlt]
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, r13
mov ecx, 2
call qword [sym.imp.USER32.dll_SetClipboardData]
mov ecx, 1
test rax, rax
cmovne ebx, ecx
call qword [sym.imp.USER32.dll_CloseClipboard]
mov r14, qword [rsp + 0xf0]
mov r15, qword [rsp + 0x98]
mov rcx, r12
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, qword [rsp + 0xf8]
mov rdx, r14
call qword [sym.imp.USER32.dll_ReleaseDC]
mov eax, ebx
add rsp, 0xa0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret