Function at 0x535e40
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6490
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], esp
call fcn.00441090
xor edi, edi
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], edi
push edi
mov byte [ebp - 4], 1
call fcn.0059bebe
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.0059b3be
push edi
mov byte [ebp - 4], 3
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0059b475
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], vtable.CBitmap.0
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
mov eax, dword [ebp - 0x5c]
push ecx
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, edi
jne 0x535ee7
push 0xffffffffffffffff
push edi
push 0x3e8a
call fcn.005a00ab
mov dword [ebp - 0x20], vtable.CGdiObject.0
mov byte [ebp - 4], 5
jmp 0x535fe5
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x20]
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call fcn.0059b5b6
mov ebx, eax
mov eax, dword [esi + 4]
mov edx, dword [0x64aaf0]
mov dword [ebp - 0x44], eax
mov eax, 0x64aaec
mov ecx, dword [esi + 8]
neg eax
sbb eax, eax
mov dword [ebp - 0x4c], edi
and eax, edx
lea edx, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x38]
push edx
push eax
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x40], ecx
call dword [sym.imp.user32.dll_FillRect]
push edi
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x18], esp
push edi
call fcn.00536770
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.00534a60
mov edx, dword [ebp + 8]
push edi
push edi
push edi
push edi
push edi
push edx
push edi
lea eax, [ebp - 0x3c]
push edi
push eax
mov ecx, esi
call fcn.00534da0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.00534c10
cmp ebx, edi
jne 0x535f74
xor eax, eax
jmp 0x535f77
mov eax, dword [ebx + 4]
mov edx, dword [ebp - 0x38]
push eax
push edx
call fcn.0059b5b6
call fcn.0059890a
cmp eax, edi
je 0x535f93
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x535f95
xor eax, eax
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.user32.dll_OpenClipboard]
cmp eax, edi
jne 0x535fbd
push 0xffffffffffffffff
push edi
push 0x3e8a
call fcn.005a00ab
mov dword [ebp - 0x20], vtable.CGdiObject.0
mov byte [ebp - 4], 6
jmp 0x535fe5
call dword [sym.imp.user32.dll_EmptyClipboard]
test eax, eax
jne 0x536029
push 0xffffffffffffffff
push edi
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 - 0x3c]
mov byte [ebp - 4], 2
call fcn.0059b4f3
lea ecx, [ebp - 0x60]
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 4
lea ecx, [ebp - 0x20]
call fcn.0059c0df
push eax
push 2
call dword [sym.imp.user32.dll_SetClipboardData]
cmp eax, edi
jne 0x53604b
push 0xffffffffffffffff
push edi
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 - 0x3c]
mov byte [ebp - 4], 2
call fcn.0059b4f3
lea ecx, [ebp - 0x60]
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 4