Function at 0x6c381ed4
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
test esi, esi
je 0x6c3820a4
call sym.libgdk_win32_2.0_0.dll_gdk_window_object_get_type
mov edx, eax
mov eax, dword [esi]
test eax, eax
je 0x6c381eff
cmp dword [eax], edx
je 0x6c381f3c
mov dword [esp + 4], edx
mov dword [esp], esi
mov dword [ebp - 0x38], edx
call sym._g_type_check_instance_is_a
test eax, eax
mov edx, dword [ebp - 0x38]
jne 0x6c381f3c
mov dword [esp + 8], 0x6c3c0db9
mov dword [esp + 4], str.gdk_property_change
mov dword [esp], 0x6c3c0da6
call sym._g_return_if_fail_warning
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
mov dword [esp + 4], edx
mov dword [esp], esi
call sym._g_type_check_instance_cast
test byte [eax + 0x50], 0x30
jne 0x6c381f31
test byte [0x6c3c60a4], 4
jne 0x6c382034
cmp edi, 0x1f
je 0x6c382110
cmp edi, dword [0x6c3c8fe0]
je 0x6c3820ec
cmp edi, dword [0x6c3c8fcc]
je 0x6c3820c8
cmp edi, dword [0x6c3c8fa4]
je 0x6c382134
cmp ebx, dword [0x6c3c8fdc]
je 0x6c381fb4
mov dword [esp + 8], str.gdk_property_change:_General_case_not_implemented
mov dword [esp + 4], 0x10
mov dword [esp], 0x6c3c0da6
call sym._g_log
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
cmp dword [ebp + 0x14], 8
jne 0x6c381f90
mov ebx, dword [ebp + 0x18]
test ebx, ebx
jne 0x6c381f90
cmp edi, dword [0x6c3c8ff0]
je 0x6c382238
test byte [0x6c3c60a4], 4
jne 0x6c3821fc
mov dword [0x6c3c65d0], 0
mov eax, dword [ebp + 0x20]
test eax, eax
jle 0x6c38220d
mov dword [esp + 4], eax
mov dword [esp], 2
call sym._GlobalAlloc_8
sub esp, 8
mov ebx, eax
test eax, eax
je 0x6c382217
mov dword [esp], eax
call sym._GlobalLock_4
push esi
mov edi, eax
mov esi, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x20]
rep movsb byte es:[edi], byte [esi]
mov dword [esp], ebx
call sym._GlobalUnlock_4
push ecx
mov dword [0x6c3c65d0], ebx
jmp 0x6c381f31
mov dword [esp], ebx
call sym.libgdk_win32_2.0_0.dll_gdk_atom_name
mov dword [ebp - 0x2c], eax
mov dword [esp], edi
call sym.libgdk_win32_2.0_0.dll_gdk_atom_name
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x20]
imul eax, dword [ebp + 0x14]
cmp eax, 0x57
jg 0x6c3821d0
test eax, eax
js 0x6c3821f4
sar eax, 3
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp], eax
call sym.__gdk_win32_data_to_string
mov edx, eax
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x6c382158
cmp dword [ebp + 0x18], 1
je 0x6c3821e8
cmp dword [ebp + 0x18], 2
je 0x6c3821dc
mov dword [ebp - 0x34], 0x6c3c0de0
jmp 0x6c38215f
mov dword [esp + 8], 0x6c3c0daa
mov dword [esp + 4], str.gdk_property_change
mov dword [esp], 0x6c3c0da6
call sym._g_return_if_fail_warning
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
mov dword [esp + 8], str.type____compound_text
mov dword [esp + 4], str.gdk_property_change
mov dword [esp], 0x6c3c0da6
call sym._g_return_if_fail_warning
jmp 0x6c381f31
mov dword [esp + 8], str.type____text
mov dword [esp + 4], str.gdk_property_change
mov dword [esp], 0x6c3c0da6
call sym._g_return_if_fail_warning
jmp 0x6c381f31
mov dword [esp + 8], 0x6c3c0ee2
mov dword [esp + 4], str.gdk_property_change
mov dword [esp], 0x6c3c0da6
call sym._g_return_if_fail_warning
jmp 0x6c381f31
mov dword [esp + 8], str.type____save_targets
mov dword [esp + 4], str.gdk_property_change
mov dword [esp], 0x6c3c0da6
call sym._g_return_if_fail_warning
jmp 0x6c381f31
mov dword [ebp - 0x34], str.REPLACE
mov dword [ebp - 0x38], edx
call sym._gdk_drawable_impl_win32_get_type
mov dword [esp + 4], eax
mov eax, dword [esi + 0xc]
mov dword [esp], eax
call sym._g_type_check_instance_cast
mov edx, dword [ebp - 0x38]
mov dword [esp + 0x1c], edx
mov edx, dword [ebp + 0x20]
mov dword [esp + 0x18], edx
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x14], edx
mov edx, dword [ebp - 0x34]
mov dword [esp + 0x10], edx
mov edx, dword [ebp - 0x30]
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x2c]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x14]
mov dword [esp + 4], eax
mov dword [esp], str.gdk_property_change:__p__s__s__s__d_d_bits:__s_n
call sym._g_print
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym._g_free
mov edx, dword [ebp - 0x30]
mov dword [esp], edx
call sym._g_free
jmp 0x6c381f5b
mov eax, 0xa
jmp 0x6c382065
mov dword [ebp - 0x34], str.APPEND
jmp 0x6c38215f
mov dword [ebp - 0x34], str.PREPEND
jmp 0x6c38215f
add eax, 7
jmp 0x6c382062
mov dword [esp], str...._delayed_rendering_n
call sym._g_print
jmp 0x6c381fda
mov eax, 1
jmp 0x6c381fef
mov dword [esp + 8], str.GlobalAlloc
mov dword [esp + 4], 0xfc
mov dword [esp], str.gdkproperty_win32.c
call sym.__gdk_win32_api_failed
jmp 0x6c381f31
call sym._gdk_drawable_impl_win32_get_type
mov dword [esp + 4], eax
mov eax, dword [esi + 0xc]
mov dword [esp], eax
call sym._g_type_check_instance_cast
mov eax, dword [eax + 0x14]
mov dword [esp], eax
call sym._OpenClipboard_4
push ecx
test eax, eax
je 0x6c382379
mov dword [esp + 0x10], 0
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov eax, dword [ebp + 0x20]
mov dword [esp + 4], eax
mov edx, dword [ebp + 0x1c]
mov dword [esp], edx
call sym._g_utf8_to_utf16
mov ebx, eax
mov edx, dword [ebp - 0x1c]
inc edx
mov dword [ebp - 0x1c], edx
lea ecx, [edx + edx]
test edx, edx
jle 0x6c3822b1
xor eax, eax
jmp 0x6c3822a5
inc eax
cmp edx, eax
jle 0x6c3822b1
cmp word [ebx + eax*2], 0xa
jne 0x6c3822a0
add ecx, 2
jmp 0x6c3822a0
mov dword [esp + 4], ecx
mov dword [esp], 2
call sym._GlobalAlloc_8
sub esp, 8
mov esi, eax
test eax, eax
je 0x6c38239a
mov dword [esp], eax
call sym._GlobalLock_4
push edx
mov edi, dword [ebp - 0x1c]
test edi, edi
jle 0x6c382307
mov edx, eax
xor eax, eax
jmp 0x6c3822ef
mov word [edx], cx
inc eax
cmp eax, edi
je 0x6c382307
add edx, 2
mov cx, word [ebx + eax*2]
cmp cx, 0xa
jne 0x6c3822e4
mov word [edx], 0xd
add edx, 2
mov cx, word [ebx + eax*2]
jmp 0x6c3822e4
mov dword [esp], ebx
call sym._g_free
mov dword [esp], esi
call sym._GlobalUnlock_4
push eax
test byte [0x6c3c60a4], 4
je 0x6c382331
mov dword [esp + 4], esi
mov dword [esp], str...._SetClipboardData_CF_UNICODETEXT__p__n
call sym._g_print
mov dword [esp + 4], esi
mov dword [esp], 0xd
call sym._SetClipboardData_8
push edi
push edi
test eax, eax
je 0x6c3823ec
call sym._CloseClipboard_0
test eax, eax
jne 0x6c381f31
mov dword [esp + 8], 0x6c3c0e4b
mov dword [esp + 4], 0xef
mov dword [esp], str.gdkproperty_win32.c
call sym.__gdk_win32_api_failed
jmp 0x6c381f31
mov dword [esp + 8], 0x6c3c0e1d
mov dword [esp + 4], 0xc8
mov dword [esp], str.gdkproperty_win32.c
call sym.__gdk_win32_api_failed
jmp 0x6c381f31
mov dword [esp + 8], str.GlobalAlloc
mov dword [esp + 4], 0xd6
mov dword [esp], str.gdkproperty_win32.c
call sym.__gdk_win32_api_failed
call sym._CloseClipboard_0
test eax, eax
jne 0x6c3823db
mov dword [esp + 8], 0x6c3c0e4b
mov dword [esp + 4], 0xd8
mov dword [esp], str.gdkproperty_win32.c
call sym.__gdk_win32_api_failed
mov dword [esp], 0
call sym._g_free
jmp 0x6c381f31
mov dword [esp + 8], str.SetClipboardData
mov dword [esp + 4], 0xec
mov dword [esp], str.gdkproperty_win32.c
call sym.__gdk_win32_api_failed
jmp 0x6c38234b