Function at 0x1000df00
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp 0x1000df09
push 0x74
mov eax, 0x1002cedf
call fcn.10016fd1
mov ebx, ecx
xor edi, edi
lea eax, [ebp - 0x60]
push 0x10
push edi
push eax
mov dword [ebp - 0x1c], edi
call fcn.100194b0
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.100151f1
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.100226a8
add esp, 0x18
test eax, eax
js 0x1000e52e
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.1000e901
test eax, eax
js 0x1000e52e
push esi
push str.Select
push dword [ebp - 0x10]
lea eax, [ebp - 0x60]
push eax
push 1
push ebx
call fcn.100226a8
add esp, 0x18
test eax, eax
js 0x1000e52e
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.100226a8
add esp, 0x18
test eax, eax
js 0x1000e461
cmp dword [ebp - 0x58], 0xffffefb9
jne 0x1000e461
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.100226a8
test eax, eax
js 0x1000e11a
xor eax, eax
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x1000e05e
and dword [ebp - 0x18], 0
test eax, eax
je 0x1000e05e
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x1002f4d0]
call esi
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
push esi
push dword [ebp - 0x2c]
call fcn.100226a8
test eax, eax
js 0x1000e0e3
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.100226a8
add esp, 0x18
test eax, eax
js 0x1000e0b8
movsd xmm0, qword [ebp - 0x58]
comisd xmm0, xmmword [0x10030250]
jbe 0x1000e0b8
addsd xmm0, qword [ebp - 0x40]
mov ecx, esi
mov dword [ebp - 0x20], ecx
movsd qword [ebp - 0x40], xmm0
jmp 0x1000e0c0
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 0x1000e0e6
movsd xmm1, qword [0x10030258]
comisd xmm1, xmm0
jbe 0x1000e0e6
mov eax, dword [ebp - 0x18]
jmp 0x1000e03f
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 0x1000e11a
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x1002f4d0]
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.100226a8
test eax, eax
js 0x1000e213
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 0x1000e163
and dword [ebp - 0x18], 0
test eax, eax
je 0x1000e163
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x1002f4d0]
call esi
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
push edi
push dword [ebp - 0x28]
call fcn.100226a8
test eax, eax
js 0x1000e1e2
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.100226a8
add esp, 0x18
test eax, eax
js 0x1000e1bd
movsd xmm0, qword [ebp - 0x58]
comisd xmm0, xmmword [0x10030250]
jbe 0x1000e1bd
addsd xmm0, qword [ebp - 0x48]
mov esi, edi
mov dword [ebp - 0x24], esi
movsd qword [ebp - 0x48], xmm0
jmp 0x1000e1c2
movsd xmm0, qword [ebp - 0x48]
inc edi
mov eax, edi
sub eax, esi
cmp eax, 0x14
ja 0x1000e1e2
movsd xmm1, qword [0x10030260]
comisd xmm1, xmm0
jbe 0x1000e1e2
mov eax, dword [ebp - 0x18]
jmp 0x1000e144
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 0x1000e213
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x1002f4d0]
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.100226a8
add esp, 0x38
test eax, eax
js 0x1000e276
push dword [ebp - 0x58]
lea ecx, [ebp - 0x18]
call fcn.100226a8
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.100226a8
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.100226a8
add esp, 0x38
test eax, eax
js 0x1000e2fa
push dword [ebp - 0x58]
lea ecx, [ebp - 0x20]
call fcn.100226a8
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 0x1000e325
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 4]
mov ecx, esi
call dword [0x1002f4d0]
call esi
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x70]
call fcn.100226a8
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 0x1000e361
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 4]
mov ecx, esi
call dword [0x1002f4d0]
call esi
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x80]
call fcn.100226a8
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.100226a8
add esp, 0x38
test eax, eax
js 0x1000e3ce
push dword [ebp - 0x58]
lea ecx, [ebp - 0x30]
call fcn.100226a8
mov esi, dword [ebp - 0x30]
jmp 0x1000e3d1
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 0x1000e402
mov ecx, dword [eax]
push eax
mov edi, dword [ecx + 8]
mov ecx, edi
call dword [0x1002f4d0]
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 0x1000e427
mov ecx, dword [eax]
push eax
mov edi, dword [ecx + 8]
mov ecx, edi
call dword [0x1002f4d0]
call edi
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 4
test eax, eax
je 0x1000e442
mov ecx, dword [eax]
push eax
mov edi, dword [ecx + 8]
mov ecx, edi
call dword [0x1002f4d0]
call edi
push 3
pop eax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x1000e481
mov ecx, dword [eax]
push eax
mov edi, dword [ecx + 8]
mov ecx, edi
call dword [0x1002f4d0]
call edi
jmp 0x1000e481
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1000e533
mov ecx, dword [eax]
mov esi, eax
push eax
mov edi, dword [ecx + 4]
mov ecx, edi
call dword [0x1002f4d0]
call edi
mov dword [ebp - 0x30], esi
test esi, esi
je 0x1000e529
push dword [ebx + 4]
call dword [sym.imp.user32.dll_OpenClipboard]
test eax, eax
je 0x1000e4a2
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.100226a8
add esp, 0x18
test eax, eax
js 0x1000e52e
push dword [ebx + 4]
mov edi, 0x80004005
mov dword [ebp - 0x1c], edi
call dword [sym.imp.user32.dll_OpenClipboard]
test eax, eax
je 0x1000e533
push 0xe
call dword [sym.imp.user32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x1000e521
push 0xe
call dword [sym.imp.user32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x1000e51e
push 0
push dword [ebp + 8]
mov ecx, ebx
push dword [ebx + 0x58]
push dword [ebx + 0x54]
push edi
call fcn.10012b62
cmp dword [ebx + 0x2c], 0
mov dword [ebp - 0x1c], eax
je 0x1000e518
cmp dword [ebx + 0x50], 0
jne 0x1000e518
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 0x1000e533
mov edi, dword [ebp - 0x1c]
jmp 0x1000e533
mov edi, 0x80004005
push dword [ebp - 0x38]
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 1
test esi, esi
je 0x1000e554
mov eax, dword [esi]
push esi
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x1002f4d0]
call esi
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0
test eax, eax
je 0x1000e56f
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x1002f4d0]
call esi
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.oleaut32.dll_VariantCopy]
mov eax, edi
call fcn.10016f9a
ret 4