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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, dword [0x56e17c]
push 0xd
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x447761
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 0x4477e4
push 0x977
push edi
call ebx
cmp eax, 1
jne 0x4477af
push 0xc356
push eax
call fcn.004422f0
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]
push eax
push 0
mov dword [ebp - 4], eax
push 0x871
jmp 0x447807
push 0x7d6
push edi
call ebx
inc eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push eax
push eax
mov dword [ebp - 4], eax
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
mov ebx, dword [ebp - 4]
push 0
push 0
lea esi, [eax - 0xfde9]
neg esi
push 0xffffffffffffffff
sbb esi, esi
push ebx
and esi, 0xffff0217
push 0
add esi, 0xfde9
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 4], eax
test eax, eax
jle 0x4478a1
push 0x4089d0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, dword [ebp - 4]
lea eax, [eax*2 + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push 0x4089d0
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalSize]
shr eax, 1
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax*2]
push eax
push 0xffffffffffffffff
push ebx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, dword [ebp - 4]
jmp 0x4478a9
mov esi, 0x407d38
mov dword [ebp - 4], esi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LocalFree]
call ebx
push edi
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x4478d0
push esi
call ebx
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