Function at 0x1000bb85
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp 0x1000bb8e
push 0x6c
mov eax, 0x1002c6d4
call fcn.10014ef4
mov ebx, ecx
xor eax, eax
push 0x10
push eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x58]
push eax
call fcn.100182f0
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
xor esi, esi
mov dword [ebp - 0x30], esi
mov byte [ebp - 4], 2
call fcn.100129c6
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 - 0x58]
push eax
push 1
push ebx
call main
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
add esp, 0x18
test eax, eax
js 0x1000c0f1
lea eax, [ebp - 0x58]
push eax
call edi
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
mov eax, dword [ebx + 0x50]
inc eax
push eax
call fcn.1000c439
test eax, eax
js 0x1000c0f1
push esi
push str.Select
push dword [ebp - 0x10]
lea eax, [ebp - 0x58]
push eax
push 1
push ebx
call main
add esp, 0x18
test eax, eax
js 0x1000c0f1
lea eax, [ebp - 0x58]
push eax
call edi
push esi
push str.Type
push dword [ebp - 0x10]
lea eax, [ebp - 0x58]
push eax
push 2
push ebx
call main
add esp, 0x18
test eax, eax
js 0x1000c02f
cmp dword [ebp - 0x50], 0xffffefb9
jne 0x1000c02f
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
xor edi, edi
inc edi
movsd qword [ebp - 0x24], xmm0
inc esi
movsd qword [ebp - 0x40], xmm0
mov ecx, ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
call main
test eax, eax
js 0x1000bd66
xor esi, esi
inc esi
and dword [ebp - 0x14], 0
mov byte [ebp - 4], 6
push 0
lea ecx, [ebp - 0x14]
call main
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
push edi
push dword [ebp - 0x2c]
call main
test eax, eax
js 0x1000bd3c
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0
push str.Width
push dword [ebp - 0x14]
lea eax, [ebp - 0x58]
push eax
push 2
push ebx
call main
add esp, 0x18
test eax, eax
js 0x1000bd1f
movsd xmm0, qword [ebp - 0x50]
comisd xmm0, xmmword [0x10031d80]
jbe 0x1000bd1f
addsd xmm0, qword [ebp - 0x24]
mov esi, edi
movsd qword [ebp - 0x24], xmm0
jmp 0x1000bd24
movsd xmm0, qword [ebp - 0x24]
inc edi
mov eax, edi
sub eax, esi
cmp eax, 0x14
ja 0x1000bd3c
movsd xmm1, qword [0x10031d88]
comisd xmm1, xmm0
ja 0x1000bcbe
cmp edi, 1
mov byte [ebp - 4], 5
lea eax, [edi - 1]
cmovbe eax, edi
mov edi, esi
cmp eax, esi
mov esi, dword [ebp - 0x18]
cmovbe edi, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], edi
test eax, eax
je 0x1000bd66
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
push str.Rows
push dword [ebp - 0x10]
call main
test eax, eax
js 0x1000be31
xor edi, edi
inc edi
and dword [ebp - 0x14], 0
mov byte [ebp - 4], 7
push 0
lea ecx, [ebp - 0x14]
call main
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
push esi
push dword [ebp - 0x28]
call main
test eax, eax
js 0x1000be0a
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0
push str.Height
push dword [ebp - 0x14]
lea eax, [ebp - 0x58]
push eax
push 2
push ebx
call main
add esp, 0x18
test eax, eax
js 0x1000bded
movsd xmm0, qword [ebp - 0x50]
comisd xmm0, xmmword [0x10031d80]
jbe 0x1000bded
addsd xmm0, qword [ebp - 0x40]
mov edi, esi
movsd qword [ebp - 0x40], xmm0
jmp 0x1000bdf2
movsd xmm0, qword [ebp - 0x40]
inc esi
mov eax, esi
sub eax, edi
cmp eax, 0x14
ja 0x1000be0a
movsd xmm1, qword [0x10031d90]
comisd xmm1, xmm0
ja 0x1000bd8c
cmp esi, 1
mov byte [ebp - 4], 5
lea eax, [esi - 1]
cmovbe eax, esi
mov esi, edi
cmp eax, edi
cmovbe esi, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], esi
test eax, eax
je 0x1000be31
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x18], esi
xor eax, eax
mov dword [ebp - 0x20], eax
push 3
pop eax
mov word [ebp - 0x68], ax
mov dword [ebp - 0x60], 1
push 9
pop eax
mov byte [ebp - 4], al
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
sub esp, 0x10
lea esi, [ebp - 0x68]
mov edi, esp
lea eax, [ebp - 0x58]
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 - 0x68]
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 main
add esp, 0x38
test eax, eax
js 0x1000be94
push dword [ebp - 0x50]
lea ecx, [ebp - 0x20]
call main
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
push 0x13
pop esi
mov word [ebp - 0x48], si
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x68]
call main
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x1c]
mov word [ebp - 0x78], si
mov dword [ebp - 0x70], eax
sub esp, 0x10
mov byte [ebp - 4], 0xc
mov edi, esp
lea esi, [ebp - 0x78]
sub esp, 0x10
lea eax, [ebp - 0x58]
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 - 0x68]
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 main
add esp, 0x38
test eax, eax
js 0x1000bf18
push dword [ebp - 0x50]
lea ecx, [ebp - 0x14]
call main
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x58]
push eax
call esi
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
push 9
pop edi
mov word [ebp - 0x48], di
test eax, eax
je 0x1000bf3b
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x68]
call main
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xc
push eax
call esi
mov eax, dword [ebp - 0x14]
mov word [ebp - 0x48], di
mov dword [ebp - 0x40], eax
test eax, eax
je 0x1000bf69
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x78]
call main
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xc
push eax
call esi
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
sub esp, 0x10
lea esi, [ebp - 0x78]
mov edi, esp
lea eax, [ebp - 0x58]
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 - 0x68]
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 main
add esp, 0x38
test eax, eax
js 0x1000bfcd
push dword [ebp - 0x50]
lea ecx, [ebp - 0x30]
call main
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x58]
push eax
call edi
lea eax, [ebp - 0x78]
push eax
call edi
push 9
pop eax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1000bff2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x68]
push eax
call edi
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 5
test eax, eax
je 0x1000c009
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 4
test eax, eax
je 0x1000c01a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 3
pop eax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x1000c03b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1000c03b
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x30]
call main
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x1000c0ec
push dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_OpenClipboard]
call edi
test eax, eax
je 0x1000c061
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0
push str.CopyPicture
push esi
lea eax, [ebp - 0x58]
push eax
push 1
push ebx
call main
add esp, 0x18
test eax, eax
js 0x1000c0f1
push dword [ebx + 4]
mov dword [ebp - 0x34], 0x80004005
call edi
test eax, eax
je 0x1000c0ec
push 0xe
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x1000c0e6
push 0xe
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x1000c0e6
push edi
call dword [sym.imp.kernel32.dll_GlobalLock]
push 0
push dword [ebp + 8]
mov ecx, ebx
push dword [ebx + 0x58]
push dword [ebx + 0x54]
push edi
call fcn.10010043
cmp dword [ebx + 0x2c], 0
mov dword [ebp - 0x34], eax
je 0x1000c0d9
cmp dword [ebx + 0x50], 0
jne 0x1000c0d9
push dword [ebx + 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 ebx, dword [ebp - 0x34]
jmp 0x1000c0f6
mov ebx, 0x80004005
push dword [ebp - 0x38]
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 1
test esi, esi
je 0x1000c10d
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x1000c11e
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, ebx
call fcn.10014ebd
ret 4