Function at 0x10011d20
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009fd8d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x100c50e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0xc4]
lea ecx, [ebp - 0x29]
call fcn.10011cc0
mov dword [ebp - 4], 0
cmp byte [ebp - 0x29], 0
je 0x10011f3b
mov eax, dword [esi + 0xb8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 1
mov ecx, dword [eax + 0x64]
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x10011d97
mov edx, dword [ecx + 0x34]
test edx, edx
jle 0x10011d97
mov eax, dword [ecx]
and byte [edx + eax - 1], 0xef
mov eax, dword [ecx + 0x38]
inc eax
mov dword [ecx + 0x38], eax
mov byte [ebp - 4], 1
mov ecx, dword [esi + 0x38]
mov edx, dword [esi + 0x3c]
mov edi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
cmp ecx, edx
je 0x10011dc6
nop
mov eax, dword [ecx + 8]
cmp eax, dword [ecx]
jne 0x10011de2
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 4]
jne 0x10011de2
add ecx, 0x10
cmp ecx, edx
jne 0x10011db0
movzx eax, word [esi + 0x68a]
push eax
call edi
test eax, eax
jne 0x10011de9
movzx eax, word [esi + 0x68c]
push eax
call edi
test eax, eax
jne 0x10011de9
xor eax, eax
mov dword [ebp - 0x34], eax
jmp 0x10011df0
mov dword [ebp - 0x34], 2
cmp dword [esi + 0x354], 1
mov ecx, esi
sete al
movzx eax, al
push eax
call fcn.10049bb0
movzx eax, word [esi + 0x686]
push eax
call edi
test eax, eax
setne bl
test eax, eax
jne 0x10011e5b
movzx eax, word [esi + 0x688]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x10011e5b
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x10011e5b
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
cmp eax, 1
jne 0x10011e52
mov eax, dword [ebp - 0x30]
cmp byte [eax], 2
jne 0x10011e52
mov bl, 1
jmp 0x10011e54
xor bl, bl
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test bl, bl
mov eax, 1
mov ebx, dword [ebp - 0x34]
push 0xd
cmovne ebx, eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x10011f14
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, eax
test ecx, ecx
je 0x10011f14
sub esp, 8
lea eax, [ecx + 2]
mov edx, esp
mov dword [ebp - 0x30], eax
mov dword [edx], ecx
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10011ea0
sub ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x28]
sar ecx, 1
mov dword [edx + 4], ecx
mov ecx, esi
push eax
call fcn.1000d480
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov ecx, esi
push ebx
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10049980
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10011f14
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10011f0a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011f57
push edx
push ecx
call fcn.1008376a
add esp, 8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx + 0x64]
add dword [eax + 0x38], 0xffffffff
jne 0x10011f35
mov ecx, dword [eax + 0x34]
test ecx, ecx
jle 0x10011f35
mov eax, dword [eax]
and byte [ecx + eax - 1], 0xef
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10083210
mov esp, ebp
pop ebp
ret
call fcn.10089306
int3