Function at 0x487c59
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1068
call fcn.005a41d0
mov eax, dword [0x61dc40]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
xor esi, esi
mov dword [ebp - 0x1068], esi
lea edi, [ebp - 0x1064]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
push 0x104a
mov word [ebp - 0x1058], ax
lea eax, [ebp - 0x1056]
push esi
push eax
call fcn.00596530
add esp, 0xc
push 0xd
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x487d00
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x487d00
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
cmp edi, esi
je 0x487cfa
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, esi
je 0x487cfa
push eax
push 0x5db9e0
lea eax, [ebp - 0x1058]
push 0x825
push eax
call fcn.0058f42f
add esp, 0x10
xor eax, eax
push edi
mov word [ebp - 0x10], ax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea esi, [ebp - 0x1058]
call fcn.0048134a
test eax, eax
jne 0x487dd2
xor edx, edx
lea eax, [ebx + 0x10c]
cmp dword [ebp + 8], edx
jne 0x487d99
mov esi, dword [eax]
xor ecx, ecx
inc ecx
mov dword [esi + 0x4c], ecx
mov esi, dword [ebx + 0x114]
mov dword [esi + 0x4c], ecx
mov esi, dword [ebx + 0x110]
mov dword [esi + 0x4c], ecx
mov eax, dword [eax]
add eax, 4
mov ecx, dword [eax]
sub dword [eax + 8], ecx
mov ecx, dword [eax + 4]
sub dword [eax + 0xc], ecx
mov dword [eax], edx
mov dword [eax + 4], edx
mov eax, dword [ebx + 0x114]
add eax, 4
push 0x4b
pop ecx
mov esi, ecx
sub esi, dword [eax]
mov dword [eax], ecx
mov ecx, dword [eax + 4]
add dword [eax + 8], esi
sub dword [eax + 0xc], ecx
mov dword [eax + 4], edx
mov eax, dword [ebx + 0x110]
add eax, 4
push 0x4c
pop ecx
mov esi, ecx
sub esi, dword [eax]
mov dword [eax], ecx
mov ecx, dword [eax + 4]
add dword [eax + 8], esi
sub dword [eax + 0xc], ecx
mov dword [eax + 4], edx
mov eax, dword [ebp + 0x10]
add eax, 0xffffffad
lea edx, [eax + 0xa6]
jmp 0x487e18
mov ecx, dword [eax]
mov dword [ecx + 0x4c], edx
mov eax, dword [eax]
mov dword [eax + 0x4c], edx
lea eax, [ebx + 0x110]
mov ecx, dword [eax]
mov dword [ecx + 0x4c], 1
mov eax, dword [eax]
add eax, 4
mov ecx, dword [eax]
sub dword [eax + 8], ecx
mov ecx, dword [eax + 4]
sub dword [eax + 0xc], ecx
mov dword [eax], edx
mov dword [eax + 4], edx
mov eax, dword [ebp + 0x10]
add eax, 0xffffffd3
lea edx, [eax + 0x5a]
jmp 0x487e18
xor ecx, ecx
cmp dword [ebp + 8], ecx
jne 0x487e3b
lea eax, [ebx + 0x10c]
mov edx, dword [eax]
mov dword [edx + 0x4c], 1
mov edx, dword [ebx + 0x114]
mov dword [edx + 0x4c], ecx
mov edx, dword [ebx + 0x110]
mov dword [edx + 0x4c], ecx
mov eax, dword [eax]
add eax, 4
mov edx, dword [eax]
sub dword [eax + 8], edx
mov edx, dword [eax + 4]
sub dword [eax + 0xc], edx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov eax, dword [ebp + 0x10]
add eax, 0xffffffdb
lea edx, [eax + 0x4b]
mov ecx, dword [ebp + 0x14]
add ecx, 0xffffffed
mov dword [ebp - 0x1064], ecx
add ecx, 0x13
mov dword [ebp - 0x1068], eax
mov dword [ebp - 0x1060], edx
mov dword [ebp - 0x105c], ecx
jmp 0x487e5c
mov eax, dword [ebx + 0x10c]
mov dword [eax + 0x4c], ecx
mov eax, dword [ebx + 0x114]
mov dword [eax + 0x4c], ecx
mov eax, dword [ebx + 0x110]
mov dword [eax + 0x4c], ecx
mov eax, dword [ebp - 0x1068]
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + 1]
cmp eax, edx
jge 0x487e7e
sub ecx, eax
mov eax, dword [ebp - 0x1060]
lea eax, [eax + ecx + 1]
mov dword [ebp - 0x1060], eax
mov dword [ebp - 0x1068], edx
push 0x290
push 0xffffffffffffffff
lea edi, [ebx + 4]
push edi
lea eax, [ebp - 0x1068]
call fcn.00487f48
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [ebx + 0x12c], eax
mov eax, dword [edi]
lea esi, [ebx + 0x11c]
push eax
mov dword [esi], eax
mov dword [esi + 4], 0x7b
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x487ec3
push 0x14
call fcn.0051a420
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0058f3cf
leave
ret 0x10