Function at 0x46e1a0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x28
mov eax, 0x4b12cc
call fcn.004a7676
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov esi, dword [ebp + 8]
test esi, esi
je 0x46e43a
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x46e43a
mov eax, dword [ebx + 0x224]
xor edi, edi
sub eax, edi
je 0x46e35d
sub eax, 1
je 0x46e1ff
sub eax, 1
je 0x46e1ff
sub eax, 1
je 0x46e1ff
sub eax, 1
je 0x46e1ff
sub eax, 1
je 0x46e1ff
sub eax, 1
jne 0x46e435
lea ecx, [ebp - 0x14]
call fcn.0040d765
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 4], edi
push eax
mov ecx, ebx
call fcn.004690ee
mov esi, dword [ebp - 0x14]
push ecx
push dword [ebx + 8]
push esi
call fcn.0046e018
push edi
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x18], eax
call fcn.00452d63
mov ecx, dword [ebp + 8]
call fcn.00452d88
mov ecx, dword [ebp + 8]
call fcn.00452d88
mov ecx, dword [ebp + 8]
mov edi, eax
call fcn.00452d63
push edi
push eax
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edi, dword [ebp - 0x18]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
or dword [ebp - 0x18], 0xffffffff
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x34]
call fcn.00452680
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push edi
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], ebx
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00452d88
mov ecx, dword [ebp + 8]
mov edi, eax
call fcn.00452d63
push edi
push eax
xor edi, edi
push edi
push edi
push dword [ebp - 0x30]
push ebx
call dword [sym.imp.gdiplus.dll_GdipFillRectangleI]
mov ecx, dword [ebp - 0x20]
test eax, eax
push edi
cmovne ecx, eax
push ecx
push dword [ebp + 8]
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x28]
call fcn.0045e6a2
mov eax, dword [ebp - 0x1c]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
push str.CameraCapture
lea ecx, [ebp - 0x10]
call fcn.0042e4ea
mov eax, dword [ebp - 0x10]
push dword [eax - 0xc]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp - 0x10]
push dword [ecx - 0xc]
push ecx
push eax
call dword [sym.imp.VCRUNTIME140.dll_memcpy]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push str.QQCapture_CLIPBOARDFORMAT
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.0040bb70
push dword [ebp - 0x28]
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
push dword [ebp - 0x30]
call dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
lea ecx, [esi - 0x10]
call fcn.0040bb70
jmp 0x46e435
push edi
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, esi
mov ebx, eax
call fcn.00452d63
mov ecx, esi
call fcn.00452d88
mov ecx, esi
call fcn.00452d88
mov ecx, dword [ebp + 8]
mov esi, eax
call fcn.00452d63
push esi
push eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebx
mov dword [ebp - 0x14], eax
call dword [sym.imp.GDI32.dll_SelectObject]
or dword [ebp - 0x20], 0xffffffff
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x34]
call fcn.00452680
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push ebx
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov edi, dword [ebp - 0x18]
mov ebx, eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28], edi
call fcn.00452d88
mov ecx, dword [ebp + 8]
mov esi, eax
call fcn.00452d63
push esi
push eax
xor esi, esi
push esi
push esi
push dword [ebp - 0x30]
push edi
call dword [sym.imp.gdiplus.dll_GdipFillRectangleI]
push esi
test eax, eax
push ecx
push dword [ebp + 8]
cmovne ebx, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x24], ebx
call fcn.0045e6a2
mov eax, dword [ebp - 0x1c]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [ebp - 0x14]
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push dword [ebp - 0x28]
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
push dword [ebp - 0x30]
call dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
xor eax, eax
inc eax
jmp 0x46e43c
xor eax, eax
call fcn.004a7644
ret 4