Function at 0x10002c20
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10012949
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
mov eax, dword [0x1001b008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x20], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 0
push 0
mov dword [ebp - 0x20], 1
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10002e2e
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x10002e28
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x10002e21
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
jle 0x10002e21
mov eax, dword [edi + 0x10]
lea edx, [ecx + 1]
mov dword [ebp - 0x18], eax
cmp edx, eax
ja 0x10002cf1
mov dword [edi + 0x10], edx
mov eax, edi
cmp dword [edi + 0x14], 0x10
jb 0x10002ceb
mov eax, dword [edi]
mov byte [eax + edx], 0
jmp 0x10002d40
mov ecx, edx
sub ecx, eax
mov eax, dword [edi + 0x14]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], ecx
cmp ecx, eax
ja 0x10002d2c
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], edx
mov edx, edi
jb 0x10002d0f
mov edx, dword [edi]
mov esi, dword [ebp - 0x18]
push ecx
add esi, edx
push 0
push esi
call fcn.10007370
mov eax, dword [ebp - 0x24]
add esp, 0xc
mov byte [esi + eax], 0
mov esi, dword [ebp - 0x14]
jmp 0x10002d3d
push ecx
push ecx
mov byte [ebp - 0x14], 0
push dword [ebp - 0x14]
push ecx
mov ecx, edi
call fcn.10005810
mov ecx, dword [ebp - 0x10]
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x10002d4a
mov eax, dword [edi]
push 0
push 0
push ecx
push eax
push 0xffffffffffffffff
push dword [ebp - 0x1c]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [ebp - 0x10]
mov eax, edi
dec ecx
mov dword [ebp - 0x2c], 0
cmp dword [edi + 0x10], ecx
mov dword [ebp - 0x28], 0xf
cmovb ecx, dword [edi + 0x10]
cmp dword [edi + 0x14], 0x10
mov byte [ebp - 0x3c], 0
jb 0x10002d89
mov eax, dword [edi]
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.10005380
lea eax, [ebp - 0x3c]
cmp edi, eax
je 0x10002df1
mov ecx, dword [edi + 0x14]
cmp ecx, 0x10
jb 0x10002dcd
mov eax, dword [edi]
inc ecx
cmp ecx, 0x1000
jb 0x10002dc3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002e41
mov eax, edx
push ecx
push eax
call fcn.10005d92
add esp, 8
movups xmm0, xmmword [ebp - 0x3c]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x2c]
movq qword [edi + 0x10], xmm0
jmp 0x10002e21
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x10002e21
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10002e17
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002e41
push edx
push ecx
call fcn.10005d92
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.10009690
int3