Function at 0x6c383260
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x6c
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov eax, dword [0x6c3c65b0]
cmp dword [ebp + 8], eax
je 0x6c3832a0
mov dword [esp + 8], 0x6c3c14e0
mov dword [esp + 4], str.gdk_selection_owner_set_for_display
mov dword [esp], 0x6c3c137f
call sym._g_return_if_fail_warning
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
test esi, esi
je 0x6c383370
test byte [0x6c3c60a4], 4
jne 0x6c3832fc
cmp esi, 0x45
je 0x6c38334a
test ebx, ebx
je 0x6c383398
call sym._gdk_drawable_impl_win32_get_type
mov dword [esp + 4], eax
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call sym._g_type_check_instance_cast
mov eax, dword [eax + 0x14]
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov eax, dword [0x6c3c8dc8]
mov dword [esp], eax
call sym._g_hash_table_insert
mov eax, 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
mov dword [esp], esi
call sym.libgdk_win32_2.0_0.dll_gdk_atom_name
mov edi, eax
test ebx, ebx
je 0x6c3833b8
call sym._gdk_drawable_impl_win32_get_type
mov dword [esp + 4], eax
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call sym._g_type_check_instance_cast
mov eax, dword [eax + 0x14]
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], str.gdk_selection_owner_set_for_display:__p__s_n
call sym._g_print
mov dword [esp], edi
call sym._g_free
cmp esi, 0x45
jne 0x6c3832ba
test ebx, ebx
je 0x6c38347c
call sym.libgdk_win32_2.0_0.dll_gdk_window_object_get_type
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._g_type_check_instance_cast
test byte [eax + 0x50], 0x30
je 0x6c3833c0
xor eax, eax
jmp 0x6c383297
mov dword [esp + 8], str.selection___GDK_NONE
mov dword [esp + 4], str.gdk_selection_owner_set_for_display
mov dword [esp], 0x6c3c137f
call sym._g_return_if_fail_warning
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
mov dword [esp + 4], esi
mov eax, dword [0x6c3c8dc8]
mov dword [esp], eax
call sym._g_hash_table_remove
mov eax, 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
xor eax, eax
jmp 0x6c383325
call sym._gdk_drawable_impl_win32_get_type
mov dword [esp + 4], eax
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call sym._g_type_check_instance_cast
mov esi, dword [eax + 0x14]
mov dword [esp], esi
call sym._OpenClipboard_4
push edx
test eax, eax
je 0x6c383484
mov dword [0x6c3c65cc], 1
test byte [0x6c3c60a4], 4
jne 0x6c3834a8
call sym._EmptyClipboard_0
test eax, eax
je 0x6c3834bc
mov dword [0x6c3c65cc], 0
call sym._CloseClipboard_0
test eax, eax
je 0x6c383512
test ebx, ebx
je 0x6c383546
test byte [0x6c3c60a4], 4
jne 0x6c383535
mov dword [ebp - 0x60], 0x12
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x54], 0x45
mov eax, dword [0x6c3c8ff0]
mov dword [ebp - 0x50], eax
mov eax, dword [0x6c3c8fdc]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x44], esi
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x60]
mov dword [esp], eax
call sym.libgdk_win32_2.0_0.dll_gdk_event_put
mov eax, 1
jmp 0x6c383297
xor esi, esi
jmp 0x6c3833d7
mov dword [esp + 8], str.OpenClipboard
mov dword [esp + 4], 0x140
mov dword [esp], str.gdkselection_win32.c
call sym.__gdk_win32_api_failed
xor eax, eax
jmp 0x6c383297
mov dword [esp], str...._EmptyClipboard___n
call sym._g_print
jmp 0x6c3833ff
mov dword [esp + 8], str.EmptyClipboard
mov dword [esp + 4], 0x145
mov dword [esp], str.gdkselection_win32.c
call sym.__gdk_win32_api_failed
mov dword [0x6c3c65cc], 0
call sym._CloseClipboard_0
test eax, eax
jne 0x6c383369
mov dword [esp + 8], str.CloseClipboard
mov dword [esp + 4], 0x148
mov dword [esp], str.gdkselection_win32.c
call sym.__gdk_win32_api_failed
xor eax, eax
jmp 0x6c383297
mov dword [esp + 8], str.CloseClipboard
mov dword [esp + 4], 0x14d
mov dword [esp], str.gdkselection_win32.c
call sym.__gdk_win32_api_failed
xor eax, eax
jmp 0x6c383297
mov dword [esp], str...._sending_GDK_SELECTION_REQUEST_to_ourselves_n
call sym._g_print
jmp 0x6c383438
mov eax, 1
jmp 0x6c383297