Function at 0x7cdfaf01
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
push edi
push 1
mov dword [ebp - 0x14], ecx
xor esi, esi
pop edi
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x18], edi
call fcn.7ce032ee
mov eax, dword [ebp + 8]
cmp dword [eax], edi
jne 0x7cdfaf30
mov dword [ebp - 0x18], esi
push esi
push 0x7cd82fe0
lea ecx, [ebp - 0x6c]
call fcn.7ce033eb
push 0x30
push esi
push dword [0x7ce50ed0]
call dword [0x7ce4df60]
cmp eax, esi
je 0x7cdfaf5d
mov ecx, eax
call fcn.7ce033cf
mov dword [ebp - 0x44], eax
jmp 0x7cdfaf60
mov dword [ebp - 0x44], esi
cmp dword [ebp - 0x44], esi
je 0x7cdfb000
mov ebx, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 3
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x1c], esi
call ebx
mov esi, dword [sym.imp.USER32.dll_GetClipboardData]
test eax, eax
je 0x7cdfaf99
push 3
call esi
test eax, eax
mov dword [ebp - 8], eax
je 0x7cdfb000
push dword [ebp - 0x44]
push eax
call fcn.7cdfb91c
jmp 0x7cdfaff4
push 8
call ebx
test eax, eax
je 0x7cdfafd8
push 8
call esi
test eax, eax
mov dword [ebp - 8], eax
je 0x7cdfb000
push 0x2002
push eax
call fcn.7ce064ec
mov ebx, eax
test ebx, ebx
je 0x7cdfb000
push dword [ebp - 0x44]
push ebx
call fcn.7cdfb884
mov edi, eax
test edi, edi
je 0x7cdfb020
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x7cdfb0fc
push 2
call ebx
test eax, eax
je 0x7cdfb00a
push 2
call esi
test eax, eax
mov dword [ebp - 8], eax
je 0x7cdfb000
push dword [ebp - 0x44]
push eax
call fcn.7cdfb861
mov edi, eax
test edi, edi
jne 0x7cdfb0fc
jmp 0x7cdfb026
mov edi, 0x8007000e
jmp 0x7cdfb0fc
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x7cdfb017
push edi
call fcn.7cdfb15c
and dword [ebp - 0x44], 0
mov dword [ebp - 0x28], edi
jmp 0x7cdfb026
mov ebx, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
lea eax, [ebp - 0x20]
push 0
push eax
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
movzx eax, word [0x7ce4fd48]
push eax
call fcn.7cdfadb5
mov edi, eax
test edi, edi
jne 0x7cdfb0fc
push dword [ebp - 0x10]
lea ecx, [ebp - 0x58]
call fcn.7ce034a8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
push edi
call fcn.7cdae0d4
mov edi, eax
test edi, edi
jne 0x7cdfb0fc
push eax
lea eax, [ebp - 0x6c]
push dword [ebp - 4]
push eax
call fcn.7ce03dad
mov edi, eax
test edi, edi
jl 0x7cdfb089
xor edi, edi
call fcn.7cdfb8d6
test eax, eax
je 0x7cdfb0c3
movzx eax, word [0x7ce4fd4c]
push eax
call ebx
test eax, eax
je 0x7cdfb0c3
movzx eax, word [0x7ce4fd4c]
push eax
call esi
test eax, eax
mov dword [ebp - 8], eax
jne 0x7cdfb0b8
mov edi, 0x800401d3
jmp 0x7cdfb0fc
push eax
push dword [ebp - 4]
call fcn.7cdfba07
mov edi, eax
mov esi, dword [ebp + 8]
cmp dword [esi], 8
jne 0x7cdfb0d9
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov dword [esi + 4], eax
jmp 0x7cdfb0fc
add esi, 4
push esi
push dword [ebp - 0xc]
call sym.ole32.dll_GetHGlobalFromILockBytes
mov ecx, dword [ebp - 0x14]
mov edi, eax
mov eax, dword [esi]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
and dword [ebp - 4], 0
xor esi, esi
cmp edi, esi
je 0x7cdfb11c
cmp dword [ebp - 0x10], esi
je 0x7cdfb10f
push dword [ebp - 0x10]
call sym.ole32.dll_CoTaskMemFree
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x7cdfb11c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0xc], esi
je 0x7cdfb14b
cmp edi, esi
jge 0x7cdfb142
cmp dword [ebp - 0x18], esi
jne 0x7cdfb142
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
call sym.ole32.dll_GetHGlobalFromILockBytes
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [ebp - 0x6c]
call fcn.7ce0331e
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4