Function at 0x14000fce0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x14011c040]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov r15, rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
lea r8d, [r12 + 1]
mov dl, 0x45
mov cl, 0x2c
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
lea r8d, [r12 + 3]
mov dl, 0x45
mov cl, 0x2c
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
lea ecx, [r12 + 2]
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rsi, rax
call qword [sym.imp.USER32.dll_CloseClipboard]
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
mov r14d, r12d
mov qword [rbp + 0x10], r12
mov qword [rsp + 0x30], r12
lea r8, [rsp + 0x30]
lea edx, [r12 + 1]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
lea rax, vtable.ATL::CImage.0
mov qword [rbp - 0x50], rax
mov dword [rbp - 0x20], 0xffffffff
mov qword [rbp - 0x18], r12
mov dword [rbp - 0x10], r12d
mov qword [rbp - 8], r12
call fcn.14000f860
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 - 0x48], rsi
lea r8, [rsp + 0x40]
lea edx, [r12 + 0x68]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetObjectW]
cmp eax, 0x68
jne 0x14000fe60
mov byte [rbp - 0x28], 1
mov ecx, dword [rsp + 0x64]
mov dword [rbp - 0x38], ecx
mov r8d, dword [rsp + 0x68]
mov r9d, r8d
neg r9d
cmovs r9d, r8d
mov dword [rbp - 0x34], r9d
movzx eax, word [rsp + 0x6e]
mov dword [rbp - 0x2c], eax
imul eax, ecx
add eax, 0x1f
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
shl eax, 2
mov dword [rbp - 0x30], eax
mov r10, qword [rsp + 0x58]
mov qword [rbp - 0x40], r10
test r8d, r8d
jle 0x14000fe82
lea ecx, [r9 - 1]
imul ecx, eax
movsxd rdx, ecx
add rdx, r10
mov qword [rbp - 0x40], rdx
neg eax
mov dword [rbp - 0x30], eax
jmp 0x14000fe82
mov byte [rbp - 0x28], 0
mov eax, dword [rsp + 0x44]
mov dword [rbp - 0x38], eax
mov eax, dword [rsp + 0x48]
mov dword [rbp - 0x34], eax
movzx eax, word [rsp + 0x52]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x30], r12d
mov qword [rbp - 0x40], r12
mov dword [rbp - 0x24], 0xffffffff
mov byte [rbp - 0x27], 0
mov rdx, qword [rsp + 0x30]
lea rcx, [rbp - 0x50]
call fcn.14000f9e0
lea rdx, [rbp + 0x18]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_IStream_Size]
mov ebx, dword [rbp + 0x18]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_IStream_Reset]
mov edx, ebx
test ebx, ebx
je 0x14000fecb
lea rcx, [rbp]
call fcn.140007d60
mov r14, qword [rbp + 0x10]
mov r8d, ebx
mov rbx, qword [rbp]
mov rdx, rbx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_IStream_Read]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
xor edx, edx
mov r8d, 0x118
lea rcx, [rbp + 0x20]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400fb750]
mov qword [rbp + 0x20], rax
lea rax, [0x1400fb728]
mov qword [rbp + 0x30], rax
lea rcx, [rbp + 0xd8]
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 + 0x20], 1
xor r8d, r8d
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0x20]
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 + 0x20]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x20], rdi
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb8]
mov dword [rbp + rcx + 0x1c], edx
lea rcx, [rbp + 0x38]
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 + 0x38], rax
mov byte [rbp + 0xb4], 0
mov byte [rbp + 0xa9], 0
lea rcx, [rbp + 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0xb8], r12
mov rax, qword [0x1401205b0]
mov qword [rbp + 0xac], rax
mov qword [rbp + 0xa0], r12
cmp qword [r15 + 0x18], 0xf
jbe 0x14000ffb3
mov r15, qword [r15]
mov rdx, r15
lea rcx, [rbp + 0x38]
call fcn.140006020
xor r8d, r8d
test rax, rax
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x20]
je 0x14000ffe0
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 0x14000ffee
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 + 8]
sub r8, rbx
mov rdx, rbx
lea rcx, [rbp + 0x30]
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 + 0x38]
call fcn.140005f60
test rax, rax
jne 0x14001002d
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x20]
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 + 0x20]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x20], rdi
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb8]
mov dword [rbp + rcx + 0x1c], edx
lea rcx, [rbp + 0x38]
call fcn.140005d40
lea rcx, [rbp + 0x40]
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 + 0xd8]
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 - 0x48]
test rcx, rcx
je 0x14001007c
call qword [sym.imp.GDI32.dll_DeleteObject]
call fcn.14000f860
mov rdi, rax
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub dword [rdi + 0x30], 1
jne 0x1400100b9
lea rcx, [rdi + 8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400100ac
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov qword [rdi], r12
lea rcx, [rdi + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [rdi + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
test rbx, rbx
je 0x1400100ff
sub r14, rbx
mov rax, rbx
cmp r14, 0x1000
jb 0x1400100f4
add r14, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400100f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, r14
mov rcx, rbx
call fcn.1400f46ec
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1400f45c0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret