Function at 0x1010c2a0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10247851
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x102ca474]
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.1000879d
mov dword [ebp - 4], 1
push 0xd
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x1010c305
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.10008e48
jmp 0x1010c4fc
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1010c4f1
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x40], eax
test eax, eax
je 0x1010c4eb
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 0x1010c38d
mov dword [ebp - 0x2c], ebx
cmp ecx, 8
jb 0x1010c361
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 0x1010c4e2
lea ecx, [ebp - 0x28]
call fcn.1000608d
cmp esi, eax
ja 0x1010c52d
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 0x1010c3f6
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 0x1010c3f3
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 0x1010c408
or ecx, 0xffffffff
jmp 0x1010c410
cmp ecx, 0x1000
jb 0x1010c43c
lea eax, [ecx + 0x23]
or edx, 0xffffffff
cmp eax, ecx
cmovbe eax, edx
push eax
call fcn.101e74f1
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x1010c532
mov edx, dword [ebp - 0x34]
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x1010c450
test ecx, ecx
je 0x1010c44e
push ecx
call fcn.101e74f1
mov edx, dword [ebp - 0x34]
add esp, 4
jmp 0x1010c450
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 0x1010c4c2
mov eax, dword [ebx]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x1010c4b1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010c532
mov eax, edx
push ecx
push eax
call fcn.101e74c0
mov eax, dword [ebp - 0x2c]
add esp, 8
mov dword [ebx], eax
jmp 0x1010c4e2
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.10008e48
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.101e7040
mov esp, ebp
pop ebp
ret
call fcn.1000604b
call fcn.102086be
int3