Function at 0x571250
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e4205
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x65a06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
add eax, 0xffffeffe
cmp eax, 7
ja case.0x571292.4103
jmp dword [eax*4 + 0x5714b0]
call fcn.00570640
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [0x666e34]
test edx, edx
jne 0x5712e5
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [0x666e34]
mov edx, eax
cmp edx, ecx
jae 0x5712de
mov ecx, dword [0x666e34]
add ecx, 0xfffffc18
cmp edx, ecx
jae 0x5712e5
mov ecx, 0x666e34
xchg dword [ecx], eax
lea ecx, [esi + 0x15c]
mov dword [esi + 0x1c0], edx
call fcn.00503bc0
mov ecx, esi
call fcn.00572670
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [0x666e34]
test edx, edx
jne 0x571344
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [0x666e34]
mov edx, eax
cmp edx, ecx
jae 0x57133d
mov ecx, dword [0x666e34]
add ecx, 0xfffffc18
cmp edx, ecx
jae 0x571344
mov ecx, 0x666e34
xchg dword [ecx], eax
lea ecx, [esi + 0x15c]
mov dword [esi + 0x1c0], edx
call fcn.00503bc0
cmp byte [esi + 0x14c], 0
jne case.0x571292.4103
cmp byte [esi + 0x7d], 0
jl case.0x571292.4103
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x571380
call fcn.005b92c0
test al, al
je case.0x571292.4103
mov dword [ebp - 4], 0
push 0
mov dword [ebp + 8], 0x612d9c
mov dword [ebp - 0x10], 1
call dword [sym.imp.USER32.dll_OpenClipboard]
or edi, 0xffffffff
test eax, eax
je 0x57140e
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
test ebx, ebx
je 0x571408
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x571408
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push dword [ebp - 0x14]
shr eax, 1
lea ecx, [ebp - 0x18]
mov edx, eax
call fcn.00410960
mov eax, dword [ebp + 8]
add esp, 4
mov ecx, dword [ebp - 0x18]
mov dword [ebp + 8], ecx
lea ecx, [eax - 8]
mov eax, dword [ecx]
test eax, 0x30000000
jne 0x571401
mov eax, edi
lock xadd dword [ecx], eax
test eax, eax
jne 0x571401
push ecx
call fcn.00494c04
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp + 8]
cmp byte [eax], 0
je 0x57142c
mov eax, dword [esi + 0x84]
lea ecx, [esi + 0x84]
lea edx, [ebp + 8]
push edx
call dword [eax + 0x18]
mov eax, dword [ebp + 8]
lea ecx, [eax - 8]
mov eax, dword [ecx]
test eax, 0x30000000
jne case.0x571292.4103
lock xadd dword [ecx], edi
test edi, edi
jne case.0x571292.4103
push ecx
call fcn.00494c04
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00572480
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.005703c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 1
jmp 0x571495
push 0
call fcn.00574900
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4