Function at 0x1000dd90
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp 0x1000dd99
push 0x74
mov eax, 0x1002d89c
call fcn.10016e01
mov ebx, ecx
xor edi, edi
lea eax, [ebp - 0x60]
push 0x10
push edi
push eax
mov dword [ebp - 0x1c], edi
call fcn.10019ba0
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.oleaut32.dll_VariantClear]
and dword [ebp - 4], edi
and dword [ebp - 0x10], edi
xor esi, esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov byte [ebp - 4], 2
call fcn.10015031
push eax
mov dword [ebp - 0x38], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
push 3
pop eax
push esi
push str.Activate
push dword [ebx + 0x44]
mov byte [ebp - 4], al
lea eax, [ebp - 0x60]
push eax
push 1
push ebx
call fcn.1001cc74
add esp, 0x18
test eax, eax
js 0x1000e3be
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.oleaut32.dll_VariantCopy]
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
mov eax, dword [ebx + 0x50]
inc eax
push eax
call fcn.1000e791
test eax, eax
js 0x1000e3be
push esi
push str.Select
push dword [ebp - 0x10]
lea eax, [ebp - 0x60]
push eax
push 1
push ebx
call fcn.1001cc74
add esp, 0x18
test eax, eax
js 0x1000e3be
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.oleaut32.dll_VariantCopy]
push esi
push str.Type
push dword [ebp - 0x10]
lea eax, [ebp - 0x60]
push eax
push 2
push ebx
call fcn.1001cc74
add esp, 0x18
test eax, eax
js 0x1000e2f1
cmp dword [ebp - 0x58], 0xffffefb9
jne 0x1000e2f1
and dword [ebp - 0x2c], esi
and dword [ebp - 0x28], esi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 5
push eax
push str.Columns
push dword [ebp - 0x10]
xorps xmm0, xmm0
inc esi
inc edi
movsd qword [ebp - 0x40], xmm0
mov ecx, ebx
movsd qword [ebp - 0x48], xmm0
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x24], edi
call fcn.1001cc74
test eax, eax
js 0x1000dfaa
xor eax, eax
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x1000deee
and dword [ebp - 0x18], 0
test eax, eax
je 0x1000deee
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100304d0]
call esi
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
push esi
push dword [ebp - 0x2c]
call fcn.1001cc74
test eax, eax
js 0x1000df73
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.oleaut32.dll_VariantClear]
push 0
push str.Width
push dword [ebp - 0x18]
lea eax, [ebp - 0x60]
push eax
push 2
push ebx
call fcn.1001cc74
add esp, 0x18
test eax, eax
js 0x1000df48
movsd xmm0, qword [ebp - 0x58]
comisd xmm0, xmmword [0x10031250]
jbe 0x1000df48
addsd xmm0, qword [ebp - 0x40]
mov ecx, esi
mov dword [ebp - 0x20], ecx
movsd qword [ebp - 0x40], xmm0
jmp 0x1000df50
mov ecx, dword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x40]
inc esi
mov eax, esi
mov dword [ebp - 0x14], esi
sub eax, ecx
cmp eax, 0x14
ja 0x1000df76
movsd xmm1, qword [0x10031258]
comisd xmm1, xmm0
jbe 0x1000df76
mov eax, dword [ebp - 0x18]
jmp 0x1000decf
mov ecx, dword [ebp - 0x20]
cmp esi, 1
mov byte [ebp - 4], 5
lea eax, [esi - 1]
cmovbe eax, esi
mov esi, ecx
cmp eax, ecx
cmovbe esi, eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], esi
test eax, eax
je 0x1000dfaa
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100304d0]
call esi
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
push str.Rows
push dword [ebp - 0x10]
call fcn.1001cc74
test eax, eax
js 0x1000e0a3
xor esi, esi
inc esi
xor eax, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x1000dff3
and dword [ebp - 0x18], 0
test eax, eax
je 0x1000dff3
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100304d0]
call esi
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
push edi
push dword [ebp - 0x28]
call fcn.1001cc74
test eax, eax
js 0x1000e072
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.oleaut32.dll_VariantClear]
push 0
push str.Height
push dword [ebp - 0x18]
lea eax, [ebp - 0x60]
push eax
push 2
push ebx
call fcn.1001cc74
add esp, 0x18
test eax, eax
js 0x1000e04d
movsd xmm0, qword [ebp - 0x58]
comisd xmm0, xmmword [0x10031250]
jbe 0x1000e04d
addsd xmm0, qword [ebp - 0x48]
mov esi, edi
mov dword [ebp - 0x24], esi
movsd qword [ebp - 0x48], xmm0
jmp 0x1000e052
movsd xmm0, qword [ebp - 0x48]
inc edi
mov eax, edi
sub eax, esi
cmp eax, 0x14
ja 0x1000e072
movsd xmm1, qword [0x10031260]
comisd xmm1, xmm0
jbe 0x1000e072
mov eax, dword [ebp - 0x18]
jmp 0x1000dfd4
cmp edi, 1
mov byte [ebp - 4], 5
lea eax, [edi - 1]
cmovbe eax, edi
mov edi, esi
cmp eax, esi
cmovbe edi, eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], edi
test eax, eax
je 0x1000e0a3
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100304d0]
call esi
mov dword [ebp - 0x24], edi
xor eax, eax
mov dword [ebp - 0x18], eax
push 3
pop eax
mov word [ebp - 0x70], ax
mov dword [ebp - 0x68], 1
push 9
pop eax
mov byte [ebp - 4], al
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.oleaut32.dll_VariantClear]
sub esp, 0x10
lea esi, [ebp - 0x70]
mov edi, esp
lea eax, [ebp - 0x60]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x70]
push 2
push str.Cells
push dword [ebp - 0x10]
movsd dword es:[edi], dword [esi]
push eax
push 2
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1001cc74
add esp, 0x38
test eax, eax
js 0x1000e106
push dword [ebp - 0x58]
lea ecx, [ebp - 0x18]
call fcn.1001cc74
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.oleaut32.dll_VariantCopy]
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
push 0x13
pop esi
mov word [ebp - 0x50], si
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x70]
call fcn.1001cc74
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.oleaut32.dll_VariantCopy]
mov eax, dword [ebp - 0x14]
mov word [ebp - 0x80], si
mov dword [ebp - 0x78], eax
sub esp, 0x10
mov byte [ebp - 4], 0xc
mov edi, esp
lea esi, [ebp - 0x80]
sub esp, 0x10
lea eax, [ebp - 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x70]
push 2
push str.Cells
push dword [ebp - 0x10]
movsd dword es:[edi], dword [esi]
push eax
push 2
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1001cc74
add esp, 0x38
test eax, eax
js 0x1000e18a
push dword [ebp - 0x58]
lea ecx, [ebp - 0x20]
call fcn.1001cc74
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.oleaut32.dll_VariantCopy]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x48], eax
push 9
pop edi
mov word [ebp - 0x50], di
test eax, eax
je 0x1000e1b5
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 4]
mov ecx, esi
call dword [0x100304d0]
call esi
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x70]
call fcn.1001cc74
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0xc
push eax
call dword [sym.imp.oleaut32.dll_VariantCopy]
mov eax, dword [ebp - 0x20]
mov word [ebp - 0x50], di
mov dword [ebp - 0x48], eax
test eax, eax
je 0x1000e1f1
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 4]
mov ecx, esi
call dword [0x100304d0]
call esi
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x80]
call fcn.1001cc74
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0xc
push eax
call dword [sym.imp.oleaut32.dll_VariantCopy]
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.oleaut32.dll_VariantClear]
sub esp, 0x10
lea esi, [ebp - 0x80]
mov edi, esp
lea eax, [ebp - 0x60]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x70]
push 2
push str.Range
push dword [ebp - 0x10]
movsd dword es:[edi], dword [esi]
push eax
push 2
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1001cc74
add esp, 0x38
test eax, eax
js 0x1000e25e
push dword [ebp - 0x58]
lea ecx, [ebp - 0x30]
call fcn.1001cc74
mov esi, dword [ebp - 0x30]
jmp 0x1000e261
mov esi, dword [ebp - 0x34]
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.oleaut32.dll_VariantCopy]
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.oleaut32.dll_VariantCopy]
push 9
pop eax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x1000e292
mov ecx, dword [eax]
push eax
mov edi, dword [ecx + 8]
mov ecx, edi
call dword [0x100304d0]
call edi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.oleaut32.dll_VariantCopy]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 5
test eax, eax
je 0x1000e2b7
mov ecx, dword [eax]
push eax
mov edi, dword [ecx + 8]
mov ecx, edi
call dword [0x100304d0]
call edi
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 4
test eax, eax
je 0x1000e2d2
mov ecx, dword [eax]
push eax
mov edi, dword [ecx + 8]
mov ecx, edi
call dword [0x100304d0]
call edi
push 3
pop eax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x1000e311
mov ecx, dword [eax]
push eax
mov edi, dword [ecx + 8]
mov ecx, edi
call dword [0x100304d0]
call edi
jmp 0x1000e311
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1000e3c3
mov ecx, dword [eax]
mov esi, eax
push eax
mov edi, dword [ecx + 4]
mov ecx, edi
call dword [0x100304d0]
call edi
mov dword [ebp - 0x30], esi
test esi, esi
je 0x1000e3b9
push dword [ebx + 4]
call dword [sym.imp.user32.dll_OpenClipboard]
test eax, eax
je 0x1000e332
call dword [sym.imp.user32.dll_EmptyClipboard]
call dword [sym.imp.user32.dll_CloseClipboard]
push 0
push str.CopyPicture
push esi
lea eax, [ebp - 0x60]
push eax
push 1
push ebx
call fcn.1001cc74
add esp, 0x18
test eax, eax
js 0x1000e3be
push dword [ebx + 4]
mov edi, 0x80004005
mov dword [ebp - 0x1c], edi
call dword [sym.imp.user32.dll_OpenClipboard]
test eax, eax
je 0x1000e3c3
push 0xe
call dword [sym.imp.user32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x1000e3b1
push 0xe
call dword [sym.imp.user32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x1000e3ae
push 0
push dword [ebp + 8]
mov ecx, ebx
push dword [ebx + 0x58]
push dword [ebx + 0x54]
push edi
call fcn.100129c0
cmp dword [ebx + 0x2c], 0
mov dword [ebp - 0x1c], eax
je 0x1000e3a8
cmp dword [ebx + 0x50], 0
jne 0x1000e3a8
push dword [ebx + 0x2c]
push edi
call dword [sym.imp.GDI32.dll_CopyEnhMetaFileW]
call dword [sym.imp.user32.dll_EmptyClipboard]
mov edi, dword [ebp - 0x1c]
call dword [sym.imp.user32.dll_CloseClipboard]
jmp 0x1000e3c3
mov edi, dword [ebp - 0x1c]
jmp 0x1000e3c3
mov edi, 0x80004005
push dword [ebp - 0x38]
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 1
test esi, esi
je 0x1000e3e4
mov eax, dword [esi]
push esi
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x100304d0]
call esi
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0
test eax, eax
je 0x1000e3ff
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100304d0]
call esi
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.oleaut32.dll_VariantCopy]
mov eax, edi
call fcn.10016dca
ret 4