Function at 0x50b760
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d3880
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
mov dword [ebp - 0x18], ecx
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], esp
call fcn.00441090
xor ebx, ebx
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], ebx
push ebx
mov byte [ebp - 4], 1
call fcn.0059bebe
mov edi, dword [sym.imp.user32.dll_GetSystemMetrics]
push 0x31
mov byte [ebp - 4], 2
call edi
push 0x32
mov esi, eax
call edi
lea ecx, [ebp - 0x30]
mov edi, eax
call fcn.0059b3be
push ebx
mov byte [ebp - 4], 3
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0x30]
call fcn.0059b475
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], vtable.CBitmap.0
mov eax, dword [ebp - 0x50]
push edi
push esi
push eax
mov byte [ebp - 4], 4
call dword [sym.imp.gdi32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [ebp - 0x20]
call fcn.0059c0b2
cmp eax, ebx
jne 0x50b814
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.005a00ab
mov dword [ebp - 0x20], vtable.CGdiObject.0
mov byte [ebp - 4], 5
jmp 0x50b8df
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x20]
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call fcn.0059b5b6
mov ebx, eax
mov edx, dword [0x64aaf0]
xor eax, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov eax, 0x64aaec
mov dword [ebp - 0x34], edi
neg eax
sbb eax, eax
and eax, edx
lea edx, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x2c]
push edx
push eax
call dword [sym.imp.user32.dll_FillRect]
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x18]
push edx
call fcn.0050b6d0
test ebx, ebx
je 0x50b871
mov ebx, dword [ebx + 4]
mov eax, dword [ebp - 0x2c]
push ebx
push eax
call fcn.0059b5b6
call fcn.0059890a
test eax, eax
je 0x50b88d
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x50b88f
xor eax, eax
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.user32.dll_OpenClipboard]
test eax, eax
jne 0x50b8b7
push 0xffffffffffffffff
push eax
push 0x3e8a
call fcn.005a00ab
mov dword [ebp - 0x20], vtable.CGdiObject.0
mov byte [ebp - 4], 6
jmp 0x50b8df
call dword [sym.imp.user32.dll_EmptyClipboard]
test eax, eax
jne 0x50b921
push 0xffffffffffffffff
push eax
push 0x3e8a
call fcn.005a00ab
call dword [sym.imp.user32.dll_CloseClipboard]
mov dword [ebp - 0x20], vtable.CGdiObject.0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x20]
call fcn.0059c109
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.0059b4f3
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.0059bf30
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.00546580
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20]
call fcn.0059c0df
push eax
push 2
call dword [sym.imp.user32.dll_SetClipboardData]
test eax, eax
jne 0x50b943
push 0xffffffffffffffff
push eax
push 0x3e8a
call fcn.005a00ab
call dword [sym.imp.user32.dll_CloseClipboard]
mov dword [ebp - 0x20], vtable.CGdiObject.0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.0059c109
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.0059b4f3
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.0059bf30
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.00546580
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret