Function at 0x1014055
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x8c
mov eax, 0x10b194b
call fcn.0101df4b
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x168], edi
jne 0x101407a
mov eax, 0x8000ffff
jmp 0x101430d
cmp dword [esi + 0xecc], edi
jne 0x1014091
call fcn.0104a066
mov dword [esi + 0xecc], eax
cmp eax, edi
je 0x1014070
xor ebx, ebx
inc ebx
test byte [0x10c5638], bl
jne 0x10140c2
mov edi, dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
or dword [0x10c5638], ebx
push 0x1002570
call edi
push 0x1002598
mov dword [0x10c5630], eax
call edi
mov dword [0x10c5634], eax
xor edi, edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], edi
mov eax, dword [esi + 0x168]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push eax
mov byte [ebp - 4], 2
call dword [ecx + 0x50]
mov edi, eax
test edi, edi
jl 0x10142eb
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10140ff
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push eax
call dword [ecx + 0x20]
mov edi, eax
test edi, edi
jl 0x10142eb
mov eax, dword [esi + 0xecc]
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push dword [ebp - 0x24]
push eax
call dword [ecx + 0x28]
mov edi, eax
test edi, edi
jl 0x10142eb
push 0x10028a8
lea ecx, [ebp - 0x18]
call fcn.01012445
push dword [ebp - 0x28]
lea ecx, [ebp - 0x18]
call fcn.01011a11
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1014202
call dword [sym.imp.USER32.dll_EmptyClipboard]
and dword [ebp - 0x10], 0
cmp dword [0x10bbaa0], 0
jbe 0x10141fc
lea eax, [edi + edi]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add eax, 2
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10141ea
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
je 0x10141ca
mov eax, dword [ebp - 0x20]
add eax, 2
push eax
push 0
push edi
call sub.msvcrt.dll_memset
push dword [ebp - 0x20]
lea eax, [edi + 2]
push dword [ebp - 0x18]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0x18
push dword [ebp - 0x14]
mov eax, 0xfeff
mov word [edi], ax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
push dword [eax*4 + 0x10c5630]
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x10141ea
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [0x10bbaa0]
jb 0x1014175
call dword [sym.imp.USER32.dll_CloseClipboard]
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0x70
lea eax, [ebp - 0x98]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x11
pop eax
push 0x56
mov word [ebp - 0x94], ax
pop eax
push 2
mov word [ebp - 0x78], ax
pop eax
push 0x11
pop ecx
push 0x56
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x3c], eax
pop eax
mov word [ebp - 0x40], ax
push 0x1c
lea eax, [ebp - 0x98]
push eax
push 4
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x60], ebx
mov word [ebp - 0x5c], cx
mov dword [ebp - 0x44], ebx
call dword [sym.imp.USER32.dll_SendInput]
and dword [ebp - 0x10], 0
mov eax, dword [esi + 0x168]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
mov byte [ebp - 4], 3
call dword [ecx + 0x48]
mov edi, eax
test edi, edi
jl 0x10142c4
cmp dword [ebp - 0x10], 0
je 0x10142b1
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
call fcn.0102f593
test eax, eax
jl 0x10142b1
push dword [ebp - 0x14]
lea ecx, [esi + 0xed4]
push 0xe9b
call fcn.0102ef60
push dword [ebp - 0x1c]
lea ecx, [esi + 0xe1c]
push dword [ebp - 0x10]
call fcn.0101a1ef
mov edi, eax
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 2
test eax, eax
je 0x10142d5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test edi, edi
jl 0x10142eb
cmp dword [esi + 0xeb8], 0
je 0x10142eb
mov ecx, esi
call fcn.010125d4
mov edi, eax
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], bl
test eax, eax
je 0x10142fb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x28]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x24]
call esi
mov eax, edi
call fcn.0101e037
ret