Function at 0x100686b0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1008e690
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x100c90c0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebx, ecx
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x48], eax
mov edx, dword [ebx + 0x8c]
xor esi, esi
mov dword [esp + 0x20], eax
test edx, edx
je 0x100688ea
mov eax, dword [edx]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [eax + 0x48]
test eax, eax
js 0x100688e6
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x100688e6
mov eax, dword [ecx]
lea edx, [esp + 0x14]
push edx
push 0x10096db4
push ecx
call dword [eax]
mov ecx, 1
test eax, eax
cmove esi, ecx
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x10068742
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
test esi, esi
je 0x100688e6
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100688ea
mov dword [esp + 0x1c], 0
lea edx, [esp + 0x1c]
mov byte [esp + 0x48], 1
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x54]
test eax, eax
mov eax, dword [esp + 0x1c]
jne 0x100688cc
test eax, eax
je 0x100688cc
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], 0
lea edx, [esp + 0x24]
mov byte [esp + 0x48], 3
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
jne 0x1006889b
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
call fcn.100689a0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1006889f
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
call dword [ecx + 0x24]
mov esi, eax
test esi, esi
jne 0x1006889b
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1006889b
push eax
lea ecx, [esp + 0x24]
call fcn.1002e600
mov edi, dword [eax]
test edi, edi
je 0x100687f9
mov edi, dword [edi]
jmp 0x100687fb
xor edi, edi
lea ecx, [esp + 0x20]
call fcn.1002e5a0
push ecx
push edi
lea ecx, [esp + 0x34]
call fcn.1003e580
push dword [ebx + 0x28]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x1006882e
lea ecx, [esp + 0x2c]
lea esi, [eax + 1]
call fcn.10022960
mov eax, dword [esp + 0x18]
jmp 0x100688a4
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x10068881
mov eax, dword [esp + 0x30]
lea eax, [eax*2 + 1]
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x10068886
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
inc ecx
push ecx
push eax
call fcn.1006fdc7
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
jmp 0x10068886
mov esi, 1
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0x2c]
call fcn.10022960
mov eax, dword [esp + 0x18]
jmp 0x100688a4
mov eax, dword [esp + 0x18]
mov esi, 1
mov byte [esp + 0x48], 2
test eax, eax
je 0x100688b3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x48], 1
mov eax, dword [esp + 0x24]
test eax, eax
je 0x100688c6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
jmp 0x100688d1
mov esi, 1
mov byte [esp + 0x48], 0
test eax, eax
je 0x100688e0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
jmp 0x100688ef
mov eax, dword [esp + 0x14]
mov esi, 1
mov dword [esp + 0x48], 0xffffffff
test eax, eax
je 0x10068901
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret