Function at 0x10109b50
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10244e31
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x102c6474]
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 edi, ecx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x50], edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x3c], 0
call fcn.10007fd4
mov dword [ebp - 4], 1
push 0xd
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x10109bb5
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.100085c3
jmp 0x10109dac
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10109da1
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x40], eax
test eax, eax
je 0x10109d9b
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov dword [ebp - 0x30], eax
call fcn.10005f42
add esp, 4
lea ecx, [ebp - 0x28]
mov esi, eax
mov dword [ebp - 0x38], esi
call fcn.10005e30
mov ebx, eax
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x4c], ecx
cmp esi, ecx
ja 0x10109c3d
mov dword [ebp - 0x2c], ebx
cmp ecx, 8
jb 0x10109c11
mov eax, dword [ebx]
mov dword [ebp - 0x2c], eax
push esi
push dword [ebp - 0x30]
mov dword [ebx + 0x10], esi
push eax
call fcn.10005f10
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
mov eax, dword [ebp - 0x2c]
lea eax, [eax + esi*2]
push eax
call fcn.10005eff
add esp, 0x14
jmp 0x10109d92
lea ecx, [ebp - 0x28]
call fcn.1000608d
cmp esi, eax
ja 0x10109ddd
lea ecx, [ebp - 0x28]
call fcn.1000608d
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x34], eax
call fcn.10005e30
mov edx, dword [ebp - 0x34]
mov ecx, esi
or ecx, 7
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x48], ecx
cmp ecx, edx
ja 0x10109ca6
mov ecx, dword [eax + 0x14]
mov eax, edx
mov esi, dword [ebp - 0x2c]
shr ecx, 1
sub eax, ecx
cmp dword [esi + 0x14], eax
mov esi, dword [ebp - 0x38]
ja 0x10109ca3
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x14]
add eax, ecx
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.10005ed6
add esp, 8
mov edx, dword [eax]
mov dword [ebp - 0x34], edx
lea eax, [edx + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x10109cb8
or ecx, 0xffffffff
jmp 0x10109cc0
cmp ecx, 0x1000
jb 0x10109cec
lea eax, [ecx + 0x23]
or edx, 0xffffffff
cmp eax, ecx
cmovbe eax, edx
push eax
call fcn.101e4da1
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x10109de2
mov edx, dword [ebp - 0x34]
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x10109d00
test ecx, ecx
je 0x10109cfe
push ecx
call fcn.101e4da1
mov edx, dword [ebp - 0x34]
add esp, 4
jmp 0x10109d00
xor eax, eax
push dword [ebp - 0x38]
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x30]
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], edx
mov esi, dword [ebp - 0x2c]
push esi
call fcn.10005f29
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
mov eax, dword [ebp - 0x38]
lea eax, [esi + eax*2]
push eax
call fcn.10005eff
mov ecx, dword [ebp - 0x4c]
add esp, 0x14
cmp ecx, 8
jb 0x10109d72
mov eax, dword [ebx]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x10109d61
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10109de2
mov eax, edx
push ecx
push eax
call fcn.101e4d70
mov eax, dword [ebp - 0x2c]
add esp, 8
mov dword [ebx], eax
jmp 0x10109d92
push ebx
call fcn.10005f6e
push eax
push 4
call fcn.10005b84
mov esi, eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10005f6e
add esp, 0x10
mov ecx, dword [eax]
mov dword [esi], ecx
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.100085c3
mov dword [ebp - 0x3c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10005e05
mov eax, edi
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.101e48f0
mov esp, ebp
pop ebp
ret
call fcn.1000604b
call fcn.10205f6e
int3