Function at 0x1400682c0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x1402345c0]
xor rax, rsp
mov qword [rbp + 0x190], rax
xor r14d, r14d
mov dword [rsp + 0x40], r14d
mov rcx, qword [0x140252d68]
mov rdx, qword [0x140257fb0]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, rdx
jb 0x14006882d
lea r9, [0x140252d58]
cmp qword [0x140252d70], 0x10
cmovae r9, qword [0x140252d58]
lea rax, [0x140257fa0]
cmp qword [0x140257fb8], 0x10
cmovae rax, qword [0x140257fa0]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x48]
call fcn.1400fd800
nop
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_keybd_event]
lea ecx, [r14 + 0xa]
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, Ordinal_45
call qword [sym.imp.USER32.dll_keybd_event]
lea ecx, [r14 + 0xa]
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r9d, r9d
xor edx, edx
lea r8d, [r14 + 2]
mov cl, Ordinal_45
call qword [sym.imp.USER32.dll_keybd_event]
lea ecx, [r14 + 0xa]
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r9d, r9d
xor edx, edx
lea r8d, [r14 + 2]
mov cl, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_keybd_event]
lea ecx, [r14 + 0xa]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [r14 + 0x64]
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
lea ecx, [r14 + 2]
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rsi, rax
call qword [sym.imp.USER32.dll_CloseClipboard]
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov qword [rbp - 0x20], r14
mov qword [rsp + 0x50], r14
lea r8, [rsp + 0x50]
lea edx, [r14 + 1]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
lea rax, vtable.ATL::CImage.0
mov qword [rbp - 0x10], rax
mov dword [rbp + 0x20], 0xffffffff
mov qword [rbp + 0x28], r14
mov dword [rbp + 0x30], r14d
mov qword [rbp + 0x38], r14
call fcn.140055320
mov rbx, rax
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [rbx + 0x30]
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov qword [rbp - 8], rsi
lea r8, [rsp + 0x60]
lea edx, [r14 + 0x68]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetObjectW]
cmp eax, 0x68
jne 0x1400684ea
mov byte [rbp + 0x18], 1
mov ecx, dword [rbp - 0x7c]
mov dword [rbp + 8], ecx
mov r8d, dword [rbp - 0x78]
mov eax, r8d
cdq
mov r9d, eax
xor r9d, edx
sub r9d, edx
mov dword [rbp + 0xc], r9d
movzx eax, word [rbp - 0x72]
mov dword [rbp + 0x14], eax
imul eax, ecx
add eax, 0x1f
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
shl eax, 2
mov dword [rbp + 0x10], eax
mov r10, qword [rsp + 0x78]
mov qword [rbp], r10
test r8d, r8d
jle 0x14006850c
lea ecx, [r9 - 1]
imul ecx, eax
movsxd rdx, ecx
add rdx, r10
mov qword [rbp], rdx
neg eax
mov dword [rbp + 0x10], eax
jmp 0x14006850c
mov byte [rbp + 0x18], 0
mov eax, dword [rsp + 0x64]
mov dword [rbp + 8], eax
mov eax, dword [rsp + 0x68]
mov dword [rbp + 0xc], eax
movzx eax, word [rsp + 0x72]
mov dword [rbp + 0x14], eax
mov dword [rbp + 0x10], r14d
mov qword [rbp], r14
mov dword [rbp + 0x1c], 0xffffffff
mov byte [rbp + 0x19], 0
mov rdx, qword [rsp + 0x50]
lea rcx, [rbp - 0x10]
call fcn.1400554a0
lea rdx, [rbp + 0x40]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_IStream_Size]
mov edi, dword [rbp + 0x40]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_IStream_Reset]
mov r8d, edi
mov r9, qword [rbp - 0x28]
mov rcx, r9
mov rdx, qword [rbp - 0x30]
sub rcx, rdx
cmp rdi, rcx
jae 0x140068562
lea rax, [rdi + rdx]
mov qword [rbp - 0x28], rax
jmp 0x140068597
jbe 0x140068597
mov rax, qword [rbp - 0x20]
sub rax, rdx
cmp r8, rax
jbe 0x14006857e
mov rdx, r8
lea rcx, [rbp - 0x30]
call fcn.1401011f0
jmp 0x140068593
sub r8, rcx
lea rbx, [r9 + r8]
xor edx, edx
mov rcx, r9
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x28], rbx
mov rdx, qword [rbp - 0x30]
mov r8d, edi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_IStream_Read]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
xor edx, edx
mov r8d, 0x118
lea rcx, [rbp + 0x70]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140200c80]
mov qword [rbp + 0x70], rax
lea rax, [0x14020a088]
mov qword [rbp + 0x80], rax
lea rcx, [rbp + 0x128]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x40], 3
xor r8d, r8d
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0x70]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x70], rbx
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb8]
mov dword [rbp + rcx + 0x6c], edx
lea rcx, [rbp + 0x88]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x88], rax
mov byte [rbp + 0x104], 0
mov byte [rbp + 0xf9], 0
lea rcx, [rbp + 0x88]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x108], r14
mov rax, qword [0x1402592e0]
mov qword [rbp + 0xfc], rax
mov qword [rbp + 0xf0], r14
lea rdx, [rbp + 0x48]
cmp qword [rbp + 0x60], 0x10
cmovae rdx, qword [rbp + 0x48]
mov r8d, Ordinal_35
lea rcx, [rbp + 0x88]
call fcn.1400f2ec0
xor r8d, r8d
test rax, rax
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x70]
je 0x1400686be
add rcx, rax
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
jmp 0x1400686cc
add rcx, rax
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov r8, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x30]
sub r8, rdx
lea rcx, [rbp + 0x80]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp + 0x88]
call fcn.1400f1430
test rax, rax
jne 0x140068712
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x70]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x70], rbx
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb8]
mov dword [rbp + rcx + 0x6c], edx
lea rcx, [rbp + 0x88]
call fcn.1400ee1c0
lea rcx, [rbp + 0x90]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x128]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x140068767
call qword [sym.imp.GDI32.dll_DeleteObject]
call fcn.140055320
mov rbx, rax
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub dword [rbx + 0x30], 1
jne 0x1400687a4
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbx]
test rcx, rcx
je 0x140068797
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov qword [rbx], r14
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1400687f8
mov rdx, qword [rbp - 0x20]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400687e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400687e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401b64ec
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r14
lea rcx, [rbp + 0x48]
call fcn.1400f1840
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1401b6160
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140054dc0
int3