Function at 0x100064e0
Capabilities:
Open clipboard
Read clipboard data
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10024680
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x1002c2b8]
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
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
mov dword [ebp - 0x70], esi
cmp esi, ebx
je 0x10006627
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
inc eax
push esi
mov dword [ebp - 0x68], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
mov ecx, esi
mov dword [ebp - 0x6c], esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
cmp al, bl
jne 0x10006563
sub ecx, edx
push esi
mov edi, ecx
lea esi, [ebp - 0x2c]
call fcn.10007e10
mov edi, dword [ebp - 0x6c]
cmp edi, ebx
je 0x1000661a
cmp dword [ebp - 0x68], 0x3e8
jge 0x1000661a
mov edx, dword [0x10032894]
mov esi, edx
mov eax, edi
lea esp, [esp]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x100065c0
cmp cl, bl
je 0x100065bc
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x100065c0
add eax, 2
add esi, 2
cmp cl, bl
jne 0x100065a0
xor eax, eax
jmp 0x100065c5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x1000661a
mov eax, dword [ebp - 0x68]
push eax
push edi
push edx
call fcn.10014a40
mov ecx, dword [ebp - 0x68]
add esp, 0xc
push ecx
call fcn.10011f29
mov edx, dword [ebp - 0x68]
add esp, 4
dec edx
mov esi, eax
push edx
lea eax, [esi + 1]
push edi
push eax
mov byte [esi], 0xa
call fcn.10014a40
mov eax, dword [ebp - 0x74]
add esp, 0xc
cmp dword [eax + 8], ebx
jne 0x10006611
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0x68]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
push eax
push esi
call edx
push esi
call fcn.10013359
add esp, 4
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edi, dword [ebp - 0x74]
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [edi + 0x24c], ebx
je 0x100068fc
add edi, 0x250
push edi
mov dword [ebp - 0x70], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x10032d78]
mov dword [ebp - 0x6c], esi
cmp esi, dword [0x10032d7c]
je 0x100068eb
mov edi, edi
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov byte [ebp - 0x90], bl
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
mov byte [ebp - 0x84], bl
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov byte [ebp - 0x78], bl
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 1
push ecx
mov ecx, dword [esi]
call fcn.10008a50
mov byte [ebp - 4], 2
mov eax, dword [esi]
add eax, 0x1c
push ebx
push eax
or eax, 0xffffffff
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.10007910
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x100066ee
mov dword [ebp - 0x68], edx
jmp 0x100066f4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x68], ecx
mov ecx, edx
cmp eax, 0x10
jae 0x100066fe
lea ecx, [ebp - 0x2c]
add ecx, dword [ebp - 0x1c]
mov edi, 0x10
cmp eax, edi
mov eax, edx
jae 0x1000670f
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x68]
push edx
push ebx
lea edx, [ebp - 0xbc]
push edx
push ecx
push eax
lea ecx, [ebp - 0xac]
call fcn.10008c50
add esp, 0x14
test al, al
je 0x10006889
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0xbc]
push ecx
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x64]
push eax
call fcn.10008b50
add esp, 0x10
mov esi, eax
lea ecx, [ebp - 0x2c]
cmp ecx, esi
je 0x100067a7
cmp dword [ebp - 0x18], edi
jb 0x10006768
mov edx, dword [ebp - 0x2c]
push edx
call fcn.10012868
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [esi + 0x14], edi
jae 0x1000678e
mov eax, dword [esi + 0x10]
inc eax
push eax
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.10012890
add esp, 0xc
jmp 0x10006795
mov ecx, dword [esi]
mov dword [ebp - 0x2c], ecx
mov dword [esi], ebx
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x1c], edx
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x18], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov byte [ebp - 4], 3
cmp dword [ebp - 0x50], edi
jb 0x100067bc
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.10012868
add esp, 4
cmp dword [ebp - 0x18], edi
jb 0x100067c9
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x68], edx
jmp 0x100067cf
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x68], eax
mov edi, dword [ebp - 0x1c]
inc edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
cmp esi, ebx
je 0x10006821
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp - 0x68]
push edi
push ecx
push eax
call fcn.10014a40
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0x10028304
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 3]
push edi
call fcn.10011f29
add esp, 4
push edi
mov esi, eax
push ebx
push esi
call fcn.1001ccd0
add esp, 0xc
lea edx, [edi - 1]
push edx
lea eax, [esi + 1]
push 0x10028304
push eax
mov byte [esi], 8
call fcn.10014a40
mov eax, dword [ebp - 0x74]
add esp, 0xc
cmp dword [eax + 8], ebx
jne 0x10006878
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push edi
push esi
call eax
push esi
call fcn.10013359
mov esi, dword [ebp - 0x6c]
add esp, 4
mov edi, 0x10
add esi, 4
mov dword [ebp - 0x6c], esi
cmp dword [ebp - 0x34], edi
jb 0x100068a0
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.10012868
add esp, 4
lea edx, [ebp - 0xbc]
push edx
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov byte [ebp - 4], 1
call fcn.100075a0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0xa8]
cmp eax, ebx
je 0x100068d3
push eax
call fcn.10012868
add esp, 4
cmp esi, dword [0x10032d7c]
jne 0x10006660
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x10006901
mov eax, dword [ebp - 0x70]
push eax
mov edi, 0x10
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x10006901
mov edi, 0x10
cmp dword [ebp - 0x18], edi
jb 0x10006912
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.10012868
add esp, 4
xor eax, eax
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.10012873
mov esp, ebp
pop ebp
ret