Function at 0x1000b94d
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp 0x1000b956
push 0x74
mov eax, 0x1002a260
call fcn.1001624d
mov esi, ecx
mov dword [ebp - 0x1c], esi
xor ebx, ebx
lea eax, [ebp - 0x60]
push 0x10
push ebx
push eax
mov dword [ebp - 0x2c], ebx
call fcn.10016100
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], 2
call fcn.1001283e
push eax
mov dword [ebp - 0x38], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
push 3
pop eax
push ebx
push str.Activate
push dword [esi + 0x44]
mov byte [ebp - 4], al
lea eax, [ebp - 0x60]
push eax
push 1
push esi
call fcn.1001e573
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
add esp, 0x18
test eax, eax
js 0x1000bed4
lea eax, [ebp - 0x60]
push eax
call edi
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
mov eax, dword [esi + 0x50]
inc eax
push eax
call fcn.1000c220
test eax, eax
js 0x1000bed4
push ebx
push str.Select
push dword [ebp - 0x10]
lea eax, [ebp - 0x60]
push eax
push 1
push esi
call fcn.1001e573
add esp, 0x18
test eax, eax
js 0x1000bed4
lea eax, [ebp - 0x60]
push eax
call edi
push ebx
push str.Type
push dword [ebp - 0x10]
lea eax, [ebp - 0x60]
push eax
push 2
push esi
call fcn.1001e573
add esp, 0x18
test eax, eax
js 0x1000be12
cmp dword [ebp - 0x58], 0xffffefb9
jne 0x1000be12
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 5
push eax
push str.Columns
push dword [ebp - 0x10]
xorps xmm0, xmm0
xor edi, edi
inc edi
movsd qword [ebp - 0x40], xmm0
inc ebx
movsd qword [ebp - 0x48], xmm0
mov ecx, esi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], ebx
call fcn.1001e573
test eax, eax
js 0x1000bb3c
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x1000ba98
and dword [ebp - 0x14], 0
test eax, eax
je 0x1000ba98
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
push edi
push dword [ebp - 0x24]
call fcn.1001e573
test eax, eax
js 0x1000bb1a
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0
push str.Width
push dword [ebp - 0x14]
lea eax, [ebp - 0x60]
push eax
push 2
push esi
call fcn.1001e573
add esp, 0x18
test eax, eax
js 0x1000baf2
movsd xmm0, qword [ebp - 0x58]
comisd xmm0, xmmword [0x1002edc0]
jbe 0x1000baf2
addsd xmm0, qword [ebp - 0x40]
mov ecx, edi
mov dword [ebp - 0x18], ecx
movsd qword [ebp - 0x40], xmm0
jmp 0x1000bafa
mov ecx, dword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x40]
inc edi
mov eax, edi
sub eax, ecx
cmp eax, 0x14
ja 0x1000bb1d
movsd xmm1, qword [0x1002edc8]
comisd xmm1, xmm0
jbe 0x1000bb1d
mov eax, dword [ebp - 0x14]
jmp 0x1000ba86
mov ecx, dword [ebp - 0x18]
cmp edi, 1
jbe 0x1000bb23
dec edi
mov eax, dword [ebp - 0x14]
cmp edi, ecx
mov byte [ebp - 4], 5
cmova edi, ecx
mov dword [ebp - 0x34], edi
test eax, eax
je 0x1000bb3c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
push str.Rows
push dword [ebp - 0x10]
call fcn.1001e573
test eax, eax
js 0x1000bc10
xor edi, edi
inc edi
xor eax, eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x1000bb75
and dword [ebp - 0x14], 0
test eax, eax
je 0x1000bb75
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
push ebx
push dword [ebp - 0x20]
call fcn.1001e573
test eax, eax
js 0x1000bbf1
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0
push str.Height
push dword [ebp - 0x14]
lea eax, [ebp - 0x60]
push eax
push 2
push esi
call fcn.1001e573
add esp, 0x18
test eax, eax
js 0x1000bbcc
movsd xmm0, qword [ebp - 0x58]
comisd xmm0, xmmword [0x1002edc0]
jbe 0x1000bbcc
addsd xmm0, qword [ebp - 0x48]
mov edi, ebx
movsd qword [ebp - 0x48], xmm0
jmp 0x1000bbd1
movsd xmm0, qword [ebp - 0x48]
inc ebx
mov eax, ebx
sub eax, edi
cmp eax, 0x14
ja 0x1000bbf1
movsd xmm1, qword [0x1002edd0]
comisd xmm1, xmm0
jbe 0x1000bbf1
mov eax, dword [ebp - 0x14]
jmp 0x1000bb63
cmp ebx, 1
jbe 0x1000bbf7
dec ebx
mov eax, dword [ebp - 0x14]
cmp ebx, edi
mov byte [ebp - 4], 5
cmova ebx, edi
mov dword [ebp - 0x30], ebx
test eax, eax
je 0x1000bc10
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
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 dword [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1001e573
add esp, 0x38
test eax, eax
js 0x1000bc78
push dword [ebp - 0x58]
lea ecx, [ebp - 0x14]
call fcn.1001e573
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x30]
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.1001e573
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x34]
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 dword [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1001e573
add esp, 0x38
test eax, eax
js 0x1000bcfe
push dword [ebp - 0x58]
lea ecx, [ebp - 0x18]
call fcn.1001e573
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x60]
push eax
call esi
mov dword [ebp - 0x48], ebx
push 9
pop edi
mov word [ebp - 0x50], di
test ebx, ebx
je 0x1000bd1e
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x70]
call fcn.1001e573
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0xc
push eax
call esi
mov eax, dword [ebp - 0x18]
mov word [ebp - 0x50], di
mov dword [ebp - 0x48], eax
test eax, eax
je 0x1000bd4c
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x80]
call fcn.1001e573
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0xc
push eax
call esi
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
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x1c]
push esi
call fcn.1001e573
add esp, 0x38
test eax, eax
js 0x1000bdb3
push dword [ebp - 0x58]
lea ecx, [ebp - 0x28]
call fcn.1001e573
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x60]
push eax
call edi
lea eax, [ebp - 0x80]
push eax
call edi
push 9
pop eax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1000bdd8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x70]
push eax
call edi
mov byte [ebp - 4], 5
test ebx, ebx
je 0x1000bdec
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 4
test eax, eax
je 0x1000bdfd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 3
pop eax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x1000be1e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1000be1e
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x28]
call fcn.1001e573
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1000becf
push dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_OpenClipboard]
call edi
test eax, eax
je 0x1000be44
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0
push str.CopyPicture
push ebx
lea eax, [ebp - 0x60]
push eax
push 1
push esi
call fcn.1001e573
add esp, 0x18
test eax, eax
js 0x1000bed4
push dword [esi + 4]
mov dword [ebp - 0x2c], 0x80004005
call edi
test eax, eax
je 0x1000becf
push 0xe
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x1000bec9
push 0xe
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x1000bec9
push edi
call dword [sym.imp.kernel32.dll_GlobalLock]
push 0
push dword [ebp + 8]
mov ecx, esi
push dword [esi + 0x58]
push dword [esi + 0x54]
push edi
call fcn.1000fed5
cmp dword [esi + 0x2c], 0
mov dword [ebp - 0x2c], eax
je 0x1000bebc
cmp dword [esi + 0x50], 0
jne 0x1000bebc
push dword [esi + 0x2c]
push edi
call dword [sym.imp.GDI32.dll_CopyEnhMetaFileW]
push edi
call dword [sym.imp.kernel32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov esi, dword [ebp - 0x2c]
jmp 0x1000bed9
mov esi, 0x80004005
push dword [ebp - 0x38]
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 1
test ebx, ebx
je 0x1000bef0
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x1000bf01
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, esi
call fcn.1001621b
ret 4