Function at 0x486d50
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6dcf10
mov eax, dword fs:[0]
push eax
sub esp, 0x3a8
mov eax, dword [0x7ce4e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 0x198]
test esi, esi
je 0x486fbb
push 0x200
lea eax, [ebp - 0x28c]
push 0
push eax
call fcn.005c0be0
push 0x7a
lea eax, [ebp - 0x8c]
push 0
push eax
call fcn.005c0be0
add esp, 0x18
mov ecx, esi
call fcn.00480910
mov ebx, eax
xor esi, esi
mov dword [ebp - 0x3b4], ebx
test ebx, ebx
je 0x486e56
cmp byte [edi + 0x2c8], 0
lea eax, [edi + 0x1b8]
jne 0x486de2
mov eax, dword [edi + 0x1b4]
mov ecx, ebx
add eax, 4
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x486e0d
test dx, dx
je 0x486e09
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x486e0d
add eax, 4
add ecx, 4
test dx, dx
jne 0x486de7
xor eax, eax
jmp 0x486e12
sbb eax, eax
or eax, 1
test eax, eax
je 0x486e56
mov esi, ebx
lea ecx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x486e20
sub esi, ecx
sar esi, 1
cmp esi, 0x3c
jl 0x486e56
mov eax, dword [edi + 0x198]
push 0
push 0
push 0xce25
push dword [eax + 0x140]
call dword [sym.imp.USER32.dll_PostMessageW]
xor al, al
jmp 0x486fbd
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x486fa0
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
test eax, eax
je 0x486f9a
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
test edx, edx
je 0x486f9a
mov ecx, edx
lea ebx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486e90
sub ecx, ebx
sar ecx, 1
cmp ecx, 0x100
jae 0x486f9a
push ecx
push edx
push ecx
lea eax, [ebp - 0x28c]
push eax
call fcn.005d05d4
add esp, 0x10
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x28c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486ed0
sub ecx, edx
mov ebx, 0x3c
sar ecx, 1
sub ebx, esi
cmp ebx, ecx
cmovg ebx, ecx
test esi, esi
jle 0x486f06
push esi
push dword [ebp - 0x3b4]
lea eax, [ebp - 0x8c]
push esi
push eax
call fcn.005d05d4
add esp, 0x10
push ebx
lea ecx, [ebp - 0x28c]
push ecx
lea eax, [ebp - 0x8c]
lea eax, [eax + esi*2]
push ebx
push eax
call fcn.005d05d4
add esp, 0x10
lea ecx, [ebp - 0x3b0]
call fcn.00499a50
lea edx, [ebp - 0x3b0]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x8c]
call fcn.004819f0
test al, al
je 0x486f6c
cmp byte [ebp - 0x294], 0
lea eax, [ebp - 0x3a4]
push ecx
cmove eax, dword [ebp - 0x3a8]
mov ecx, dword [edi + 0x198]
add eax, 4
push eax
call fcn.00480840
cmp byte [ebp - 0x294], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x486fa0
mov eax, dword [ebp - 0x3a8]
lea ecx, [ebp - 0x3a4]
cmp eax, ecx
je 0x486fa0
push eax
call fcn.005cff1c
add esp, 4
jmp 0x486fa0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [edi + 0x198]
push 0
push 0
push 0xce25
push dword [eax + 0x140]
call dword [sym.imp.USER32.dll_PostMessageW]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005be209
mov esp, ebp
pop ebp
ret