Function at 0x660cebdf
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
push esi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
call fcn.6601f71b
test eax, eax
je 0x660cec17
push esi
call fcn.660cf95d
mov esi, eax
cmp esi, ebx
je 0x660ced64
mov dword [ebp - 0xc], 1
push esi
call fcn.6601f6c1
mov edi, eax
cmp di, bx
jne 0x660cec63
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x660ced05
cmp eax, 2
je 0x660ced05
cmp eax, 8
je 0x660ced05
cmp eax, 9
je 0x660ced05
cmp eax, 0xe
je 0x660ced05
cmp eax, 3
je 0x660ced05
mov edi, 0x800a01cd
jmp 0x660cec78
call fcn.66014495
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x660cec97
mov edi, 0x800a0209
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [ebp - 0xc], 0
je 0x660cec8e
test esi, esi
je 0x660cec8e
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8
movsx eax, di
dec eax
je 0x660cedb0
dec eax
je 0x660ced16
dec eax
je 0x660ced0c
dec eax
jne 0x660ced0c
cmp dword [ebp + 0xc], 0
push 0xe
pop ebx
je 0x660cecbe
cmp dword [ebp + 0xc], 3
je 0x660cecbe
cmp dword [ebp + 0xc], ebx
jne 0x660cec5c
mov eax, dword [esi]
lea ecx, [ebp + 0xc]
push ecx
push esi
call dword [eax + 0xc]
push 0
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_CopyEnhMetaFileA]
test eax, eax
je 0x660ced64
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
mov edi, dword [sym.imp.USER32.dll_SetClipboardData]
je 0x660cecf4
push dword [ebp - 4]
push ebx
call edi
test eax, eax
je 0x660ced64
cmp dword [ebp - 8], 0
je 0x660ced05
push dword [ebp - 8]
push 9
call edi
test eax, eax
je 0x660ced64
xor edi, edi
jmp 0x660cec78
mov edi, 0x800a01cc
jmp 0x660cec78
cmp dword [ebp + 0xc], 0
push 3
pop ebx
je 0x660ced2e
cmp dword [ebp + 0xc], ebx
je 0x660ced2e
cmp dword [ebp + 0xc], 0xe
jne 0x660cec5c
push 0x10
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [ebp - 4], eax
je 0x660ced64
mov eax, dword [esi]
lea ecx, [ebp + 0xc]
push ecx
push esi
call dword [eax + 0xc]
push 0
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_CopyMetaFileA]
push dword [ebp - 4]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x660ced6e
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edi, 0x8007000e
jmp 0x660cec78
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp + 8]
mov dword [edi + 0xc], eax
mov eax, dword [esi]
push ecx
push esi
mov dword [edi], 8
call dword [eax + 0x18]
mov eax, dword [esi]
lea ecx, [ebp - 0x10]
push ecx
push esi
call dword [eax + 0x1c]
mov eax, dword [ebp + 8]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [edi + 8], eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x660cecde
mov ebx, dword [ebp + 0xc]
mov eax, ebx
sub eax, 0
je 0x660cee1a
dec eax
dec eax
je 0x660cee1d
sub eax, 6
je 0x660cedeb
dec eax
jne 0x660cec5c
cmp dword [0x6610f6e0], 0
je 0x660cecde
push esi
call fcn.660cf9f7
push eax
call fcn.660cfe1f
mov dword [ebp - 8], eax
jmp 0x660cecde
mov eax, dword [esi]
lea ecx, [ebp + 8]
push ecx
push esi
call dword [eax + 0xc]
mov eax, dword [esi]
lea ecx, [ebp + 0xc]
push ecx
push esi
call dword [eax + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.660cfea5
test eax, eax
mov dword [ebp - 4], eax
je 0x660ced64
jmp 0x660cecde
push 2
pop ebx
mov eax, dword [esi]
lea ecx, [ebp - 4]
push ecx
push esi
call dword [eax + 0xc]
mov eax, dword [esi]
lea ecx, [ebp - 8]
push ecx
push esi
call dword [eax + 0x10]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.660d00f7
mov edi, eax
test edi, edi
jge 0x660cecde
jmp 0x660cec78