Function at 0x72a016df
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.72a02b8d
test eax, eax
je 0x72a01717
push esi
call fcn.72a02bbc
mov esi, eax
cmp esi, ebx
je 0x72a01864
mov dword [ebp - 0xc], 1
push esi
call fcn.72a02b6c
mov edi, eax
cmp di, bx
jne 0x72a01763
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x72a01805
cmp eax, 2
je 0x72a01805
cmp eax, 8
je 0x72a01805
cmp eax, 9
je 0x72a01805
cmp eax, 0xe
je 0x72a01805
cmp eax, 3
je 0x72a01805
mov edi, 0x800a01cd
jmp 0x72a01778
call fcn.7294a0ba
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x72a01797
mov edi, 0x800a0209
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [ebp - 0xc], 0
je 0x72a0178e
test esi, esi
je 0x72a0178e
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 0x72a018b0
dec eax
je 0x72a01816
dec eax
je 0x72a0180c
dec eax
jne 0x72a0180c
cmp dword [ebp + 0xc], 0
push 0xe
pop ebx
je 0x72a017be
cmp dword [ebp + 0xc], 3
je 0x72a017be
cmp dword [ebp + 0xc], ebx
jne 0x72a0175c
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 0x72a01864
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
mov edi, dword [sym.imp.USER32.dll_SetClipboardData]
je 0x72a017f4
push dword [ebp - 4]
push ebx
call edi
test eax, eax
je 0x72a01864
cmp dword [ebp - 8], 0
je 0x72a01805
push dword [ebp - 8]
push 9
call edi
test eax, eax
je 0x72a01864
xor edi, edi
jmp 0x72a01778
mov edi, 0x800a01cc
jmp 0x72a01778
cmp dword [ebp + 0xc], 0
push 3
pop ebx
je 0x72a0182e
cmp dword [ebp + 0xc], ebx
je 0x72a0182e
cmp dword [ebp + 0xc], 0xe
jne 0x72a0175c
push 0x10
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [ebp - 4], eax
je 0x72a01864
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 0x72a0186e
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edi, 0x8007000e
jmp 0x72a01778
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 0x72a017de
mov ebx, dword [ebp + 0xc]
mov eax, ebx
sub eax, 0
je 0x72a0191a
dec eax
dec eax
je 0x72a0191d
sub eax, 6
je 0x72a018eb
dec eax
jne 0x72a0175c
cmp dword [0x72a50ac0], 0
je 0x72a017de
push esi
call fcn.72a02c56
push eax
call fcn.72a03287
mov dword [ebp - 8], eax
jmp 0x72a017de
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.72a0330d
test eax, eax
mov dword [ebp - 4], eax
je 0x72a01864
jmp 0x72a017de
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.72a0355f
mov edi, eax
test edi, edi
jge 0x72a017de
jmp 0x72a01778