Function at 0x30028208
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push 4
push dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.USER32.dll_GetWindowLongA]
cmp eax, ebx
mov dword [ebp - 0x10], eax
jne 0x30028233
mov eax, 0x2714
jmp 0x30028502
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
push eax
call esi
push dword [ebp + 0xc]
mov edi, eax
call esi
mov ecx, dword [ebp + 0x10]
sub ecx, 0x64
je 0x300282eb
sub ecx, 0x64
jne 0x300282f4
mov ecx, dword [ebp + 0x14]
cmp ecx, 0xca
jl 0x300282f4
cmp ecx, 0xcb
jle 0x30028281
cmp ecx, 0xcd
je 0x30028288
cmp ecx, 0xd3
jne 0x300282f4
cmp dword [eax + 0x60], ebx
je 0x300282f4
jmp 0x300282f1
push dword [0x300967d0]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x300282e7
mov ebx, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 2
call ebx
test eax, eax
jne 0x300282b3
push 8
call ebx
test eax, eax
jne 0x300282b3
and dword [ebp - 0xc], eax
jmp 0x300282ba
mov dword [ebp - 0xc], 1
movzx eax, word [0x30096378]
push eax
call ebx
test eax, eax
mov dword [ebp - 8], eax
jne 0x300282d4
cmp dword [ebp - 0xc], eax
jne 0x300282d4
xor ebx, ebx
jmp 0x300282d7
xor ebx, ebx
inc ebx
cmp dword [edi + 0x32], 0
je 0x300282df
xor ebx, ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x300282f4
xor ebx, ebx
jmp 0x300282f4
cmp dword [ebp + 0x14], 0x66
jne 0x300282f4
xor ebx, ebx
inc ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test ebx, ebx
je 0x300284f4
push 1
call fcn.30047fcd
push 0x21
push edi
call fcn.30050b60
lea ebx, [edi + 0x1d6]
push dword [ebx]
call esi
push dword [ebx]
mov esi, eax
call fcn.300396fe
xor ebx, ebx
cmp eax, ebx
jne 0x300284b5
push dword [esi + 0x50]
call fcn.300396fe
cmp eax, ebx
jne 0x300284b5
push dword [esi + 0x58]
call fcn.300396fe
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x300284b5
mov eax, dword [ebp + 0x10]
sub eax, 0x64
je 0x30028471
sub eax, 0x64
jne 0x300284b0
mov eax, dword [ebp + 0x14]
sub eax, 0xca
je 0x30028426
dec eax
je 0x30028412
dec eax
dec eax
je 0x30028390
sub eax, 6
jne 0x300284b0
jmp 0x30028434
cmp dword [ebp - 8], ebx
je 0x300283a2
lea eax, [ebp + 0xc]
push eax
push esi
push edi
call fcn.30027c98
jmp 0x300283cf
push dword [0x300967d0]
call fcn.30032fc2
cmp eax, ebx
je 0x300283c4
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x20]
push ecx
push 0x6e
push eax
call fcn.30027bd5
xor ebx, ebx
jmp 0x300283cf
push dword [edi + 0x26]
push dword [ebp + 8]
call fcn.30027abc
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x300283f3
push 1
push 0xffffffffffffffff
push 0x6a
push edi
push dword [ebp + 8]
call fcn.3003305e
push ebx
push 0xffffffffffffffff
push 0x6e
push edi
push dword [ebp + 8]
call fcn.3003305e
push edi
call fcn.30062a59
cmp dword [ebp - 8], ebx
je 0x300284b0
push 0xffffffffffffffff
push edi
push dword [ebp + 8]
call fcn.30026ab9
jmp 0x300284b0
push 1
push esi
push edi
push dword [ebp + 8]
call fcn.30003bf8
mov dword [ebp - 4], eax
jmp 0x300284b0
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.30003bf8
mov dword [ebp - 4], eax
push 1
push esi
call fcn.300278cf
cmp dword [edi + 0x1de], ebx
je 0x300284b0
push 1
push 0xffffffffffffffff
push 0x6c
push edi
push dword [ebp + 8]
call fcn.3003305e
push ebx
push 0xffffffffffffffff
push 0x6a
push edi
push dword [ebp + 8]
call fcn.3003305e
push ebx
push 0xffffffffffffffff
push 0x6e
push edi
push dword [ebp + 8]
call fcn.3003305e
jmp 0x300284b0
cmp dword [ebp + 0x14], 0x66
jne 0x300284b0
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push eax
push 0x6e
push dword [ebp + 0x18]
call fcn.30027bd5
test eax, eax
mov dword [ebp - 4], eax
jne 0x300284b5
push eax
push 0xffffffffffffffff
push 0x6a
push edi
push ebx
call fcn.3003305e
push 0
push 0xffffffffffffffff
push 0x6e
push edi
push ebx
call fcn.3003305e
push edi
call fcn.30062a59
xor ebx, ebx
cmp dword [ebp - 4], ebx
je 0x300284be
mov dword [ebp - 4], 0x1f4
jmp 0x300284f4
cmp dword [ebp + 0x14], 0xcb
je 0x300284ed
cmp dword [ebp - 8], ebx
jne 0x300284d2
push edi
call fcn.30054022
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 1
push 0x4000
add edi, 0x22
push edi
call fcn.30067eb7
mov dword [ebp - 4], 0xfffffffb
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x14