Function at 0x10007cc6
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100246b0
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x10032014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
movzx eax, byte [ebx]
add eax, 0xffffffef
cmp eax, 0xd
ja case.0x10007b3c.26
jmp dword [eax*4 + 0x10007dd4]
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp case.0x10007b3c.26
movzx eax, byte [ebx + 1]
mov ecx, edi
push eax
call fcn.100079c0
jmp case.0x10007b3c.26
mov al, byte [ebx + 1]
mov byte [edi + 0x13], al
movzx ecx, al
mov eax, dword [edi + 0xa8]
add eax, 4
xchg dword [eax], ecx
jmp case.0x10007b3c.26
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
push 9
mov ebx, eax
mov dword [ebp - 0x20], 0xa7a39c08
mov dword [ebp - 0x1c], 0xaaa1a8a4
mov byte [ebp - 0x18], 0xaa
call fcn.100126ff
mov edi, eax
add esp, 4
mov esi, edi
lea eax, [ebp - 0x1f]
mov edx, 1
sub esi, eax
lea ecx, [ebp - 0x20]
mov al, 0xcc
add ecx, edx
sub al, dl
inc edx
xor al, byte [ecx]
mov byte [esi + ecx], al
cmp edx, 8
jbe 0x10007bb4
mov ecx, edi
mov byte [edi + 8], 0
call fcn.1000a3b0
test eax, eax
je case.0x10007b3c.26
xorps xmm0, xmm0
push 1
push edi
movq qword [edi], xmm0
call fcn.1001272f
add esp, 8
push 0x2e0003
push 0
push 0x312
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
test ebx, ebx
je case.0x10007b3c.26
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
mov esi, eax
lea eax, [ebp - 0x12c]
push eax
push 0x100
lea eax, [ebp - 0x120]
push eax
push 2
push ebx
call dword [sym.imp.USER32.dll_GetUserObjectInformationA]
test eax, eax
je case.0x10007b3c.26
push ebx
call dword [sym.imp.USER32.dll_SetThreadDesktop]
test eax, eax
je case.0x10007b3c.26
push esi
call dword [sym.imp.USER32.dll_CloseDesktop]
jmp case.0x10007b3c.26
mov esi, dword [sym.imp.USER32.dll_BlockInput]
push 0
call esi
mov eax, dword [ebp + 0xc]
dec eax
push eax
lea eax, [ebx + 1]
push eax
call fcn.100080f0
movzx eax, byte [edi + 0x11]
push eax
call esi
jmp case.0x10007b3c.26
cmp byte [ebx + 1], 0
setne al
mov byte [edi + 0x11], al
jmp case.0x10007b3c.26
cmp byte [ebx + 1], 0
setne al
mov byte [edi + 0x12], al
jmp case.0x10007b3c.26
mov cl, byte [ebx + 1]
mov edx, 0x40cc0020
test cl, cl
mov esi, 0xcc0020
setne al
test cl, cl
mov byte [edi + 0x14], al
mov eax, dword [edi + 0xa8]
cmove edx, esi
add eax, 0x10
xchg dword [eax], edx
jmp case.0x10007b3c.26
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je case.0x10007b3c.26
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x10007dad
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push esi
lea ebx, [eax + 1]
mov dword [ebp - 0x124], ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov dword [ebp - 0x128], eax
call fcn.100126f6
mov ecx, dword [ebp - 0x124]
add esp, 4
mov ebx, eax
dec ecx
push ecx
push dword [ebp - 0x128]
lea ecx, [ebx + 1]
mov byte [ebx], 0x76
push ecx
call fcn.100143a0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
push dword [ebp - 0x124]
mov ecx, edi
push ebx
call fcn.10006d10
push ebx
call fcn.1001273d
add esp, 4
jmp case.0x10007b3c.26
mov edi, dword [ebp + 0xc]
push 0
dec edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je case.0x10007b3c.26
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x10007dad
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
lea ecx, [ebx + 1]
push ecx
push eax
call fcn.100143a0
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]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100126e5
mov esp, ebp
pop ebp
ret 8