Function at 0x127fe10
Capabilities:
Read clipboard data
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
lea esi, [ebx + 0x30]
cmp edi, 0x308
ja 0x12807d2
je 0x1280704
cmp edi, 0x113
ja 0x127ff14
je 0x127ff0c
mov eax, edi
sub eax, 2
je 0x127fe97
sub eax, 0xe
je 0x127fed0
push 0x1760010
call fcn.01294390
add esp, 4
test eax, eax
je 0x127fe83
push edi
push str.WM___p_n
push str.long___cdecl_vboxClipboardWinProcessMsg_struct_SHCLCONTEXT__struct_HWND____unsigned_int_unsigned_int_long_
push str._Rfn:__M
push 0x176
push 0x10
push eax
call fcn.012952b0
add esp, 0x1c
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push edi
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_DefWindowProcA]
mov ebx, eax
jmp 0x127fed2
push 0x1760010
call fcn.01294390
add esp, 4
test eax, eax
je 0x127fec7
push str.WM_DESTROY_n
push str.long___cdecl_vboxClipboardWinProcessMsg_struct_SHCLCONTEXT__struct_HWND____unsigned_int_unsigned_int_long_
push str._Rfn:__M
push 0x176
push 0x10
push eax
call fcn.012952b0
add esp, 0x18
push esi
call fcn.01281f60
add esp, 4
xor ebx, ebx
push 0x1760010
call fcn.01294390
add esp, 4
test eax, eax
je 0x127ff03
push ebx
push str.WM__rc__d_n
push str.long___cdecl_vboxClipboardWinProcessMsg_struct_SHCLCONTEXT__struct_HWND____unsigned_int_unsigned_int_long_
push str._Rfn:__M
push 0x176
push 0x10
push eax
call fcn.012952b0
add esp, 0x1c
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.01282080
jmp 0x127fecd
mov eax, edi
sub eax, 0x305
je 0x127ff67
sub eax, 1
jne case.0x12807ea.782
push 0x1760010
call fcn.01294390
add esp, 4
test eax, eax
je 0x127ff56
push str.WM_RENDERALLFORMATS_n
push str.long___cdecl_vboxClipboardWinProcessMsg_struct_SHCLCONTEXT__struct_HWND____unsigned_int_unsigned_int_long_
push str._Rfn:__M
push 0x176
push 0x10
push eax
call fcn.012952b0
add esp, 0x18
push dword [ebp + 0xc]
push esi
call fcn.01281ff0
add esp, 8
jmp 0x127fed0
push 0x1760010
call fcn.01294390
add esp, 4
test eax, eax
je 0x127ff97
push str.WM_RENDERFORMAT_n
push str.long___cdecl_vboxClipboardWinProcessMsg_struct_SHCLCONTEXT__struct_HWND____unsigned_int_unsigned_int_long_
push str._Rfn:__M
push 0x176
push 0x10
push eax
call fcn.012952b0
add esp, 0x18
mov esi, dword [ebp + 0x14]
push esi
call fcn.012813c0
push 0x1760010
mov ebx, eax
call fcn.01294390
add esp, 8
test eax, eax
je 0x127ffd4
push ebx
push esi
push str.WM_RENDERFORMAT:_cfFormat_u____fFormat0x_x_n
push str.long___cdecl_vboxClipboardWinProcessMsg_struct_SHCLCONTEXT__struct_HWND____unsigned_int_unsigned_int_long_
push str._Rfn:__M
push 0x176
push 0x10
push eax
call fcn.012952b0
add esp, 0x20
test ebx, ebx
jne 0x1280012
push 0x1760010
call fcn.01294390
add esp, 4
test eax, eax
je 0x1280008
push str.WM_RENDERFORMAT:_Unsupported_format_requested_n
push str.long___cdecl_vboxClipboardWinProcessMsg_struct_SHCLCONTEXT__struct_HWND____unsigned_int_unsigned_int_long_
push str._Rfn:__M
push 0x176
push 0x10
push eax
call fcn.012952b0
add esp, 0x18
call fcn.012812e0
jmp 0x127fed0
push 0x1000
push 0x2002
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x127fed0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
je 0x12806b0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 4]
push ecx
push 0x1000
push edi
add eax, 8
push ebx
push eax
mov dword [ebp - 0x10], eax
call fcn.012b2b40
add esp, 0x14
test eax, eax
js 0x1280649
mov eax, dword [ebp - 4]
test eax, eax
jne 0x1280083
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x127fed0
cmp eax, 0x1000
jbe 0x1280154
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edi, dword [0x12fde48]
test edi, edi
je 0x12800d2
push 0x1760020
mov ecx, edi
call dword [section..rdata]
call edi
add esp, 4
test eax, eax
je 0x12800d2
push dword [ebp - 4]
push 0x1000
push str.Shared_Clipboard:_Buffer_too_small___RU32___needs__RU32_bytes_n
push 0x176
push 0x20
push eax
call fcn.012952d0
add esp, 0x18
push 0x1760020
call fcn.01294390
add esp, 4
test eax, eax
je 0x1280100
push dword [ebp - 4]
push 0x1000
push str.Shared_Clipboard:_Buffer_too_small___RU32___needs__RU32_bytes_n
push 0x176
push 0x20
push eax
call fcn.012952b0
add esp, 0x18
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
mov esi, eax
test esi, esi
je 0x128026f
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
je 0x1280208
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push dword [ebp - 4]
push edi
push ebx
push dword [ebp - 0x10]
call fcn.012b2b40
add esp, 0x14
mov dword [ebp - 8], eax
test eax, eax
js 0x1280190
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 4]
ja 0x1280190
mov dword [ebp - 4], eax
cmp ebx, 1
jne 0x128034f
lea ecx, [ebp - 8]
shr eax, 1
push ecx
push eax
push edi
mov dword [ebp - 8], 0
call fcn.01298e40
mov ebx, eax
add esp, 0xc
test ebx, ebx
js 0x12802d3
mov eax, dword [ebp - 8]
lea eax, [eax*2 + 2]
mov dword [ebp - 4], eax
jmp 0x12805a5
mov edi, dword [0x12fde48]
test edi, edi
je 0x12801cb
push 0x1760010
mov ecx, edi
call dword [section..rdata]
call edi
mov edi, dword [ebp - 8]
add esp, 4
test eax, eax
je 0x12801ce
push edi
push str.Shared_Clipboard:_Receiving_host_data_failed_with__Rrc_n
push 0x176
push 0x10
push eax
call fcn.012952d0
add esp, 0x14
jmp 0x12801ce
mov edi, dword [ebp - 8]
push 0x1760010
call fcn.01294390
add esp, 4
test eax, eax
je 0x12801f5
push edi
push str.Shared_Clipboard:_Receiving_host_data_failed_with__Rrc_n
push 0x176
push 0x10
push eax
call fcn.012952b0
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x127fed0
mov edi, dword [0x12fde48]
test edi, edi
je 0x128023d
push 0x1760010
mov ecx, edi
call dword [section..rdata]
call edi
add esp, 4
test eax, eax
je 0x128023d
push str.Shared_Clipboard:_Error_locking_reallocated_host_data_buffer_n
push 0x176
push 0x10
push eax
call fcn.012952d0
add esp, 0x10
push 0x1760010
call fcn.01294390
add esp, 4
test eax, eax
je 0x1280263
push str.Shared_Clipboard:_Error_locking_reallocated_host_data_buffer_n
push 0x176
push 0x10
push eax
call fcn.012952b0
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x127fed0
mov esi, dword [0x12fde48]
test esi, esi
je 0x12802a4
push 0x1760010
mov ecx, esi
call dword [section..rdata]
call esi
add esp, 4
test eax, eax
je 0x12802a4
push str.Shared_Clipboard:_No_memory_for_reallocating_host_data_buffer_n
push 0x176
push 0x10
push eax
call fcn.012952d0
add esp, 0x10
push 0x1760010
call fcn.01294390
add esp, 4
test eax, eax
je 0x127fed0
push str.Shared_Clipboard:_No_memory_for_reallocating_host_data_buffer_n
push 0x176
push 0x10
push eax
call fcn.012952b0
add esp, 0x10
jmp 0x127fed0
mov edi, dword [0x12fde48]
test edi, edi
je 0x128030f
push 0x1760010
mov ecx, edi
call dword [section..rdata]
call edi
add esp, 4
test eax, eax
je 0x128030f
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
push str.Shared_Clipboard:_Invalid_UTF16_string_from_host:_cb_RU32__cwcActual_zu__rc_Rrc_n
push 0x176
push 0x10
push eax
call fcn.012952d0
add esp, 0x1c
push 0x1760010
call fcn.01294390
add esp, 4
test eax, eax
je 0x128033c
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
push str.Shared_Clipboard:_Invalid_UTF16_string_from_host:_cb_RU32__cwcActual_zu__rc_Rrc_n
push 0x176
push 0x10
push eax
call fcn.012952b0
add esp, 0x1c
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x127fed0
cmp ebx, 4
jne 0x12805a5
push edi
call fcn.012821d0
add esp, 4
test al, al
jne 0x12805a5
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 0
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
push dword [ebp - 4]
push edi
call fcn.01281860
mov edi, eax
add esp, 0x10
test edi, edi
js 0x1280548
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test eax, eax
jne 0x12804ce
push eax
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
mov esi, eax
test esi, esi
je 0x128046f
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x12803e9
push dword [ebp - 8]
push dword [ebp - 0xc]
push eax
call sym.VBoxTray.exe_nocrt_memcpy
mov eax, dword [ebp - 8]
add esp, 0xc
mov dword [ebp - 4], eax
push dword [ebp - 0xc]
call fcn.01295580
add esp, 4
jmp 0x12805a5
mov edi, dword [0x12fde48]
test edi, edi
je 0x1280427
push 0x1760010
mov ecx, edi
call dword [section..rdata]
call edi
mov edi, eax
add esp, 4
test edi, edi
je 0x1280427
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Shared_Clipboard:_Failed_to_lock_memory___u___HTML_clipboard_data_wont_be_converted_into_CF_HTML_clipboard_format_n
push 0x176
push 0x10
push edi
call fcn.012952d0
add esp, 0x14
push 0x1760010
call fcn.01294390
mov edi, eax
add esp, 4
test edi, edi
je 0x1280456
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Shared_Clipboard:_Failed_to_lock_memory___u___HTML_clipboard_data_wont_be_converted_into_CF_HTML_clipboard_format_n
push 0x176
push 0x10
push edi
call fcn.012952b0
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0xc]
xor esi, esi
call fcn.01295580
add esp, 4
jmp 0x12805a5
mov edi, dword [0x12fde48]
test edi, edi
je 0x12804ad
push 0x1760010
mov ecx, edi
call dword [section..rdata]
call edi
mov edi, eax
add esp, 4
test edi, edi
je 0x12804ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Shared_Clipboard:_Failed_to_re_allocate_memory___u___HTML_clipboard_data_wont_be_converted_into_CF_HTML_clipboard_format_n
push 0x176
push 0x10
push edi
call fcn.012952d0
add esp, 0x14
push 0x1760010
call fcn.01294390
mov edi, eax
add esp, 4
test edi, edi
je 0x128053b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Shared_Clipboard:_Failed_to_re_allocate_memory___u___HTML_clipboard_data_wont_be_converted_into_CF_HTML_clipboard_format_n
jmp 0x128052b
mov edi, dword [0x12fde48]
test edi, edi
je 0x128050c
push 0x1760010
mov ecx, edi
call dword [section..rdata]
call edi
mov edi, eax
add esp, 4
test edi, edi
je 0x128050c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Shared_Clipboard:_Failed_to_unlock_memory___u___HTML_clipboard_data_wont_be_converted_into_CF_HTML_clipboard_format_n
push 0x176
push 0x10
push edi
call fcn.012952d0
add esp, 0x14
push 0x1760010
call fcn.01294390
mov edi, eax
add esp, 4
test edi, edi
je 0x128053b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Shared_Clipboard:_Failed_to_unlock_memory___u___HTML_clipboard_data_wont_be_converted_into_CF_HTML_clipboard_format_n
push 0x176
push 0x10
push edi
call fcn.012952b0
add esp, 0x14
push dword [ebp - 0xc]
call fcn.01295580
add esp, 4
jmp 0x12805a5
mov ebx, dword [0x12fde48]
test ebx, ebx
je 0x128057e
push 0x1760010
mov ecx, ebx
call dword [section..rdata]
call ebx
add esp, 4
test eax, eax
je 0x128057e
push edi
push str.Shared_Clipboard:_Cannot_convert_HTML_clipboard_data_into_CF_HTML_clipboard_format__rc_Rrc_n
push 0x176
push 0x10
push eax
call fcn.012952d0
add esp, 0x14
push 0x1760010
call fcn.01294390
add esp, 4
test eax, eax
je 0x12805a5
push edi
push str.Shared_Clipboard:_Cannot_convert_HTML_clipboard_data_into_CF_HTML_clipboard_format__rc_Rrc_n
push 0x176
push 0x10
push eax
call fcn.012952b0
add esp, 0x14
test esi, esi
je 0x127fed0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
mov esi, eax
test esi, esi
je 0x128065c
push esi
push dword [ebp + 0x14]
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x127fed0
mov edi, dword [0x12fde48]
test edi, edi
je 0x128061a
push 0x1760010
mov ecx, edi
call dword [section..rdata]
call edi
mov edi, eax
add esp, 4
test edi, edi
je 0x128061a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Shared_Clipboard:_Setting_host_data_buffer_to_clipboard_failed_with__ld_n
push 0x176
push 0x10
push edi
call fcn.012952d0
add esp, 0x14
push 0x1760010
call fcn.01294390
mov edi, eax
add esp, 4
test edi, edi
je 0x1280649
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Shared_Clipboard:_Setting_host_data_buffer_to_clipboard_failed_with__ld_n
push 0x176
push 0x10
push edi
call fcn.012952b0
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x127fed0
mov esi, dword [0x12fde48]
test esi, esi
je 0x1280691
push 0x1760010
mov ecx, esi
call dword [section..rdata]
call esi
add esp, 4
test eax, eax
je 0x1280691
push str.Shared_Clipboard:_No_memory_for_allocating_final_host_data_buffer_n
push 0x176
push 0x10
push eax
call fcn.012952d0
add esp, 0x10
push 0x1760010
call fcn.01294390
add esp, 4
test eax, eax
je 0x127fed0
push str.Shared_Clipboard:_No_memory_for_allocating_final_host_data_buffer_n
jmp 0x12802be
mov edi, dword [0x12fde48]
test edi, edi
je 0x12806e5
push 0x1760010
mov ecx, edi
call dword [section..rdata]
call edi
add esp, 4
test eax, eax
je 0x12806e5
push str.Shared_Clipboard:_No_memory_for_allocating_host_data_buffer_n
push 0x176
push 0x10
push eax
call fcn.012952d0
add esp, 0x10
push 0x1760010
call fcn.01294390
add esp, 4
test eax, eax
je 0x1280263
push str.Shared_Clipboard:_No_memory_for_allocating_host_data_buffer_n
jmp 0x1280253
push 0x1760002
call fcn.01294390
add esp, 4
test eax, eax
je 0x1280735
push esi
push str.WM_DRAWCLIPBOARD:_pWinCtx_p_n
push str.long___cdecl_vboxClipboardWinProcessMsg_struct_SHCLCONTEXT__struct_HWND____unsigned_int_unsigned_int_long_
push str._Rfn:__M
push 0x176
push 2
push eax
call fcn.012952b0
add esp, 0x1c
push esi
call fcn.01295cc0
add esp, 4
test eax, eax
js 0x12807b7
call dword [sym.imp.USER32.dll_GetClipboardOwner]
push 0x1760010
mov edi, eax
call fcn.01294390
add esp, 4
test eax, eax
je 0x128077e
push edi
push dword [esi + 0x28]
push str.WM_DRAWCLIPBOARD:_hWndClipboardOwnerUs_p__hWndNewClipboardOwner_p_n
push str.long___cdecl_vboxClipboardWinProcessMsg_struct_SHCLCONTEXT__struct_HWND____unsigned_int_unsigned_int_long_
push str._Rfn:__M
push 0x176
push 0x10
push eax
call fcn.012952b0
add esp, 0x20
push esi
cmp dword [esi + 0x28], edi
je 0x12807af
call fcn.01295e60
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.01281c90
add esp, 0xc
test eax, eax
js 0x12807b7
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x12807b7
push eax
push dword [ebx + 8]
call fcn.012b2c70
add esp, 8
jmp 0x12807b7
call fcn.01295e60
add esp, 4
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 0x308
push esi
call fcn.01281140
add esp, 0x10
mov ebx, eax
jmp 0x127fed2
lea eax, [edi - 0x30d]
cmp eax, 0xf4
ja case.0x12807ea.782
movzx eax, byte [eax + 0x1280c34]
jmp dword [eax*4 + 0x1280c20]
push 0x1760010
call fcn.01294390
add esp, 4
test eax, eax
je 0x1280822
push esi
push str.WM_CLIPBOARDUPDATE:_pWinCtx_p_n
push str.long___cdecl_vboxClipboardWinProcessMsg_struct_SHCLCONTEXT__struct_HWND____unsigned_int_unsigned_int_long_
push str._Rfn:__M
push 0x176
push 0x10
push eax
call fcn.012952b0
add esp, 0x1c
cmp byte [ebx + 0x71], 0
jne 0x127fed0
push esi
call fcn.01295cc0
mov edi, eax
add esp, 4
test edi, edi
js 0x12808e8
call dword [sym.imp.USER32.dll_GetClipboardOwner]
push 0x1760010
mov edi, eax
call fcn.01294390
add esp, 4
test eax, eax
je 0x128087b
push edi
push dword [esi + 0x28]
push str.WM_CLIPBOARDUPDATE:_hWndOldClipboardOwner_p__hWndNewClipboardOwner_p_n
push str.long___cdecl_vboxClipboardWinProcessMsg_struct_SHCLCONTEXT__struct_HWND____unsigned_int_unsigned_int_long_
push str._Rfn:__M
push 0x176
push 0x10
push eax
call fcn.012952b0
add esp, 0x20
push esi
cmp dword [esi + 0x28], edi
je 0x128094e
call fcn.01295e60
lea eax, [ebp - 0xc]
push eax
push esi
call fcn.01281c90
mov edi, eax
add esp, 0xc
test edi, edi
js 0x12808e8
push 0x1760010
call fcn.01294390
add esp, 4
test eax, eax
je 0x12808d0
push dword [ebp - 0xc]
push str.WM_CLIPBOARDUPDATE:_Reporting_formats__x_n
push str.long___cdecl_vboxClipboardWinProcessMsg_struct_SHCLCONTEXT__struct_HWND____unsigned_int_unsigned_int_long_
push str._Rfn:__M
push 0x176
push 0x10
push eax
call fcn.012952b0
add esp, 0x1c
push dword [ebp - 0xc]
push dword [ebx + 8]
call fcn.012b2c70
mov edi, eax
add esp, 8
test edi, edi
jns 0x127fed0
mov esi, dword [0x12fde48]
test esi, esi
je 0x128091e
push 0x1760010
mov ecx, esi
call dword [section..rdata]
call esi
add esp, 4
test eax, eax
je 0x128091e
push edi
push str.Shared_Clipboard:_WM_CLIPBOARDUPDATE_failed_with__Rrc_n
push 0x176
push 0x10
push eax
call fcn.012952d0
add esp, 0x14
push 0x1760010
call fcn.01294390
add esp, 4
test eax, eax
je 0x127fed0
push edi
push str.Shared_Clipboard:_WM_CLIPBOARDUPDATE_failed_with__Rrc_n
push 0x176
push 0x10
push eax
call fcn.012952b0
add esp, 0x14
jmp 0x127fed0
call fcn.01295e60
jmp 0x127fecd
push 0x1760010
call fcn.01294390
add esp, 4
test eax, eax
je 0x1280988
push str.WM_CHANGECBCHAIN_n
push str.long___cdecl_vboxClipboardWinProcessMsg_struct_SHCLCONTEXT__struct_HWND____unsigned_int_unsigned_int_long_
push str._Rfn:__M
push 0x176
push 0x10
push eax
call fcn.012952b0
add esp, 0x18
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push edi
push dword [ebp + 0xc]
push esi
call fcn.01281e90
add esp, 0x14
mov ebx, eax
jmp 0x127fed2
push 0x1760010
call fcn.01294390
add esp, 4
test eax, eax
je 0x12809d2
push str.SHCL_WIN_WM_REPORT_FORMATS_n
push str.long___cdecl_vboxClipboardWinProcessMsg_struct_SHCLCONTEXT__struct_HWND____unsigned_int_unsigned_int_long_
push str._Rfn:__M
push 0x176
push 0x10
push eax
call fcn.012952b0
add esp, 0x18
mov eax, dword [ebp + 0x18]
mov edi, dword [eax + 0x30]
test edi, edi
je 0x12809e9
push dword [ebp + 0xc]
push edi
push esi
call fcn.01281380
add esp, 0xc
push 0x1760010
call fcn.01294390
mov esi, eax
add esp, 4
test esi, esi
je 0x127fed0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.SHCL_WIN_WM_REPORT_FORMATS:_fFormats0x_x__lastErr_ld_n
push str.long___cdecl_vboxClipboardWinProcessMsg_struct_SHCLCONTEXT__struct_HWND____unsigned_int_unsigned_int_long_
push str._Rfn:__M
push 0x176
push 0x10
push esi
call fcn.012952b0
add esp, 0x20
jmp 0x127fed0
mov edi, dword [ebp + 0x18]
push 0x1760002
mov ebx, dword [edi + 0x30]
call fcn.01294390
add esp, 4
test eax, eax
je 0x1280a63
push ebx
push str.SHCL_WIN_WM_READ_DATA:_fFormat_x_n
push str.long___cdecl_vboxClipboardWinProcessMsg_struct_SHCLCONTEXT__struct_HWND____unsigned_int_unsigned_int_long_
push str._Rfn:__M
push 0x176
push 2
push eax
call fcn.012952b0
add esp, 0x1c
push dword [ebp + 0xc]
xor esi, esi
call fcn.01282230
add esp, 4
test eax, eax
js 0x1280c06
test bl, 2
je 0x1280aca
push 8
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x1280bc0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1280bbe
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push dword [ebp - 0x10]
lea eax, [edi + 8]
push ebx
push eax
call fcn.012b2d00
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call fcn.012814b0
jmp 0x127fed0
test bl, 1
je 0x1280b03
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x1280bc0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1280bbe
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
jmp 0x1280aa8
test bl, 4
je 0x1280bc0
push str.HTML_Format
call dword [sym.imp.USER32.dll_RegisterClipboardFormatA]
test eax, eax
je 0x1280bc0
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x1280bc0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
je 0x1280bbb
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
add eax, 8
push edi
mov dword [ebp - 4], eax
call fcn.012821d0
add esp, 4
test al, al
je 0x1280bae
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 0
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 0
push eax
push dword [ebp - 8]
push edi
call fcn.01281540
add esp, 0x10
test eax, eax
js 0x1280bae
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push ebx
push dword [ebp - 4]
call fcn.012b2d00
push dword [ebp - 0xc]
call fcn.01295580
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call fcn.012814b0
jmp 0x127fed0
push dword [ebp - 8]
push edi
push ebx
push dword [ebp - 4]
jmp 0x1280ab1
mov edi, dword [ebp + 0x18]
xor esi, esi
push 0x1760010
call fcn.01294390
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1280bf9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SHCL_WIN_WM_READ_DATA:_hClipNULL__lastError_ld_n
push str.long___cdecl_vboxClipboardWinProcessMsg_struct_SHCLCONTEXT__struct_HWND____unsigned_int_unsigned_int_long_
push str._Rfn:__M
push 0x176
push 0x10
push ebx
call fcn.012952b0
add esp, 0x1c
call fcn.012814b0
test esi, esi
jne 0x127fed0
push 0
push 0
lea eax, [edi + 8]
push 0
push eax
call fcn.012b2d00
add esp, 0x10
jmp 0x127fed0