Function at 0x4670a0
Capabilities:
Open clipboard
Read clipboard data
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, dword [0x5e9fbc]
push 0xd
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x4670d1
push eax
push eax
push 0x882
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push 0
push 0
push 0x7d8
push edi
call ebx
push 0
push 0
push 0x7d9
push edi
mov esi, eax
call ebx
push 0
push 0
cmp esi, eax
je 0x467153
push 0x977
push edi
call ebx
cmp eax, 1
jne 0x46711f
push 0xc356
push eax
call fcn.00458d80
add esp, 8
xor eax, eax
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0x861
push edi
call ebx
push 0
push 0
push 0x85f
push edi
mov esi, eax
call ebx
sub esi, eax
lea eax, [esi + 1]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
push esi
push 0
push 0x871
jmp 0x467175
push 0x7d6
push edi
call ebx
inc eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LocalSize]
push eax
push 0x886
push edi
call ebx
push 0
push 0
push 0x859
push edi
call ebx
push 0
push 0
mov edx, 0xfde9
xor ecx, ecx
push 0xffffffffffffffff
cmp eax, edx
push esi
cmove ecx, edx
push 0
push ecx
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, eax
test ebx, ebx
jle 0x4671fc
push 0x41eef0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, ebx
lea eax, [eax*2 + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
mov dword [ebp - 4], eax
push 0x41eef0
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalSize]
shr eax, 1
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebx + eax*2]
push eax
push 0xffffffffffffffff
push esi
push 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
jmp 0x467204
mov ebx, 0x41bcc8
mov dword [ebp - 4], ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
push edi
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x46722b
push ebx
call esi
pop esi
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov dword [ebp - 0xc], eax
call edi
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add esi, eax
lea ecx, [esi*2 + 2]
push ecx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebp - 8], eax
call edi
mov esi, eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov edi, dword [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call esi
push dword [ebp - 0xc]
call esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebx
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret